summaryrefslogtreecommitdiffstats
path: root/telephony
Commit message (Collapse)AuthorAgeFilesLines
* Add disconnect cause to setDisconnected.Santos Cordon2014-03-311-4/+1
| | | | Change-Id: I4ba9b8f47a942b82b7a3d4bed43c0ca945957592
* am 83ee4429: am 7bce23f7: am aee03bb1: am 49c06150: Merge "Remove duplicate ↵Anders Kristensen2014-03-281-0/+85
|\ | | | | | | | | | | | | call disconnect codes." * commit '83ee4429f13896c82f3f29c8164888f1f6fe8309': Remove duplicate call disconnect codes.
| * am 7bce23f7: am aee03bb1: am 49c06150: Merge "Remove duplicate call ↵Anders Kristensen2014-03-281-0/+85
| |\ | | | | | | | | | | | | | | | | | | disconnect codes." * commit '7bce23f733cfaa1028e553852ff7762d7b32a893': Remove duplicate call disconnect codes.
| | * am aee03bb1: am 49c06150: Merge "Remove duplicate call disconnect codes."Anders Kristensen2014-03-281-0/+85
| | |\ | | | | | | | | | | | | | | | | * commit 'aee03bb1a1077427c918ad9fea5fdd1ab204f60e': Remove duplicate call disconnect codes.
| | | * Remove duplicate call disconnect codes.Anders Kristensen2014-03-051-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Android code base defines call disconnect codes in three places: - android.telephony.DisconnectCause - android.internal.telephony.Connection.DisconnectCause - com.android.services.telephony.common.Call.DisconnectCause This CL consolidates the code to use the integer codes from android.telephony.DisconnectCause everywhere. Change-Id: I84a3fd5182a51d07fc7d81076e4b2c15ff26c61c
| | * | am 8ee4491d: am e05077d7: am 83da75d9: Added a private apis jar that ↵Gabriel Peal2014-03-254-2/+543
| | |\ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | includes explicitly supported APIs that are not useful for 3rd party developers. * commit '8ee4491dc80943429cd79d0c7b87c28056067a58': Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
| | | * am e05077d7: am 83da75d9: Added a private apis jar that includes explicitly ↵Gabriel Peal2014-03-254-2/+543
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | supported APIs that are not useful for 3rd party developers. * commit 'e05077d78c9abde054a754db53e71c647b9a705c': Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
| | | | * Added a private apis jar that includes explicitly supported APIs that are ↵Gabriel Peal2014-03-224-2/+543
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not useful for 3rd party developers. The first set of these APIs is for telephony: Added some APIs to ITelephony and created a first party framework for them toggleHold() merge() mute(boolean mute) playDtmfTone(char digit, boolean timedShortCode) stopDtmfTone() swap() addListener(ITelephonyListener listener) removeListener(ITelephonyListener listener) Bug: 13302451 Change-Id: Iefec5688c26a1b4fe77f5643eba6e1690a057ee6
* | | | | am db0dca82: resolved conflicts for merge of c1edfc2c to masterGabriel Peal2014-03-251-11/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'db0dca826d992af1adfa53e10c31f08d3197bb0b': resolved conflicts for merge of c1edfc2c to master
| * | | | resolved conflicts for merge of c1edfc2c to masterGabriel Peal2014-03-251-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attempt 2 Change-Id: Ic9e6e9e02c4781617deeea3ddcb4a0b2b659e4fc
* | | | | resolved conflicts for merge of 5e44cadf to master-novaSailesh Nepal2014-03-251-205/+136
|\ \ \ \ \ | |/ / / / | | | | | | | | | | Change-Id: Ieacfbba60109a60b268c116a40e598c0745e8a3b
| * | | | resolved conflicts for merge of c1edfc2c to masterGabriel Peal2014-03-251-205/+136
| | | | | | | | | | | | | | | | | | | | Change-Id: Ica42d8ac1552040f7ea2864ff529f5fc1470001b
* | | | | resolved conflicts for merge of 2d72d000 to master-novaSailesh Nepal2014-03-254-2/+629
|\ \ \ \ \ | |/ / / / | | | | | | | | | | Change-Id: Icfb617ffab2da2f8805e4628e75e006c620b479d
| * | | | resolved conflicts for merge of 74fb97de to masterGabriel Peal2014-03-254-2/+628
| | | | | | | | | | | | | | | | | | | | Change-Id: If28dc21a2ea7e634da130f3c59c17cd63dd5336a
* | | | | Modify TelephonyManager to expose sendEnvelopeWithStatus instead of ↵Shishir Agrawal2014-03-142-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sendEnvelope. The RIL sendEnvelope command does not return the response from the SIM while the sendEnvelopeWithStatus does. Since the response is required for certain envelope commands, its better to expose sendEnvelopeWithStatus. Change-Id: I209bfc59e396bb6f91345d6f99c51cfa35f2d650
* | | | | resolved conflicts for merge 322f7d6e to master-novaEvan Charlton2014-03-062-0/+54
|\ \ \ \ \ | |/ / / / | | | | | | | | | | Change-Id: I31de6084253ce21f50224582f82b7f7e630ef34e
| * | | | Add get/setPreferredNetworkType() for OMA DM client.Jake Hamby2014-03-032-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add get/setPreferredNetworkType() commands for OMA DM client. Bug: 8847590 Change-Id: Ia898d712b90ec583d61efe7385a5a1844d8beff1
* | | | | resolved conflicts for merge of 786e71ab to master-novaJake Hamby2014-02-243-37/+10
|\ \ \ \ \ | |/ / / / | | | | | | | | | | Change-Id: Ibe5e0a68f59d95c4a8c721d9e21626714d33ccd0
| * | | | Remove unneeded new RIL command.Jake Hamby2014-02-243-37/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the recently added RIL_REQUEST_SET_RADIO_MODE command and update the definition of the RIL_REQUEST_NV_RESET_CONFIG parameter. Also remove some accidentally added debug log lines. Bug: 12864208 Change-Id: I6f035d6900c9fcb1427bad62057d7b4a1d3cd99c
| * | | | Delete Third Party Call APIsSailesh Nepal2014-02-186-409/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I6121c53362804a228e0316a1666b5032817530ab
* | | | | Delete telephony's CallServiceEvan Charlton2014-02-201-165/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moved to telecomm; kill it again. Change-Id: I6ae581ac3fe5417f3a17f10f8615caacc69a21ad
* | | | | Add abstract base implementation of CallService.Sailesh Nepal2014-02-202-1/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Base implementation takes care of a lot of boilerplate code. Change-Id: Iaf5a16f5718727cee0f7efb4af53a021536f50d8
* | | | | Add interface definitions for CallService/PhoneServiceSailesh Nepal2014-02-204-0/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interfaces are meant to replace ThirdParty*.aidl/java files in same directory long term. The differences in methods are on purpose and reflect more recent design directions. Change-Id: Ia98603a1d0b6d07a3393c5f7c5aa040f9e3916e4
* | | | | Remove the telecomm entries now that we have ↵Ben Gilad2014-02-205-383/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://googleplex-android-review.git.corp.google.com/#/c/398927 DO NOT SUBMIT until the above CL is uploaded. Change-Id: I4e4f19175b502ba81c882d1379d1d225b0e6ba67
* | | | | am c1e0f9be: am df10f02a: am e574f7de: am ea56c795: am bbba8211: Merge ↵Wink Saville2014-02-131-0/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | "Telephony: Handle DATA_CALL_LIST in DCC." * commit 'c1e0f9be09750055914f873e690d334821739909': Telephony: Handle DATA_CALL_LIST in DCC.
| * | | | am df10f02a: am e574f7de: am ea56c795: am bbba8211: Merge "Telephony: Handle ↵Wink Saville2014-02-141-0/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | DATA_CALL_LIST in DCC." * commit 'df10f02a1428e12acda695360a5e760c8e806ea2': Telephony: Handle DATA_CALL_LIST in DCC.
| | * | | Merge "Telephony: Handle DATA_CALL_LIST in DCC."Wink Saville2014-02-131-0/+1
| | |\ \ \
| | | * | | Telephony: Handle DATA_CALL_LIST in DCC.Yashdev Singh2014-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added async handling of NetStatPoll. Bug: 11596853 Change-Id: Iffb7bf369062264dd773338c732bc69318d90b73
* | | | | | Fix the inconsistent name on @param and the real param.Derek Tan2014-02-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If9853e91f55c0be89cdf77ae7c4369f274a45bb6
* | | | | | Merge "Expose sendEnvelope." into master-novaDerek Tan2014-02-132-4/+45
|\ \ \ \ \ \
| * | | | | | Expose sendEnvelope.Derek Tan2014-02-122-4/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I21565fae9ba8f163aed9104db355aecf9bae1796
* | | | | | | am 00515148: resolved conflicts for merge of 396b9e79 to masterNarayan Kamath2014-02-1311-0/+1167
|\ \ \ \ \ \ \ | |/ / / / / / |/| / / / / / | |/ / / / / | | | | | | * commit '005151484546fb0bf7f83c5a6ee065715230bf26': Telephony API extension v2
| * | | | | resolved conflicts for merge of 396b9e79 to masterNarayan Kamath2014-02-1311-0/+1167
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | Change-Id: Ie71a79699be57f5af6069559068bf6253835d805
| | * | | | Merge "Telephony API extension v2"Wink Saville2014-02-1311-0/+1166
| | |\ \ \ \ | | | |_|/ / | | |/| | |
| | | * | | Telephony API extension v2Antonio Marín Cerezuela2014-01-1011-0/+1166
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new AndroidManifest permission: android.permission.READ_PRECISE_PHONE_STATE Added the following PhoneStateListeners and corresponding broadcast intents: onPreciseCallStateChanged(PreciseCallState callState); onPreciseDataConnectionStateChanged(PreciseDataConnectionState dataConnectionState); broadcastPreciseCallStateChanged(int ringingCallState, int foregroundCallState, int backgroundCallState, int disconnectCause, int preciseDisconnectCause) broadcastPreciseDataConnectionStateChanged(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) Added TelephonyManager intent actions with their extras and constants: public static final String ACTION_PRECISE_CALL_STATE_CHANGED = "android.intent.action.PRECISE_CALL_STATE"; public static final String ACTION_PRECISE_DATA_CONNECTION_STATE_CHANGED = "android.intent.action.PRECISE_DATA_CONNECTION_STATE_CHANGED"; public static final int PRECISE_CALL_STATE_* Moved public static final int DISCONNECT_CAUSE_* from PreciseCallState.java to a new class DisconnectCause.java Moved public static final int PRECISE_DISCONNECT_CAUSE_* from PreciseCallState.java to a new class PreciseDisconnectCause.java Change-Id: If3b88c679507c529b746046c4a17cf6d9974bd09
* | | | | Update TelephonyManager.WifiCallingChoices APISailesh Nepal2014-02-111-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL updates the order of the WifiCallingChoices values to match the wifi_calling_choice_values resource. Change-Id: Iaa643d7a70938877c760ff4a65f737a4c1c750da
* | | | | Add abstract base implementation of CallService.Sailesh Nepal2014-02-112-1/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Base implementation takes care of a lot of boilerplate code. Change-Id: Iaf5a16f5718727cee0f7efb4af53a021536f50d8
* | | | | Add interface definitions for CallService/PhoneServiceSailesh Nepal2014-02-114-0/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interfaces are meant to replace ThirdParty*.aidl/java files in same directory long term. The differences in methods are on purpose and reflect more recent design directions. Change-Id: Ia98603a1d0b6d07a3393c5f7c5aa040f9e3916e4
* | | | | Add Wi-Fi calling state setting to telephony interfacesSailesh Nepal2014-02-112-0/+54
| | | | | | | | | | | | | | | | | | | | Change-Id: I01029ade0eb1ff981cb92a536d042a02129a053f
* | | | | DO NOT MERGE ThirdPartyCallSendDtmfCallBack APISailesh Nepal2014-02-114-5/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This API is needed to implement post dial. Change-Id: Iefdeae81d0eae6be86e7ee1e8ab0251ae43ed079
* | | | | ThirdPartyPhone: DTMF & callerDisplayName API DO NOT MERGESailesh Nepal2014-02-114-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL extends the ThirdPartyCall API to support DTMF and callerDisplayname. Change-Id: Ia3b4730e852a95d0c11fbddfbe1b780aec39dbb5
* | | | | Add new phone type (public API) DO NOT MERGESailesh Nepal2014-02-119-39/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL adds a new public API to allow services to implement calls. Change-Id: I4d30eb4d91bd342506cad4ced059bd8446c2bec4
* | | | | Revert "Add new phone type (public API) DO NOT MERGE"Sailesh Nepal2014-02-124-37/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 0590ac70a93c713c6cf28c3bcbce287d9864f037. Change-Id: I1f4b34c0f8246bb601e2ba5f14eabe9c36d33d94
* | | | | Add new phone type (public API) DO NOT MERGESailesh Nepal2014-02-114-32/+37
|/ / / / | | | | | | | | | | | | | | | | | | | | This CL adds a new public API to allow services to implement calls. Change-Id: If6fef93aebc8b199880ad44d35b7d8ae69f71f9e
* | | | Add new RIL commands to read/write NV items and reset NV config.Jake Hamby2014-02-037-63/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new RIL commands and generic code cleanups. The only changes required for OMA DM support are the addition of five new methods in ITelephony.aidl for reading/writing NV items and performing NV config and radio resets (requires MODIFY_PHONE_STATE), along with the new RIL request IDs in RILConstants.java. Bug: 12864208 Change-Id: I958d2571580d98a49936ef2e6822e5ac086acbe2
* | | | am 9bc74c4b: am ab092bb0: am 46988138: am 57756970: am a6aa3199: Merge ↵Wink Saville2014-01-161-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | "Fixed mistaken reference to "LTE". Bug 7637224" * commit '9bc74c4b20bc0c88d01b832517122c28439aa406': Fixed mistaken reference to "LTE". Bug 7637224
| * | | Fixed mistaken reference to "LTE".David Friedman2014-01-081-2/+2
| |/ / | | | | | | | | | | | | | | | Bug 7637224 Change-Id: I9c78fe6edd1182f8132cc5db9ecedbb69681b473
| * | Merge commit 'bac61807d3bcfff957b358cb9ad77850bd373689' into HEADThe Android Open Source Project2013-12-055-4/+54
| |\ \ | | |/ | | | | | | Change-Id: I29374270c8e0c2f2859efaf1d55af9f73da0f8d7
* | | Merge "PhoneNumberUtils API changes"Yorke Lee2013-12-192-26/+19
|\ \ \
| * | | PhoneNumberUtils API changesYorke Lee2013-12-022-26/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unhide the following methods: PhoneNumberFormattingTextWatcher(String countryCode) formatNumber(String phoneNumber, String defaultCountryIso) formatNumber(String phoneNumber, String phoneNumberE164, String defaultCountryISO) formatNumberToE164(String phoneNumber, String defaultCountryIso) (The previous 3 formatting methods use an instance of PhoneNumberUtil to do the formatting) isLocalEmergencyNumber(String number, Context context) isVoicemailNumber(String number) replaceUnicodeDigits(String number) normalizeNumber(String phoneNumber) Deprecate the following methods. These formatting-related methods don't use PhoneNumberUtil to perform the formatting, and so are considered broken: formatNumber(String source) formatNumber(String source, int defaultFormattingType) getFormatTypeForLocale(Locale locale) formatNumber(Editable text, int defaultFormattingType) formatNanpNumber(Editable text) formatJapaneseNumber(Editable text) Change-Id: Ibf854092b7db05f7e3e9401cc909c9f1ed4997b0