History log of /frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ecd302259a66aaf5abd49407c379c066e2542e95 19-Apr-2012 Wink Saville <wink@google.com> Revert "Telephony: Dynamically instantiate IccCard"

This reverts commit fe37acae729529b8bf3a3140fa397bddce42b1e0

There are two bugs that are weekend release blockers:

b/6357558
b/6357880

6357558 is easily fixed with:

https://android-git.corp.google.com/g/#/c/182228/

But there are still questions. Bug 6357880 has
unknown causes at the moment but this change is the
most likely candidate. So for today's pre-weekend
build we are reverting this change.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
fe37acae729529b8bf3a3140fa397bddce42b1e0 17-Apr-2012 Alex Yakavenka <ayakaven@quicinc.com> Telephony: Dynamically instantiate IccCard

Change-Id: I8c4d800158fb1eb12de66d437cb0d76695ff98d3
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
30ccade7f9432b8212807b9ddc8cc69a4a8fc854 02-Apr-2012 Wink Saville <wink@google.com> Add DebugService.

This will dump the state of the telephony stack using:

adb shell dumpsys activity service android.phone.TelephonyDebugService

The service is located in packages/app/Phone and TelephonyDebugService
instantiates DebugService and calls its dump method when asked
via the dumpsys command above.

Change-Id: I4d34c741544cafdadce2532de8b9c117a4d435a5
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
12ef0981be95a074443edcc600abce692e80d3d0 09-Dec-2011 Alex Yakavenka <ayakaven@quicinc.com> Telephony: Remove IccFileHandler from PhoneBase

mIccCard is now be multi-thread safe but other similar
variables such as mIccRecords will be cleaned up in
the future and are no worse than before.

Change-Id: Ic2fc31af2575c2dc0bb30e7348dd9e76ec61e763
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
ce2dcb6f1358398eef9ccffccd0c0a309238f7a4 09-Dec-2011 Alex Yakavenka <ayakaven@quicinc.com> Telephony: Move Cat to IccCard

Change-Id: Ibbea7b8f277f33e71580d61f83645b0aaefef580
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
80198f2235d12f278e391dfedc582b0b40bfd404 09-Dec-2011 Alex Yakavenka <ayakaven@quicinc.com> Telephony: Remove coupling between phone and IccRecords

Change-Id: I7af0f0f37c59b7554fa329a5b00ff28cb149b4d9
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
22c1700378667c1f25974b134cc201663ac2c29e 07-Mar-2012 Wink Saville <wink@google.com> Telephony: Create and use UiccController

UiccController creates and disposes IccCard
IccRecords and IccFileHandler is part of IccCard

Change-Id: I3dfb476c76162bbe8443271927a06743bb5e39c4
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
e7af59b375f08b13d964816fc52048e670764bdb 09-Dec-2011 Alex Yakavenka <ayakaven@quicinc.com> Telephony: Remove SimCard and RuimCard

Remove notions of SimCard and RuimCard since they don't make sense
in the world of Uicc cards where each card can have multiple
3gpp and 3gpp2 subscriptions.

This change prepares code for the introduction of Uicc cards.

Change-Id: Ibab13004604f829328b73c177669b89ef97d3f25
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.java
28d92afc0a17cbf9149a0c8be9c8795d6f3306a5 13-Jul-2011 John Wang <johnwang@google.com> am 2ac78a2d: Merge "Add getImei() to Phone interface." into honeycomb-LTE

* commit '2ac78a2da52b29f6ac72294072d7ca87d991dab1':
Add getImei() to Phone interface.
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/gsm/GSMPhone.java
2d8500d21a3fe6af36040a5dcd0599e00a242766 09-Jun-2011 Wink Saville <wink@google.com> am 799f04c0: Merge "Report data status from ApnContext even if data is detached" into honeycomb-LTE

* commit '799f04c09cc7284e0660d419bcb24af57b86f08e':
Report data status from ApnContext even if data is detached
2e994586ed0aa09f93951dbc4de35d56a93abe95 04-Jun-2011 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> Report data status from ApnContext even if data is detached

While in HO, data connection type may temporary become "unknown".
This triggers TelephonyRegistry picks up the wrong data connection
state, ending up notifying bogus state to ConnectivityService.

The patch is just to pick up the status from ApnContext which
should be maintaining the right state. Also cleaned up unnecessary
lines which was added earlier phase.

Change-Id: I07e74ce55f09ad31f2d8d09e2a144dc0b600eb0c
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
7d259626d009a45195ec341646ce06658b842e40 08-Jun-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 0cb17a52 to honeycomb-plus-aosp

