History log of /frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
975d348c18f7b9d378bebf3f69e6197b261705f0 08-Dec-2011 Wink Saville <wink@google.com> When the SIM_READY set current preferred network type.

This looks to fix a problem where the nv_data.bin file
file gets corrupted. When greping a radio log for "md5" if something
like following is seen:

RIL(s) : load_md5_state: MD5 state 1
RIL(s) : check_md5:
RIL(s) : compute_md5: path /efs/nv_data.bin
RIL(s) : check_md5: MD5 fail. orignal md5 '628647a8e5c6cac2d586199417c0103c' computed md5 '58a635cbaf5fe4ffb2797aeaa2b32709' (rild)
RIL(s) : check_md5:
RIL(s) : compute_md5: path /efs/.nv_data.bak

It means that corruption was detected and a back version was used
which is ok. Apparently that backup version can have the default
network type revert to 2G only thus causing the symptoms reported
in b/5695729 where after taking an OTA 2G becomes the default.

By calling setCurrentPreferredNetworkType when the sim is ready we
can reset the the network type to 3G.

Note: I also tried calling setCurrentPreferredNetworkType in
EVENT_RADIO_AVAILABLE but that didn't work and we would see
the response to setPreferredNetworkType failing as the ril wasn't ready.

RILJ : setCurrentPreferredNetworkType: 0
RILJ : [0004]> REQUEST_SET_PREFERRED_NETWORK_TYPE : 0
RILJ : [0004]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE


Bug: 5695729
Change-Id: Ibbd29cda0b201a8c08f4dcfa5cec211611e1d599
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
b166bc81acfd521608a1ab1003c5d728598d6ec1 06-Oct-2011 Wink Saville <wink@google.com> Set mGotCountryCode properly.

mGotCountryCode needs to be set to false when we don't know
the country code and to true only when we do.

Bug: 2578334
Change-Id: I7cb21e627ae115880df5f9b2095cb4ba094ab751
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
343112fb1515a9e9ea860168bb4d7eded8cc5e34 21-Jul-2011 John Wang <johnwang@google.com> Remove APN type in notifyDataConnection.

Using APN_TYPE_ALL in notifyDataConnection causes data
connection state to be set as DISCONNECTED all the time
because apnTypeToId returns INVALID_ID for APN_TYPE_ALL.

bug:4972999
Change-Id: Ieb79194575dd97fa4bd7ef2bd8202030aa282d84
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
da3505993ce8f6e3c207b97813e0e0818e253187 04-Jun-2011 Wink Saville <wink@google.com> am 3699c3d7: am 5b4e2440: Merge "Refactor ServiceStateTracker handling of radio technology." into honeycomb-LTE

* commit '3699c3d7c8a450cc39fd1c3db23b64208bd43353':
Refactor ServiceStateTracker handling of radio technology.
db09b5db60fa05ba65662faa86422b9ec69493a1 03-Jun-2011 Wink Saville <wink@google.com> Refactor ServiceStateTracker handling of radio technology.

Also add a little more debugging.

Change-Id: I832872c876b290a3e83a79068059a21894472a1d
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
1dd21d27512e1919d795694759cc379b715086cf 11-May-2011 Wink Saville <wink@google.com> am e86dbac5: am db08ff76: Merge "Refactor IccRecords and IccCard" into honeycomb-LTE

* commit 'e86dbac583f442e37bfaa95f9427f491b62d53f3':
Refactor IccRecords and IccCard
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/GsmServiceStateTracker.java
f034932be64c9387022bf0711397695d70fa2f97 09-Apr-2011 Robert Greenwalt <rgreenwalt@google.com> am 01f8f290: am 63edf6c4: Rename PhoneBase\'s DataConnectionTracker member.

* commit '01f8f290cd2c01c7ed9a1966f39fa74032352dc8':
Rename PhoneBase's DataConnectionTracker member.
de56db46c4d2cacc8a0bc4d9839507e3d333ca9e 08-Apr-2011 Wink Saville <wink@google.com> resolved conflicts for merge of 4b1a37d7 to master

Change-Id: I872f40b0e0de534a37e3cf6bdc4d175b66226188
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/GsmServiceStateTracker.java
5203a5bc28a5ae432eab236780b2f97bdec71dbf 08-Apr-2011 Wink Saville <wink@google.com> Cleanup debugging.

Change-Id: I4c61b6716a6d03d70bc1e9013954d6b2002cec54
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 07-Apr-2011 Joe Onorato <joeo@google.com> Remove the deprecated things from Config.java. These haven't been working since before 1.0.

Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
95bc2b7564b201d10f2a5e319f69972e18c58261 01-Apr-2011 Wink Saville <wink@google.com> Airplane mode on always timed out when camping on LTE

