History log of /frameworks/base/telephony/java/android/telephony/TelephonyManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
64ce5f8fab077e4792737f86502d0e77ad6cbb0b 11-Feb-2015 Shishir Agrawal <shishir@google.com> GpsLocationProvider: Read data enabled status from TelephonyManager.

Bug: 18814559
Change-Id: I0333050d2a5b8d484466e1b1914dcfb9965398c9
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
85973dcf8cd7d7a964ba746875a0c572685d1807 29-Jan-2015 Legler Wu <legler.wu@mediatek.com> [DS] Correct the access method for telephony system property

Revise the method to access telephony system property.
Add several PROPERTY_XXX_XXX_MSIM for MSIM type system properties. If
caller use the old one, it will be dispatched to new one and get by
default phone id.
Ex. PROPERTY_ICC_OPERATOR_NUMERIC

Bug: 18675498
Change-Id: I008a7390fefbbcd9f6569f059d48eedf1da28de0
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
f4e52360613d20dc8176ce8a37cb05ad904fad0d 29-Jan-2015 Stuart Scott <stuartscott@google.com> Merge "Change getDeviceId to take phoneId." into lmp-mr1-dev
d456ec4be1d2310c498dda2c7319562754ad643e 28-Jan-2015 Stuart Scott <stuartscott@google.com> Change getDeviceId to take phoneId.

bug:18827144
Change-Id: I32196f842504e63f4ddd45401e83e73afae81ad5
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
6620b4273ef6a1489e091a6b6cc766c0eff30f8d 28-Jan-2015 xinhe <xinhe@google.com> Sprint: MMS cannot be sent in the UK

This is due to Sprint network at UK is actually GSM/UMTS. Thus we need GSM phone with CSIM to provide Nai too.

Bug:18241756
Change-Id: Icec10c88834151f5e35e38db93af36d7f40890fd
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
201cc00947bceb71166d0800fb770eedb4ccb3f1 20-Jan-2015 Sanket Padawe <sanketpadawe@google.com> Fixed a crash in TelephonyManager while calling getDeviceID()

Bug: 19056848
Change-Id: Ie241b25be212910a177c3ee5b620d646cfdd482f
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
d2dd69ae8d81defc5f2286690b3dd246d4118fcc 17-Jan-2015 Sanket Padawe <sanketpadawe@google.com> Merge "Modify getDeviceId() to get device id independent of Subscription." into lmp-mr1-dev
0b7f5e81ba06f694df8c8cccaea9e009e3200b4c 14-Jan-2015 Sanket Padawe <sanketpadawe@google.com> Modify getDeviceId() to get device id independent of Subscription.

+ Add getDeviceId() in ITelephony to find device id independent of
subscription.

Bug: 18780202
Change-Id: I21cc38418eb7f4f1b300c6372e1dc7548385c112
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
3fb3abd10a5980a0a5afe7f0e54f736eff84b5a5 13-Jan-2015 Junda Liu <junda@google.com> Rename setGlobalPreferredNetworkType to setPreferredNetworkTypeToGlobal per API council.

Bug: b/18983535
Change-Id: I937b7ce38615e07f653d3ee02d734edfcfea3897
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
0303be4a8ac109e52b2581b7c6a94b27c581f84f 18-Dec-2014 Libin.Tang@motorola.com <w16529@motorola.com> IMS: add the api to get IMS registration information.

Bug: 18668325
Change-Id: Ie694c7f1cc12a573cbef2815199ae6c91cf8088e
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
2a65688d40dd4f82b217b53eabc63ca41b7ad73c 18-Dec-2014 Amit Mahajan <amitmahajan@google.com> Change to write (create) setting+subid if it does not already exist
when it is queried for the first time.

Bug: 18791109
Change-Id: Ib9dae9401a18f1ec0eb0477486c7c7e4cb0364b0
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
5fb1118d8c8a19bbbf4abc679b55f08cdfb79ba8 26-Nov-2014 Shishir Agrawal <shishir@google.com> Adding a new hidden carrier API to mark GSM/CDMA networks as roaming/non-roaming.

The calls allow us to specify MCC/MNCs (for GSM) and SIDs for CDMA that should
not be considered as roaming for the current ICCID.

Bug: 13288143

Change-Id: Iae97b02f3eb9954fedf1b005c9ecd2aa09138505
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
15b29ac7faf3b8b7845e6623f68ae7a7391dab78 09-Dec-2014 Wink Saville <wink@google.com> Merge "Add subId as parameter for get/setDataEnabled." into lmp-mr1-dev
3256601f5e4d94713f59e97b9d4912875c1bdcaf 03-Dec-2014 Jeff Sharkey <jsharkey@android.com> Offer to "merge" subscribers for data usage.

There are some cases where multiple subscriber identities (IMSI)
should be treated as "merged together" from a data usage
perspective. This is done by extending the template used for
matching purposes to support multiple subscribers.

Then, when we query historical usage or set network policies, we
normalize the matching template to merge to any other identities
that should be included. When normalizing, the "lowest" identity
is always used for equality and storage purposes, which allows
identities to come and go over time.

This change also fixes data usage recording for multi-SIM devices
by passing along the concrete subscriber identity for each network
interface. Also correctly create default policies for multi-SIM
devices. This change also drops setPolicyDataEnable() until it can
be wired up to the right underlying NetworkAgent. (This means we
still bring up the network, and then rely on iptables rules to block
traffic when over the limit, instead of proactively disabling the
connection.)

Bug: 18012787
Change-Id: If6acf32009fdfea2b836f5aff8e2f3e5e0248b4a
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
36ffb0494dd1045c164b7479b68165e206f8c759 05-Dec-2014 Wink Saville <wink@google.com> Add subId as parameter for get/setDataEnabled.

Bug: 18279333
Change-Id: I2496a2fd92b154e5e6981cbf6b5b5939cda59122
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
47920fac33efb7ce4bf33a5691e4af1b67ab6019 03-Dec-2014 Wink Saville <wink@google.com> Add getSimStateForSubscriber and additional SIM_STATE_XXXX values

Bug: 18364932
Change-Id: I836b751a443635efcfb9987bb3b91f55c4dff9d6
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
ef6178a99c57b6de3dc02455e570f932b154b8e1 02-Dec-2014 Junda Liu <junda@google.com> Merge "Add hasMatchedTetherApnSetting to telmgr API." into lmp-mr1-dev
0201a6f6f16a872405a5f9ee65026e948eb162d0 01-Dec-2014 Shishir Agrawal <shishir@google.com> TelephonyManager.setLine1NumberForDisplay should return a boolean.

The call can fail and should return the success status of the call.

Bug: 18571337
Change-Id: I5f4a0bd65c807a018d2f2df9e39cf9125252257f
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
5ed82c8ca040a7afd0bc4497b85584c163d6bb8d 26-Nov-2014 Amit Mahajan <amitmahajan@google.com> Change to use DATA_ROAMING setting correctly with subId.

Bug: 18466745
Change-Id: Ib2d7979d164ca3cf32c6619340fae1dc578ca686
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
3749541a206390054b22d5f5bddc1b43f348f433 25-Nov-2014 Amit Mahajan <amitmahajan@google.com> Merge "Adding helper functions to retrieve settings that are stored per subId." into lmp-mr1-dev
421a53900dbdfabb5ab7b6cf6da798ac64bbaa87 20-Nov-2014 Amit Mahajan <amitmahajan@google.com> Adding helper functions to retrieve settings that are stored per subId.

Bug: 18392680
Change-Id: I360bc19c4501020afd9dfa1cfb7e66ce2fad9536
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
d09c4cad65c708f2c4810d24295456708a2000d2 22-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
38531581fc19f9172fabe56047b326e5dab88625 28-Oct-2014 Junda Liu <junda@google.com> Add hasMatchedTetherApnSetting to telmgr API.

Bug: b/18158411
Change-Id: Id1285b79194ad21fb728fd18fb09026e51354656
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
816e19eb6d5795f98f072494c763b20fe3412c30 20-Nov-2014 Wink Saville <wink@google.com> Merge "Revert "Additional changes to SubscriptionManager API as per API council."" into lmp-mr1-dev
2d1ee982276f5dbd0e035778b731b48e4ef34515 20-Nov-2014 Wink Saville <wink@google.com> Revert "Additional changes to SubscriptionManager API as per API council."

This reverts commit baf21da1e17ef358632c078128d381b3be218a08.

Change-Id: I73cbdfadf07ca3cf20b042781b62aafcc72b17d6
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
4a57e908177c86819ade1ebb813677698f1a526a 20-Nov-2014 Wink Saville <wink@google.com> Merge "Additional changes to SubscriptionManager API as per API council." into lmp-mr1-dev
baf21da1e17ef358632c078128d381b3be218a08 20-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
ab57c29092eb9185375de86d82ff32e6079f5cec 18-Nov-2014 Shishir Agrawal <shishir@google.com> Carrierprivileges: Addressing API council suggestions.

- hasCarrierPrivileges - renamed to getCarrierPrivilegeStatus
- setLine1NumberForDisplay should not be usable by apps that have MODIFY_PHONE_STATE
- setVoiceMailNumber should not be usable by apps that have MODIFY_PHONE_STATE
- setOperatorBrandOverride should not be usable by apps that have MODIFY_PHONE_STATE

Not addressed:
- setGlobalPreferredNetworkType() should not be usable by apps that have MODIFY_PHONE_STATE

The underlying call is needed by system apps (OMADM) too.

Bug: 18356155
Change-Id: Idc6468a0bd0b0c52b9de1d8446f98c90ac0b3238
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
5c1a63c2235c36ce0b520fa88a9d21ffe255756e 10-Nov-2014 Shishir Agrawal <shishir@google.com> Add new API to set voicemail number.

