History log of /frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1434d7b855108cb14c210b26cabb7bdb15f31887 17-Feb-2012 Robert Greenwalt <rgreenwalt@google.com> Seperate RIL constants from the framework.

We have two sets of constants for network type. One used by the RIL can't
be changed without big pains with OEM/Radio vendors. The other has been published
as part of the framework and can't be easily changed either.

Separate the two so it's clear where one should be used versus the other.

bug:5717664
Change-Id: Ibf21f9165662e75557c7254fc9ad9a4870ba4af9
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
fc2cbe9b46ab17a401dc50f8e0dbb677ed012299 30-Dec-2011 Naveen Kalla <nkalla@quicinc.com> Separate SIM states from Radio states

Radio state reflects the state of the modem. SIM_READY, RUIM_READY,
NV_READY are subscription states and it is possible that the new cards
have multiple subscriptions. Remove the SIM states from Radio State and
introduce a new VOICE_RADIO_TECH message to identify the exact voice
technology. SIM states will continue to be identified from the
SIM_STATUS messages.

Change-Id: Ia67d54f43b6c3340d9cf5c27fcb6f7ef49ef4d40
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
ac09d2af145b4d820a34f5e7628bc42e2e211bdb 01-Oct-2011 Jake Hamby <jhamby@google.com> Add support for SMS-PP data download to USIM.

Devices supporting IMS may receive SMS-PP data download messages
which are normally handled in the radio baseband. Add support to
framework for these messages, passing the data to the UICC and
sending the response data as part of the SMS ACK.

Change-Id: I1da76982c6f8c402f82a6f535591e614f4e0de18
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
b7945cae5ad0feaad09378d0db77f2b3105e5235 22-Sep-2011 Jake Hamby <jhamby@google.com> Enable support for multiple SMSDispatchers in CDMALTEPhone.

Refactor framework to support multiple SMSDispatcher objects on
dual-mode devices that require support for both 3GPP and 3GPP2
format SMS messages. Each dispatcher registers to receive events for
the appropriate message format.

Note: All applications which handle incoming SMS messages by processing the
SMS_RECEIVED_ACTION broadcast intent MUST pass the "format" extra from the intent
into the new createPdu() method in android.telephony.SmsMessage that takes an
extra format parameter. This is required in order to correctly decode the PDU on
devices which require support for both 3GPP and 3GPP2 formats at the same time,
such as CDMA/LTE devices and GSM/CDMA world phones.

- moved code to manage device storage events from SMSDispatcher to a
new class, SmsStorageMonitor, which is shared among all dispatchers.

- moved code to monitor per-application outgoing SMS usage from
SMSDispatcher.SmsCounter to a new class, SmsUsageMonitor, which
is shared among all dispatchers.

- fixed a bug that prevented CDMALTEPhone from setting the MCC/MNC
operator numeric value in the telephony provider from the UICC,
as GSMPhone does, when the SIM records have loaded.

Change-Id: I2789ac07b6ca2948138bca7f75481f9b31514f20
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
5d39ec4a37de500ada84225f8bd2c244db0cd287 13-Sep-2011 Jake Hamby <jhamby@google.com> Add method to retrieve MSISDN for CDMA/LTE devices.

For CDMA/LTE devices, the MDN and MSISDN may be different.
Add a new method getMsisdn() to the Phone interface to return the
MSISDN. For GSM/UMTS, this will be the same as getLine1Number().
For CDMA/LTE, getLine1Number() will continue to return the MDN
and getMsisdn() will return the MSISDN.

Change-Id: Iba0ca24858992b21f63ae7ec0c27d2e90d4b0903
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.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/com/android/internal/telephony/PhoneProxy.java
2ea7e443b27ff185104b8a8b5e7a08b5510125bd 12-Jul-2011 John Wang <johnwang@google.com> Add getImei() to Phone interface.

Need IMEI to be displayed in LTE Settings. Since getDeviceId() returns MEID for LTE device,
getImei() is added to return IMEI for all devices. getImei returns null if not set (as SipPhone).

bug:4983512
Change-Id: Idfe2ec8de514f330248db7a9de7e241f9a38cb96
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
352dbc44a4e30dea1d447e6da0898cf58627c3d9 03-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> Promote Telephony's isDataPossible.

bug:3481357
Change-Id: I83cb40cd5bb86d98abbb7152190b2277470fa160
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
5e9270bfd566c32a60dfeb34435a158eb4ceb9a9 12-May-2011 Wink Saville <wink@google.com> Add getLteOnCdamMode.

Change-Id: Iebf027f956d543d7a69cad64aaba47900937a785
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
afa79585e0e517d9fdfe6065bc5084cab9bb2300 19-Apr-2011 Wink Saville <wink@google.com> Remove getCurrentDataConnectionList.