Change-Id: I784e6d1946fa708f63becece070c7090cec6f1e2
0cb17a52ee278e6fd1575a086dac155e11574287 07-Jun-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of ab79ee4a to gingerbread-plus-aosp

Change-Id: Ib885176060f65ef3286a24c7b9cae1a673666275
ab79ee4adcbc6eb9fb9c509766753f65d3857739 27-Apr-2011 Jake Hamby <jhamby@google.com> Enable full support for SMS Cell Broadcast.

Implement full support for SMS Cell Broadcast (3GPP TS 23.041).
Includes support for ETWS and CMAS emergency message types.
Includes GSM and UMTS support (CDMA will be added later).

Note: the change to GsmAlphabet.java is only necessary if the
SMS national languages support patch has been applied. If that
change has not been applied, then the changes to GsmAlphabet.java
in this patch set can safely be ignored.

Change-Id: Ia0362c53695b8ef9a0982f558f1cffa912def34b
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
1f3278e111c8abadedf71a9bcdbbaffe154be738 10-May-2011 Wink Saville <wink@google.com> Refactor IccRecords and IccCard

IccRecords is now full base class for RuimRecords and SIMRecords
so we can use the IccRecords to represent both Ruim and SIM records
class.

Rename mSIMRecords to mIccRecords in PhoneBase.

Remove mRuimRecords.

Change-Id: If6afff3f99d41830c947de13c26586deff923c6f
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.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/gsm/GSMPhone.java
63edf6c4f5795009e55f2ae9556550c38daa9774 08-Apr-2011 Robert Greenwalt <rgreenwalt@google.com> Rename PhoneBase's DataConnectionTracker member.

Was called mDataConnection, but this is more confusing now that we have multiple
DataConnections. Changed it to the more correct mDataConnectionTracker.

Change-Id: I3cdc4f2897d60e5b0885891744aa6ff2db27af37
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
09e4eea1355ff4eb2c1ff722ffe041b963f04b99 27-Mar-2011 Wink Saville <wink@google.com> Cleanup DataConnectionTracker

Promote apn members from GsmDCT to DCT.
Change getState to have a apnType parameter
Move abstract methods to they are together.


Change-Id: I19bc5d07859c9398076ae32647d8c211d19817d1
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
88d852969a0ffd2ce228defe96ecae0173574f55 28-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Do not merge: Clean up LTE code change

Promoting RestrictedState so fewer callsites need be technology specific.
Promoting ServiceState change registration code.
bug:3487388

Change-Id: Iac3abca1a2943c1626553e1fd4bdd5baace86492
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.java
19b9ab46a9faee6031aaf6c78748401943fea117 10-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Turn off DUN connection after tethering.

Use matching feature type when turning tethering off or the request is ignored.

Also, turn on DUN apn right away so that we don't fail aggressive test cases.

Also don't report connections for enabled apn's that we're no longer connected to.

bug:3332880
bug:3338033
Change-Id: I7db2dfd4879f03465bc9f6d39488c078570dcaf3
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.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/gsm/GSMPhone.java
d755d11e93f1281c42968ab68c6494e33d26cbe7 11-Oct-2010 Jean-Baptiste Queru <jbq@google.com> am 965d5337: am 38f53488: Merge "NullPointerException at handleMessage(GSMPhone.java)"

Merge commit '965d533733f0c5cd9c02813e32737b0b0ce552d0'

* commit '965d533733f0c5cd9c02813e32737b0b0ce552d0':
NullPointerException at handleMessage(GSMPhone.java)
965d533733f0c5cd9c02813e32737b0b0ce552d0 08-Oct-2010 Jean-Baptiste Queru <jbq@google.com> am 38f53488: Merge "NullPointerException at handleMessage(GSMPhone.java)"

Merge commit '38f534882eb9214b4c1a8035990157f941762f85' into gingerbread-plus-aosp

* commit '38f534882eb9214b4c1a8035990157f941762f85':
NullPointerException at handleMessage(GSMPhone.java)
aeab76c5be62ad4289e5b27937affd4460d588b3 08-Oct-2010 Babis Triantafyllou <babis.triantafyllou.x@sonyericsson.com> NullPointerException at handleMessage(GSMPhone.java)

NullPointerException at
com.android.internal.telephony.gsm.GSMPhone.handleMessage(GSMPhone.java)
Failing to retrieved the IMSI number from SIM card could lead to
an exception. A null pointer check will prevent this.