The API is protected by system or carrier privilege.

Bug: 17393589
Change-Id: I33f4a00b30e0f5d72e5d53553a187d974872eab6
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
2eb5a5f727d4692b70b68cb4b1b7e31bf74f13a4 12-Nov-2014 Junda Liu <junda@google.com> Merge "Add HIDE_CARRIER_NETWORK_SETTINGS global setting." into lmp-mr1-dev
bbdc1c0e044a505d5a200963319a683e4ef1f967 07-Nov-2014 Junda Liu <junda@google.com> Add HIDE_CARRIER_NETWORK_SETTINGS global setting.

Also remove hidden APIs to get/set the preference.

Bug: b/17673255
Change-Id: I8957b0380bf617c953f6665cbfdcc77c3be78411
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
95e8a679335648388988337fcf08eac325768318 17-Oct-2014 Nancy Chen <nancychen@google.com> Handle MMI for multi-SIM (1/3)

+ Add Telecomm and Telephony methods for handlePinMMIForSubscriber
+ Add Select Account dialog in Dialer for MMI

Bug: 17917937

Change-Id: I26fdc68a07ca0483bf7a052598fe31b1461fd486
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
63f03dd94c43c22f2c77306059b5748e5e1e0e3c 23-Oct-2014 Wink Saville <wink@google.com> Change subId to int from long

Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
4a3084a46d80383c528198a48da5c327d7d08a00 18-Oct-2014 Andrew Lee <anwlee@google.com> Add video calling setting to TelephonyManager.

We want to add a user setting to enable/disable video calling. This
is a telephony-level setting which the user sets using Telephony's
Call Settings, and applies universally to video calls.

But this setting needs to be accessible in places such as Dialer,
so these changes are to support storing the setting in
TelephonyManager (to be implemented in PhoneInterfaceManager) and
providing access to the setting for applications like Dialer
through TelephonyManager.

+ Add function definitions to ITelephony.
+ Add function wrapper implementations in TelephonyManager.

Bug: 16014284
Change-Id: I1dce8bf5ae4f0ee115698ce9627ba8fc424dd855
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
6bb21401a4e7c8d1ed4f60a5b1572ce78b5311f6 15-Oct-2014 xinhe <xinhe@google.com> Sprint: MMS proxy authorization does not include NAI

Read the NAI from CSIM and pass it to MMS module
Bug:17752727

Change-Id: Ib7f53bed87183bd9e67103c676218b5748be668f
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
ec89863adec09dbf980b2d2c90c0fa5e78ffa7a9 29-Sep-2014 Stuart Scott <stuartscott@google.com> am 38bfcb4a: Merge "Get the MCC/MNC using defaults." into lmp-sprout-dev

* commit '38bfcb4affb234ca901912155d41ec06dce4f43a':
Get the MCC/MNC using defaults.
015f3b464c42421ade3ce508d9412b217ba2c23d 27-Sep-2014 Stuart Scott <stuartscott@google.com> Get the MCC/MNC using defaults.

First try default data, then default sms, then default voice, finally
try the first sub to come up.

bug: 17396869
Change-Id: I09da19b7b25c2a6aa8affd95847dbb10e039f634
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
f52ac900caa94236c2cc6da94fb09be22db58e03 25-Sep-2014 Junda Liu <junda@google.com> Revert "Hide CarrierPrivilege APIs in TelMgr."

This reverts commit b7aa9e4a6338811d4dacc77e6024a0b97a99e5e9.

Change-Id: I212cd4f1b7b45e0523fc47b2a9c2a6b487e9dbb5
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
cb6b5f9bd1aa9e83325310ce15c4978d8df3dce6 25-Sep-2014 Junda Liu <junda@google.com> am 96c54879: Merge "Hide CarrierPrivilege APIs in TelMgr." into lmp-dev

* commit '96c548791145ab33ceb0935f38323d3182d44419':
Hide CarrierPrivilege APIs in TelMgr.
bac6d61ab6d9ea16c305419dfe03e19cc5af9fd9 24-Sep-2014 Junda Liu <junda@google.com> Hide CarrierPrivilege APIs in TelMgr.

Per API council decision, we will polish and public in MR1.

Bug: b/17639966
Change-Id: Id009cd62b4d44dd17fe7a30e0f8037c6fb373c32
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
ee743e6071787335afce30d8f39e3ce7df9d11ea 14-Sep-2014 Yorke Lee <yorkelee@google.com> resolved conflicts for merge of f3804c3c to lmp-sprout-dev

Conflicts:
telephony/java/android/telephony/TelephonyManager.java

Change-Id: Ibdd0b6c2c9901ec46196ac9460a0908dfb739ad4
2ae312e30652a4d0019b17825b58d558c4483a58 13-Sep-2014 Yorke Lee <yorkelee@google.com> Pipe TelephonyManager.getCallState through TelecommManager

* Add TelecommManager.getCallState (hidden API)
* Make TelephonyManager.getCallState call through to
TelecommManager, to be consistent with
TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcasts for
overall call state. Telephony continues to manage call states for
individual subscriptions.

Bug: 17378767
Change-Id: Ia5e8b21df801ed3af4f6e14c110a72c92f077f88
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
6c8d6d74c0ee12e6d57bfaede3f7a713bf82f025 13-Sep-2014 Tyler Gunn <tgunn@google.com> resolved conflicts for merge of 66c16547 to lmp-sprout-dev
Also fixed issue in TelephonyManager.

Change-Id: I4dde45e638c2bcf32f8f929d34d0083966f6761f
ef9f6f957d897ea0ed82114185b8fa3fefd4917b 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
e7fc8602eb7d06fc12592518b3c5dc4752191d6a 11-Sep-2014 Derek Tan <derektan@google.com> am 4c8c7591: Merge "Update the comment in two APIs since we will persist the settings." into lmp-dev

* commit '4c8c759106eba4070a46393f2978607964881511':
Update the comment in two APIs since we will persist the settings.
6d955b88c3df55069ada1c33dd45fc1dc3969258 11-Sep-2014 Derek Tan <derektan@google.com> Merge "Update the comment in two APIs since we will persist the settings." into lmp-dev
7100d15a9965ce430fafa92df42587ac72a2c7fc 10-Sep-2014 Junda Liu <junda@google.com> am bdf9cf90: Add ForSubscriber suffix to APIs w/ subId argument.

* commit 'bdf9cf904c5f7c61c1d77ba4261238fdbb9b08d8':
Add ForSubscriber suffix to APIs w/ subId argument.
13e28bb9386a3eb579c457985f0324238f2bfe38 06-Sep-2014 Junda Liu <junda@google.com> Add ForSubscriber suffix to APIs w/ subId argument.

Bug: b/17255752
Change-Id: I142d8961aa4c1fa074833f70c404c955caea0870
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
6e9c5aeeee9011ca3cf9ecca5d7614d270df825a 09-Sep-2014 Wink Saville <wink@google.com> am 5dac65ad: Change suffix UsingSubId to ForSubscriber.

* commit '5dac65ad043ee9d0535813ef5dba06dd80c11f82':
Change suffix UsingSubId to ForSubscriber.
bc0272754df7a2fb71bf709a2a8a7c852ee69e5c 08-Sep-2014 Wink Saville <wink@google.com> Change suffix UsingSubId to ForSubscriber.

Bug: 17255752
Change-Id: Ifd522888b5aaae111f642d1e35bd1bb939e539d4
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
8110da62ed1bddf8150488613a0747cf6d2fd6a9 09-Sep-2014 Wink Saville <wink@google.com> am 26207b53: Merge "Change getCurrentPhoneType to SystemApi" into lmp-dev

* commit '26207b53a82f1e8f3d72eaf36bd69dbcb06833fc':
Change getCurrentPhoneType to SystemApi
96b3e61ff6476ff1c5ad7cce725b374d9f87e868 09-Sep-2014 Wink Saville <wink@google.com> Change getCurrentPhoneType to SystemApi

Bug: 17394367
Change-Id: I293faa26884e8d63a833e624e6c9a201c7652683
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
2bae510ccef2da7dd767f8148d4e3539037f4aaa 06-Sep-2014 Derek Tan <derektan@google.com> Update the comment in two APIs since we will persist the settings.

Bug: 17255752
Change-Id: I28926381e8e982579b38c19799078f7a3151aefe
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
077ffae681d3af4c59a085b56556f619ea6d9238 06-Sep-2014 Junda Liu <junda@google.com> am 8e250c57: Merge "Hide APIs for simplified network settings." into lmp-dev

* commit '8e250c572a6d56ba6b3645faa5b32edf1e795442':
Hide APIs for simplified network settings.
c6bd32e94fae8dc2c394058bc840d239c3b5189b 06-Sep-2014 Junda Liu <junda@google.com> Merge "Hide APIs for simplified network settings." into lmp-dev
79b0cbb7991d2a290cb21126619f0ed802fbf3ec 06-Sep-2014 Derek Tan <derektan@google.com> am de6fefb4: Merge "Update the preferred network type APIs." into lmp-dev

* commit 'de6fefb4f5e9da6aedc600abd7c10d14398b47c7':
Update the preferred network type APIs.
54e883bedc8a2402a8b13d27bc055c5ed1a70015 06-Sep-2014 Derek Tan <derektan@google.com> Update the preferred network type APIs.

Bug: 17255752
Change-Id: I8f74749752f8d8c6cd5b28dd5fe4ed89a33481ed
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
22a3cf83497bc7337d3f75bb837d95346e124033 06-Sep-2014 Derek Tan <derektan@google.com> am 6f25963e: Merge "Remove setCdmaSubscription API." into lmp-dev

