History log of /frameworks/base/telephony/java/android/telephony/TelephonyManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
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