While on LTE, GsmDataConnectionTracker is implicitly associated with CdmaServiceTracker.
CdmaServiceTracker asynchronously waits for the disconnection of data before turning off
the Radio but GsmDataConnection does not notify the disconnection due to different logic
in GsmServiceTracker.

This fix is to have common airplane mode toggle logic on both GSM and CDMA flavors.

Change-Id: I67ff82a59a2243856ae3e7c5e37b5726bcbf3c94
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
d927e2742871dec1cf9a8d861a24d5bcc73c542e 15-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> am b7d573e9: am 7972e382: Merge "Removing repetitive conditional; it simply does nothing except slowing down things."

* commit 'b7d573e901e07fc249df0bc531cf94c574107556':
Removing repetitive conditional; it simply does nothing except slowing down things.
eea577e0c41babadf4f07fd9d5e822bd7faa9385 15-Mar-2011 Robert Greenwalt <rgreenwalt@google.com> Remove redundant network types.

ServiceStateTracker can use the ServiceState values.
bug:4083436

Change-Id: I5b5b72392d9d48adc55731c44417d622930c4bec
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.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/GsmServiceStateTracker.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/GsmServiceStateTracker.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/GsmServiceStateTracker.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/GsmServiceStateTracker.java
c28480a1b44bb2eb40801b7fc9ff7e870aa9a3a8 22-Feb-2011 Jozef BABJAK <jozef.babjak@gmail.com> Removing repetitive conditional; it simply does nothing except slowing down things.

Change-Id: I53a176cebae0051a33647317e2f269ebf149f7d2
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
5284090631e638b916d9a453212e9dc802656a67 18-Feb-2011 Wink Saville <wink@google.com> Changes for ril.h version 6.

Change-Id: Iacd9d362c4836546ac277cf3571227d426a721aa
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
164ca032b609c9590b41dfd83c13317612e43b2f 28-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Fix data network type notifications.

These trackers have two copies of the network type: newSS and newNetworkType. I think thats wrong,
but this was the smaller change on code that will hopefully be refactored soon.

On radio_off we were making a new, empty newSS but not clearing newNetworkType so it
still thought we were on 3G and when we reconnect and get 3G state changes new==old and we don't
send the update. In this fix I reset newNetworkType every time we apply it to networkType.

bug:3389886
Change-Id: I294f34259dc6c6f8f445bf2cb5466c8be747e25c
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
759aca9d20e76a99df556304caf9171da18c7f51 15-Jan-2011 John Wang <johnwang@google.com> Enable AUTO_TIME_ZONE settings.

There are separate settings for AUTO_TIME and AUTO_TIME_ZONE.

Modify *ServiceStateTracker to monitor AUTO_TIME and AUTO_TIME_ZONE changes
separately and reset NITZ time and timezone accordingly.

bug: 3304255
Change-Id: Ie430f7b4a256618bea87672b3628d1223ea6e36a
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
0fa0d40b25bd6fd199431a18f8d02a1c946f821c 19-Nov-2010 Wink Saville <wink@google.com> Fix SPN_STRINGS_UPDATED_ACTION.

Change EXTRA_SHOW_SPN and EXTRA_SHOW_PLMN to be false if spn and plmn
are null or empty respectively. For CDMA EXTRA_SHOW_SPN is always false.

bug: 3191159
Change-Id: Ic13b946cee10b123ec4960f2d22e13c8cb1dd20d
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
7ef3361adc9280d7b43f0f7dcbe1371a0da68a5a 12-Nov-2010 Wink Saville <wink@google.com> GsmServiceStateTracker#getPhone should be protected not public.

Change-Id: Ie8c1ac0a38616e4794aa51b9b642d9b22008b9ff
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.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/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
fd2d01302781af91d77557a99874111a4fee8365 28-Oct-2010 Wink Saville <wink@google.com> Add PhoneStateListener.onOtaspChanged.

Bug: 3102320
Change-Id: I46e8d33a4ed80e5e074e92135653d57598d4c865
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
264c2cfe4dc5837213e4b031c13cf9f17025d779 10-Oct-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 5df4b5a7 to master

Change-Id: Ib1ed63f79c4a094b1d4ba8ba74ee2bd68a35bfd2
35c4c211e0c9278c50cdb53477e686869b30fad4 07-Oct-2010 John Wang <johnwang@google.com> Add flag to skip restoring network seletion.

For bug 3045366.

Change-Id: I7ad9ff89b0a77df473b638ad917b363c42de5405
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
ad450be78bb99a965b6aeb7cec04f865da59f052 17-Sep-2010 Amith Yamasani <yamasani@google.com> Add an AUTO_TIME_ZONE setting so that we can switch timezones while keeping correct time.

