summaryrefslogtreecommitdiffstats
path: root/telephony/java/com/android/internal/telephony/BaseCommands.java
Commit message (Collapse)AuthorAgeFilesLines
* Create telephony-common and mms-commonWink Saville2012-07-111-721/+0
| | | | | | | | | | | | | | | | | These have been created to reduce the size and complexity of frameworks/base. mms-common was created by moving all of frameworks/base/core/java/com/google/android/mms to: frameworks/opt/mms telephony-common was created by moving some of frameworks/base/telephony to: frameworks/opt/telephony Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
* Add ril.test.emergency system property.Wink Saville2012-01-101-0/+3
| | | | | | | | This allows testing of emergency numbers by dialing an emergency number but having it remapped to another number. Bug: 5479306 Change-Id: Ia9bb53e2e2e47f78dc9f75d3add6f785d10e4b2a
* Separate SIM states from Radio statesNaveen Kalla2011-12-291-189/+6
| | | | | | | | | | | Radio state reflects the state of the modem. SIM_READY, RUIM_READY, NV_READY are subscription states and it is possible that the new cards have multiple subscriptions. Remove the SIM states from Radio State and introduce a new VOICE_RADIO_TECH message to identify the exact voice technology. SIM states will continue to be identified from the SIM_STATUS messages. Change-Id: Ia67d54f43b6c3340d9cf5c27fcb6f7ef49ef4d40
* When the SIM_READY set current preferred network type.Wink Saville2011-12-071-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This looks to fix a problem where the nv_data.bin file file gets corrupted. When greping a radio log for "md5" if something like following is seen: RIL(s) : load_md5_state: MD5 state 1 RIL(s) : check_md5: RIL(s) : compute_md5: path /efs/nv_data.bin RIL(s) : check_md5: MD5 fail. orignal md5 '628647a8e5c6cac2d586199417c0103c' computed md5 '58a635cbaf5fe4ffb2797aeaa2b32709' (rild) RIL(s) : check_md5: RIL(s) : compute_md5: path /efs/.nv_data.bak It means that corruption was detected and a back version was used which is ok. Apparently that backup version can have the default network type revert to 2G only thus causing the symptoms reported in b/5695729 where after taking an OTA 2G becomes the default. By calling setCurrentPreferredNetworkType when the sim is ready we can reset the the network type to 3G. Note: I also tried calling setCurrentPreferredNetworkType in EVENT_RADIO_AVAILABLE but that didn't work and we would see the response to setPreferredNetworkType failing as the ril wasn't ready. RILJ : setCurrentPreferredNetworkType: 0 RILJ : [0004]> REQUEST_SET_PREFERRED_NETWORK_TYPE : 0 RILJ : [0004]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE Bug: 5695729 Change-Id: Ibbd29cda0b201a8c08f4dcfa5cec211611e1d599
* Enable support for multiple SMSDispatchers in CDMALTEPhone.Jake Hamby2011-10-041-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor framework to support multiple SMSDispatcher objects on dual-mode devices that require support for both 3GPP and 3GPP2 format SMS messages. Each dispatcher registers to receive events for the appropriate message format. Note: All applications which handle incoming SMS messages by processing the SMS_RECEIVED_ACTION broadcast intent MUST pass the "format" extra from the intent into the new createPdu() method in android.telephony.SmsMessage that takes an extra format parameter. This is required in order to correctly decode the PDU on devices which require support for both 3GPP and 3GPP2 formats at the same time, such as CDMA/LTE devices and GSM/CDMA world phones. - moved code to manage device storage events from SMSDispatcher to a new class, SmsStorageMonitor, which is shared among all dispatchers. - moved code to monitor per-application outgoing SMS usage from SMSDispatcher.SmsCounter to a new class, SmsUsageMonitor, which is shared among all dispatchers. - fixed a bug that prevented CDMALTEPhone from setting the MCC/MNC operator numeric value in the telephony provider from the UICC, as GSMPhone does, when the SIM records have loaded. Change-Id: I2789ac07b6ca2948138bca7f75481f9b31514f20
* Add LteOnCdmaDevice system property.Wink Saville2011-07-181-13/+18
| | | | | | | Provide a system property which may be optionally set at build time. Change-Id: I253ff0df7c8f8c5627c775fb0cff2cb831157eed
* Preferred network discrepancy after rild is restarted.Wink Saville2011-06-071-2/+4
| | | | | | | | If the preferred network had updated before rild restarts, the new setting value is ignored on RIL_CONNECT event. bug: IKXEVERESTLTE-1494 Change-Id: Iec6395187c0d749208904db857b80e28f7d92c21
* Change getLteOnCdmaModeStatic to dynamically determine its result.Wink Saville2011-05-201-3/+62
| | | | | bug: 4202572 Change-Id: I956b61840e2043229df29054dd2a6daccd7a845f
* Add getLteOnCdamMode.Wink Saville2011-05-121-0/+24
| | | | Change-Id: Iebf027f956d543d7a69cad64aaba47900937a785
* Add unset and setOnIccRefresh.Wink Saville2011-05-091-0/+6
| | | | | | A temporary hack as some binaries are using these methods. Change-Id: I4ee63df82acf167ab5f434e63bd073e84e1fdf71
* Broadcast SIM Refresh to all registered componentsRobert Greenwalt2011-05-091-5/+6
| | | | | | | There could be multiple registrants like SIM, STK. Port of 6228 from partner repo. Change-Id: I0756d8b69e30058409e0279f65a99a1aa091e13d
* Add RIL_UNSOL_RIL_CONNECTED and pass radio technology + 2 to setupDataCall.Wink Saville2011-04-071-1/+22
| | | | | | | | | | | | | | | Added CommandsInterface.registerForRilConnected which allows components to register for when the ril connects and provides the version of the ril to the registrants or a -1 if the ril disconnects. For ril version 6 RIL.setupDataCall needs to have RadioTechnology + 2 as the radioTechnology parameter when the rilVersion is >= 6. DataConnection then uses registersForRilConnected to get the ril version and provide the proper radioTechnology value to RIL.setupDataCall Change-Id: Iacba764b9e38a4a138d186ccf1625fea760cc56d
* Do not merge: Revert the revert of "LTE Changes for Telephony including ↵Wink Saville2011-03-141-5/+36
| | | | | | | | | | Multiple PDN support and IPV6 support" This reverts commit eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7 and is the first of the LTE commits in master being back ported to the LTE branch. Change-Id: I17d4a1b779ed74bc7dfb409d2c1a30f60fdb27c7
* DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN ↵Wink Saville2011-03-031-36/+5
| | | | | | | | support and IPV6 support" This reverts commit 2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82. Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
* LTE Changes for Telephony including Multiple PDN support and IPV6 supportWink Saville2011-02-241-5/+36
| | | | | | Added init for CDMAPhone.java Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
* Changes for ril.h version 6.Wink Saville2011-02-181-10/+46
| | | | Change-Id: Iacd9d362c4836546ac277cf3571227d426a721aa
* Cat: Generalize stk into catAlex Yakavenka2010-07-301-20/+20
| | | | | | | | Rename all stk classes, comments and variables into cat classes. Cat (Card Application Toolkit) is the common class that has functionality of both Stk and Ccat. Change-Id: Id0b99d0d9f4b0ce49adcb436060f13d5341ab8ab
* Eliminate dependencies on Checkin, replacing checkin events with EventLogDan Egnor2010-02-111-8/+0
| | | | | | | | | | | events (and in one case, a DropBox entry). Add a simple intent that triggers master-clear (and toggle EFS), given the right permissions. Bug: 2264596 Bug: 2350452 Bug: 2264596
* Handle RIL_UNSOL_RESEND_INCALL_MUTE.John Wang2010-01-291-0/+10
| | | | | | For bug 2400052. Notify registered handler whenever receiving RIL_UNSOL_RESEND_INCALL_MUTE.
* Add Phone.getPhoneType() operation.Tammo Spalink2009-09-241-2/+2
| | | | | | | | | | | | | | | This routine returns integer values defined in the Phone interface, derived from RILConstants values. Direct references to the RILConstants are replaced by references to these new ones for consistency. API CHANGE: unhide TelephonyManager.PHONE_TYPE_CDMA Addresses issue: http://buganizer/issue?id=1905415 Change-Id: Icfec6d457231b098c031677a66770b5e57be4a44
* Add ring back tone notification.John Wang2009-09-201-0/+10
| | | | | | | | Some networks may not play ring back tone, RIL will send UNSOL ringback notification. Apps can register for ring back tone msg and play tone to user for receiving ALERTING message. The return value indicates to play or stop ring tone.
* Support SMS cell broadcasting for GSM in RIL.javajohnwang2009-06-111-0/+9
| | | | | | | | | | | | | | | | | | | enable gsm related cell broadcast requests in RIL.java and add SmsBraodcastConfigInfo class. The gsm related cell broadcast requests include RIL_REQUEST_GET_BROADCAST_CONFIG RIL_REQUEST_GET_BROADCAST_CONFIG RIL_REQUEST_BROADCAST_ACTIVATION RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS modified: BaseCommands.java modified: CommandsInterface.java modified: RIL.java modified: RILConstants.java modified: cdma/CdmaSMSDispatcher.java new file: gsm/SmsBroadcastConfigInfo.java modified: test/SimulatedCommands.java
* Cleanup whitespace.Wink Saville2009-06-091-2/+2
|
* Motorola changes from 090602 through 090605Wink Saville2009-06-071-0/+50
| | | | | | | | | | | The changes from 090602 update frameworks/base to support 3way calling and call waiting. The changes from 090603 completed the CdmaInformationRecords class but the original changes submitted has been simplified, toString added and a bug fixed where the notifications where not being handled properly. The changes from 090605 added Prl Version, apn fixes.
* Motorola additions for CDMA support without CdmaSuppConnTrackerWink Saville2009-05-281-19/+30
| | | | | There are corresponding changes to hardware/ril and packages/apps/Phone that are required to go with these changes.
* Teleca 2b changesWink Saville2009-05-181-9/+38
|
* Add RIL_UNSOL_OEM_HOOK_RAW.Jaikumar Ganesh2009-04-301-1/+10
| | | | | Add RIL_UNSOL_OEM_HOOK_RAW for OEMs to send Unsolicitied commands from the baseband.
* AI 144185: Integrate cdma into the main code base.Wink Saville2009-04-021-0/+580
Automated import of CL 144185