This should not be exposed externally and is used only by
RadioInfo.java a hidden application used for debugging.
I'll another mechanism which will probably use an
asynchronous interface with the DataConnectionTracker.

Change-Id: Ic21cc8d45bd3172c2ceeab154eca6118d94580e9
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
a5c9c7246b065710227395ec4a7c1df0168363ef 11-Apr-2011 Ramesh Sudini <ramesh.sudini@motorola.com> Data Availability Indication changes.

Change-Id: I92bcff10763658cadd4ac1ea98745212c765ecfe
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
9d7d62801ddb206d2ea96d74864a9edfe54d2eee 12-Mar-2011 Wink Saville <wink@google.com> Do not merge: Revert the revert of "LTE Changes for Telephony including Multiple PDN support and IPV6 support"

This reverts commit eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7
and is the first of the LTE commits in master being back ported
to the LTE branch.

Change-Id: I17d4a1b779ed74bc7dfb409d2c1a30f60fdb27c7
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7 03-Mar-2011 Wink Saville <wink@google.com> DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"

This reverts commit 2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82.

Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82 25-Feb-2011 Wink Saville <wink@google.com> LTE Changes for Telephony including Multiple PDN support and IPV6 support

Added init for CDMAPhone.java

Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
3caa1bd1061df4029951e68d0a04d5e30928701f 15-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Moving gsm.NetworkInfo to OperatorInfo

NetworkInfo had a bad name collision, wasn't gsm specific and was
really about operators.

Change-Id: Ic99108a3d0e2b3115f023398f85d9c7e5a3e38be
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
d576483787589c92827623ffb46fc81d3a8c7dbb 25-Nov-2010 Robert Greenwalt <rgreenwalt@google.com> Make the internal data-disable mechanism internal

Break links to the outside world and limit its use.
A new public, persisted and separate mechanism will be coming soon.

Change-Id: Ia51a663125f7fe583e6d5d93bc2253f4e318847b
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
26f5a384d81487cc6bb80a78fb40d5e7e7ffc81e 25-Nov-2010 Wink Saville <wink@google.com> Use apn types instead of host when sending notifications.

Previously we were passing the apn host not the type and this
caused us to sometimes not send out network change notifications.

Also rename of getActivceApn to getActiveApnHost to make
the method clearer on what is being returned and add some debug.

A future change will rename ApnSetting.apn to ApnSetting.host
and getActiveApnString.

bug: 2995554
Change-Id: I0c405b0f823f62c9596968c8516b820d9f8a94f2
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
b6153a067ca6ec8affd782404525d6443e5f99b0 02-Oct-2010 Hung-ying Tyan <tyanh@google.com> am 86a12d46: am 10e2120b: Merge "Add CallManager/Phone.setEchoSuppressionEnabled()." into gingerbread

Merge commit '86a12d465fca7d25d99a788abda33fde5154a739'

* commit '86a12d465fca7d25d99a788abda33fde5154a739':
Add CallManager/Phone.setEchoSuppressionEnabled().
86a12d465fca7d25d99a788abda33fde5154a739 02-Oct-2010 Hung-ying Tyan <tyanh@google.com> am 10e2120b: Merge "Add CallManager/Phone.setEchoSuppressionEnabled()." into gingerbread

Merge commit '10e2120bdd2d99e100db187d49ac6a8495c7f956' into gingerbread-plus-aosp

* commit '10e2120bdd2d99e100db187d49ac6a8495c7f956':
Add CallManager/Phone.setEchoSuppressionEnabled().
23f21600d0927365e5e7bdc4e566ba52101301b4 29-Sep-2010 Hung-ying Tyan <tyanh@google.com> Add CallManager/Phone.setEchoSuppressionEnabled().

Change-Id: I7bc6241e6fa815787799a53d6f3a076567edc361
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
f61101f6266be243c481d163b95e65d67b8d1669 17-Sep-2010 Wink Saville <wink@google.com> Add LinkCapabilities

Change-Id: Ia1599ade936b79f12526252c0a2e6b453abb136e
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
37e65ebb7eb932e1a144b1cab262e11ca5fd109b 30-Aug-2010 Robert Greenwalt <robdroid@android.com> Rename NetworkProperties to LinkProperties

Also add copy constructors and use them when giving out data.

Change-Id: Id320eb8fb91d0bd250305ce7bb4f628570215615
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
1ace4163fa8015c58b28aaa7b0d8d49bdee654d1 30-Aug-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of ff749b9a to master

Change-Id: Ieb368754b84a47179b75cbae8fcd7d971893b7af
0e67c8926be9896e46eeecac42894d8997656809 24-Aug-2010 Banavathu, Srinivas Naik <snb@codeaurora.org> Telephony: Control operator selection using EF_CSP data.

