History log of /frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5b31fdae6004c48e4915afb084c3f7944ac0f9aa 13-Feb-2010 Wink Saville <wink@google.com> am 58d6a20c: am 6b178e47: Merge "Always assume evdoXxxx signal strength values are correct." into eclair

Merge commit '58d6a20cfaa55ebe269ac0736999b90c3227b0c1'

* commit '58d6a20cfaa55ebe269ac0736999b90c3227b0c1':
Always assume evdoXxxx signal strength values are correct.
7d97ff10c7555d6b80dc5e6925f066fa8df8258c 13-Feb-2010 Wink Saville <wink@google.com> Always assume evdoXxxx signal strength values are correct.

This solves a race condition between the network type changing and
a signal strength changing. This could cause StatusBarPolicy to see
the -1 values for the evdo strength parameters and hence 0 bars would
be displayed.

Bug: 2419251
Change-Id: Iba0bdbd2023b6a5e49fc1f82c997ec3219158286
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
9384b145e625b3bb6ff8b829ddb1466e16a78f49 11-Feb-2010 Mark Vandevoorde <mtv@google.com> Map base station lat-lng of "0","0" to undefined.

Also introduce a public constant for the invalid lat/lng value.

Change-Id: Ifaa1e563bfa94c06dfbba51157b9160055442682
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.java
db9f06d9c44cd640f282b1a631ae82d3652beeef 13-Nov-2009 Wink Saville <wink@google.com> resolved conflicts for merge of 2a1e9641 to eclair-mr2

Change-Id: Ie1e1e686a7ef26a8a3f583c9660930eb16ca2659
f7394fcaedbbf84f7934d0bfcc157948a2d5c166 12-Nov-2009 Wink Saville <wink@google.com> am 38210df3: Merge change I326c1f7e into eclair

Merge commit '38210df337a1485bd3d2eb5adc223f443fe1b5b0' into eclair-mr2

* commit '38210df337a1485bd3d2eb5adc223f443fe1b5b0':
Throttle nitz updates as the are too numerous on cdma.
ce9b59f0ba00e006d2697480b5e5d1fcbd0d2818 12-Nov-2009 Wink Saville <wink@google.com> Add code to use Gservices provided values for throtting NITZ updates.

bug: 2251845
Change-Id: Ie122606fb852868bb76a9930bb5e6ba906273619
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
aeff5fd8eb17bc0f611918d6482139c1921e7b60 11-Nov-2009 Wink Saville <wink@google.com> Throttle nitz updates as the are too numerous on cdma.

bug: 2251845
Change-Id: I326c1f7e28d19b678ea748e36f8286dd1378cecf
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
6183a3ed5b72902a8e4a441b4d9e99630cb42ee3 22-Oct-2009 Naveen Kalla <nkalla@quicinc.com> am 076cb23a: Merge change I13dd02fc into eclair

Merge commit '076cb23a024f256817b5dc22830c3f9a9e0a44a7' into eclair-mr2

* commit '076cb23a024f256817b5dc22830c3f9a9e0a44a7':
telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing
cc5c1ad53ce4541f17842daba29e7ccba221c079 16-Oct-2009 Robert Greenwalt <robdroid@android.com> Move calc of EriIconIndex/Mode to whenever basis changes

We need this info in the ServiceState, but rather than calcing it every time
a ServiceState is requested, we can update the values whenever the constituents
change.

bug: 2182568
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
d393184ac595ab5490c77305a27fd049badf9a5d 12-Oct-2009 Naveen Kalla <nkalla@quicinc.com> telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing

When Android Telephony receives response to GET_REGISTRATION_STATE
message from RIL it may contain few fields set to NULL. Due to a parsing
exception encountered while parsing that field, the remaining fields will
not be parsed even if they are valid data. Ignore all fields that are NULL
while letting it parse non-NULL data.

For Latitude and Longitude, the values should not be hexadecimal. They
shall be parsed as decimal values as specified in the 3GPP2 C.S0005-A
specification. Invalid value is changed from -1 to Integer.MAX_VALUE.

Bug: 2201613
Change-Id: I13dd02fcfa2ae7fcb6f21c4b94b830786bd7270c
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
e4e8e4d4f2a8ccd552670df592bed67481133344 04-Sep-2009 Yong Zhang <yzhang@motorola.com> Resolve race conditions with disconnect of CDMA data and airplane mode

Specifically, wait for data to be deactivated when setPowerStateToDesired()
is called during data activation.

Bug: 2101430
Change-Id: Ia97dd799f779c3f88f66bc1235e7a65958e1e04f
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.java
5b462477a90cd08551149fc649ff3035b5331d2d 02-Sep-2009 jsh <jsh@google.com> Fix some sign in errors.