* commit '6f25963ebc8f91638b056107a7b7bdb6e182102f':
Remove setCdmaSubscription API.
0bee5f5208768613214d4e358dd4b2fe0c621a6d 06-Sep-2014 Derek Tan <derektan@google.com> am d16f633f: Merge "Update the comment in sendEnvelope." into lmp-dev

* commit 'd16f633fc9c949af155b3dff5f6f2d98c50a7c80':
Update the comment in sendEnvelope.
c4799b6bdc72bc611dc8c7cbc62ce949a044919a 06-Sep-2014 Shishir Agrawal <shishir@google.com> am 32148644: Merge "API change: SetOperatorBrandOverride should not take iccId as a param." into lmp-dev

* commit '321486444e6c4d7ee77f8981e9921b923308ced9':
API change: SetOperatorBrandOverride should not take iccId as a param.
b5928445d12d92598845bcef3cd019aa09acb12d 06-Sep-2014 Derek Tan <derektan@google.com> Merge "Remove setCdmaSubscription API." into lmp-dev
a0729d348764424b795cafc9ab175349009e5295 06-Sep-2014 Derek Tan <derektan@google.com> Merge "Update the comment in sendEnvelope." into lmp-dev
b8025f32605d6e450d3a64381e6da4aee58e54d7 06-Sep-2014 Junda Liu <junda@google.com> Hide APIs for simplified network settings.

Bug: b/17255752
Change-Id: Ibbe5d5cdbc2398ba0df2103bd7a33b98dc977734
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
d2cfa92146ecfa5e00d4a3ce8e63b1a588845fe2 04-Sep-2014 Shishir Agrawal <shishir@google.com> API change: SetOperatorBrandOverride should not take iccId as a param.

Taking ICCID as a parameter is not scure since a carrier can override the
brand for other carriers. We should override only the current ICCID.

Bug: 17390144

Change-Id: I9be2cb5c5fa15367fcb3b548b6e601a294e84dbc
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
1eda68766be31fdf4a0c038ed6a459b3df0311fe 05-Sep-2014 Derek Tan <derektan@google.com> Update the comment in sendEnvelope.

Bug: 17255752
Change-Id: I4b56447e28bc9838b9ae0425a3673891647116d1
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
274baa73c51490e10fffe2ccac9c626c8f459cc4 05-Sep-2014 Derek Tan <derektan@google.com> Remove setCdmaSubscription API.

Bug: 17255752
Change-Id: I0adc5c3d1b690d86f538c084d17d239f7ffccfca
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
05e6dde3a0b9ba1eb3d13d511fe2e27a0d10c851 01-Sep-2014 Wink Saville <wink@google.com> ksd to lmp-sprout-dev

Change-Id: I94eb65c62231b5831570bb0cbbbd9c916bee0a37
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
3892fc0349a91097f53152eaf2801dfebb2066ca 28-Aug-2014 Diego Pontoriero <diegs@google.com> Change TelephonyManager method name to accurately reflect functionality.

Bug: 17163860
Change-Id: I4390d79c49831454146a42b89520a16984c5f260
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
cad78a801d7cf8635928cb77febbf4c2d185d668 21-Aug-2014 Junda Liu <junda@google.com> Merge "Add getCdmaMdn and getCdmaMin as system api to telmgr." into lmp-dev
dbc6689664156a42ecd2b4bd53ffd772e276bf63 21-Aug-2014 Amit Mahajan <amitmahajan@google.com> Merge "Adding APIs to get IMEI/MEID" into lmp-dev
284f1ec16e816f60cbbf243cebb2de90c50322bb 19-Aug-2014 Amit Mahajan <amitmahajan@google.com> Adding APIs to get IMEI/MEID

Change-Id: I553b7c019b20a64ff1049f35b0e3999ab82b7cce
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
2b2469b07d6ea9410bdb8d1234aa2320b02bdaa9 15-Aug-2014 Junda Liu <junda@google.com> Add getCdmaMdn and getCdmaMin as system api to telmgr.

Bug: b/16966140
Change-Id: I36d8f850eca7c392f7ed5186254ef9862d4177f7
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
64820af4e56cd5d6a6afcfde93d94427257a7677 14-Aug-2014 Shishir Agrawal <shishir@google.com> Add public qualifier to TelephonyManager.TeleiccExchangeSimIO.

Seems to have gotten overlooked in the last change.

Bug: 17031384
Change-Id: If7f92c128ddddd606510d7acf88168aebc061e80
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
43d94347a6feb14870a4ffd7682a816210e5e676 06-Aug-2014 Shishir Agrawal <shishir@google.com> Return APDU status code on tramsit channel command failure.

Change-Id: I2d506a6ddbb4e27a04f57941247924d36c9d279b
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
a122e8df741456ea34e4a57d205411b8371a16db 30-Jul-2014 Shishir Agrawal <shishir@google.com> Add new APIs iccExchangeSimIO and iccTransmitApduBasicChannel to TelephonyManager.

The new APIs are needed to support SEEK.

Also modifies TelephonyManager.iccOpenLogicalChannel to return the status of
the command.

Change-Id: Iff2674fb0e23210f2579cb883e64571347ade5e6
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
0bf65d2d71d20d8e3e0bd24be4bd97bb208ef443 24-Jul-2014 Amit Mahajan <amitmahajan@google.com> Merge "Add API invokeOemRilRequestRaw" into lmp-dev
3099c831441e861328cd4965011c854e060ce56a 17-Jul-2014 Steven Liu <stevenliu@motorola.com> Add API invokeOemRilRequestRaw

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
e647099e14114475e9a2827a10dab2d2e36308c4 18-Jul-2014 ram <ram.pl@samsung.com> IMS: getPCSCF() API enhanced to support multiple APN types.

Change-Id: I014f341b93a9ea7280e04cdfc13418fe81c9fc8b
Signed-off-by: ram <ram.pl@samsung.com>
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
63c4c06be44fe8bd4506e6f9f57361d31e947c21 21-Jul-2014 Shishir Agrawal <shishir@google.com> Expose getCarrierPackageNamesForBroadcastIntent as a hidden @SystemApi

It will be required by setup wizard to delegate initialization to the carrier
app.

Change-Id: Icc0fc728e1e24235632ac38a482b06a7b829de78
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
5552cc5c9dd111c5fb1db512240b5daf15866c88 19-Jul-2014 Shishir Agrawal <shishir@google.com> Merge "Adding the ability for carrier app to override SPN and carrier name." into lmp-dev
86578cca383562c72751d747905280afdeb2bdfb 18-Jul-2014 Shishir Agrawal <shishir@google.com> Adding the ability for carrier app to override SPN and carrier name.

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
5da0fd5e76794d415a9cfa501194980d5679eff6 08-Jul-2014 Nancy Chen <nancychen@google.com> API changes to enable account selection for a call

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
06b41ea23f3fb6be2f483e1e051ff42a2591a208 15-Jul-2014 Derek Tan <derektan@google.com> Remove @hide annotations from important carrier privileged APIs.

Most of these APIs are protected by MODIFY_PHONE_STATE or carrier
privilege. Some APIs are protected by READ_PHONE_STATE.

Change-Id: Ifa04b5fb6d4bb5f21af7f728bee7dcbf77c8583b
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
807fe0a19a710ae4e053e80f610807ff5718f1a1 09-Jul-2014 Ihab Awad <ihab@google.com> Implement multi-SIM capabilities (1/6) [DO NOT MERGE]

- Split PhoneAccount into PhoneAccount & PhoneAccountMetadata
- Move PhoneAccount methods from TelephonyManager to TelecommManager

Bug:16292368
Change-Id: Ib440368d6bd0572b63c942360450fde5c27d84b9
(cherry picked from commit 936b3552b4a3569be9904c826b95b632886fb45d)
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
391c8323fc6c70b18accc3412d20520bfaf4ea0b 12-Jul-2014 Wink Saville <wink@google.com> Unhide isSmsCapable.

Bug: 14113863
Change-Id: I57af2cf2482747e77c9bdf53559345b6b31f01a5
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
818631b679171ffb49eaa641bee06b9c953651da 03-Jul-2014 Derek Tan <derektan@google.com> Allow 1st party app to set Line 1 number for display purpose.

After the number is set, TelephonyManager.getLine1Number will actually
return this one instead of the actual MSISDN/MDN.

Bug: 11900806
Change-Id: I4df3fac7b483ddae2bbda14b5a85629486e400cf
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
f9aefdb534c6cb2af22dfb7614a1c15c2d67dd9c 09-Jul-2014 Derek Tan <derektan@google.com> Different Mobile Network Settings screen for Nova multi-profile SIMs.

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
56be215bcc5df95447c49d99915c299965b44207 12-Jul-2014 Shishir Agrawal <shishir@google.com> ITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivilegesForPackage.

Fixes the build breakage due to overloading in the aidl.

Change-Id: Id3199bf2d21b1834183c90904417ed016d34e052
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
142529702dad9a6612271f487d500db80173ba7b 11-Jul-2014 Junda Liu <junda@google.com> Add hidden systemapi hasCarrierPrivileges(pkgname).

Change-Id: I153f5c7cff1734c87587c3741051177ce54ba654
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
0bae09fdde0905e24f6c3079d9e01c669d046289 07-Jul-2014 Santos Cordon <santoscordon@google.com> Move showCallScreen & isInAPhoneCall to PhoneManager.

Change-Id: I852da78ae80eba120932fb7acb1e5c3db2a8f18a
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
6792a233eb70c660370093b591d1e94f68b0fc8a 08-Jul-2014 Junda Liu <junda@google.com> Merge "Add calculatePreferredNetworkType to TelephonyManager."
1365703d4964466472904dc84117a0946d9e1a44 02-Jul-2014 Junda Liu <junda@google.com> Add calculatePreferredNetworkType to TelephonyManager.