As per CPHS4_2.WW6, CPHS B.4.7.1, the most significant bit of
Value Added Services Group(0xC0) info, controls operator selection menu.
-If this bit is set, display operator selection menu to user.
-If this bit is not set do not display operator selection menu to user,
set Network Selection Mode to Automatic.

Change-Id: Icca4898abced0b0beb94c3434448a26eae72008b
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
1f6408a96c757b3001c553f8f34ef0bda00a224d 27-Aug-2010 Wink Saville <wink@google.com> Add NetworkProperties to DataConnection.

Since we have NetworkProperties we can remove the individual accessors
from Phone and its subclasses.

Change-Id: Id9969a880405900a63051b3ae4019d889afb1fe8
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
47f69fe2999e46004f2f2463b70d38de9ff7079a 16-Jun-2010 Robert Greenwalt <robdroid@android.com> Pass network properties to ConnectivityService.

Used as a bag to hold ipaddr, gateway, dns, proxy info.
addr's are InetAddresses for v4/v6 use. Cleaning up some old v4-only code

bug:2655015
Change-Id: I7ac886fe5c519e8bab42f49cd82a5189d9c9ab59
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
02648a4b8422733ed401f07edf8e426318bb2f8d 18-May-2010 Robert Greenwalt <robdroid@android.com> Clean up APN notifications.

Add APNType info to notifications so you can tell what's happening. Now, even if a new APN
shares a connection with an already-connected-to- apn type, the new type will get all
the connecting and connected messages on connect and disconnecting/disconnected on disconnect
even though the shared connection remains connected.

Cleaning out the hacks MobileDataStateTracker needed to deal with the old situation.
bug:2226092

Change-Id: Iddd7421d6b91cda7c8405f9c3d5404ac04ef8e42
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
4d8ae85b5de8a90a597e4b649c6ee7208e446e3b 25-May-2010 Wink Saville <wink@google.com> Add needsOtaServiceProvisioning to Phone.

By having needsOtaServiceProvisioning supported on all phones we
eliminate the need to use an if statement to discriminate phone type.
Types of phones that don't support OTASP will return false in the
default implementation in PhoneBase.

Change-Id: I8fb15a18553e314c1f8f2a00ec7f8cffd79eeb7f
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
ccfd99b1e2a64c72ec433ebf5cf98d644ab24614 12-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ib092e6ae5151bbcdf56b9b3a7adbaee7bb5df8b5
24440cf8a9431291bdcaa77b418e6c4715932507 17-Mar-2010 Naveen Kalla <nkalla@codeaurora.org> Support for User to User Signaling (UUS)

Enabling passing UUS information during MO and MT calls.

Change-Id: I31621c0a9d3c0607d99d18c49bb6c593cadd0327
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
6a31dfa905695b3f6837fe76ab2f1c68e9d14b16 01-Feb-2010 John Wang <johnwang@google.com> am 1ef6fb3b: am 8deed914: Merge "Handle RIL_UNSOL_RESEND_INCALL_MUTE." into eclair

Merge commit '1ef6fb3bbe17870673195f28eec9d1e4e43b4785'

* commit '1ef6fb3bbe17870673195f28eec9d1e4e43b4785':
Handle RIL_UNSOL_RESEND_INCALL_MUTE.
1ccc41ed938ff005ae3d621292580a90601242ca 29-Jan-2010 John Wang <johnwang@google.com> Handle RIL_UNSOL_RESEND_INCALL_MUTE.

For bug 2400052.

Notify registered handler whenever receiving RIL_UNSOL_RESEND_INCALL_MUTE.
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
02722fbd77fa22f60ed3778b806b1e8f176b88c1 22-Dec-2009 Wink Saville <wink@google.com> Convert DataConnection to an HSM and rename PdpConnection to GsmDataConnection.

Change-Id: Ia834022d04e65c42d671f63b2fec46804fe8a562
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
1c633fc89bae9bf0af6fe643ac7ad2e744f27bed 09-Dec-2009 Dianne Hackborn <hackbod@google.com> Implement API to have new broadcasts replace existing broadcasts.

Use this in various places where it should serve no purpose to deliver
both broadcasts. This is intended to reduce somewhat the flurry of
broadcasts that we churn through during boot.
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
d7d6fb39470e212ce53b05fdc1c4dd8a724e9db7 09-Dec-2009 Wink Saville <wink@google.com> Telephony: Make resetting radio on a radio technology change optional

When there is a radio technology change in a multimode modem, resetting
the radio is not necessary always. Reset radio only when a property is
set. Notify applications that data connection is lost and ignore
notifications coming on the old radio technology.

Minor optimizations and bug fixes in CdmaDataConnectionTracker.
- Stop netstat polling when data connection is not active
- check all the elements of the data call list array to figure out if the
data connection is active.

