History log of /frameworks/base/telephony/java/com/android/internal/telephony/Phone.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/Phone.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/Phone.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/Phone.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/Phone.java
a6d4248e21bd62a51ac4aaadaa67fdb55b666d98 03-Sep-2011 Robert Greenwalt <rgreenwalt@google.com> Pass roaming info to ConnectivityService.

bug:5215657
Change-Id: I77024141a7bbaa47eae021009e16b283699be53e
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.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/Phone.java
01758e81b3ad89934581885bb2fc7006510ec639 01-May-2011 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> Linkproperties update via unsol data call state change.

Handles the scenario of radio technology handover with IP continuity.
Once RIL/Modem finished a handover operation, an unsol data call state
change will be send up to FW notifying all link propertes changes.
FW will then re-configure the device with new link properties
including iptable used by Tethering.

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

Change-Id: Iebf027f956d543d7a69cad64aaba47900937a785
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.java
6bb582a00c1d0be2d76a49d3854564a315554c6b 18-Apr-2011 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> Data connection attempts/retries for multiple APNs

Fixing issues found in IOT. GsmDCT was only attempting to connect
default APNs. This patch will try to attempt to connect/reconnect
all APNs as long as they are ready and in right state.

Change-Id: I6e872936330654dcb25198c800728cb4d033e731
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.java
d55a6b498d66d8fc415908ecf63e50f46cce67e8 25-Mar-2011 Robert Greenwalt <rgreenwalt@google.com> Add external dependency API.

An APN will not be connected to if some external dependency is not met.

bug:3486704
Change-Id: I7d94df343b260013efd11faa978deb13f07f1389
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.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/Phone.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/Phone.java
7c38e05914fffede9ee5d2ec3a7710e9b0c5f36e 02-Feb-2011 Eric Laurent <elaurent@google.com> am 6f2c1c92: am 0990484c: am 3d4069a2: Allow TTY mode for GSM Phones

* commit '6f2c1c92681d8e3664accae2a03058e38ea411f6':
Allow TTY mode for GSM Phones
6f2c1c92681d8e3664accae2a03058e38ea411f6 02-Feb-2011 Eric Laurent <elaurent@google.com> am 0990484c: am 3d4069a2: Allow TTY mode for GSM Phones

* commit '0990484c3ef96c6f0553374675b76fed54b5b164':
Allow TTY mode for GSM Phones
0990484c3ef96c6f0553374675b76fed54b5b164 02-Feb-2011 Eric Laurent <elaurent@google.com> am 3d4069a2: Allow TTY mode for GSM Phones

* commit '3d4069a2e0c1c23244ead88a177ec06a2ef7a7d1':
Allow TTY mode for GSM Phones
3d4069a2e0c1c23244ead88a177ec06a2ef7a7d1 25-Jan-2011 Eric Laurent <elaurent@google.com> Allow TTY mode for GSM Phones

TTY mode should not be restricted to CDMA phones as some GSM carriers
support it.
TTY support is enabled by overlaying the tty_enabled boolean property
in packages/apps/Phones/res/values/config.xml

Also corrected wrong comments on TTY methods.

Change-Id: I48dbc2be51c3dcdaedc1838b85134edc7012be3c
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.java
e32e812b11520b244374371ee49eaed20c84a6e3 29-Dec-2010 Robert Greenwalt <rgreenwalt@google.com> Always file DUN requests for tethering.

A bit of a hack so that first trySetupData call uses the proper APN in
strange edge cases. Made a new startUsingNetworkFeature string
that ConnectivityService knows means always pass the request to telephony
even if telephony connections are not currently available.

bug:3133178
Change-Id: I2559b9cbaed4b4ec02bdf7ea78e6003ee2be64f2
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.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/Phone.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/Phone.java
6b15ecf2787dd0fa8e119785495112a84c30afe0 21-Sep-2010 Chung-yih Wang <cywang@google.com> am 232bc085: am 708e4251: Merge "Revert the ANSWERING state." into gingerbread

Merge commit '232bc085fc901b6234d47c4ee4e3ee4fc88431e7'

* commit '232bc085fc901b6234d47c4ee4e3ee4fc88431e7':
Revert the ANSWERING state.
232bc085fc901b6234d47c4ee4e3ee4fc88431e7 21-Sep-2010 Chung-yih Wang <cywang@google.com> am 708e4251: Merge "Revert the ANSWERING state." into gingerbread