Bug: b/14134668
Change-Id: Iba7dcd50c1ba84b634eed53030456a2f84af6e3c
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
b708ce5f1a30a63ed79a86a23ead4e5ad972a48a 08-Jul-2014 Shishir Agrawal <shishir@google.com> Remove permission SIM_COMMUNICATION.

The permission is replaced by the MODIFY_PHONE_STATE permission which is
System|Signature.

Change-Id: I74dbd242fc0fdbb5884fdc7a5c3f0063424fbfcf
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
762d5a091f5e19b568bb0ff81a2cb6785b69075f 23-Jun-2014 Shishir Agrawal <shishir@google.com> SIM based carrier app privileges.

Adding support for SIM based carrier app privileges.

WIP - Missing bits:
- Notifications.
- Certificate check.

Change-Id: Ied3aa6c7d51cc0cde06f5bb58f30893d7a7b1c34
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
3c4ff9effc801525aaa6bc3fa9bf2898b32b3464 02-Jul-2014 Santos Cordon <santoscordon@google.com> Move cancelMissedCallsNotification to PhoneManager.

Change-Id: I2ce26e77ef1f0acc11552bf28efc039391e09766
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
9c3f18846aaa9340cc222f825c9c32ec42f9d0c9 01-Jul-2014 Ihab Awad <ihab@google.com> Rename Telecomm "Subscription" to "Account" (1/7)

Change-Id: Ieb29f6ba9dadacb2c7e26969a47141e11a339a40

Conflicts:
telecomm/java/android/telecomm/InCallCall.java
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
ddb74d8eb05bf50ebae673fda87730b80e52a758 30-Jun-2014 Junda Liu <junda@google.com> add setCdmaSubscription to telephonymanager.

Bug: b/12799863

Change-Id: Ieeb3e800cd7757335135901b1e4e94aaf6f4ede7
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
19f01ebe90722487d72e4ef16375c661004b3087 18-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Remove Obsolete enable/disableApn functions."
e356825e4a92e045a51d09b63e31dd9ce8e83d5a 17-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Remove Obsolete enable/disableApn functions.

ConnectivityService now uses NetworkAgents instead and apps should use
ConnectivityManager.

Change-Id: Ifc5c8f5be802183e70a5d92b224c819815de00e6
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
c35ad0252d1ad9ae50e2dadd670783d4a6259df6 13-Jun-2014 Ihab Awad <ihab@google.com> Add methods to TelephonyManager for Subscription management (1/3)

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
1b5916b26e121df91702c3bb40aa433dde9b6404 16-Jun-2014 Wink Saville <wink@google.com> Check for subId array being null.

Bug: 15665102
Change-Id: I9424da81311eacebf280a30c4e32a530be4a3278
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
fb40dd4d00bd3361b2535bc866e6c21eadc52558 13-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Add initial IMS and MSIM support from klp-wireless-dev-mirror

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
d5a5b5a547462f3e7c6315a501909bce2418ba86 06-Jun-2014 Jeff Brown <jeffbrown@google.com> Rename PrivateApi annotation to SystemApi.

Change-Id: I97b473884f81ad375d0733e4766afe091dfdd854
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
b69f1bddfe39c93f1e120e13a835768f68451e36 30-May-2014 Santos Cordon <santoscordon@google.com> am 6d052adc: Merge "Update showCallScreen to use Telecomm (1/6)" into lmp-preview-dev

* commit '6d052adc910bf2d2775881528cef3e41fe2cd14b':
Update showCallScreen to use Telecomm (1/6)
3534ede5722b98c5be1526ba0bc2cd8acfbe0e55 29-May-2014 Santos Cordon <santoscordon@google.com> Update showCallScreen to use Telecomm (1/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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
3afed57a7d8a6e9d9fcaaa483a3c3e3652e2199a 22-May-2014 Santos Cordon <santoscordon@google.com> Adding ITelecommService definition for Telecomm.

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)
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
afa05c0b43cbc065181d5c2d6ee368a08bb00c3b 22-May-2014 Robert Greenwalt <rgreenwalt@google.com> Move dis/enable of mobile data to Telephony

ConnectivityService doesn't do this anymore.

bug:15077247
Change-Id: I3208c91b2c0369b594987f39ca29da7478435513
(cherry picked from commit 53013c87496980b534e447e717a32698fbd4bca0)
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
d42f945a3ce0205a98845ea3db7eaa653efd1c66 26-May-2014 Wink Saville <wink@google.com> Hide LogicalChannel operations developer preview.

Bug: 15193354
Change-Id: I0e41ab7bd8bb3aab9af855f022cb89349802f63f
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
5c013261a941fabfb33df4f8d4e3799fab5e7a3e 22-May-2014 Santos Cordon <santoscordon@google.com> Merge "Adding ITelecommService definition for Telecomm."
6848f72a49f05509e6bc95a8a73c9dcd629af62c 22-May-2014 Santos Cordon <santoscordon@google.com> Adding ITelecommService definition for Telecomm.

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
47eecf03307acfb1bc7d4ad51311beb4eeb99366 22-May-2014 Robert Greenwalt <rgreenwalt@google.com> Move dis/enable of mobile data to Telephony

ConnectivityService doesn't do this anymore.

bug:15077247
Change-Id: I3208c91b2c0369b594987f39ca29da7478435513
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
cb9086c5bfd84f8a78eb6072d9eb133bf3a523d8 19-May-2014 Santos Cordon <santoscordon@google.com> Fix build break.

Change-Id: If80984f9a62809829b3767193eff981ccb1185c7
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
94a873de0f6d2e1579bc2634712d9212fbe87dc8 19-May-2014 Santos Cordon <santoscordon@google.com> Merge "Remove methods added in TelephonyManager."
14816d669b29607808e6d0ee72c602d340692d0e 17-May-2014 Santos Cordon <santoscordon@google.com> Remove methods added in TelephonyManager.

Change-Id: I771502ab76dfc24eb19b9ff58b029bea45d6832c
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
b8894ab1aec9c9ffa749f9369e412a51b942de27 16-May-2014 Evan Charlton <evanc@google.com> Revert "Revert "Modify TelephonyManager to expose sendEnvelopeWithStatus instead of sendEnvelope.""

This reverts commit f743b163fc764b7ebf701a9e65b13d308530d750.

Change-Id: Ie274a024d2cdb6f11082e6bf391732a304863074
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
210889e91cb2da74e0323292ca156d17df03fe08 16-May-2014 Evan Charlton <evanc@google.com> Revert "Revert "Expose sendEnvelope.""

This reverts commit 23745256000bffaad4038ad9fe6e2b0941074a53.
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
0082e3302fcaef4a770b620cf03c23d618668f71 14-May-2014 Evan Charlton <evanc@google.com> Remove obsolete ThirdPartyCall APIs

These should have been reverted long ago. Additional cleanup will need
to happen, but this is a good first pass.

Change-Id: I6d3c2919299c0a0b9714ffecd30da68e5c880b6a
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
8f402c36cb48905034e6ab689f614f21e8766639 14-May-2014 Evan Charlton <evanc@google.com> Revert "Expose sendEnvelope."

This reverts commit 6eac2ee0fc8a652c4cb1e7ca6602a080d4f82dbd.

Change-Id: Ie04a873bb1d4935208e687917e86cbe80312a6d1
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
c0d138ab86459883c46551130190d97f76bd7e2f 14-May-2014 Evan Charlton <evanc@google.com> Revert "Modify TelephonyManager to expose sendEnvelopeWithStatus instead of sendEnvelope."

This reverts commit 37384dedab38239433a41641fe87fc3e51bb6976.
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
784f90facfe32263a295fe512e20a10d1d8a250a 01-May-2014 Wink Saville <wink@google.com> am 192384bb: am 43799457: am 74ec5808: am 7e411f74: Merge "Add support for NETWORK_TYPE_GSM"

* commit '192384bb2708c49ca6c91432b8c848f43557429a':
Add support for NETWORK_TYPE_GSM
51d427ca9bca22d709f2940fb949cb38892c28a7 01-May-2014 Wink Saville <wink@google.com> am 43799457: am 74ec5808: am 7e411f74: Merge "Add support for NETWORK_TYPE_GSM"

* commit '437994578272f9770748b152c53ec655059d19ec':
Add support for NETWORK_TYPE_GSM
74ec580873bb56cb5045a25efdb1eb7e2bac384c 01-May-2014 Wink Saville <wink@google.com> am 7e411f74: Merge "Add support for NETWORK_TYPE_GSM"

* commit '7e411f74efe6dd383e59634760cccd96da1c209b':
Add support for NETWORK_TYPE_GSM
10731a6140ad9e1be895406206ced1db7b6d85cd 10-Aug-2013 Sandeep Kunta <skunta@codeaurora.org> Add support for NETWORK_TYPE_GSM

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
293513a59d36cd96a3e474dde5981380d372d8c9 30-Apr-2014 Bill Yi <byi@google.com> Merge commit '0b62467b142b61ee1e449ba958ba37dfd961ef56' into HEAD
994a9a39b56a6cf7538c1b4254cdd604bc1c2557 26-Apr-2014 Wink Saville <wink@google.com> am e9c9547e: am c79963c3: am 1c1827a6: am 3f4867f4: Merge "Telephony: Add functionality to handle ICC IO error"

* commit 'e9c9547e899a7095f3fb420df7d4d809ab13ea57':
Telephony: Add functionality to handle ICC IO error
ae166fe9e074de30c24f5bd567f6404b50cd9cfa 26-Apr-2014 Wink Saville <wink@google.com> am c79963c3: am 1c1827a6: am 3f4867f4: Merge "Telephony: Add functionality to handle ICC IO error"