Change-Id: I26760543484504c8d35215bfb1e8f1ae664aeade
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
94bf9431e5464c7757890abfe0716997151f153f 08-Sep-2010 Jake Hamby <jhamby@google.com> am e7578344: am 5872e9d7: Merge "Allow incoming SMS until internal storage is almost full." into gingerbread

Merge commit 'e75783440a55fb0a5ef75066be94a11898f652f0'

* commit 'e75783440a55fb0a5ef75066be94a11898f652f0':
Allow incoming SMS until internal storage is almost full.
e75783440a55fb0a5ef75066be94a11898f652f0 08-Sep-2010 Jake Hamby <jhamby@google.com> am 5872e9d7: Merge "Allow incoming SMS until internal storage is almost full." into gingerbread

Merge commit '5872e9d7f31e5a4c5f3d871dba02b6d72a7ada78' into gingerbread-plus-aosp

* commit '5872e9d7f31e5a4c5f3d871dba02b6d72a7ada78':
Allow incoming SMS until internal storage is almost full.
bb3716332321e22537a5015be13e2229fb9b90bc 24-Aug-2010 Jake Hamby <jhamby@google.com> Allow incoming SMS until internal storage is almost full.

Fix for bug 2382830: new incoming SMS should not be rejected when
running low on internal phone storage.

Testing revealed that the /data partition should have at least 256 KiB
available in order to prevent random app crashes (including system apps)
due to SQLite transaction failures. With 256 KiB free, the device should
safely boot without storage full errors. This takes into account the
36-40 KiB that the YAFFS2 filesystem reports as available even after
the partition has been completely filled. I've set the default full
threshold to 1 MiB to provide a generous safety margin.

For this bug, I changed the DeviceStorageMonitorService demon to send
two new hidden notifications for device storage "full" and "not full",
when the free space falls below the full threshold (default 1 MiB,
but configurable as a system setting), in addition to the existing
storage low/okay notifications sent when the storage crosses the threshold
of 90% full (also configurable).

The SMS code was changed to use these new notifications so that it can
accept messages until the data partition has been filled to the maximum
safe capacity rather than stopping when it hits 90% full. There should
be no negative impact on battery life because the additional check in
the storage polling service should be offset by an optimization to cache
the free threshold values which were previously being computed every time
through the loop.

While testing this change, I discovered that SMSDispatcher was being
instantiated twice, the first time in GSMPhone/CDMAPhone, and the second
time in SimSmsInterfaceManager / RuimSmsInterfaceManager. Changed the code
to pass the original SMSDispatcher to the Sim/RuimSmsInterfaceManager
constructor.

Change-Id: Ie0c6d05294778ab6ee42e0fa01313af96d824c77
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
4f3c5589c8cfa797153d50aaff68eaf874048a9c 03-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> am 9eb32c96: am a2f2141c: Merge "More SharedPreferences commit() -> apply() changes." into gingerbread

Merge commit '9eb32c96c872512c8aedc8627a4b96e9ea2a1a28'

* commit '9eb32c96c872512c8aedc8627a4b96e9ea2a1a28':
More SharedPreferences commit() -> apply() changes.
9eb32c96c872512c8aedc8627a4b96e9ea2a1a28 03-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> am a2f2141c: Merge "More SharedPreferences commit() -> apply() changes." into gingerbread

Merge commit 'a2f2141c84923e34e003bec92b7435ea79b02ee8' into gingerbread-plus-aosp

* commit 'a2f2141c84923e34e003bec92b7435ea79b02ee8':
More SharedPreferences commit() -> apply() changes.
fa8e271636b9e9b86f247cdb4c91d9ebe9675c27 03-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> More SharedPreferences commit() -> apply() changes.

Change-Id: Ibc844d72d463434722a349f5bbc02889a9feb0ee
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.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/gsm/GSMPhone.java
cd397b73a860148494f78748ec0b034935a5eed5 11-Aug-2010 Naveen Kalla <nkalla@codeaurora.org> am 371dbcba: am c4c4c98c: In CW Interrogation service class is not sent.

Merge commit '371dbcba11070ed2fdd58a4c328b5d7b9ad65a40'

* commit '371dbcba11070ed2fdd58a4c328b5d7b9ad65a40':
In CW Interrogation service class is not sent.
c4c4c98c5ca6b4c017a5b429a6bd80a440c63559 29-Jun-2010 Naveen Kalla <nkalla@codeaurora.org> In CW Interrogation service class is not sent.

As per 3GPP TS 24.083, section 1.6 UE doesn't need to send service class
parameter in call waiting interrogation to network. Some networks return error
if service class is sent. So setting service class to SERVICE_CLASS_NONE.