Have the NITZ provider honor the new setting before updating the time zone.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
05a5a88a171721705685d1ae3dcfe82780907210 24-Jun-2010 jsh <jsh@google.com> Add support for PSC of serving cell.

Bug: 2465036
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
295d45bef4cf35bdf128a6d4dcc3df869a70b522 24-Jun-2010 jsh <jsh@google.com> Add support for PSC of serving cell.

Bug: 2465036
Change-Id: Id4bc0a60463510d5fd89113af7815360e09d2125
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.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/GsmServiceStateTracker.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/gsm/GsmServiceStateTracker.java
56c2d2ff27536a1d8edf0037cd41ff3ea3272fd9 07-Apr-2010 John Wang <johnwang@google.com> Add emergencyOnly indicator in ServiceState.

For bug 2536842 to show signal strength in Emergency mode.

The STATE_EMERGENCY_ONLY of ServiceState is not in-use.

So add a hide interface to indicate Emergency mode.

Change-Id: I19398ac5e73a722dcaaf744347f961d1fa7513ac
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
fc26c77f617eb64857127d80618b79de61b18341 04-Mar-2010 John Wang <johnwang@google.com> Update DSAC notification.

Update the notification string of CS restricted per DoCoMo's request. More restricted message string are added for future use.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
18e939623556928f73fcc7511c85a537929a4a7e 11-Feb-2010 Dan Egnor <egnor@google.com> Eliminate dependencies on Checkin, replacing checkin events with EventLog
events (and in one case, a DropBox entry).

Add a simple intent that triggers master-clear (and toggle EFS), given the
right permissions.

Bug: 2264596
Bug: 2350452
Bug: 2264596
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
5bb33718236cee8dea9457ffa5ba99ba930ac9ab 28-Jan-2010 John Wang <johnwang@google.com> am 89fec7b1: am 098295a5: Merge "Updated emergency string when locale changes." into eclair

Merge commit '89fec7b155981d6e99eb1e05793f343a5d04aa59'

* commit '89fec7b155981d6e99eb1e05793f343a5d04aa59':
Updated emergency string when locale changes.
70aaacac8217552ae4def243011c5359075836b0 28-Jan-2010 John Wang <johnwang@google.com> am 64c92f75: am 08cb0024: Handle emergency calls only status in ServiceStateTracker.

Merge commit '64c92f75df7415084aa9f0b304f2a99089b6be9f'

* commit '64c92f75df7415084aa9f0b304f2a99089b6be9f':
Handle emergency calls only status in ServiceStateTracker.
670db2c696251370c4806ee3ecc3c7d6370b38e8 22-Jan-2010 John Wang <johnwang@google.com> Updated emergency string when locale changes.

For bug 2352094.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
08cb0024026e0f42612ab569e1e4067d5ede3bf8 22-Jan-2010 John Wang <johnwang@google.com> Handle emergency calls only status in ServiceStateTracker.

For bug 2352094, handle emergency calls only status and
pass the emergency calls only string via SPN_STRING_UPDATED intent.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
ac376f4854e3ddf0b8fc337dfbdfe8f2ec3e62ed 21-Jan-2010 Wink Saville <wink@google.com> Fix build, GsmServiceStateTracker was using old EventLog API.

Change-Id: Ib202d0ebbbb11c0ccad40445426c0c3704eb30b5
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
88a195b58aa06d0c73ce5cc927fdab2cce996751 21-Jan-2010 John Wang <johnwang@google.com> am 7319d94f: am 99f2a4bb: Merge "Add Event log for RAT switch." into eclair

Merge commit '7319d94ff1ca898c36d2da8dd0cd8469d91bc5af'

* commit '7319d94ff1ca898c36d2da8dd0cd8469d91bc5af':
Add Event log for RAT switch.
b61c1a0f8b813347f376e7eea6d388342d8adfe3 14-Jan-2010 John Wang <johnwang@google.com> Add Event log for RAT switch.

Write event log while the 2G/3G radio access technology switched.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
3805c7ca324f232972c959e06253de4242f83607 07-Jan-2010 John Wang <johnwang@google.com> Hangup calls before powering off radio.

Bug 2339655. Should hangup the existing voice call (including onhold ones) before powering off radio to ensure the proper sequence at radio protocol level. Otherwise the carrier will treat it as drop calls.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
edc5189c33de03f3e2f5f73edc0e007992b933c9 07-Jan-2010 Doug Zongker <dougz@android.com> change remaining frameworks/base Gservices to Secure settings