* commit 'c79963c3cb6d0127e2fc9ce5bf000fa05811504d':
Telephony: Add functionality to handle ICC IO error
c79963c3cb6d0127e2fc9ce5bf000fa05811504d 26-Apr-2014 Wink Saville <wink@google.com> am 1c1827a6: am 3f4867f4: Merge "Telephony: Add functionality to handle ICC IO error"

* commit '1c1827a6402c3a1f38ba077289a9022f6e6d3f73':
Telephony: Add functionality to handle ICC IO error
3f4867f49d6c1932117e3519ce10d11f37829f19 26-Apr-2014 Wink Saville <wink@google.com> Merge "Telephony: Add functionality to handle ICC IO error"
fb48c1c722f1eff661a1f5e37cebb856b3e952cf 25-Mar-2014 Sailesh Nepal <sail@google.com> resolved conflicts for merge of 5e44cadf to master-nova

Change-Id: Ieacfbba60109a60b268c116a40e598c0745e8a3b
00ffde305da868401b78f92c3ad33fef0221bf7c 25-Mar-2014 Sailesh Nepal <sail@google.com> resolved conflicts for merge of 2d72d000 to master-nova

Change-Id: Icfb617ffab2da2f8805e4628e75e006c620b479d
8b5f2b080d841fa44d970058dfb7d5c653c6deb6 20-Mar-2014 Gabriel Peal <gpeal@google.com> resolved conflicts for merge of c1edfc2c to master

Change-Id: Ica42d8ac1552040f7ea2864ff529f5fc1470001b
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
f1e1e7714375b3b83f2cc3956b112293face56a1 21-Mar-2014 Gabriel Peal <gpeal@google.com> resolved conflicts for merge of 74fb97de to master

Change-Id: If28dc21a2ea7e634da130f3c59c17cd63dd5336a
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
4668f1ed0d9b4fbb321d25803192d53c31d1ec3d 25-Mar-2014 Gabriel Peal <gpeal@google.com> am 8ee4491d: am e05077d7: am 83da75d9: Added a private apis jar that 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.
16578caea887c258510a885476c11a2a9bc29f71 23-Mar-2014 Gabriel Peal <gpeal@google.com> am e05077d7: am 83da75d9: Added a private apis jar that includes explicitly 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.
83da75d938d519bbcffb9c3b52802fd2daad4aee 20-Mar-2014 Gabriel Peal <gpeal@google.com> Added a private apis jar that includes explicitly supported APIs that are 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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
37384dedab38239433a41641fe87fc3e51bb6976 14-Mar-2014 Shishir Agrawal <shishir@google.com> Modify TelephonyManager to expose sendEnvelopeWithStatus instead of 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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
f099a5f389a43a1a1f0abc6577e45c7dfca14c5c 06-Feb-2013 Rakesh Pallerla <rakesh@codeaurora.org> Telephony: Add functionality to handle ICC IO error

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
9bbb37116d2c5b597f9b5e3094ff328971e03c0b 06-Mar-2014 Evan Charlton <evanc@google.com> resolved conflicts for merge 322f7d6e to master-nova

Change-Id: I31de6084253ce21f50224582f82b7f7e630ef34e
4a2fa35a6ad03d5ee1cd03ae94b4e7d70b50811c 03-Mar-2014 Jake Hamby <jhamby@google.com> Add get/setPreferredNetworkType() for OMA DM client.

Add get/setPreferredNetworkType() commands for OMA DM client.

Bug: 8847590
Change-Id: Ia898d712b90ec583d61efe7385a5a1844d8beff1
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
4a4db51194d64bf46d7e21acfef97b90eed378c6 24-Feb-2014 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 786e71ab to master-nova

Change-Id: Ibe5e0a68f59d95c4a8c721d9e21626714d33ccd0
786e71ab11f2d89afffc9db7473f16206395c813 06-Feb-2014 Jake Hamby <jhamby@google.com> Remove unneeded new RIL command.

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
ded7d1871d702ce628bb8041f28677c801179a38 13-Feb-2014 Derek Tan <derektan@google.com> Fix the inconsistent name on @param and the real param.

Change-Id: If9853e91f55c0be89cdf77ae7c4369f274a45bb6
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
51c66e72cfed0626c0e50c05f32f922d51a96406 13-Feb-2014 Derek Tan <derektan@google.com> Merge "Expose sendEnvelope." into master-nova
40f12d98248a8b4a6a34fc43538e349bda4289ef 13-Feb-2014 Narayan Kamath <narayan@google.com> am 00515148: resolved conflicts for merge of 396b9e79 to master

* commit '005151484546fb0bf7f83c5a6ee065715230bf26':
Telephony API extension v2
005151484546fb0bf7f83c5a6ee065715230bf26 13-Feb-2014 Narayan Kamath <narayan@google.com> resolved conflicts for merge of 396b9e79 to master

Change-Id: Ie71a79699be57f5af6069559068bf6253835d805
6eac2ee0fc8a652c4cb1e7ca6602a080d4f82dbd 04-Feb-2014 Derek Tan <derektan@google.com> Expose sendEnvelope.

Change-Id: I21565fae9ba8f163aed9104db355aecf9bae1796
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
2cde710fe42b706b368aec9b85f134f2d2452f7f 12-Feb-2014 Sailesh Nepal <sail@google.com> Update TelephonyManager.WifiCallingChoices API

This CL updates the order of the WifiCallingChoices values
to match the wifi_calling_choice_values resource.

Change-Id: Iaa643d7a70938877c760ff4a65f737a4c1c750da
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
1bd7876d76167922f38d78747c5696c82020c1ea 12-Feb-2014 Sailesh Nepal <sail@google.com> Add Wi-Fi calling state setting to telephony interfaces

Change-Id: I01029ade0eb1ff981cb92a536d042a02129a053f
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
960fe9a5ff2a629d62e3252a37e4ec598af54b6a 12-Feb-2014 Sailesh Nepal <sail@google.com> ThirdPartyPhone: DTMF & callerDisplayName API DO NOT MERGE

This CL extends the ThirdPartyCall API to support DTMF and
callerDisplayname.

Change-Id: Ia3b4730e852a95d0c11fbddfbe1b780aec39dbb5
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
aae9216320328e6b865725219a31a029ea46c1b0 12-Feb-2014 Sailesh Nepal <sail@google.com> Add new phone type (public API) DO NOT MERGE

This CL adds a new public API to allow services to implement calls.

Change-Id: I4d30eb4d91bd342506cad4ced059bd8446c2bec4
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
b47ed4f44a8ef802143fbc68d24384b4847ad834 12-Feb-2014 Sailesh Nepal <sail@google.com> Revert "Add new phone type (public API) DO NOT MERGE"

This reverts commit 0590ac70a93c713c6cf28c3bcbce287d9864f037.

Change-Id: I1f4b34c0f8246bb601e2ba5f14eabe9c36d33d94
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
0590ac70a93c713c6cf28c3bcbce287d9864f037 12-Feb-2014 Sailesh Nepal <sail@google.com> Add new phone type (public API) DO NOT MERGE

This CL adds a new public API to allow services to implement calls.

Change-Id: If6fef93aebc8b199880ad44d35b7d8ae69f71f9e
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
8f9b33e77686de8e917ba61c5e2f2e31a1e0e49b 15-Jan-2014 Jake Hamby <jhamby@google.com> Add new RIL commands to read/write NV items and reset NV config.

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
c5ac15a3e11c03951e269b243674858411204b67 27-May-2013 Antonio Marín Cerezuela <amarin@swissms.ch> Telephony API extension v2

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
375890841df7aad36a042861f6a70f11e1f32766 17-Dec-2013 Shishir Agrawal <shishir@google.com> Fixing build breakage due to: c4d41755d73ffe85d179d42a4f0c993b49303145

Mismatched @param in javadoc.

Change-Id: I9034fac389e89e59c0245203543f52504bfc58d7
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
57f656b9f6271cf857b5ecec5f8c7eacb321ec0b 28-Oct-2013 Shishir Agrawal <shishir@google.com> Adding support for SIM communication from Android over logical channels.

Expose the folowing commands in ITelephony.aidl and TelephonyManager:
- iccOpenLogicalChannel
- iccCloseLogicalChannel
- iccTransmitApduLogicalChannel

Also add a new SIM_COMMUNICATION permission (maked as dangerous) to control
access to the above commands.

Change-Id: I89c08adc6f9738907e3b547c749f3cc61f300710
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
306ed4fd4f7e05d0e87b06816fd8bc6bc7d91846 14-Oct-2013 Scott Main <smain@google.com> am 3a920545: am 2cc953f1: am 9006c422: more documentation for SEND_RESPOND_VIA_MESSAGE

* commit '3a92054541864c1831fc1a67ea711acd2c4f3690':
more documentation for SEND_RESPOND_VIA_MESSAGE
9006c422909a13e61aa10bac385f05940f345b3b 14-Oct-2013 Scott Main <smain@google.com> more documentation for SEND_RESPOND_VIA_MESSAGE

Change-Id: I51ffd122a99481694088d84d46a50752c4c07a48
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
d2078bc8c927af17c367bc53b198ad3787b2ff72 03-Oct-2013 Yuhao Zheng <yuhaozheng@google.com> New Telephony APIs to return MMS UA and UAProfUrl

Added two public APIs under TelephonyManager to return MMS UserAgent and
UAProfUrl strings, for apps that handle SMS/MMS.

Bug: 11054501

Change-Id: Ifa1a64990fa2bf7d0e340d784a9672bf79525338
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
95d785346b4dae808a2d8f77356175e55a572d96 11-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10688644: Java crash in com.android.phone:

