summaryrefslogtreecommitdiffstats
path: root/telephony/java/android
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Fix build break.Santos Cordon2014-05-191-1/+0
| | | | Change-Id: If80984f9a62809829b3767193eff981ccb1185c7
* Merge "Remove methods added in TelephonyManager."Santos Cordon2014-05-192-160/+0
|\
| * Remove methods added in TelephonyManager.Santos Cordon2014-05-162-160/+0
| | | | | | | | Change-Id: I771502ab76dfc24eb19b9ff58b029bea45d6832c
* | Revert "Revert "Modify TelephonyManager to expose sendEnvelopeWithStatus ↵Evan Charlton2014-05-161-5/+6
| | | | | | | | | | | | | | | | instead of sendEnvelope."" This reverts commit f743b163fc764b7ebf701a9e65b13d308530d750. Change-Id: Ie274a024d2cdb6f11082e6bf391732a304863074
* | Revert "Revert "Expose sendEnvelope.""Evan Charlton2014-05-161-4/+34
|/ | | | This reverts commit 23745256000bffaad4038ad9fe6e2b0941074a53.
* Merge "Remove obsolete ThirdPartyCall APIs"Evan Charlton2014-05-145-382/+0
|\
| * Remove obsolete ThirdPartyCall APIsEvan Charlton2014-05-145-382/+0
| | | | | | | | | | | | | | These should have been reverted long ago. Additional cleanup will need to happen, but this is a good first pass. Change-Id: I6d3c2919299c0a0b9714ffecd30da68e5c880b6a
* | Merge "Revert "Expose sendEnvelope.""Evan Charlton2014-05-141-34/+4
|\ \ | |/
| * Revert "Expose sendEnvelope."Evan Charlton2014-05-141-34/+4
| | | | | | | | | | | | This reverts commit 6eac2ee0fc8a652c4cb1e7ca6602a080d4f82dbd. Change-Id: Ie04a873bb1d4935208e687917e86cbe80312a6d1
* | Merge "Revert "Modify TelephonyManager to expose sendEnvelopeWithStatus ↵Evan Charlton2014-05-141-6/+5
|\ \ | |/ | | | | instead of sendEnvelope.""
| * Revert "Modify TelephonyManager to expose sendEnvelopeWithStatus instead of ↵Evan Charlton2014-05-141-6/+5
| | | | | | | | | | | | sendEnvelope." This reverts commit 37384dedab38239433a41641fe87fc3e51bb6976.
* | Merge "Handle normalization of a "null" phone number."Andrew Lee2014-05-141-0/+4
|\ \ | |/ |/|
| * Handle normalization of a "null" phone number.Andrew Lee2014-05-141-0/+4
| | | | | | | | | | Bug: 14900155 Change-Id: I1c4c5c6dec4c4c470b436102c72a7476d3d5237c
* | am 192384bb: am 43799457: am 74ec5808: am 7e411f74: Merge "Add support for ↵Wink Saville2014-05-012-0/+7
|\ \ | |/ | | | | | | | | | | NETWORK_TYPE_GSM" * commit '192384bb2708c49ca6c91432b8c848f43557429a': Add support for NETWORK_TYPE_GSM
| * am 43799457: am 74ec5808: am 7e411f74: Merge "Add support for NETWORK_TYPE_GSM"Wink Saville2014-05-012-0/+7
| |\ | | | | | | | | | | | | * commit '437994578272f9770748b152c53ec655059d19ec': Add support for NETWORK_TYPE_GSM
| | * am 7e411f74: Merge "Add support for NETWORK_TYPE_GSM"Wink Saville2014-05-012-0/+7
| | |\ | | | | | | | | | | | | | | | | * commit '7e411f74efe6dd383e59634760cccd96da1c209b': Add support for NETWORK_TYPE_GSM
| | | * Add support for NETWORK_TYPE_GSMSandeep Kunta2014-05-012-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for NETWORK_TYPE_GSM in TelephonyManager and corresponding mapping in ServicState.java so that when application queries for getVoiceNetworkType() and currently camped rat is GSM, they get network mode as GSM instead of network mode unknown. Change-Id: Ibe4672b04a5044710d63499c4cf2b6ebe91444bf
| | * | Merge commit '0b62467b142b61ee1e449ba958ba37dfd961ef56' into HEADBill Yi2014-04-292-0/+468
| | |\ \ | | | |/ | | |/|
| | | * am e05077d7: am 83da75d9: Added a private apis jar that includes explicitly ↵Gabriel Peal2014-03-222-0/+468
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | \ am e9c9547e: am c79963c3: am 1c1827a6: am 3f4867f4: Merge "Telephony: Add ↵Wink Saville2014-04-261-0/+8
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | functionality to handle ICC IO error" * commit 'e9c9547e899a7095f3fb420df7d4d809ab13ea57': Telephony: Add functionality to handle ICC IO error
| * | | | am c79963c3: am 1c1827a6: am 3f4867f4: Merge "Telephony: Add functionality ↵Wink Saville2014-04-261-0/+8
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to handle ICC IO error" * commit 'c79963c3cb6d0127e2fc9ce5bf000fa05811504d': Telephony: Add functionality to handle ICC IO error
| | * \ \ \ am 1c1827a6: am 3f4867f4: Merge "Telephony: Add functionality to handle ICC ↵Wink Saville2014-04-261-0/+8
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IO error" * commit '1c1827a6402c3a1f38ba077289a9022f6e6d3f73': Telephony: Add functionality to handle ICC IO error
| | | * | | Merge "Telephony: Add functionality to handle ICC IO error"Wink Saville2014-04-251-0/+8
| | | |\ \ \
| | | | * | | Telephony: Add functionality to handle ICC IO errorRakesh Pallerla2014-03-121-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At present in Android all ICC Card states other than ICC PRESENT are treated as ICC ABSENT.Adding functionality to handle ICC IO error card state. Change-Id: I229bd80cb5e487f4345bef9fb7fee60850f085d9 Bug: 10643652
* | | | | | | resolved conflicts for merge of 806047ca to master-novaEvan Charlton2014-04-242-52/+62
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | Change-Id: I6754198919b952bd733733572f64a316cb41b101
| * | | | | | Start collecting mobile radio activity from the radio.Dianne Hackborn2014-04-242-52/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hook in to the new radio API to find out when the radio is active and use that to track its state in batter stats. We also still have the data being tracked from the kernel's emulation, and continue to use that if we don't get data from the radio. Currently this monitoring is turned off until some issues in the radio can be fixed that are providing bad data. Also add a new API to get estimated drain and charge times. Change-Id: Ifc4900fabb8f848f9cda361dce698664ea75f175
* | | | | | | resolved conflicts for merge of 8d966e42 to master-novaEvan Charlton2014-04-163-0/+190
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | Change-Id: Ibcc7d1eb4f0349e90b8e97d5235a08efb8226ef6
| * | | | | | Add LISTEN_DATA_CONNECTIPON_REAL_TIME_INFO as listen eventWink Saville2014-04-153-0/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also added DataConnectionRealTimeInfo structure which passed as a parameter to onDataConnectionRealTimeInfoChanged. Change-Id: Iadcbf9765af57c125bcdf74e3fc652ed6c8f7d42
* | | | | | | am 7217f380: Correct some comments (LTE->CDMA)Brian Williammee2014-04-111-2/+1
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '7217f3805819b6feca7ec1cc378a9ca56cf2d275': Correct some comments (LTE->CDMA)
| * | | | | | Correct some comments (LTE->CDMA)Brian Williammee2014-04-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change references to LTE in CellSignalStrengthCdma to CDMA. Change-Id: I2c003746dcef84949af69e2fbd4e5db4906e1125
* | | | | | | 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-252-0/+468
| | |\ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-252-0/+468
| | | |\ \ \ | | | | | |/ | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | 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-222-0/+468
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | 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-252-0/+542
|\ \ \ \ \ | |/ / / / | | | | | | | | | | Change-Id: Icfb617ffab2da2f8805e4628e75e006c620b479d
| * | | | resolved conflicts for merge of 74fb97de to masterGabriel Peal2014-03-252-0/+542
| | | | | | | | | | | | | | | | | | | | Change-Id: If28dc21a2ea7e634da130f3c59c17cd63dd5336a
* | | | | Modify TelephonyManager to expose sendEnvelopeWithStatus instead of ↵Shishir Agrawal2014-03-141-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-061-0/+37
|\ \ \ \ \ | |/ / / / | | | | | | | | | | Change-Id: I31de6084253ce21f50224582f82b7f7e630ef34e
| * | | | Add get/setPreferredNetworkType() for OMA DM client.Jake Hamby2014-03-031-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add get/setPreferredNetworkType() commands for OMA DM client. Bug: 8847590 Change-Id: Ia898d712b90ec583d61efe7385a5a1844d8beff1
* | | | | resolved conflicts for merge of 786e71ab to master-novaJake Hamby2014-02-241-23/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | Change-Id: Ibe5e0a68f59d95c4a8c721d9e21626714d33ccd0
| * | | | Remove unneeded new RIL command.Jake Hamby2014-02-241-23/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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