Merge commit '708e42512a8b14202cd872d96d1f071ccb4cf915' into gingerbread-plus-aosp

* commit '708e42512a8b14202cd872d96d1f071ccb4cf915':
Revert the ANSWERING state.
9779b714f4035642b87cbb7ef6cd8ac32848c930 19-Sep-2010 Chung-yih Wang <cywang@google.com> Revert the ANSWERING state.

+fix the unknown call flash for answering an incoming call and
updating the screen if the background call got dropped.
+change the getFirstActiveBgCall to return the call if the state
is not IDLE. This will help to fix unknown flash if the background
call got dropped.

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

Change-Id: Ia1599ade936b79f12526252c0a2e6b453abb136e
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.java
d6e15ab6aa387958222407b97cd21ae1d8b7965b 16-Sep-2010 Chung-yih Wang <cywang@google.com> am 170255b0: am d8f3d167: Add a new phone state ANSWERING.

Merge commit '170255b0f0482baf843b881a02d9361adcc33742'

* commit '170255b0f0482baf843b881a02d9361adcc33742':
Add a new phone state ANSWERING.
170255b0f0482baf843b881a02d9361adcc33742 16-Sep-2010 Chung-yih Wang <cywang@google.com> am d8f3d167: Add a new phone state ANSWERING.

Merge commit 'd8f3d167353f6c6f6c5cb7a4c8e941c03b8e9511' into gingerbread-plus-aosp

* commit 'd8f3d167353f6c6f6c5cb7a4c8e941c03b8e9511':
Add a new phone state ANSWERING.
d8f3d167353f6c6f6c5cb7a4c8e941c03b8e9511 16-Sep-2010 Chung-yih Wang <cywang@google.com> Add a new phone state ANSWERING.

The state ANSWERING is set when we answer an incoming sip call, i.e.
sending a 'OK' response to the peer. The state will be set to ACTIVE
once the 'ACK' from peer is received.

Change-Id: I84ee3cc68222eb34e032896ce23f7431d4ad774a
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.java
1ace4163fa8015c58b28aaa7b0d8d49bdee654d1 30-Aug-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of ff749b9a to master

Change-Id: Ieb368754b84a47179b75cbae8fcd7d971893b7af
ff749b9a0d1137755ce466ca561b18473911d115 30-Aug-2010 Jean-Baptiste Queru <jbq@google.com> am 55a2df8c: Merge "Telephony: Control operator selection using EF_CSP data."

Merge commit '55a2df8c773f2b0af02d0a47fa5be4f14fcbf419' into gingerbread-plus-aosp

* commit '55a2df8c773f2b0af02d0a47fa5be4f14fcbf419':
Telephony: Control operator selection using EF_CSP data.
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/Phone.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/Phone.java
8afddad7e7ce7275e26dc1ebfb359fbdd1d5920b 20-Aug-2010 Robert Greenwalt <robdroid@android.com> DO NOT MERGE Fixing Connectivity

Passing Gateway addr info from telephony into ConnectivityService so it can
add/remove the default route as needed. Fixed differently on master.

bug:2927822
Change-Id: I9a3ee7cd23c4717e7c60098f0595aa3f77c44b15
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.java
c178b95c1fbd4644a088ca9739d173d5bf69939c 13-Aug-2010 John Wang <johnwang@google.com> am 2835391c: am 686a9505: Merge "Update switch call and accept call." into gingerbread

Merge commit '2835391c1709a2b655940200dab0fc74ef08512d'

* commit '2835391c1709a2b655940200dab0fc74ef08512d':
Update switch call and accept call.
c159c84699d4b739a14cdfb22c5807f419e1754f 11-Aug-2010 John Wang <johnwang@google.com> Update switch call and accept call.

Change-Id: Ifdd1af77e3eca08f6c931605ecfb275835b78709
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.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/Phone.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/Phone.java
3aecdb9d7e92b1a91860600feefb5c0062b652cf 18-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ib711450566694550d9cb9ba01c25599010d2e5e4
390de220248d05ccb9dc10a197700ad3c1595937 11-May-2010 Jake Hamby <jhamby@google.com> Fix some typos and other cosmetic cleanups in telephony framework.

- Fix typos in Javadoc and comments.
- Fix Javadoc @link references to other classes/methods.
- Rename MISSING_UKNOWN_APN to MISSING_UNKNOWN_APN in DataConnection.
- Remove unused (and misspelled) RETRYIES_* consts in RetryManager.