java.lang.SecurityException: Operation not allowed

There was a situation I wasn't taking into account -- components
declared by the system has a special ability to run in the processes
of other uids. This means that if that code loaded into another
process tries to do anything needing an app op verification, it will
fail, because it will say it is calling as the system package name but
it is not actually coming from the system uid.

To fix this, we add a new Context.getOpPackageName() to go along-side
getBasePackageName(). This is a special call for use by all app ops
verification, which will be initialized with either the base package
name, the actual package name, or now the default package name of the
process if we are creating a context for system code being loaded into
a non-system process.

I had to update all of the code doing app ops checks to switch to this
method to get the calling package name.

Also improve the security exception throw to have a more descriptive
error message.

Change-Id: Ic04f77b3938585b02fccabbc12d2f0dc62b9ef25
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
67c81341660965517079de07a1fc9affc5a28681 07-Sep-2013 Wink Saville <wink@google.com> For NETWORK_MODE_LTE_CMDA_EVDO_GSM_WCDMA default to PHONE_TYPE_GSM

Bug: 9710534
Change-Id: Iba999579d30045f18b5d370359dbce65d9646c69
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
c80e3d434f034d8594014df2fe028e9420930ea8 19-Jun-2013 Wink Saville <wink@google.com> TelephonyManager.listen can have notifyNow always true.

Since telepony.registry is a real system service notifyNow
parameter doesn't need to be conditional as telephony.registery
will never go away.

This is different from most of the other TelephonyManager
methods which are used to invoke methods on the phone service
which implements ITelephony and is implemented by
PhoneInterfaceManager in the phone application. Since the
phone app is not a system service it can and does go away when
it crashes.

Bug: 9393863
Change-Id: I1a8afc12b0e139e72f05820e49f3d996aec2b52a
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
aafed1df0404e2fb64c1adeb127dc7f300a2c07b 05-Jun-2013 Scott Main <smain@google.com> add link to required permission from ACTION_RESPOND_VIA_MESSAGE

Change-Id: Iafa9c72c9bbd8258c7f961f7ab8ad78c96b61e54
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
ca3597d4369b308c7c4d3553abfcc5788d10414a 26-Apr-2013 Wink Saville <wink@google.com> Enhance TelephonyManger javadocs.

Bug: 856818
Change-Id: Idd30361f57b0f6627132a25e5b9520f30fce548c
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
e5ac8217727e792fc378e70d7439b373952e7674 10-Apr-2013 Wink Saville <wink@google.com> Update function comment for getAllCellInfo

Bug: 8235566
Change-Id: Iae9b11480605d5302ee45601d1357fc07f9bd3e1
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
094beeccf5bf6e68d73f94a1aeaeda6690f4bf06 06-Apr-2013 Wink Saville <wink@google.com> Add FW support for CellInfo RIL commands.

Bug: 8235566
Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
52a08cf683a6d183222d795862cfd135cec5694f 21-Mar-2013 Sungmin Choi <sungmin.choi@lge.com> make new API to retrieve group identifier level1

For mvno, user can add or edit mvno data field. To pre-provide
the mvno data of the edited apn when the user selects one of
the mvno types, need to support IMSI, SPN, and GID1 data.
To support GID1, make API to retrieve group identifier level1.

bug:6445254
Change-Id: I1bc280054cc7cd37e78a279866cefd62872a19fb
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
8a747410e19f1bfd0cbae7415f2aabe35481b22f 04-Feb-2013 Santos Cordon <santoscordon@google.com> Fixing up doc links.

Change-Id: Id0e7f5007ce04fa714e3c1f21914b750b59aed3c
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
3b53da493440efbacd147d1aedcea8679c3a642b 04-Feb-2013 Santos Cordon <santoscordon@google.com> Merge "Sort out permission around "instant text response""
f265ea9d8307282ff1da3915978625a94fc2859e 01-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: vibration, neighboring cells, dialing, etc.

Improve handling of vibration op, so that apps are
better blamed (there is now a hidden vibrator API that
supplies the app to blame, and the system now uses this
when vibrating on behalf of an app).

Add operation for retrieving neighboring cell information.

Add a new op for calling a phone number. This required
plumbing information about the launching package name through
the activity manager, which required changing the internal
startActivity class, which required hitting a ton of code that
uses those internal APIs.

Change-Id: I3f8015634fdb296558f07fe654fb8d53e5c94d07
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
c48233c60d8fdb93b62c19a7f77cb56242fe1f65 04-Jan-2013 Wink Saville <wink@google.com> am c6e41cf2: am 28a7a059: am 881d5387: Merge "frameworks/base: Support for LTE network modes"

* commit 'c6e41cf2680773b02a7d8caacb6047ed31d6c260':
frameworks/base: Support for LTE network modes
ec7f4a69535151e04d11b66bd2de5c69c133f022 10-Jul-2012 Uma Maheswari Ramalingam <umam@codeaurora.org> frameworks/base: Support for LTE network modes

Change-Id: I93c102f92ff2d10856d91108bb50fe5c0f06ad66
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
22b1e80c24c5fbd702a19f2511ee2897baaf3e98 07-Dec-2012 Wink Saville <wink@google.com> Use Rlog

Change-Id: I44919126606cd55f7dce7c942027ed0d914f04bd
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
149ceec6ebac9dd000c213fc91ee8e5c08522cc6 26-Mar-2012 Daisuke Miyakawa <dmiyakawa@google.com> Sort out permission around "instant text response"

- Remove SEND_SMS_NO_CONFIRMATION

- Add SEND_RESPOND_VIA_MESSAGE Permission
This permission is held by the phone and applications that want to
handle respond-via-message should require this permission of the
sender. This permission is signature/system and currently only held
by the Phone app.

Bug: 5108429
Change-Id: Ib611368d488de2f8e1e853f550eb2c654305eda4
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
599a90c2a02645a5f2d189b9065b863397a4076e 27-Nov-2012 Wink Saville <wink@google.com> Use Rlog instead of Log

Change-Id: I2332f4210ead8a6d751fc9c0505db25033641da2
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
0dde2c20a07770bc2f1b21e49222c968f3d8b39a 16-Nov-2012 Wink Saville <wink@google.com> Separate voice and data radio technology/network type & registration state.

Change-Id: Ic9622e3fd637751b427c1627bbdf4d142acbc66e
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
69e25226a3020bfcd33f7f8beee6004dd2a292c3 16-Nov-2012 Wink Saville <wink@google.com> Revert "Separate voice and data radio technology/network type & registration state."

This reverts commit b690ac3b27d9b782a23a5f9a82bb3421e88716e3

Change-Id: I006ab1fb9c7fb8da64e2c481a2b6f0cb137deba4
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
b690ac3b27d9b782a23a5f9a82bb3421e88716e3 15-Nov-2012 Wink Saville <wink@google.com> Separate voice and data radio technology/network type & registration state.

Change-Id: I2802eb5c5833e3b81891da82b71acc51ca5af81f
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
58ed5d748c0b9b64845975ef5844ad313de7c3f6 07-Nov-2012 Kenny Root <kroot@google.com> am 768d9e1a: Merge "Correct executable bit for source files"

* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
Correct executable bit for source files
3a084af2e90849aaa8beb3a610189e3399c63ea0 07-Nov-2012 Kenny Root <kroot@google.com> Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
a12a7b3d3d8fc8678411295df4d001447b33a994 20-Sep-2012 Wink Saville <wink@google.com> Suppress location information for non-active users.

Specifically, don't allow call backs for LISTEN_CELL_LOCATION and
LISTEN_CELL_INFO.

Bug: 7087342
Change-Id: Ida7f60b5bde3f28264dcb454b38fcfb1f1616d11
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
3caf66d2ea63c75039daf43af30d3727e5ce6b58 26-Jul-2012 Wink Saville <wink@google.com> Unhide the new location API's

Change-Id: I41cc89998b8bd1e6686ea30475ab8905a133e312
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
b208a24cf521401912cfce16fce550a995cf1250 25-Jul-2012 Wink Saville <wink@google.com> Revise and update CellInfo API's

Change-Id: I25a46076a244f50edb9da65816b3717e00820b34
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
2119ade6d737345d58145e773f5877c199a3e20d 06-Apr-2012 John Wang <johnwang@google.com> Merge "Enhance Cell Location Api."
8fc27e8b87bd1def854a03d84009143b315d4176 05-Apr-2012 Jeff Sharkey <jsharkey@android.com> Support metered Wi-Fi NetworkPolicy.

Add networkId field to NetworkIdentity to identify Wi-Fi networks by
SSID. Add support for policies without usage cycles.

Only apply mobile policies when SIM state is ready, which is cleaner
than just checking for airplane mode. Also avoids creating no-op
default policies when subscriberId is null.

Bug: 3001465, 3291052
Change-Id: I1f8aaa49a5db306df022c402ea7f3f5d4bc0cfc7
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
963db55d59a170f4b17ff907c96615a19ef6fe17 31-Mar-2012 John Wang <johnwang@google.com> Enhance Cell Location Api.

To boost accurary and enhance capability of cell location api,
two new APIs, TelephonyManager.getAllCellInfo() and
TelephonyManager.listen(LISTEN_CELL_INFO), are added. Two new
Class, CellInfo and CellIdentity, are created.

This API change returns all information of one cell locaiton
at the same time. It also provides additional LTE and timestamp information.

Change-Id: I4d0f813107e625ec4ac88c8d980ffd171aa5fc30
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
8f4f814beb03400e9143b7c88307b2fd68abd77c 16-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> Fix TelephonyManager to grab the best context

It may not be called from an app so the app context may not exist.
Check and grab the best one.
Also remove the log that nobody paid attention to if the constructor
is called again from the same process. One context seems to be as
useful as another.