Change-Id: I61bdb05a2526523700c2833154d5a4133881ef10
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
62136d3e1c1262fc31a1f77f6d6acbd75e5ea81d 06-Jan-2010 Dan Egnor <egnor@google.com> Simplify EventLog interface -- remove supported for nested
sequences (which nobody used) and streamline the API, adding
documentation in preparation for inclusion in the SDK.

Gut and deprecate EventLogTags, which unfortunately was put
into the public SDK (an oversight). Include the functionality
in EventLog proper, in a simpler and easier to use manner.

This change doesn't actually un-@hide anything, but it does
change it to @pending.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.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/gsm/GsmServiceStateTracker.java
37b80ee451a7404c288738255725f78a5af02130 26-Sep-2009 John Wang <johnwang@google.com> Set roaming based on both data and voice.

In GSM network the data roaming (from +CGREG) and the voice roaming (from +CREG) could be different. Set GSM roaming based on both data and voice roaming status and set it true if either indicates roaming.

This solves the unwanted roaming billing issues and respects the download roaming setting in systemUpdater, DownloadProvider, and MMS downloader. For more details refer to bug 2052473.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.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/GsmServiceStateTracker.java
1c1ffa0cab8b56274970736d7f3b8c00c01c3d2b 01-Sep-2009 Robert Greenwalt <robdroid@android.com> Promote MccTable to telephony and use it for both gsm/cdma

This adds timezone/locale/wifi-regulator-channels initialization to cdma (gsm already had it).

bug: 2071211
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
00416365dedc03c9ed74d94728025fd2d68f648d 31-Aug-2009 Tammo Spalink <tammo@google.com> Cleanup egregious style issues.

No actual code logic changes, only cosmetics.

Change-Id: I81d537610394fcb119dd80ddbc3d3f0295fd5a9a
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.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/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
01ae863611244b745e47190d3ee8ed79db50b549 18-Aug-2009 johnwang <johnwang@google.com> resolved conflicts for merge of 696b912e to eclair

modified: telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
modified: telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java

modified: telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
modified: telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
8c6b883cd3c835df32cab4cbf395ebf648bb7d7e 13-Aug-2009 John Wang <johnwang@google.com> Use dataRoaming in dataConnectionTracker.

Seperate dataRoaming from gsmRoaming. dataRoaming is based on +CGREG returns in GSM while gsmRoaming is based on +CREG returns. Previously, the status of dataRoaming is always treated the same as gsmRoaming. However there is a situation where +CREG returns 0 and +CGREG returns 5, i.e., gsmRoaming is off and dataRoaming is on. In such situation, the phone should setup data connection if the phone enables data service when roaming (for example, data only card). The phone shouldn't setup data connection if the phone disable data service when roaming (to prevent roaming data charge). So gsmDataConnectionTracker should use dataRoaming instead of gsmRoaming to decide if data service allowed.

modified: GsmDataConnectionTracker.java
modified: GsmServiceStateTracker.java
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
6afac8b2926c166458fde085e6068473a95688fe 24-Jul-2009 Yong Zhang <yzhang@motorola.com> Increase waiting time for data disable action in setPowerStateToDesired().

The issue this change fixes is that phone did not send MIP deregisteration
and LCP termination message when user powered down phone while data call was
in dormant state. The root cause is Framework Telephony did not wait long
enough before it sent the request to power off the radio. The fix is to
increase the waiting timer.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
024af038a7ad04bb551c305c235d25e51cbeda13 07-Jul-2009 Jaikumar Ganesh <jaikumar@google.com> Cleanup connection when airplane mode is entered.

The message was being sent to the wrong handler.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
9c2a3be8bad8867cc524d8813dc6468a7ffb3f09 04-Jun-2009 Jaikumar Ganesh <jaikumar@google.com> Fix thread safety in DataConnectionTracker.

All the methods in DataConnectionTracker should be called only through
the handler. Fix this as trySetupData was being called in the broadcast receiver.

Tested: Airplane mode and GPRS retry.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
f315238a2b07c7e84f6ade800e504f520d262e66 01-Jun-2009 Wink Saville <wink@google.com> TODO's from Teleca with modifications from wink.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
e290ed0f610422fa0420b1fbbf37bb1afd04ab82 21-Apr-2009 Tammo Spalink <tammo@google.com> normalize the DATA_STATE_RADIO_OFF event log id definition

Was this different intentionally? It looks internal, and with very limited usage, and so easy to bring in line with the others...
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
b9db7c9f5a8924361ae2f439509e19993d82b884 05-Apr-2009 Mike Lockwood <> AI 144593: Fix GSM cell location updates.
BUG=1761611

Automated import of CL 144593
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.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/GsmServiceStateTracker.java