summaryrefslogtreecommitdiffstats
path: root/telephony/java/android
Commit message (Collapse)AuthorAgeFilesLines
* Fix CellIdentityLte.equalsWink Saville2014-08-121-1/+1
| | | | | Bug: 16902094 Change-Id: I92786dc792bf318d2236212eb2acf955ec41e066
* Return APDU status code on tramsit channel command failure.Shishir Agrawal2014-08-051-2/+2
| | | | Change-Id: I2d506a6ddbb4e27a04f57941247924d36c9d279b
* Fix double DBG check.Wink Saville2014-08-011-1/+1
| | | | Change-Id: I45e175df698240b80374f98043b50a014fd9779a
* Turn off extra debuggingWink Saville2014-08-011-4/+11
| | | | Change-Id: I3d7c68d3d7bcef5be084398807389f4a485bedb0
* IccOpenLogicalChannelResponse: Single character fix.Shishir Agrawal2014-07-311-1/+1
| | | | Change-Id: I345e9a6b4cefc1d96111a7cf62dc402fd48b35c0
* Add new APIs iccExchangeSimIO and iccTransmitApduBasicChannel to ↵Shishir Agrawal2014-07-303-3/+201
| | | | | | | | | | | TelephonyManager. The new APIs are needed to support SEEK. Also modifies TelephonyManager.iccOpenLogicalChannel to return the status of the command. Change-Id: Iff2674fb0e23210f2579cb883e64571347ade5e6
* Add more disconnect causes 1/4Santos Cordon2014-07-251-1/+16
| | | | | Bug: 15692074 Change-Id: Ib94c33fac8450b70e53dbe12d71f41777e9e140c
* Merge "Add API invokeOemRilRequestRaw" into lmp-devAmit Mahajan2014-07-241-0/+19
|\
| * Add API invokeOemRilRequestRawSteven Liu2014-07-241-0/+19
| | | | | | | | | | | | | | | | | | | | this API is used by system app, app could communicate with RIL with it. Change-Id: I5397c1cf2b108d9dc3a9694b1f071dc60bb5b341 Conflicts: telephony/java/com/android/internal/telephony/ITelephony.aidl
* | IMS: getPCSCF() API enhanced to support multiple APN types.ram2014-07-241-3/+3
| | | | | | | | | | Change-Id: I014f341b93a9ea7280e04cdfc13418fe81c9fc8b Signed-off-by: ram <ram.pl@samsung.com>
* | Expose getCarrierPackageNamesForBroadcastIntent as a hidden @SystemApiShishir Agrawal2014-07-231-0/+14
|/ | | | | | | It will be required by setup wizard to delegate initialization to the carrier app. Change-Id: Icc0fc728e1e24235632ac38a482b06a7b829de78
* Merge "Adding the ability for carrier app to override SPN and carrier name." ↵Shishir Agrawal2014-07-171-0/+28
|\ | | | | | | into lmp-dev
| * Adding the ability for carrier app to override SPN and carrier name.Shishir Agrawal2014-07-171-0/+28
| | | | | | | | | | | | | | | | | | | | The change allows system apps (holding MODIFY_PHONE_STATE permission) or carrier apps to override the "carrier branding" on a per ICCID basis. The override affects the service provider name as well as the network operator name. The override is also saved as a SharedPreference and will persist for the iccId across reboots. Change-Id: I985ba247e10e2501e3d0d21567ccadc46f365879
* | API changes to enable account selection for a callNancy Chen2014-07-171-1/+0
|/ | | | | | | | | If an account default is not set, the incall ui will display a dialog to allow the user to select an account for that particular call. Bug: 16243703 Change-Id: I8faf2f2ce0b2669a141562832f23e8f3ce88f094
* Remove @hide annotations from important carrier privileged APIs.Derek Tan2014-07-161-27/+45
| | | | | | | Most of these APIs are protected by MODIFY_PHONE_STATE or carrier privilege. Some APIs are protected by READ_PHONE_STATE. Change-Id: Ifa04b5fb6d4bb5f21af7f728bee7dcbf77c8583b
* Implement multi-SIM capabilities (1/6) [DO NOT MERGE]Ihab Awad2014-07-141-47/+0
| | | | | | | | - Split PhoneAccount into PhoneAccount & PhoneAccountMetadata - Move PhoneAccount methods from TelephonyManager to TelecommManager Bug:16292368 Change-Id: Ib440368d6bd0572b63c942360450fde5c27d84b9 (cherry picked from commit 936b3552b4a3569be9904c826b95b632886fb45d)
* Unhide isSmsCapable.Wink Saville2014-07-131-2/+0
| | | | | Bug: 14113863 Change-Id: I57af2cf2482747e77c9bdf53559345b6b31f01a5
* Allow 1st party app to set Line 1 number for display purpose.Derek Tan2014-07-121-0/+59
| | | | | | | | After the number is set, TelephonyManager.getLine1Number will actually return this one instead of the actual MSISDN/MDN. Bug: 11900806 Change-Id: I4df3fac7b483ddae2bbda14b5a85629486e400cf
* Different Mobile Network Settings screen for Nova multi-profile SIMs.Derek Tan2014-07-121-0/+69
| | | | | | | | | | Simplify the Mobile Network Settings screen regardless CDMA or GSM activeness to provide a unified experience for Nova users. For more details, please refer to b/15854628. Bug: 15854628 Change-Id: Ieba04eff49824aa09a056cd4fb142cbd268207a3
* ITelphony.aidl: Rename hasCarrierPrivileges for packages to ↵Shishir Agrawal2014-07-111-3/+3
| | | | | | | | checkCarrierPrivilegesForPackage. Fixes the build breakage due to overloading in the aidl. Change-Id: Id3199bf2d21b1834183c90904417ed016d34e052
* Add hidden systemapi hasCarrierPrivileges(pkgname).Junda Liu2014-07-111-0/+13
| | | | Change-Id: I153f5c7cff1734c87587c3741051177ce54ba654
* Move showCallScreen & isInAPhoneCall to PhoneManager.Santos Cordon2014-07-091-24/+0
| | | | Change-Id: I852da78ae80eba120932fb7acb1e5c3db2a8f18a
* Merge "Add calculatePreferredNetworkType to TelephonyManager."Junda Liu2014-07-021-0/+19
|\
| * Add calculatePreferredNetworkType to TelephonyManager.Junda Liu2014-07-081-0/+19
| | | | | | | | | | Bug: b/14134668 Change-Id: Iba7dcd50c1ba84b634eed53030456a2f84af6e3c
* | Remove permission SIM_COMMUNICATION.Shishir Agrawal2014-07-081-4/+4
| | | | | | | | | | | | | | The permission is replaced by the MODIFY_PHONE_STATE permission which is System|Signature. Change-Id: I74dbd242fc0fdbb5884fdc7a5c3f0063424fbfcf
* | SIM based carrier app privileges.Shishir Agrawal2014-07-071-0/+34
| | | | | | | | | | | | | | | | | | | | Adding support for SIM based carrier app privileges. WIP - Missing bits: - Notifications. - Certificate check. Change-Id: Ied3aa6c7d51cc0cde06f5bb58f30893d7a7b1c34
* | Move cancelMissedCallsNotification to PhoneManager.Santos Cordon2014-07-021-10/+0
| | | | | | | | Change-Id: I2ce26e77ef1f0acc11552bf28efc039391e09766
* | Rename Telecomm "Subscription" to "Account" (1/7)Ihab Awad2014-07-021-13/+13
|/ | | | | | | Change-Id: Ieb29f6ba9dadacb2c7e26969a47141e11a339a40 Conflicts: telecomm/java/android/telecomm/InCallCall.java
* add setCdmaSubscription to telephonymanager.Junda Liu2014-07-011-0/+19
| | | | | | Bug: b/12799863 Change-Id: Ieeb3e800cd7757335135901b1e4e94aaf6f4ede7
* Merge "Remove Obsolete enable/disableApn functions."Robert Greenwalt2014-06-171-22/+0
|\
| * Remove Obsolete enable/disableApn functions.Robert Greenwalt2014-06-171-22/+0
| | | | | | | | | | | | | | ConnectivityService now uses NetworkAgents instead and apps should use ConnectivityManager. Change-Id: Ifc5c8f5be802183e70a5d92b224c819815de00e6
* | Merge "Empty triangle displayed for radio signal but calls & data work"Wink Saville2014-06-172-3/+14
|\ \
| * | Empty triangle displayed for radio signal but calls & data workWink Saville2014-06-182-3/+14
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | TelephonyRegistry: when default sub id is requested set isLegacyApp to true so when ACTION_DEFAULT_SUBSCRIPTION_CHANGED is received the TelephonyRegistry.Record.subId will be updated. SubInfoRecord: Add SubInfoRecord toString for easier debugging SubscriptionManager: Add putPHoneIdAndSubIdExtra(intent, phoneId, subId) as this allows explicit setup of phoneId and subId and does not rely on a phone's subId being set. Bug: 15669560 Change-Id: I645ddb35b964b08dcb46f881c9d02b932d128950
* | Add methods to TelephonyManager for Subscription management (1/3)Ihab Awad2014-06-171-5/+48
|/ | | | | | | | | | | | | | | | | | As part of the effort to permit third-party suppliers of telephone connectivity, we permit clients of TelephonyManager to obtain the currently valid Subscription objects describing these suppliers. The Subscriptions are intended to be self-describing such that an end-user can choose from among them based on the information they contain. One of these objects may then be attached to an ACTION_DIAL or ACTION_CALL Intent to represent the end-user's choice of how to make a call. Change-Id: I2ad1930079042d7bfe762b47c22f0538f7403bff Conflicts: telephony/java/com/android/internal/telephony/ITelephony.aidl Conflicts: telecomm/java/com/android/internal/telecomm/ITelecommService.aidl
* Check for subId array being null.Wink Saville2014-06-161-0/+3
| | | | | Bug: 15665102 Change-Id: I9424da81311eacebf280a30c4e32a530be4a3278
* Merge kwd to masterWink Saville2014-06-138-75/+2248
| | | | | | Add initial IMS and MSIM support from klp-wireless-dev-mirror Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
* Rename PrivateApi annotation to SystemApi.Jeff Brown2014-06-061-32/+32
| | | | Change-Id: I97b473884f81ad375d0733e4766afe091dfdd854
* API changes to Telephony per API reviewYorke Lee2014-06-061-14/+13
| | | | | | | | | * Make context the first argument for isLocalEmergencyNumber and isPotentialLocalEmergencyNumber Bug: 15432083 Change-Id: I88b5ace925e3704bd032dc9694b0c2dd871b9cf9
* Revert "API changes to Telephony per API review"Yorke Lee2014-06-052-13/+17
| | | | | | | | | The original change was submitted into lmp-preview-dev and should not have been auto-merged to master. This reverts commit 80327f7a31b19213ec48e1ab66e6bdc8e76cb0fe. Change-Id: I9ff8a868ffa3135583c52ef97b15311107716899
* am 87d1dbc5: Merge "API changes to Telephony per API review" into ↵Yorke Lee2014-06-052-17/+13
|\ | | | | | | | | | | | | lmp-preview-dev * commit '87d1dbc52e473227b2b4bc0d95ca48cfb3363adc': API changes to Telephony per API review
| * API changes to Telephony per API reviewYorke Lee2014-06-052-17/+13
| | | | | | | | | | | | | | | | | | | | * Make context the first argument for isLocalEmergencyNumber and isPotentialLocalEmergencyNumber * Hide DisconnectCause Bug: 15432083 Change-Id: I88b5ace925e3704bd032dc9694b0c2dd871b9cf9
| * DO NOT MERGE. Implement connection error dialogs (1/4)Ihab Awad2014-06-041-1/+64
| | | | | | | | | | | | | | | | Implement reporting of connection errors from ConnectionServices through Telecomm to the InCallUI. Bug: 15195720 Bug: 15117141 Change-Id: I0e1443f75a175a212fb19afde5a7eadef15d239d
| * Merge "Revert sendEnvelope changes [DO NOT MERGE]" into lmp-preview-devEvan Charlton2014-06-031-210/+0
| |\
| | * Revert sendEnvelope changes [DO NOT MERGE]Evan Charlton2014-05-291-210/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert the following changes from the I/O preview. This reverts the following changes: Revert "Revert "Revert "Modify TelephonyManager to expose sendEnvelopeWithStatus instead of sendEnvelope.""" This reverts commit 452e185fb6df92358701fb68d4fe6c65f172cc29. Change-Id: I6bbff508b2f542d6ef3d372956db53d63a9165eb Revert "Revert "Revert "Expose sendEnvelope.""" This reverts commit 0d5e5b9cce8af40494f72ff9decc169f99780254. Revert "Adding support for SIM communication from Android over logical channels." This reverts commit 57f656b9f6271cf857b5ecec5f8c7eacb321ec0b. Change-Id: I975eb468841e85d63e506f68a5d8c879e110d9f6
* | | DO NOT MERGE. Implement connection error dialogs (1/4)Ihab Awad2014-06-051-1/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement reporting of connection errors from ConnectionServices through Telecomm to the InCallUI. Bug: 15195720 Bug: 15117141 Change-Id: I0e1443f75a175a212fb19afde5a7eadef15d239d (cherry picked from commit 976bfe497da31fa8322969648ffbe77898941d0c)
* | | am 6d052adc: Merge "Update showCallScreen to use Telecomm (1/6)" into ↵Santos Cordon2014-05-301-4/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | lmp-preview-dev * commit '6d052adc910bf2d2775881528cef3e41fe2cd14b': Update showCallScreen to use Telecomm (1/6)
| * | Update showCallScreen to use Telecomm (1/6)Santos Cordon2014-05-301-4/+6
| |/ | | | | | | | | | | | | | | | | | | | | - Add API methods to InCallService and ITelecommService. - Remove old methods from ITelephony. - Route the TelephonyManager methods through ITelecommService instead of ITelephony. - Update Lock screen to use TelephonyManager instead of ITelephony. Bug: 15008165 Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657
| * Adding ITelecommService definition for Telecomm.Santos Cordon2014-05-281-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | Until telecomm code moves into a system service, we need a way for other apps to call into it for call-related functionality. Initial implementation only has silenceRinger. This is to be implemented by the telecomm code and used by TelephonyManager (until we have a TelecommManager). Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f (cherry picked from commit b895606acf18dbb050c9a32106b3c9c2e5111829)
| * Move dis/enable of mobile data to TelephonyRobert Greenwalt2014-05-271-0/+21
| | | | | | | | | | | | | | | | ConnectivityService doesn't do this anymore. bug:15077247 Change-Id: I3208c91b2c0369b594987f39ca29da7478435513 (cherry picked from commit 53013c87496980b534e447e717a32698fbd4bca0)
* | Hide LogicalChannel operations developer preview.Wink Saville2014-05-261-0/+8
| | | | | | | | | | Bug: 15193354 Change-Id: I0e41ab7bd8bb3aab9af855f022cb89349802f63f