bug:5572369
bug:5622514
Change-Id: Iad23b30c7c8fe5b8d1f81a1e060eaf0cd0e3019d
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
80c32a37b63ceff885199e22a8505ac557c86d35 15-Sep-2011 duckyoung.chai <duckyoung.chai@samsung.com> [toro] Add telephonyManager API ( getMsisdnNumber() ) for IMS Module.

IMS Module need the MSISDN value for IMS registration.(VZW Requirement)

Change-Id: I8713b6c55788276246ee1c2f91eaf2d3ab8cc813
Signed-off-by: duckyoung.chai <duckyoung.chai@samsung.com>
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
52d0f9882fc8f33d1aef1d0e79f15733daf4ebe2 31-Aug-2011 Jeff Sharkey <jsharkey@android.com> More robust check around TelephonyManager init.

Only complain when Context radically changed.

Bug: 4676714
Change-Id: Ia183f9ba51056c857e634d901c618a73e45d2d05
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
463f22114587344c96460179069a08d7381fbfd6 22-Jul-2011 Jake Hamby <jhamby@google.com> Add ISIM application support for LTE devices.

- Add methods to TelephonyManager to provide access to IMS records on
the ISIM application of the UICC, as well as access to the ISIM
AKA authentication algorithm.

- Add support for the new IMS methods to CDMALTEPhone, using the helper class
ImsUiccRecords to load the IMS records from the ISIM. The same approach
can be used to implement IMS support for UMTS/LTE devices.

- There is a new RIL request, RIL_REQUEST_ISIM_AUTHENTICATION, which is
used to perform IMS AKA authentication using the algorithm on the ISIM
application of the UICC. The challenge nonce and response are both encoded
as Base64 strings.

Change-Id: I73367c7d9bc573d0d883d68adf09891de1319129
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
de4c26fa1a5adf3efa8995cbf69e45aa10111b8f 17-Jul-2011 Dianne Hackborn <hackbod@google.com> Fix a couple static leaks.

Change-Id: If2564dc822fbcb3bb3baf270ad2b3c29c78bf421
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
f9ab96f9d3d97e65537e487d1c05c69df2313618 17-Jun-2011 John Wang <johnwang@google.com> Revert "Do not merge. Return null id for Non-phone device."

This reverts commit cea03df201dc6659654234bc5fbfebf1b6a06e42

Change-Id: I68470e729d9304f1c27473a71334e1b0de99ff01
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
3fa5f373467054c673c5fd6296adba4c6de41520 09-Jun-2011 John Wang <johnwang@google.com> am 229d3a0c: am fc94d45f: Merge "Make getDeviceId return null for Non-phone device." into honeycomb-LTE

* commit '229d3a0cbce70db82003705abf6844deec136d20':
Make getDeviceId return null for Non-phone device.
8a02401129e5805025d3a39e552a2840e73fb8cf 08-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of e139167c to master

Change-Id: Ic4d8aae7dd457457d9cc8ba081b273e425729f86
d2a458750e5a3d490af09cecb5c28370baf0a913 29-May-2011 Jeff Sharkey <jsharkey@android.com> Map network identity using ConnectivityService.

Instead of deriving network identity based on raw subsystem broadcasts,
listen for updates from ConnectivityService. Added atomic view of all
active NetworkState, and build map from "iface" to NetworkIdentity set
for stats tracking.

To avoid exposing internal complexity, INetworkStatsService calls use
general templates. Added TelephonyManager mapping to classify network
types using broad labels like "3G" or "4G", used to drive templates.

Cleaned up Objects and Preconditions.

Change-Id: I1d4c1403f0503bc3635a59bb378841ba42239a91
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
fc94d45fc209dbcfdf7f57e0c04c581e1e51988b 08-Jun-2011 John Wang <johnwang@google.com> Merge "Make getDeviceId return null for Non-phone device." into honeycomb-LTE
e19736f0520689747b9e703a40b5f574bd9a7fce 08-Jun-2011 John Wang <johnwang@google.com> Make getDeviceId return null for Non-phone device.

For non-phone device, i.e. tablet doesn't have voice capability,

getDeviceId returns null while getPhoneType returns PHONE_TYPE_NONE.

This behavior is suggested by developer scheme

http://android-developers.blogspot.com/2011/03/identifying-app-installations.html

and enforced by CTS testGetDeviceId.

bug:4464907
Change-Id: Iaa3832b7323a50deccd438cb884c8e776a7a9640
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
5df69fad6e5021d2862bff0553a510f8d6729fbd 07-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of 8de47a2f to honeycomb-LTE

Change-Id: I8193235a4c7e574635e17b2eb05bb5420a3c6749
97ab2d4f86ee9c2b661a00688e934fc7030df22e 27-May-2011 Robert Greenwalt <rgreenwalt@google.com> Reveal some network constants.

Since we've already decided to inc the sdk version we should try to get these in too.

bug:4500218
Change-Id: I6dcb401bf30f1b06f02be0a93681a190d7ee5775
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
5e9270bfd566c32a60dfeb34435a158eb4ceb9a9 12-May-2011 Wink Saville <wink@google.com> Add getLteOnCdamMode.

Change-Id: Iebf027f956d543d7a69cad64aaba47900937a785
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
5e9bf7a908f1249bae911382e94a0c8d81664097 03-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Merge "Add new network type for HSPA+."
9e4ba121dc5168398bb29badfa2b35a57b1077a1 02-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Add new network type for HSPA+.

Change-Id: Ia949a02e5cb66bc9f7d4d5e7e771e592231c729b
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
6e2884817d7f51257fbf5195f3a47e3cfa3b5d98 02-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Use a cached context when possible.

It's always possible after services have been registered, so it's just early
in the process that's a problem. Lie correctly in those early cases and fix this
in MR1.

bug:3415254
Change-Id: I95811d1efd676fde01f66b742393d3aa4623482f
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
9d72be33181f1bd1386017ce0b0ce17d8ce1cb66 02-Feb-2011 Wink Saville <wink@google.com> Add TelephonyManager.getCurrentPhoneType

The new method getCurrentPhoneType has the old behavior of getPhoneType
and does not check for voice capable. This allows code to assume
the old behavior.

bug: 3198435
Change-Id: I0542838ceca2f757cceb6cd7f795e95fe886523e
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
9b9e6778dd9a0f04eb22e4fdd83d7d0d56b6b1a9 01-Feb-2011 Wink Saville <wink@google.com> Have getPhoneType return PHONE_TYPE_NONE for non-voice capable devices.

bug: 3198435
Change-Id: I1a19863c106a9394dbc941f396400e31dca95b92
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
7ea919c44b05daf99c045d09eb3edafb96019da7 29-Jan-2011 Jean-Baptiste Queru <jbq@google.com> Merge 6b739dc7 from gingerbread

Change-Id: If94889da67977aff7daa1e201c10cd51b7e2fff8
e12aec941dfc93b76b5efb9bc9f30d2ba3469434 28-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Add some network types that OEM's are asking for.

Adding them hidden so that if OEM's are rolling their own at least they can
use the same values. Will mark them unhidden in a future sdk release.

bug:3395729
Change-Id: I90eabe036a96e1aa7c8cac49ca51efd9b1776a0c
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
c049f9ad5b4f5bc32f368646e624aef7707b7252 10-Dec-2010 John Wang <johnwang@google.com> Block SMS service for non-sms-capable device.

If device doesn't support sms service, SMSDispatcher
will ignore incoming SMS in dispatching messge and return
ERROR_NO_SERVICE in sending sms messgae.

bug: 3250029
bug: 3038102
Change-Id: Ic72a9192aa128c43cf31da04907620bc680656c6
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
4d76f364226cf049bfc850a339ea2cf63e3ae3e7 04-Dec-2010 John Wang <johnwang@google.com> Add iDEN to getNetworkTypeName.

For bug 2667143.

Integrated Digital Enhanced Network (iDEN) is a mobile telecommunications

technology which provides its users the benefits of a trunked radio and

a cellular telephone.

Change-Id: I4a1f5dbdd22a2c4ce5252688053ec4a47805d6b9
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
8e7e0a9fd5c377294bfe2e09fca9b7551871f3c2 09-Nov-2010 Robert Greenwalt <rgreenwalt@google.com> Fix data state change callbacks

Initial state should be unknown or we miss the first connected change.
Don't send a disconnected msg when changing network types.
Filter out redundent disconnects.
Add some logging.

bug:3060742
Change-Id: Idc797c1276b7417337a91ed60b12b1bf392d57c0
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
962a990a45a2a9f9c3002064e71f9c2fed86acf1 02-Nov-2010 Robert Greenwalt <rgreenwalt@google.com> Add some network/phone type constants.

Support for LTE (and SIP-based voice) and the stepping-stone eHPRD.

bug:3125398
Change-Id: Ied3d96fa09d9c758a82a2fd1817f55db711d1a4f
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
b422ca809c92e3136bdf1f3820c4d59c61bc8e57 24-Aug-2010 Wink Saville <wink@google.com> am d9034879: am b2cc86da: am 3158cf68: Change CDMAPhone.getDeviceId to return MEID or ESN.

Merge commit 'd90348796829f3d3a443e73ea3b3f2f9e79071c2'

* commit 'd90348796829f3d3a443e73ea3b3f2f9e79071c2':
Change CDMAPhone.getDeviceId to return MEID or ESN.
b2cc86da29452769ff6210f1dfef4b51aac1d75e 21-Aug-2010 Wink Saville <wink@google.com> am 3158cf68: Change CDMAPhone.getDeviceId to return MEID or ESN.

Merge commit '3158cf689f4994ec53c3b727f9b6ad7751a5551b' into gingerbread

