History log of /frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8834538a4e6066b656d68614361b0af15100b9c9 19-May-2012 John Wang <johnwang@google.com> Change "uk" to "gb" in COUNTRY_CODES.

Since MccTable uses "gb" instead of "uk" for United Kingdom.

bug:6465783
Change-Id: Ifc2e2e7e72bd8405c698474d2ab9d01cb4ca006b
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.java
26e1a02ba3183aba2ba262c6f60602e10dd792e3 11-May-2012 Wink Saville <wink@google.com> Add additional debug for time zone handling.

Change-Id: Ie46bba7e0ef7737a865f7efadbf963c2d14e488f
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.java
1d7c1f11179fae48271b8bcd8bf06760f9cb04ec 03-May-2012 Wink Saville <wink@google.com> Rename isTimeZoneFixNeeded to shouldFixTimeZoneNow.

Change-Id: I01c73a0afaa17793f9dea1b78c9fe49fa138f787
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.java
f0f43227a7dbaab111f6984d8a013776754e6f38 03-May-2012 Wink Saville <wink@google.com> Time can become incorrect when no sim is present or mcc changes.

bug: 6393147
Change-Id: I07ad74998b03af532ccf704a8a7e4844f5829b14
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.java
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/ServiceStateTracker.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/ServiceStateTracker.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/ServiceStateTracker.java
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/ServiceStateTracker.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/ServiceStateTracker.java
d986c609074cda0737a6f06f10700e42fb1704e7 19-Sep-2011 Wink Saville <wink@google.com> Remove isAnyActiveDataConnection and promote isDisconnected.

As Yoonsung Nam pointed out in the bug using isDisconnected
is more precise here and this was the only place
isAnyActiveDataConnection was used. So I've removed it
and promoted isDisconnected to DataConnectionTracker.

It should also be noted that although the Framework should
be as graceful as possible, it is still a requirement that
the radio must be turned off/on anytime the Framework
issues the appropriate command.

Bug: 5306201
Change-Id: I95130451e11c51e43406b57eb538d01f8dde61be
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.java
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/ServiceStateTracker.java
157f9a0449228f8e3fe5d285c9746875aeff1581 12-Apr-2011 Ramesh Sudini <ramesh.sudini@motorola.com> Telephony: Set Radio turned off reason when powered off.

Change-Id: Ie538c888d09b189b30c24fa0fd637265ccce954f
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.java
5203a5bc28a5ae432eab236780b2f97bdec71dbf 08-Apr-2011 Wink Saville <wink@google.com> Cleanup debugging.

Change-Id: I4c61b6716a6d03d70bc1e9013954d6b2002cec54
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.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/ServiceStateTracker.java
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/ServiceStateTracker.java
9d7d5b44355f0554ed13851ec11ec68a273ba56b 05-Mar-2011 Wink Saville <wink@google.com> Do not merge: Fix 3G connectivity bug 3513741.

ServiceStateTracker the registerForDataConnectionDetached needed to
test for !STATE_IN_SERVICE so that the other values for state also cause
the detached notifciation.

CdmaServiceStateTracker needed to use the ServiceStateTracker lists
and not the cdma specific lists for registration, which are now deleted.
Also removed an unused import.

CdmaLteServiceStateTracker cannot use the deleted cdma specific
registration lists.

Bug: 3513741
Change-Id: I0939a47251ffc70ea5c9e4675a4b4179d9c718b1
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.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/ServiceStateTracker.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/ServiceStateTracker.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/ServiceStateTracker.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/ServiceStateTracker.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/ServiceStateTracker.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/ServiceStateTracker.java
4adacd23d4c91569b16fe50419f1a91f68d805bd 12-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: If6730b50627b2231bd345e594d8d30a37557849e
0a5174a6e947d5cbeb8846a1273a90b6de065cbf 21-Apr-2010 Naveen Kalla <nkalla@codeaurora.org> Add support for EVDO Rev B

Change-Id: I8588e8b342c51f4b79bced8ef8fe60d57f07aefa
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.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/ServiceStateTracker.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/ServiceStateTracker.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/ServiceStateTracker.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/ServiceStateTracker.java
fa2944d93f4c5050fb4a99d90006791c2995b31c 14-Aug-2009 Yong Zhang <yzhang@motorola.com> Replace loop-delay in setPowerStateToDesired() with async approach

Issues to be addressed:
The method setPowerStateToDesired() in CdmaServiceStateTracker class sends
a msg to CdmaDataConnectionTracker class to deactive data call, and then starts
a loop which calls SystemClock.sleep() to wait for several seconds.The purpose
of this is to wait for data-disconnection before sending RADIO_POWER off request.
However, the CdmaServiceStateTracker and CdmaDataConnectionTracker are running in
the same process so that the CdmaDataConnectionTracker is not able to process the
message to deactive data before the loop ends.

The patch includes the following changes:
1) In setPowerStateToDesired() in CdmaServiceStateTracker, replace implementation
of loop-delay by sending a delayed msg to set RADIO_POWER off.

2) In CdmaDataConnectionTracker, when getting EVENT_DISCONNECT_DONE, call a new
method in CdmaServiceStateTracker to process pending request to turn RADIO_POWER
off.
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.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/ServiceStateTracker.java
daccacb865947c00f277f1823333e2fbf91e652a 10-Jul-2009 Wink Saville <wink@google.com> Change 107 and 146 from partner repo.

These were combined to save testing time.

cpr107:
Enhance the MDN change during OTA

1. Remove the OTA MDN change code in RuimRecords.java and move
to CdmaServiceStateTracker.java
2. Reduce the frequent function GET-CDMASubscription. Move the
Get_CDMASubscription from pollstate() to EVENT_NV_READY handler.
The CDMA Subscriber MDN/MIN is only changed by OTA programming.
Only need fecth the subscriber information when power on and OTA
completed.
3. Add new variable for PRL version in cdma subscription

cpr146:
SMS-to-Email fix for extracting e-mail address
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.java
cf2119a9755d9e2713ce78e84d0826d430a11a62 26-May-2009 Jaikumar Ganesh <jaikumar@google.com> Check for desiredPowerState (airplane mode) before setting up data.

Check for airplane mode before trying to setup data.
Send an event while switching from wifi to cell data,
instead of calling trySetupData directly.
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.java
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.java
0a57e5b730beaea75c1c1b1ca51b40c463918b4d 23-Apr-2009 Tammo Spalink <tammo@google.com> removed extra event log tag
/frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.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/ServiceStateTracker.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/ServiceStateTracker.java