Change-Id: I3b44ac8320d6c1e4c350be600c7ef266aaf735e4
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.java
7188f946521d64ea21121939d2a4c279f33fe910 02-Feb-2010 Wink Saville <wink@google.com> Cleanup comments, see bug 2401350.

Change-Id: Ieaeeba44b235038ad9b75a57b37658738532df3f
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.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/Phone.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/Phone.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/Phone.java
89bd269975cae2d44c871c997b4eb0d42ba1f43c 11-Sep-2009 Robert Greenwalt <robdroid@android.com> Handle secondary APN connect failures.

Without this we'd only try a secondary APN once and the stop silently, leaving
no APN connected.

Adds a second retry manager with configuration strings to do a more approriate
retry. Don't retry secondary apn forever.

On permanent failure or retry count hit, we send a Phone.REASON_APN_FAILED
disconnect status.

bug: 2112114
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.java
a3659232ba9f7f3ba87ff036d17e08a46cf1be62 28-Aug-2009 Wink Saville <wink@google.com> Fix bug 2040024 phone rings only once sometimes.

The phone only rang once on rings that did't loop. In the GSM phones
the vendor ril sends a RIL_UNSOL_CALL_RING event to cause the phone
to properly play non-looping ring tones. To reproduce select a non-looping
ring tone such as "Digital Phone" and call it from another phone, the
phone will only ring once.

Three solutions were discussed:

*) Have all ring tones loop; rejected because to more space would be taken
by the silence.

*) Require all vendor RIL's to send RIL_UNSOL_CALL_RING; rejected because
it is inefficient to send a notification from the bottom of the stack.

*) Modify the PhoneApp or the audio layer; rejected because it would be
to big of change.

*) Modify the framework; this is the solution accepted.

The framework was modified to use two now properties to control the
call ring notification.

ro.telephony.multiple_call_ring: a boolean that if true the vendor ril
is assumed to send multiple RIL_UNSOL_CALL_RING messages. If false
only one is assumed and the framework will generate additional events.
(The default if absent is true).

ro.telephony.call_ring_delay: the delay in milli-seconds between
the generated events. (default if absent is 3000)

To minimize code duplication this change does some reorganization
of the PhoneBase class hierarchy and PhoneBase becomes a handler
and implements a default handleMessage method handles events associated
with call ring notification. This handler is overridden by derived
classes, CDMAPhone and GSMPhone which will pass unknown events
to PhoneBase.handleMessage and thus handle call notification for any
derived class.

Change-Id: I5b147b2b69b647d9987052f16ada41c9b66e4bf1
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.java
42acef37339afe6ac608c842f1637870ee9c4f6c 13-Aug-2009 Robert Greenwalt <robdroid@android.com> Add net type to mobile for mobile-required traffic

This also refactors ConnectivityService a bit towards supporting multiple simultaneous connections by making each a seem like a seperate Network with it's own stateTracker, etc.
Also adds tracking of process death to clean orphaned startUsingNetworkFeature features.
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.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/Phone.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/Phone.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/Phone.java
ce099c3226b33b43e0dd5d1f24347b14a2223ee1 01-Jun-2009 David Krause <david.krause@motorola.com> frameworks/base: CDMA voicemail support
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.java
b111554883ef3d4101c2f3fe9d630f5c1d3bbf7a 05-Jun-2009 Marco Nelissen <marcone@google.com> Update a javadoc comment suggesting the use of a deprecated class.
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.java
ee748d37b01b3affb72b701d95ba20c189887b5f 15-May-2009 Jaikumar Ganesh <jaikumar@google.com> Fix network preference getting incorrectly set.

When the phone process crashes, we set the network preference
incorrectly. Also read the default value from a system property.
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.java
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.java
c06ce125408696fd49c7fa9e1189ecb61804007a 12-May-2009 jsh <jsh@google.com> Internal APIs to get/set SMSC address.
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.java
42ad56ead40f6c5986bd2d298b1d36f42da489a1 14-Apr-2009 Mike Lockwood <lockwood@android.com> telephony: Add support for bringing up GSM data connections for GPS SUPL.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.java
44038aa032ffd876f3c9b20a84db9d189f77e18e 14-Apr-2009 Wink Saville <wink@google.com> Fix crash when mSST is null and change default to GSM.
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.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/Phone.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.java
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/telephony/java/com/android/internal/telephony/Phone.java