* commit '3158cf689f4994ec53c3b727f9b6ad7751a5551b':
Change CDMAPhone.getDeviceId to return MEID or ESN.
3158cf689f4994ec53c3b727f9b6ad7751a5551b 21-Aug-2010 Wink Saville <wink@google.com> Change CDMAPhone.getDeviceId to return MEID or ESN.

This allows devices with only ESN's to work.

bug: 2938223
Change-Id: I33939151c59f598b939e73d98f1178669d6ceb75
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
ae3efa53a9bd52c6eddde2a8e4bb1ae4d86a9c21 18-Aug-2010 David Brown <dab@google.com> Move the "voice_capable" resource into the framework.

There's currently a config.xml param in the phone app saying whether the
current device is "voice capable", which is used to determine (among other
things) whether the OTASP call should run in interactive mode.

But both Contacts and Settings are about to need this flag too, so it
really belongs in the framework instead. As of this change it's now
"com.android.internal.R.bool.voice_capable".

Also add a corresponding TelephonyManager call so that unbundled and 3rd
party apps can access it too.

Change-Id: Ie9a8803295bf97eb32154291aac8fce1e21c7b25
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
1540a7ea1afcb772b5fcf90f635153f6489eb8ed 02-Aug-2010 Wink Saville <wink@google.com> am c69f5be0: Add PhoneSubInfo.getCompleteVoiceMailNumber.

Merge commit 'c69f5be0ed3529564e5db6874de52775c2c99007' into gingerbread

* commit 'c69f5be0ed3529564e5db6874de52775c2c99007':
Add PhoneSubInfo.getCompleteVoiceMailNumber.
c69f5be0ed3529564e5db6874de52775c2c99007 02-Aug-2010 Wink Saville <wink@google.com> Add PhoneSubInfo.getCompleteVoiceMailNumber.

PhoneSubInfo.getVoiceMailNumber now returns only the network
portion of the voicemail number. Use the new method
PhoneSubInfo.getCompleteVoiceMailNumber to get the netowrk
portion and the post dial portion.

Bug: 2881483
Change-Id: I7637d4fa0ffa046b4eebc4d599719bb668c940b5
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
4adacd23d4c91569b16fe50419f1a91f68d805bd 12-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: If6730b50627b2231bd345e594d8d30a37557849e
0a5174a6e947d5cbeb8846a1273a90b6de065cbf 21-Apr-2010 Naveen Kalla <nkalla@codeaurora.org> Add support for EVDO Rev B

Change-Id: I8588e8b342c51f4b79bced8ef8fe60d57f07aefa
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
633dfb6da6d70cb369797b42df4bf046fdb3a07f 19-Mar-2010 Jake Hamby <jhamby@google.com> Fix some typos and logging of calls to CDMA methods.

Fixed some comment typos and cleaned up logging of unexpected calls to
CDMA-specific methods on a non-CDMA device.

Change-Id: Ia6e5fba765122cbf3186fd9fecca7a3931a76dcc
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
8214deb542392f48b6c3fdc377fdf976c0b17a32 12-Mar-2010 jsh <jsh@google.com> Add definitions for WiMAX and iDen network types.

b/2509185

Change-Id: Icf07ce857874e200712218713edbdbb47e646297
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
41a46718b3deec95661e149b3acea2a9e54016be 10-Mar-2010 John Wang <johnwang@google.com> Make getCellLocation return null if not available.

For bug 2422284.

Check the cell location and return null if the location is not available.

Change-Id: Ie9a331b906a8253c9a9596365af8705dc03823ce
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
99510681e9f1c76f82719e724990f744cfdbcefd 01-Oct-2009 John Wang <johnwang@google.com> Unhide constant DATA_ACTIVITY_DORMANT.
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
fb2b04b7bc505f5e600e360a9de6f63e16c21bf9 25-Sep-2009 John Wang <johnwang@google.com> Unhide NETWORK_TYPE_XXX.

Make NETWORK_TYPE_HSDPA etc. unhide in TelephonyManager.
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
9c118c80fd0a5416051f2a49f515301f2cf3fd6f 12-Sep-2009 johnwang <johnwang@google.com> Update CID in NeighboringCellInfo

NeighboringCellInfo works in GSM and UMTS network.

In GSM network, the locaiton value is the combination of LAC and CID.

In UMTS network, the locaiton value is PSC code.

NeighboringCellInfo should access and store those two values seperately.

It involves the change of Public API.

1. Add new API getRadioType(), getLac(), and getPsc() to get location info in GSM and UMTS.

2. Deprecate setCid() and NeighboringCellInfo(int cid) because cid is set by interpreting network type.
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
3cc97f8dbc22eff56f17f30e1633084af507eff4 21-Sep-2009 Tammo Spalink <tammo@google.com> Add Phone.getPhoneType() operation.

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
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
5f1f26a7ffb3e1130108bc670960cb5368038a1b 11-Sep-2009 johnwang <johnwang@google.com> Fix NPE in TelephonyManager.

It is for bug 1971628 but affects almost every API function in TelephonyManager. When phone is not ready (for example, after crash and restart) the getSubscriberInfo and getITelephony returns null and causes NPE.
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
e40f66ffc11cfc7e1bbe3e4c2ae1cf6dbc24cc17 03-Sep-2009 Wink Saville <wink@google.com> Allow hasIccCard to be useable by any processes.

This is accomplished by adding hasIccCard to ITelephony and do
the implemenation in PhoneInterfaceManager.java. Then change
TelephonyManager to use getITelephony().hasIccCard().

Change-Id: I26970fdf92a058502b8156a4f52c14e213217fc6
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
65d62c774e42d8bf9a55ef50e153ffc9e277ef37 02-Sep-2009 Wink Saville <wink@google.com> Add hasIccCard to IccCard and TelephonyManager.

Expose the presence/absence of IccCards in the system.
This is needed to fix bug 2033811 which needs to show
some SIM menus in the Mms app and Contact apps only if
there is a SIM and on CDMA there is no sims yet.

The current implementation assumes CDMA never has an
IccCard this is true at the moment but needs to change.

Change-Id: I4167368e364623ea68e9b2778556e6d730b1e715
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
ebe66345e7099ca6fc95e8aa4d31a5b5cbbd6224 14-Aug-2009 Li Zhe <jqc837@motorola.com> Framework changes to support HSDPA/HSUPA/HSPA
HSDPA: High-Speed Downlink Packet Access
HSUPA: High-Speend Uplink Packet Access
HSPA: High-Speed Packet Access

Add support for HSDPA/HSUPA/HSPA:
1) extend TelephonyManager.NETWORK_TYPE for HSDPA/HSUPA/HSPA
2) extend ServiceState.RADIO_TECHNOLOGY for HSDPA/HSUPA/HSPA
3) set radioTechnology into ServiceState in GsmServiceStateTracker
4) change the implementation of TelephonyManager.getNetworkType to
solve the competition timing issue between the time of setting
system property and the time of receiving notification through
PhoneStateListener
4.1) add a getNetworkType interface in ITelephony.aidl
5) add icons resources for HSDPA/HSUPA/HSPA
6) make use of HSDPA/HSUPA/HSPA icons in StatusBarPolicy
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
b307c8945d4bf8d843445f3cc6d727f4e43d90f0 29-Jul-2009 Wink Saville <wink@google.com> Fix bug 1994955 where PHONE_TYPE_CDMA was 0 and it should be 2 and added RILConstants.NO_PHONE.

This bug originally reported that PHONE_TYPE_CDMA needed to be 2 because
it was public. But as far as I can tell it has never been public and it
is still marked @hide so is not public now. There is a bug in that
PHONE_TYPE_NONE and PHONE_TYPE_CDMA were both 0. But this doesn't
appear to have been a problem because PHONE_TYPE_NONE doesn't looked to be
used anywhere except in TelephonyManagerTest.
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
aa4593706e4586fb4dfa6bd00d49c6f6159cbe0f 13-Jul-2009 jsh <jsh@google.com> Update javadoc for TelephonyManager.getNetwork* for CDMA.

These are unreliable for CDMA, so note it in the javadoc. Also update
for the corresponding TelephonyProperties.
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
107821369b7af3b739a0b5617fb34ff19f7ca9b5 30-Jun-2009 John Wang <johnwang@google.com> Fix bug 1930055 of NullPointerException.

The NullPointerException in getCallState is caused by the restarting of phone process. getITelephony() was not ready to be used at that moment.

modified: java/android/telephony/TelephonyManager.java
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
ce099c3226b33b43e0dd5d1f24347b14a2223ee1 01-Jun-2009 David Krause <david.krause@motorola.com> frameworks/base: CDMA voicemail support
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
9bfbfbd40df381817c0c685b177a2a1d666e101d 15-May-2009 Jaikumar Ganesh <jaikumar@google.com> Add a method to get the PhoneType in CellLocation.

CellLocation uses TelephonyManager to get the PhoneType.
TelephonyManager uses the system property to get the phoneType,
if the ITelephony interface is not up.
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
ac61f6bc2b24f7ab03cdb0089c67c4034ea8549c 19-May-2009 Mike Lockwood <lockwood@android.com> Telephony: Allow getCellLocation() if client has permission ACCESS_FINE_LOCATION

ACCESS_FINE_LOCATION should imply ACCESS_COARSE_LOCATION, so either of these
permissions should be sufficient to allow TelephonyManager.getCellLocation().

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
f8a7ceaef2e7d5cd530c9426bde91b6fa9a40b75 11-Apr-2009 Andy Stadler <> AI 145778: Manual merge changes 145382-145384 from cupcake.

Automated import of CL 145778
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
767a662ecde33c3979bf02b793d392aca0403162 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/telephony/java/android/telephony/TelephonyManager.java