AccountManagerService.SimWatcher was checking if storedImsi = "initial"
instead of null as an initial condition. Also, on NV-only CDMA devices
we were only sending SIM_STATE_CHANGED notifications when the radio
powered down, which meant storedImsi was only initialized if the radio
powered down.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.java
50e05ead5e4fb2e4899e2e1c92cd48692b254ac8 14-Aug-2009 jsh <jsh@google.com> Trigger data connection update if network type changes.

Data connection icon could be stale otherwise.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.java
d23b2cd28cae547aaa884964c3fef2a010bcca3a 27-Jul-2009 Libin Tang <Libin.Tang@motorola.com> Fix CDMA ERI/roaming indicator issues

- If the SID is not in NAM and PRL, the phone should use default Roaming
Indicator
- If a system is acquired that matches the NAM but does NOT match the PRL,
the device shall display a FLASHING roaming indicator
- Handle corner cases for PRL is not loaded / Home SID is not programmed
- Reorganize the ERI logic
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
d2fb98006054f94753d8c58cf6a809840964db2e 30-Jul-2009 johnwang <johnwang@google.com> Represent SID/NID in decimal format.

Interpret SID/NID ad decimal and add try/catch block to prevent crashing in wrong format. Update SID/NID comments.

modified: java/com/android/internal/telephony/CommandsInterface.java
modified: java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
96f2747dd6fabd998619524bcff4a44502a64bbd 23-Jul-2009 Yong Zhang <yzhang@motorola.com> Fix wrong Singal Strength interpretation.

The issue this change fixes is that phone status bar shows full
signal strength bar even when phone is in bad signal area. The
root cause is that the signal strenth is incorrectly interpreted.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.java
97b270abd5e5200a3c512e08e06033397e2abfd6 24-Jul-2009 johnwang <johnwang@google.com> Fix bug# 1997056

The SID and NID in CDMA_SUBSCRIPTION are in hexadecimal format. So change the parseInt() in CdmaServiceStateTracker and add comments in CommandsInterface.

modified: java/com/android/internal/telephony/CommandsInterface.java
modified: java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
modified: java/com/android/internal/telephony/RIL.java

modified: java/com/android/internal/telephony/CommandsInterface.java
modified: java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
modified: java/com/android/internal/telephony/RIL.java
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
142eefc67b661a63f95dd2b92cf622e7b57fcb4b 17-Jul-2009 Wink Saville <wink@google.com> Implement IMSI function for CDMA phones

Includes support to get the MCC and MNC from system properties, since
they are known to be unreliable from the network.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
90b34b37731307cd0ccd5dfa60971364b37515d8 16-Jul-2009 jsh <jsh@google.com> resolved conflicts for merge of 8e0fb366 to master
ae49180f280fdda509103a403ec909fbebdf3971 15-Jul-2009 jsh <jsh@google.com> Minor tweak to CDMA_SUBSCRIPTION.

H_SID and H_NID are now comma separated lists, so update CdmaServiceTracker
accordingly. Note: For now, we still only store away the first of each.

Also remove H_SID and H_NID fetching from RuimRecords.java, since it is unused
(and unlikely to be used) in that class.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
2872e30684cf837e330c8fa3bb8b2a2b73d44ddb 07-Jul-2009 Mike Lockwood <lockwood@android.com> DO NOT MERGE: backporting from master:

CDMA: Add Network ID and System ID to CdmaCellLocation.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
56d97ebb3ab05407ceea781c5bddc4527f98d828 24-Jun-2009 Cheng Yang <a17673@motorola.com> Add Get-CDMASubscription in EVENT_RUIM_READY.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
a4d2fb5ef6bb5dfb6e26ac6a139de389984db5d3 07-Jul-2009 Mike Lockwood <lockwood@android.com> CDMA: Add Network ID and System ID to CdmaCellLocation.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.java
bcd18e0151cf0d7a16f98eb997515bf9e28dd6a4 08-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 62edc960: Merge change 6383 into donut

Merge commit '62edc960224fd6410d5e08cbb0e09ee4ac6e0c44'

* commit '62edc960224fd6410d5e08cbb0e09ee4ac6e0c44':
Cleanup connection when airplane mode is entered.
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/cdma/CdmaServiceStateTracker.java
8e80fd4478764643ac9543d63a77db62014a843a 06-Jul-2009 Yong Zhang <yzhang@motorola.com> Add the condition check of ERI for CDMA roaming.

With this fix, phone will not show that it is roaming
when it is not, and there is no need to enable the
"Data Roaming" in order to get the data to work.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.java
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
a14f47f975064816df3008e66055d41ddb9d7353 22-Apr-2009 Wink Saville <wink@google.com> Changes for new ril.h.

These allow RIL.java to assume ril.cpp is interfacing
to the new CDMA capable vendor ril. At the moment we
don't have a full CDMA capabile ril so thre are some
NEWRIL:TODO's in the code base to identify these areas.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.java