aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/android/internal/telephony/CommandsInterface.java
Commit message (Collapse)AuthorAgeFilesLines
* Add p2 option in OpenLogicalChannelWileen Chiu2016-05-201-0/+10
| | | | | | | | | - Adding support for P2 parameter - Needed to support OMAPI 3.0 defined by SIM Alliance Change-Id: I51ab0821f84dca8fff90c912ebbfc9f1129dcbe5 CRs-Fixed: 948787
* RF cutback feature for SARDeepak Kundra2016-05-091-0/+8
| | | | | | Issue-id:FEIJ-350 Change-Id: I1da11d6ac50e8c8c1ec77208f93536403d2132bb
* Forward port Samsung STK support (frameworks/opt/telephony)Pawit Pornkitprasan2016-03-011-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 7940f7ced44976f03171d09c2ba8b1d29bc9432e Author: Flamefire <alex@grundis.de> Date: Sat Nov 15 21:26:33 2014 +0100 Fix crash of Samsung phones Using an alternative SMS app like chompSMS leads to a crash as sendResult is an array without any entries (sendResult[0] is accessed) The default SMS app does not show this because mCurrntCmd == null Change-Id: Icfef6d20f9082dd1f64ed29b67031d2575896513 commit ed0cac138315b4dd5b36c35651ba6d23f1a47ae0 Author: Pawit Pornkitprasan <p.pawit@gmail.com> Date: Tue Dec 11 17:22:30 2012 +0700 Samsung STK: Fix SMS-based STK SEND_SMS was falling through to SEND_USSD (which used to do nothing until USSD support was added) causing an Exception because cmdParams is not an instance of SendUSSDParams. Fix by using type-checking instead of checking if Samsung STK is enabled (because SendSMSParams and SendUSSDParams will only be created if Samsung STK is enabled.) Change-Id: I671014e295e9e529aad25a8b6fbd5a2e5788fc44 commit 7a9f16293abc6e216004d0c80822d39dac98db98 Author: Pawit Pornkitprasan <p.pawit@gmail.com> Date: Fri Nov 30 21:35:50 2012 +0700 Samsung STK: Add USSD support Allow USSD-based STK applications to work Change-Id: I483f37a44a6c3ed43eefcf979e17b84877d03f93 commit b5ade3b5a527193ffc6e71f6ce55d3a96a83792a Author: Pawit Pornkitprasan <p.pawit@gmail.com> Date: Fri Nov 30 19:30:08 2012 +0700 Add Samsung STK support (telephony part) Support for SMS-based SIM applications. Partially rewritten the original patch by Jüri Schultz to be less intrusive. Change-Id: I15d2de1781a2823e24941dd792db3d372578aa9f Change-Id: I476959cfadab0ab14f5ed32adf51adca1e3b26b4
* Activate default UICC application if not done automatically.Danny Baumann2015-11-231-8/+3
| | | | | | Provides compatibility to the pre-M behaviour. Change-Id: Ie87e40cf1da3b19fd37e2c07ff50845f0842216a
* RIL: squashed support for old RILPawit Pornkitprasan2015-11-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 6536e023ed1523b6184da5d5704570fb3e24f01a Author: Emilio López <turl@tuxfamily.org> Date: Fri Oct 12 16:45:29 2012 +0000 telephony: let us write just the aid on getIMSIForApp This implements a new RIL compatibility feature, "writeaidonly", that lets us write just the aid, without the preceding 1. This is needed to be able to read the IMSI correctly on some Motorola RILs Change-Id: I48e9d76db6730571c01d59313fc7a5e79845f922 commit e470d722cc6fc5705d6e407a90f34692f019129f Author: Hashcode <hashcode0f@gmail.com> Date: Mon Sep 24 11:29:48 2012 -0700 ril: avoid sending null aid string in getIMSI A change to how getIMSI works in JB causes null aid strings to be sent. The result for RILs older than v7 is a corrupt ril response in SIMRecords::fetchSimRecords. This corruption ends up setting mImsi to null (in SIMRecords) and that causes havoc w/ 3g/4g data connections. This patch avoids sending null aid strings and has fixed data connection issues on several Motorola devices. This new patch is implemented as an opt-in old ril feature Change-Id: I6682ea10c8b216e2adc5abffbcc50f3cb6c9d7b8 commit 16cd02ad6f9679ed5895d53e9d07fef3ee9d3240 Author: Robert Burns <burnsra@gmail.com> Date: Tue Sep 25 09:33:24 2012 -0400 Revert "ril: avoid sending null aid string in getIMSI" This reverts commit 4b785569b338d150dccdb5bb6d3a290b068e603c. This change has been verified as breaking network for toro/toroplus. Change-Id: I74e43acd10d4b38e149acf55e08537430f871139 commit 814e909c879621101640128fe0a0c9f0ad2ef504 Author: codeworkx <codeworkx@cyanogenmod.com> Date: Tue Sep 25 13:06:15 2012 +0200 ril: dedup mRilVer Change-Id: I665b5c1c502d3cc49d2b3343a2e9eafc8b8e5a77 commit 69292881c8c120c90852d306a5c312a07dd19c10 Author: codeworkx <codeworkx@cyanogenmod.com> Date: Tue Sep 25 02:51:18 2012 +0200 fix build: add missing instance variable mRilVer Fixes commit 4b785569b338d150dccdb5bb6d3a290b068e603c Change-Id: Id239285aff6997eaa42521b695b6812029f580c1 commit 4b785569b338d150dccdb5bb6d3a290b068e603c Author: Hashcode <hashcode0f@gmail.com> Date: Mon Sep 24 11:29:48 2012 -0700 ril: avoid sending null aid string in getIMSI A change to how getIMSI works in JB causes null aid strings to be sent. The result for RILs older than v7 is a corrupt ril response in SIMRecords::fetchSimRecords. This corruption ends up setting mImsi to null (in SIMRecords) and that causes havoc w/ 3g/4g data connections. This patch avoids sending null aid strings and has fixed data connection issues on several Motorola devices. Change-Id: Ic1fc363e35d79793c48d19080a2e028e428b888f commit 154221766ac6bcb1c0af549377e65a8c8ec5d0a0 Author: Ethan Chen <intervigil@gmail.com> Date: Mon Sep 3 01:21:04 2012 -0700 RIL: make data call APN a selectable RIL feature Disabling this for all RIL versions above 3 can cause issues with some device RILs and establishing a data connection. Change-Id: I7be41b120663b0839beec95c22d0615f5e79c582 commit b40a14246e50429d91e603a64d6baac7813699d1 Author: Janne Grunau <j@jannau.net> Date: Tue Aug 14 22:32:08 2012 +0200 RIL: fix protocol mismatch for DataConnectionState_v4 The apn got dropped in DataConnectionState v4. Avoids UnknownHostExceptions in DataCallState.setLinkProperties(). Change-Id: Icd0a1ba1c77cead13b15b3749965edead5f59135 commit 431c19a5ef39003383de3fc44c636f8d03e74a17 Author: isimobile <isimobile@ismaakit.com> Date: Wed Jan 11 21:34:47 2012 +0200 telephony: Added support for use of Honeycomb Radio (Modem). -squashed (RIL: reference ICS and GB): https://github.com/isimobile/android_frameworks_base/commit/7507127287aa8cf84b5e811977d95400b029f95b https://github.com/isimobile/android_frameworks_base/commit/af2b84d1860b38952784ae116172e00a4b445a1d https://github.com/isimobile/android_frameworks_base/commit/872156a81fb4185217e7642d10ec33da4893a2b3 https://github.com/isimobile/android_frameworks_base/commit/400bbc4e3ce8e9e0219b31bb985e6628c50d0f07 https://github.com/isimobile/android_frameworks_base/commit/7cb289d9e59ac69350dd2377eff63940641df603 -cleaned up some whitespace Change-Id: I3a3474245bb336bc3f275605648f5f94f3f9b6e7 Conflicts: telephony/java/com/android/internal/telephony/DataConnection.java commit 87ee134d8a0a09ff5c824450969207fa66531f2f Author: Emilio López <turl@tuxfamily.org> Date: Thu Dec 1 21:35:21 2011 +0000 RIL: skip broken RIL_UNSOL_DATA_CALL_LIST_CHANGED Some old RILs might produce events with type 'IP' containing the remote IP address, normally 10.64.64.64. These events mismatch with the previously generated ones and cause the system to take the connection down, even if it was up and working correctly. Add skipbrokendatacall to ro.telephony.ril.v3 to enable the workaround. Change-Id: I3bc3c84735201a797011aafba2718638a826f31d commit b2cfc6f82f75fe47e5ca66ac7ee5bab1740f4a45 Author: Tom Giordano <tomgiordano83@gmail.com> Date: Mon Nov 28 02:51:53 2011 +1100 v3 RIL: another getDataCallState fix Change-Id: Ie4e69e231956f46bc1b82550fdf4863c1367efaf commit 16330ce5c921792115bc796a3229057491524915 Author: Pawit Pornkitprasan <p.pawit@gmail.com> Date: Sun Nov 27 09:17:19 2011 +0700 v3 RIL: Fix getDataCallState and PIN setting Change-Id: Icf5cee33aeec58cffb23430f0f7b06b9971a71ad commit 3f730cc1055739dc4cbf53b44acf9c254c43a52b Author: Koushik Dutta <koushd@gmail.com> Date: Fri Nov 25 17:23:58 2011 -0800 Break the legacy ril shims into specific features. The ICC feature breaks crespo, but crepso needs the signal strength feature. commit 6b09342ad9131754eeaa733364c2f4474a10bde7 Author: Emilio López <turl@tuxfamily.org> Date: Sun Nov 20 22:12:28 2011 +0000 RIL: handle the lack of version gracefully on older RILs Change-Id: I8227c55968f502112c5b6ac334eee505c29924c2 commit 913255a820cfcb99a6d89ca036eba53c110adea2 Author: Kolja Dummann <k.dummann@gmail.com> Date: Mon Nov 21 22:27:45 2011 +0100 RIL: fix pin unlock for old ril Change-Id: I27eb348233d41618875473ca9bdb93d339c359f9 commit 27b873d14816282bab22db8a5920ca01466d36d0 Author: Ricardo Cerqueira <github@cerqueira.org> Date: Thu Nov 17 11:16:23 2011 +0000 RIL: Support signal strength format from v3 vendor RILs Enable by setting property ro.telephony.ril.v3=1 Change-Id: I2eb23ab5d17d15ed71e5777dcd368d47c87e29ef Conflicts: src/java/com/android/internal/telephony/CommandsInterface.java src/java/com/android/internal/telephony/RIL.java src/java/com/android/internal/telephony/sip/SipCommandInterface.java src/java/com/android/internal/telephony/test/SimulatedCommands.java commit 8d0f918912cd2ede742eb40f3f6296819b4e2e71 Author: Ricardo Cerqueira <github@cerqueira.org> Date: 2012-11-22 19:11:19 +0100 telephony: Reintroduce the old ICS RadioStates All the previous SIM/RUIM states are now equivalent to "RADIO_ON". Tested with a fully ICS-compliant set of radio libraries, and appears to work fully. Change-Id: Id34320c59a316e2b6747bd3a48077b863ab772d6 Conflicts: src/java/com/android/internal/telephony/RIL.java commit e243626e34bcf7383cfcdc4e80d1a9d6176b0ede Author: Ricardo Cerqueira <github@cerqueira.org> Date: 2013-04-01 17:38:02 +0100 RIL: Add compatibility with qcom's DSDS Devices with radio libraries built against a DSDS-enabled qualcomm BSP (anything in the last 4 or 5 months, apparently) have a slight incompatibility in the RIL protocol: it expects the first 4 bytes of the datastream to be the slot's identification (even if the device isn't dual-SIM). Absence of those 4 bytes will make the connection hang. Change-Id: I9f5821add02e7e5b5286c3b0818cb4a94edcc13c
* Telephony: Add getLteOnGsmMode() method (2/2)Ricardo Cerqueira2015-10-261-0/+6
| | | | | | | | | | | Same functionality as the existing getLteOnCdmaMode, but for GSM LTE devices. Enable with the telephony.lteOnGsmDevice system property From CM 10.0: Ibfb47ca608e51393b99d3308e0a6c66050b3f32e - Moved getLteOnGsmModeStatic() to TelephonyManager. Change-Id: I66ca1d109450b8e857079c342a93de8086e80660
* SEEK: Add support for getAtr apiPreeti Ahuja2015-10-061-0/+7
| | | | | | | Implement getAtr for SEEK on Android. CRs-Fixed: 718469 Change-Id: I22f8661bbe65e6d2449a7e2f56a0f9c42cf7d164
* Telephony: SIM De-personalizationBeena More2015-10-061-1/+1
| | | | | | | | | | 1. Support for all ME De-Personalizations as per specs 3GPP2 C.S0068-0 and 3GPP TS 22.022 2. Changes to listen to and notify registrants for EVENT_NETWORK_LOCKED 3. Sim DePerso sent as OEMHOOK request on rild socket Change-Id: I7f3e1ac9a0c64f3069727bfcc066ec0f58ecdab5
* MSIM: Add support for DSDASandeep Kunta2015-10-061-0/+6
| | | | | | | | | 1. inform to clients whenever active sub change information is received from telephony service. 2. inform local call hold status to RIL, whenever update on the same is received. Change-Id: If45351cce38c1ef0ea20ca45a821edd1fa594c82
* Activity info and stats from modemPrerepa Viswanadham2015-06-081-0/+8
| | | | Change-Id: Ib00c317d8571a318491e91d79ba42577af5485a4
* Set sub info to modem after capability switch.Stuart Scott2015-04-231-5/+0
| | | | | bug:19301751 Change-Id: I9a99a36c02144c181aaa1e55798e10b53aab213a
* LCE service implementation - tele service sidefenglu2015-04-161-0/+44
| | | | | | -redesigned based on ConnectivityService/NetworkCapabilities Change-Id: I54074234e1117b41eb6ff761ead9241928585fc6
* Default data should connect on user's preferred network typeStuart Scott2014-12-051-0/+5
| | | | | | | bug:18416275 bug:18415493 Change-Id: I14bce5520af67f038f43920a4454275c5a7e8a9f
* STK CC feature implementationPreeti Ahuja2014-11-181-0/+23
| | | | | | | | | Support to display the current request is changed by STKCC. Support to display alpha messgae from STKCC. Support to display informatiom from new SS message. Add FLAG_RECEIVER_FOREGROUND to alpha broadcast intent. Bug: 17646476 Change-Id: I89671830eeef62a48e3133a2e3afbdeb096ecf3c
* ussd: Suppress error dialog when ussd release receivedAnju Mathapati2014-11-071-2/+6
| | | | | | | Remove the prompt sent when network releases USSD session Bug: 17782840 Change-Id: I4ca1d6db3be89ce2f28986cbc96824276edc6c7f
* Radio Capability Support.Wink Saville2014-10-201-0/+35
| | | | | | | | | | | | | | | | New design of capability switch for L. Add new RIL requests: RIL_REQUEST_GET_RADIO_CAPABILITY RIL_REQUEST_SET_RADIO_CAPABILITY RIL_UNSOL_RADIO_CAPABILITY These commands allow the framework to communicate what the Radio Capabilities for each logical modem has or should be using. It can support 2/3/4G switch and has flexible architecture to support future technology. Change-Id: Iedf7f608d2ba3c06a883500f2d85abb98e69d9c1
* Send SMS using RIL_REQUEST_SEND_SMS_EXPECT_MOREChaitanya Saggurthi2014-10-011-0/+10
| | | | | | | | | | | | 1) New commandinterface API sendSMSExpectMore to send sms using ril request RIL_REQUEST_SEND_SMS_EXPECT_MORE. 2) sendSMSExpectMore API to send multisegment sms pdu's except last pdu in GSM. In case of retry use sendSms even for multi segment message, because don't know how many segments are failed to send Bug: 17570854 Change-Id: Icfc200a9c9c5940f0e10668b4385d1633a6c943b
* redirect RIL_UNSOL_OEM_HOOK_RAW to system appNew Author Steven Liu2014-09-291-0/+5
| | | | | | | add notifyOemHookRawEvent Bug: 17298769 Change-Id: Iaea054d3cc2925eea1e11f8871faabc7bc9dfb2d
* Send Shutdown Request to RIL.Naveen Kalla2014-08-211-0/+7
| | | | | | | | Send RIL_REQUEST_SHUTDOWN to RIL when device is shutting down. RIL can use this request to shutdown the SIM card and modem gracefully. Bug: 9773278 Change-Id: I6afa9e810cefc7855f7ae42e51f39cc51fa2aa6e
* Revert "Revert "add apn setting parameters, and set apn parameters to bp""Amit Mahajan2014-08-141-0/+11
| | | | | | This reverts commit 01f27d2c616797e5ba821159f8aca7b75aa54ae1. Change-Id: Id9e7cf180092f320f635084f805b97f6409d0f03
* Revert "add apn setting parameters, and set apn parameters to bp"Amit Mahajan2014-08-121-11/+0
| | | | | | This reverts commit f4b74430a8c22ab58c3fbbd6c9e7a594514a8615. Change-Id: I1f300741d858ff39ae573e576479613b084e4616
* add apn setting parameters, and set apn parameters to bpHui Wang2014-08-121-0/+11
| | | | Change-Id: I395b499eb0730894620614b3261bb6a784d53f46
* Changes to add new parameter for Sim AuthenticateAmit Mahajan2014-07-181-1/+5
| | | | Change-Id: I393c18f878fe3e5efcd81543a9a38a4c353b6e03
* Merge kwd to masterWink Saville2014-06-121-2/+73
| | | | Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
* Correct the comment in queryAvailableBandMode.Derek Tan2014-04-301-2/+3
| | | | | | | The correction is based on RIL_REQUEST_QUERY_AVAILABLE_BAND_MODE defined in ril.h and my experiment. Change-Id: I1610bde07d9345c96c6962d2032130d36c5eecf8
* Merge "Remove unneeded new RIL command."Jake Hamby2014-02-241-13/+4
|\
| * Remove unneeded new RIL command.Jake Hamby2014-02-181-13/+4
| | | | | | | | | | | | | | | | | | Remove the recently added RIL_REQUEST_SET_RADIO_MODE command and update the definition of the RIL_REQUEST_NV_RESET_CONFIG parameter. Also, space out the NV item enum values so we can add new items per category. Bug: 12864208 Change-Id: I1201c92198a8cd7e169efe7055b58259d975309b
* | Setting the Preferred Network Type correctly on SIM restart.Shishir Agrawal2014-02-201-6/+0
|/ | | | | | | | | | | | Currently the GsmServiceStateTracker sets the preferred network type to the last set network type which can cause issues during a SIM swap/reset if the network type changes. The CdmaServiceStateTracker does not set this value at all. This change modifies this behavior to set the preferred network type in the same manner it is set when a phone reboots. Change-Id: I88d61a5d545bdbaa4e4400f5f9e4af8f99dc5d2e
* Add new RIL commands to read/write and reset NV items.Jake Hamby2014-02-031-0/+47
| | | | | | | | | | | | Add new RIL commands to read/write and reset NV items. Used by some operators for CDMA band config and PRL update. Note that this CL depends on a typo fix in the corresponding frameworks/base change and packages/services/Telephony depends on a typo fix in this CL. Bug: 12864208 Change-Id: I3081619a82af698a3197ce23870bf4de248fb3e7
* Removing the error return value requirement for RIL_REQUEST_SIM_OPEN_CHANNEL.Shishir Agrawal2013-12-161-2/+1
| | | | | | | On error, the RIL implementation should throw an error and the value returned does not need to be valid. Change-Id: Idf81e6f7e2aa5e967e97cef402dfd53150b9b183
* Change in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicates error.Shishir Agrawal2013-12-121-1/+1
| | | | | | | Changing the RIL_REQUEST_SIM_OPEN_CHANNEL comment to state that the modem should return -1 on error and not 0. Change-Id: Ied71c23857659048f080531b79f98eb9db221c96
* Merge commit 'eb7d144424aae66b25737a8d8791d192c980d86b' into HEADThe Android Open Source Project2013-12-051-5/+28
|\
| * Fix documenation IMS registration state.Wink Saville2013-11-081-4/+2
| | | | | | | | | | Bug: 11599127 Change-Id: Id0016bca45ea84983c9280f55b0b1ccdcececc03
| * SMS over IMS bug fixesSukanya Rajkhowa2013-11-081-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change includes the following: 1) SMS over IMS remaining patches which address review comments 2) Fix for Bug:11378993 For MT SMS over IMS, if an application uses the createFromPdu(byte[] pdu) API instead of createFromPdu(byte[] pdu,String format) API, we first try to create SmsMessage from raw PDU with the format of active phone. That either returns a valid SmsMessage object or throws a RuntimeException causing the correct format to be used the next time. If GsmSmsAddress is not valid, we should throw a RuntimeException which is handled by createFromPdu(byte[] pdu) 3) Fix for Bug:11424054 Register for ICC changes and handle new SMS on ICC Bug: 11378993, 11424054 Change-Id: I94bcfcf93d8205c2916997091617899c6ebdd5e5
| * Few PIN/PUK fixesWink Saville2013-10-241-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following changes have been made as part of this: -> Changes done to display retry counter on wrong entry of PIN1,and message to indicate Code accepted/PIN1 blocked during PIN1 verification as per certain carrier requirements. -> The current APIs that are used to verify the PIN and PUK only convey whether the operation succeeded or failed. As a result on ANY failure clients ask the user to re-enter the PIN. Add 2 new APIs that report the actual error code and returns the number of attempts remaing in case of failure. -> FDN Service state was derived based on the state of PIN2. Update the state of FDN service based on the FACILTY_LOCK messages instead. -> Change the default value of function getIccLockEnabled to false. When sim is deactivated/absent & user navigates to Settings->Security->Set up SIM/RUIM card lock, checkbox for "Lock Sim Card" option should be unchecked by default. -> PIN1 can be changed only after enabling SIM lock. RIL returns REQUEST_NOT_SUPPORTED error if user tries to change PIN1 without enabling SIM lock. Handle the error and display appropriate message when trying to change PIN1 using MMI code. -> Added MMI support for change PIN1/PIN2 and unblocking PIN2 Bug: 9928717 Change-Id: I73718c9e6a8aa7244097e0dd4593a6226ff0ac08
* | RIL changes for supporting generic SIM communication.Shishir Agrawal2013-12-021-0/+59
|/ | | | | | | | | | Exposes four new commands through RIL.java: - RIL_REQUEST_SIM_TRANSMIT_BASIC (AT+CSIM - TS 27.007) - RIL_REQUEST_SIM_OPEN_CHANNEL (AT+CCHO - TS 27.007) - RIL_REQUEST_SIM_CLOSE_CHANNEL (AT+CCHC - TS 27.007) - RIL_REQUEST_SIM_TRANSMIT_CHANNEL (AT+CGLA - TS 27.007) Change-Id: Iee4d950d37a6097493cd945e611c914c40827215
* Support SMS over IMSSukanya Rajkhowa2013-10-101-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | ImsSMSDispatcher is part of IccSmsInterfaceManager. It always receives calls to send sms first and decides whether to use ims call flow or gsm/cdma based on response to REQUEST_IMS_REGISTRATION_STATE. When ims is registered and sms is supported, the request also returns sms format to use. In case of sms over ims failure, RIL_REQUEST_IMS_SEND_SMS sets messageRef from RIL_SMS_RESPONSE of corresponding failed MO SMS, and sets retry field to non-zero. If voice is available, sends RIL_REQUEST_IMS_SEND_SMS retries with data encoded based on voice tech available. If voice is not available, sets retry counter to max and skips retries and sends failure to client. Bug: 9626411 Change-Id: I4c63c8fc0eb2191847b509e66772e3de27d491ed Signed-off-by: Ed Tam <etam@google.com> Conflicts: src/java/com/android/internal/telephony/gsm/GSMPhone.java
* Set initial attach apn for LTE networkSungmin Choi2013-05-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | | When mobile register LTE network, APN provided by operators is needed. If mobile does not have apn information, it could not register LTE network. To deliver APN information which is used during LTE attach to modem chipset, setLteAttachProfile() and RIL_REQUEST_SET_LTE_ATTACH_PROFILE command is added. When Telephony DB is loaded or Telephony DB is changed, follow steps. 1. If preferred default ApnContext exists, this is delivered to modem chipset. 2. If preferred default ApnContext is null, find other ApnContext which can handle default type. 3. If other ApnContext which can handle default type does not exist, any other ApnContext delivered to modem chipset. Then modem register LTE network with APN information delivered from AP. Bug: 8733613 Change-Id: If84c62cddccf96a531dae0527ed1a6592ae76201 Signed-off-by: Seonju Oh <seonju.oh@lge.com> Signed-off-by: Hyejin Kim <hyejin.kim@lge.com> Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
* Add FW support for CellInfo RIL commands.Wink Saville2013-04-091-2/+42
| | | | | Bug: 8235566 Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
* Move retrying into DC.Wink Saville2013-03-221-4/+4
| | | | | | | This is the first step in refactoring for bug 4772191. Bug: 4772191 Change-Id: Id54a20ab192783c63939158670faaf531a527640
* Clean upWink Saville2013-02-221-3/+2
| | | | | | | | | | | | | | - Add @Overrides where needed. - Update javadoc comments - Remove extra semi-colons - Rename DataConnection.java to DataConnectionBase.java - Rename GsmDataConnection.java to DataConnection.java - Add defaults to switch statements - Remove/fix most "if (false)" statements. Fixed by using a CONSTANT - Fix hidden variables by hoisting to base class or renaming - Tweak some debug output Change-Id: If38de2fdeaacafbf40cdfd7f84dc5c52030ba2a3
* am 9eef81ce: am 89558696: Merge "Telephony: Define enable/disable APIs for ↵Jake Hamby2013-02-041-3/+3
|\ | | | | | | | | | | | | | | | | Cdma CMAS" # By Rika Brooks # Via Android Git Automerger (1) and others * commit '9eef81ce80e72d68a8349fd84797276cb9cbe957': Telephony: Define enable/disable APIs for Cdma CMAS
| * Telephony: Define enable/disable APIs for Cdma CMASRika Brooks2013-02-041-3/+3
| | | | | | | | | | | | | | | | - Define enableCellBroadcastRange, disableCellBroadcastRange, enableCellBroadcast, disableCellBroadcast for Cdma broadcast. Create CdmaBroadcastRangeManager extended from existing IntRangeManager. Change-Id: I5d70175862547475f49e08328ab3dcc5560e9096
* | Merge commit '7e4b734a' into fix-merge-conflictWink Saville2012-12-101-0/+1
|\| | | | | | | | | | | | | * commit '7e4b734a': Telephony: Move uicc classes into uicc package Change-Id: Iacc7f1805500bfe55299aaedbe0241ebba8e8b23
| * Telephony: Move uicc classes into uicc packageAlex Yakavenka2012-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reduce constructor visibility to package where possible Dependent Changes: I3b718b9aea1f21c7906c8243b4ca0db6af495a08 I80204a2f3dc57cac875abeab390bb9db7a636ff7 Ib9c19e8b157dc7ec74eb14baca5bd3b5caf08c47 Change-Id: Ib4f43374c041cb5eaf2e3883e5ea28b2eb2c9a69
| * Use RlogWink Saville2012-12-071-1/+1
| | | | | | | | Change-Id: Ie013f51215de8380b8de74161b6056b010711cfd
* | Use Rlog instead of Log.Wink Saville2012-11-271-1/+1
| | | | | | | | Change-Id: I2f44193b294513e743526e5c163e7d9a45308b28
* | Fake errors in DataConnection.Wink Saville2012-10-191-0/+6
|/ | | | | | | | Errors can be faked for all DC's or just a particular DC, use tools/tdi to issue the broadcast intent. Change-Id: I4ba661e765d32931421bb62bc5e740c9652370a5
* Create telephony-commonWink Saville2012-07-111-0/+1579
telephony-common was created by moving some of frameworks/base/telephony to: frameworks/opt/telephony Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c