Change-Id: I36785a9d1bf8ee135b574b61e9ba371faa04ffc7
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.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/com/android/internal/telephony/PhoneProxy.java
bbd754b8fe7563234b5c4c8d1425a7417337f2f2 19-Sep-2009 John Wang <johnwang@google.com> Add ring back tone notification.

Some networks may not play ring back tone, RIL will send UNSOL ringback notification.

Apps can register for ring back tone msg and play tone to user for receiving ALERTING message.

The return value indicates to play or stop ring tone.
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
7a043b351b43e963605afef6ab76a52ae3a9270e 25-Aug-2009 Tammo Spalink <tammo@google.com> Make Phone.updateServiceLocation acquire a one-shot wake lock.

Phone.updateServiceLocation() is the internal routine triggered by
external calls to CellLocation.requestLocationUpdate().

addresses bug http://b/issue?id=1724246

Change-Id: Id3d5cab1a77df12d3e94373a58ae94688a8630c6
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
95a1d1a89e383dab893750638c2393dec54833ff 18-Aug-2009 Wink Saville <wink@google.com> E911 call fix in ECM

Based on the VZW requirement, phone should be still in ECM mode in 2nd emergency call.
but in the current phone call, if a 2nd emergency call is originated, ECM mode will exit.

For fixing this problem, the coding design is as below:
1. In framework, canceling the first ECM timer immediately upon the origination of the
2nd E911 call, and restarting a new timer when the 2nd E911 ends.
2. Framework needs to syncronize the timer with phone app by sending notification to phone app to
inform timer is canceled or re-started, since phone app needs to show how much ECM time left
on the status bar.
3. In phone app's emergency callback mode service, the timer in this service will be canceled
when it receives the timer cancel notification from framework; the timer will be restarted
once it receives timer restart notification from framework.
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
9e652dcc213b96087ccadc730b1e6b1891cd02ae 06-Aug-2009 Jinghui Guo <w001091@motorola.com> Touch activation screen shown up fix

During the time of OTA activation screen startup, the app needs
to get MIN by calling getCdmaMin(). The issue in current code is that
OTA app calls getCdmaMin() before framework gets MIN data from lower
layer.

To fix this issue, framework will be providing the following new APIs
to applications for checking if MIN data is ready:
1. isMinInfoReady():
Check if mMin variable in getCdmaMin() has been assigned a non-null value.
2. registerForSubscriptionInfoReady():
Apps uses this API to register for notification.
3. unregisterForSubscriptionInfoReady():
This API is used by apps to unregister notification.

Framework will be sending out the notification in the following situations:
1. when mMin is assigned a non-null MIN value;
2. When app calls register API and MIN is ready.
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
c6d6b687af385d2a4e5f5210a9111d7b1acc233c 24-Jul-2009 Wink Saville <wink@google.com> Add method in Phone interface to check whether data is enabled.

This adds isDataConnectivityEnabled to allow test methods to query the
data connectivity state.
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
1c42769339d8fe98ecb2698c64e7dc6672e3d59d 13-Jul-2009 Jaikumar Ganesh <jaikumar@google.com> Rename registerPhoneStateChange to registerPreciseCallStateChange

As registerPhoneStateChange was actually notifying CallStateChange,
rename appropriately.
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
dafa22a3ef9328c72319aeec605f6a6d20e46080 11-Jul-2009 jsh <jsh@google.com> Extra parameters for sendBurstDtmf.

ON length and OFF length.
Also, define PROFILEs for use with SETUP_DATA_CALL.
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
ce099c3226b33b43e0dd5d1f24347b14a2223ee1 01-Jun-2009 David Krause <david.krause@motorola.com> frameworks/base: CDMA voicemail support
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
22ccaf5321cf9d2df57cf0d686d1abcd74acb193 07-Jun-2009 Wink Saville <wink@google.com> Motorola changes from 090602 through 090605

The changes from 090602 update frameworks/base to support 3way calling
and call waiting.

The changes from 090603 completed the CdmaInformationRecords class
but the original changes submitted has been simplified, toString added
and a bug fixed where the notifications where not being handled properly.

The changes from 090605 added Prl Version, apn fixes.
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
dda5391d5079537e275c9f4ed2637a1484d0e4e8 29-May-2009 Wink Saville <wink@google.com> Motorola additions for CDMA support without CdmaSuppConnTracker

There are corresponding changes to hardware/ril and packages/apps/Phone
that are required to go with these changes.
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.java
c06ce125408696fd49c7fa9e1189ecb61804007a 12-May-2009 jsh <jsh@google.com> Internal APIs to get/set SMSC address.
/frameworks/base/telephony/java/com/android/internal/telephony/PhoneProxy.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/com/android/internal/telephony/PhoneProxy.java