Change-Id: I396963d568573b88795ad2cf1844eb2e047b459e
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
01f51d3645b00889013fe91091d49cb9d3e137da 30-Jul-2010 Alex Yakavenka <ayakav@codeaurora.org> am 42b23da9: am a27353c1: Cat: Generalize stk into cat

Merge commit '42b23da99ba0679b40bcd402dcc04266a71e7d30'

* commit '42b23da99ba0679b40bcd402dcc04266a71e7d30':
Cat: Generalize stk into cat
a27353c1965911f69be8d02a01b15389189eab9d 12-Jul-2010 Alex Yakavenka <ayakav@codeaurora.org> Cat: Generalize stk into cat

Rename all stk classes, comments and variables into cat classes.
Cat (Card Application Toolkit) is the common class that has
functionality of both Stk and Ccat.

Change-Id: Id0b99d0d9f4b0ce49adcb436060f13d5341ab8ab
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.java
ec76a23c98a29d33d2be46e0626fa74540282fbe 13-Nov-2009 Jaikumar Ganesh <jaikumar@google.com> am d96c94aa: am ae29ac17: am 572e0087: Merge change Idfc116fe into eclair

Merge commit 'd96c94aa93b3331213d0ec781d0593bccfb61c03'

* commit 'd96c94aa93b3331213d0ec781d0593bccfb61c03':
Return null if SIM doesn't have the MSISDN Aplha tag.
ae29ac179ee579234ecc6ed590e00d30831e02f8 13-Nov-2009 Jaikumar Ganesh <jaikumar@google.com> am 572e0087: Merge change Idfc116fe into eclair

Merge commit '572e0087a86c6781e3334f8a6f901039a407138d' into eclair-mr2

* commit '572e0087a86c6781e3334f8a6f901039a407138d':
Return null if SIM doesn't have the MSISDN Aplha tag.
de1fcd49e786735555f0c289dd5d6044617b7337 12-Nov-2009 Jaikumar Ganesh <jaikumar@google.com> Return null if SIM doesn't have the MSISDN Aplha tag.

This makes both the GSM and CDMA version compatible.

Bug: 2247067
Dr No: jsh
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
6a19d0e13951b52fc1aadcd048f646d9dbd94f97 21-Oct-2009 Tammo Spalink <tammo@google.com> am 60be8485: am 8785c064: Merge change Ie5df08ef into eclair-mr2

Merge commit '60be84855435c2f354833a98e1bf6154cc45078c'

* commit '60be84855435c2f354833a98e1bf6154cc45078c':
Let PLUS occur once anywhere in dial-str network portion.
9e534153264138cfee383c626db92b934fafc1af 19-Oct-2009 Tammo Spalink <tammo@google.com> Let PLUS occur once anywhere in dial-str network portion.

Create a new extractNetworkPortion() function, since the old one is
public, that does effectively the same thing but is more flexible as
just mentioned.

Addresses issue:
http://buganizer/issue?id=2013998

Change-Id: Ie5df08ef9c871881e8728a44abf0385908000823
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
82583b8312403ed734c30b161750d40c26086ee2 02-Oct-2009 Elliott Hughes <enh@google.com> Remove last vestiges of adb networking support.

Bug: 1122968
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.java
4a51c20ce607c74914f90fd897f04080121ac13b 22-Aug-2009 Dianne Hackborn <hackbod@google.com> I am getting tired of the java doc warnings, so fix them.

Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
25a5d3db3ff06b9952395832308bc3b48913c4ee 14-Aug-2009 Robert Greenwalt <robdroid@android.com> Fix CDMA to startup/shutdown based on apn en/disab

Fixes MMS during wifi.
Also fixes CDMA for ConnectivityManager change.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
c6f79ce6bcc77abe222e5cc39a0b065bc76bce83 11-Aug-2009 johnwang <johnwang@google.com> Add operator name in network selection.

Save the operator name during network selection. The name will be used by UI to provide network selection notification. See bug 1414247.

modified: java/com/android/internal/telephony/PhoneBase.java
modified: java/com/android/internal/telephony/gsm/GSMPhone.java
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.java
ce099c3226b33b43e0dd5d1f24347b14a2223ee1 01-Jun-2009 David Krause <david.krause@motorola.com> frameworks/base: CDMA voicemail support
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.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/gsm/GSMPhone.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/com/android/internal/telephony/gsm/GSMPhone.java
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.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/gsm/GSMPhone.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
9266c558bf1d21ff647525ff99f7dadbca417309 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java