History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d009ecff130b903cd597621b60ec84cddc0c4f16 21-Oct-2016 Jack Yu <jackyu@google.com> Update the proto and service state logging.

1. Update the proto so the version used on the device is
in sync with the version on the server.
2. Added CDMA service state logging in pollStateDoneCdma() and
pollStateDoneCdmaLte().

bug: 31224848
Change-Id: I7c56f4c23ebc0db126d44e9a119ad71289781ca1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
0db7db3a7f93eec7c86ac4de0947206ce8493430 30-Sep-2016 Jack Yu <jackyu@google.com> Merge "Combined TelephonyEventLog and part of the connectivity metrics app into the new TelephonyMetrics" into nyc-mr1-dev
f2d0fa64860a12423fb8709766d6af90fba5e6cf 27-Sep-2016 Jack Yu <jackyu@google.com> Combined TelephonyEventLog and part of the connectivity metrics
app into the new TelephonyMetrics

Added the new TelephonyMetrics to support metrics collection
through dumpsys.

bug: 31224848
Change-Id: If4b6032e98b6cc8b68e8459e0e799a3755b1f2f9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
1fb93b5f57b92a2951a0ca2122ad17809b45675e 28-Sep-2016 Robert Greenwalt <rgreenwalt@google.com> Plug hole in Roaming indication.

If we change phone types after falling into a roaming condition
(due to other bug/race) we were tossing the old state and not
notifying listeners. This could leave listeners thinking we
were still roaming.

Also added logging to try to catch this in the future and made
DataConnection (a listener) more robust by rechecking the roaming
state when it connects.

bug:31278802
Change-Id: Ica5b2bbf1cb6fde5bc11994d1a699c53ac562ade
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
b4d7a8ad67f901661094e14a3c7acbd4ab65513d 07-Sep-2016 Amit Mahajan <amitmahajan@google.com> Use ERI to update operator name before updateSpnDisplay() if needed.

Bug: 31308687
Change-Id: Id8907abc8f76cc77b5bcfeee4d5ed34bf18e71e3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
fce584177afabb301d8ecbeea55f432adcee5e0b 08-Aug-2016 Amit Mahajan <amitmahajan@google.com> Use correct SPN format for WFC.

Bug: 30474919
Change-Id: I082dfd847316c15a2e4eda86e21e003e3ac398d5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
ca882dcdf8dfd9fa01f402108a7aaea2a041c363 30-Jul-2016 Robert Greenwalt <rgreenwalt@google.com> Merge "Stop exposing LTE_CA as a RAT type." into nyc-mr1-dev
aad98b463eae7b3f24913948b3eafba37d7b22dc 30-Jul-2016 Amit Mahajan <amitmahajan@google.com> Merge "Call pollState() in APM if RAT or radio state changes." into nyc-mr1-dev
07a76e6efd5b6e9193cd159c82c88c4eb79d117e 29-Jul-2016 Amit Mahajan <amitmahajan@google.com> Call pollState() in APM if RAT or radio state changes.

Earlier state was never polled in APM. With b/27486486 it was done
on network state changes since that is considered a modem trigger.
RAT and radio state changes are also modem triggers and should
trigger pollState().

Bug: 30286279
Change-Id: I6695a8db5b61170643cc4a81c7db25072804b306
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
2cd7606f4d72cb7340c164aebb1835cd87f4996c 29-Jul-2016 Robert Greenwalt <rgreenwalt@google.com> Stop exposing LTE_CA as a RAT type.

Instead use a new hidden field in ServiceState until we
get a real api in O.

bug:30480638
Change-Id: I40e3eeddced2c8f078c51fe8be4d45ce2e1139df
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
2f43e7848e6039b1f7541ef129fedad3b66947f0 26-Jul-2016 Robert Greenwalt <rgreenwalt@google.com> Fix tcp buffer sizes on LTE_CA.

Make them the same as LTE since we don't have an overlay setting for
LTE_CA (nor do we want one).

Also noticed that on CDMA/CDMA+LTE we didn't enable the ratcheting
mechanism so we'd bounce between LTE and LTE_CA unnecessarily.

bug:30269506
Change-Id: I34d308c7ee92745ce18700f31b8b68e78728b01e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
fdd6fb424d920e22f7bcd36115df4d6f2ecf53d0 01-Jul-2016 Brad Ebinger <breadley@google.com> Add a public method to access the Radio state

In order to be sure that the Radio is available to communicate, we now
check to see if the radio is available for commands. We are going to use
this in emergency calling to make sure that the Radio is on (and not
still in the unavailable state) after disabling airplane mode.

Bug: 29039211
Change-Id: I3ee828e165f8e9501de4650c06172ad33c93d51f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
0d5e6cc0fdfb839d63abe1e7eb85eee1b5942108 30-Jun-2016 fionaxu <fionaxu@google.com> Fix airplane mode doesnt persist cross boot-up

Bug: 29645680
Change-Id: Ic179390dbab365a026e159895c2c5de2ad90508e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
000f48b9c960010bf41cd22b8625b4ff16c2e719 29-May-2015 Ajay Nambi <anambi@codeaurora.org> Add support for LTE CarrierAgregation

Note this may be redesigned in O to better handle the
various bitrate/channel combinations in a sane way.

bug:27360321
Change-Id: I29dc8cbbdec60b3a5c0eed8117e3b7bb27f429ed
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
8c751b4ec57a6f2a7702d9ee003b0ec721c2ebac 10-Jun-2016 Robert Greenwalt <rgreenwalt@google.com> Add a Carrier-config specific ratcheter of RATs.

Only reports transitions to higher RATs within a given family.
Reset when we move to a new cell.
Avoids costly propogation of RAT flapping within the family,
for example every outgoing data pops us into a higher RAT and
idle time pops us back down.

bug:27360321
Change-Id: Ifd219eda701eb2c87a8b6798d919f71fab804f5d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
7cd0ed851ad96291d414fa685beda96edfa0fc6b 21-Jun-2016 Chen Xu <fionaxu@google.com> Merge "add upper bound on nitz year" into nyc-mr1-dev
b4237f12fd73204e9775909e03d9277e59d94766 20-Jun-2016 fionaxu <fionaxu@google.com> add upper bound on nitz year

-framework will ignore NITZ time after Jan 1, 2038 to avoid malicious
basestation hack phone time and cause phone crashes
-unit test

Bug: 29083635
Change-Id: I4f60610ed13f5d6e7b0cf18f43708be2e528368c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
d4d44ac2eb661cb8b5faaaa549481b8ab39b1f28 16-Jun-2016 Nathan Harold <nharold@google.com> Merge \"Move Spammy SST.getAllCellInfo Logs to Verbose\" into nyc-dev
am: 5dc5ace26c

Change-Id: I3ef1cb4cc70cc8adb0f7342c20f2905864eb5c20
bf05060c53755d5a9c35dbe7754bc96e61fe530f 15-Jun-2016 Nathan Harold <nharold@google.com> Move Spammy SST.getAllCellInfo Logs to Verbose

The relative frequency of the getAllCellInfo() logs and the
large size of these log lines is contributing substantively
to the log eliding of the RADIO_LOG buffer. Because the RILJ
call contains all the same info these logs add little value.

Bug: 29368040
Change-Id: Ia3ebf3d74986f8f12ac2adbd2dfd7283bb8162b5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
4c31e4c0d2db31fe84081aa6f1e2bcc08b31f9d3 24-May-2016 fionaxu <fionaxu@google.com> cold sim clean up

- add new api to control provisioning notification visibility through
network agent
- rework on the interaction between carrier app and framework
- code cleanup
- unit test support
- hook pco value into datacallcomplete, enabling test by set sysprop for
pco values

Bug: 28567303
Change-Id: Id6b9b2aff4c4f128103593aab0bcef1c3a365141
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
f6d865fd88a8326126e2b3f836b94cfebba3a5a7 25-May-2016 Derek Tan <derektan@google.com> Use getConfigForSubId instead of getConfig(int).

Per API review, we want to revert getConfig(int) to
getConfigForSubId(int) (ag/1075011). This CL changes all
callers to use getConfigForSubId(int).

Bug: 28295813
Change-Id: Ib55064226da5371d5acf014c0e0c20f3724d02c4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
202a635a13483c144e9063bf610f26979a54501f 21-Apr-2016 Nathan Harold <nharold@google.com> Remove synthesized CellInfo reports from ServiceStateTracker

This CL removes the legacy code from ServiceStateTracker that
was synthesizing highly incomplete CellInfo reports under very
specific conditions (only in LTE-CDMA mode). This was causing
CellInfo to be sent that consisted of a single LTE Cell Info
report that was missing information. Because this only worked
when the serving cell was LTE / the device was in LTE-CDMA mode
it was also inconsistent.

-Remove the hack to update CellInfo on unsolicited SignalStrength
change reported by RIL (only active in LTE+CDMA mode).
-Remove the hack to update CellInfo on Data Registration State
change.
-Remove the now-unneeded mCellInfo and mCellInfoLte structures
from SST.
-Remove the obsolete decoding for the LTE Cell Info in the
DATA_REGISTRATION_STATE message.

Bug: 27949013
Change-Id: I0ac6f8f93a1d1177a246d5cd2843025b8f9b34a9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
a02b6fd88953d783c32e6d7f84b7eddbc0d1faf1 08-Apr-2016 fionaxu <fionaxu@google.com> Cold Sim fix for DataConnection and DCT

Bug: 25203607
Change-Id: I3bbef77edf57eaa8d7da24d687cc9b5ab0ef111b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
bd937c188c09bbd7f3d6ad62f2e4c6d28ab48de2 14-Apr-2016 Chen Xu <fionaxu@google.com> Merge "Update OTASP status correctly" into nyc-dev
3ec3d688f20f425a7176fd1fe08134d7c2d4b1da 07-Apr-2016 fionaxu <fionaxu@google.com> Update OTASP status correctly

fix the scenario: ICC records are loaded and OTASP_NEEDED, and then
we switch from CDMA->GSM->CDMA. In that case we end up sending
NOT_NEEDED and UNINITIALIZED, or just UNINITIALIZED -- and in either
case we don't send NEEDED again.

Bug: 28056182
Change-Id: I56d16fe68aeb69f333e53f4a4cd643c2143d39f5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
6caa786236a1b2793f0969a72fbbad3f59067dd9 14-Apr-2016 Pavel Zhamaitsiak <pavelz@google.com> Merge "Don't use overlays for WFC error messages and SPN formats" into nyc-dev
9e51994d8ccf00bf56f54d5875e77732c4558480 14-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Switch TelephonyEventLog from using ITelephonyDebug to ConnectivityMetricsLogger" into nyc-dev
2dd874066ed871c8adf50f58e4b025d525db78eb 09-Apr-2016 Jack Yu <jackyu@google.com> Moved ERI configuration files from resoures to Carrier Config.

Used Carrier Config to load correct ERI configuration file since
there are MCC/MNC shared by different carriers.

bug: 23887558
Change-Id: Ibe2ff7862bf50e31b52fb783c49bda993f8d2ca7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
af060eee085e90a2979a392384ccad368e92fc7a 12-Apr-2016 Pavel Zhamaitsiak <pavelz@google.com> Don't use overlays for WFC error messages and SPN formats

- Error alert and notification messages are stored as string arrays in
resources. CarrierConfig stores carrier-specific error codes and corresponding
index which is used to get appropriate messages.
- Supported SPN formats are stored as string arrays in resources. CarrierConfig
stores index used to get appropriate SPN format.

Bug: 27170754
Change-Id: I7f3635ec0ae73d6190b4b73b11ad13058fc25d54
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
7a1c1b02c8603c2bf2f3b401facb389528180eed 08-Apr-2016 Pavel Zhamaitsiak <pavelz@google.com> Switch TelephonyEventLog from using ITelephonyDebug to ConnectivityMetricsLogger

Bug: 28026463
Change-Id: I3c4f14e8a6611f0cb5c52eb24573621d3a13c4cb
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
98510b979842f032c62853b568f5f7d76547e4ff 07-Apr-2016 Sandeep Gutta <sangutta@codeaurora.org> Notify call state when phone app starts and SIM is loaded.
am: 9dd3a9f

* commit '9dd3a9fff75ee1d6aceff626126f6e3324f20ddb':
Notify call state when phone app starts and SIM is loaded.

Change-Id: I016c765ef34dac41dd8245c16fdb877fefbe1c81
9dd3a9fff75ee1d6aceff626126f6e3324f20ddb 05-Feb-2016 Sandeep Gutta <sangutta@codeaurora.org> Notify call state when phone app starts and SIM is loaded.

If phone process crashed during an active voice call, even after restart
of phone app, clients still get call state as OFFHOOK since
TelephonyRegistry has the old infomration and whenever new client is
registered that old infomration is given resulting in erroneous UI
behavior. Present fix sends call state update when phone app
starts so that TelephonyRegistry resets its information.

Bug: 27903802
Change-Id: Ia606b79f5646863187af6f3e22ca9aa8edc2bdf1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
0b24cf9fa32362616f3c55da9c0ec768c4bd174b 31-Mar-2016 Amit Mahajan <amitmahajan@google.com> Set isGsm flag in SignalStrength correctly.

Bug: 27541623
Change-Id: Id399f67e0d1a73e9485b71a5907e716a79297b2b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
f32222bd7bf1e3e619b1451b46f7f4aa94474ba1 29-Mar-2016 Sanket Padawe <sanketpadawe@google.com> Unit tests for ServiceStateTracker

+ Adding unit tests testing public functions in ServiceStateTracker

Bug: 25691379
Change-Id: If99e7df70f1168124b361cc5e406a01021024136
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
542e6616bc1f24be11e48816ab9359af9e77907e 22-Mar-2016 Amit Mahajan <amitmahajan@google.com> Mark updatePhoneType() as @VisibleForTesting.

Since function is changed to public only for testing.

Bug: 27746848
Change-Id: I654965885e41a15706538fa2ee0b609e5a1db2bc
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
55ff0eb7c2f9910c13f03f63514198b95e382973 22-Mar-2016 Amit Mahajan <amitmahajan@google.com> Merge "Change to handle RUIM_RECORDS_LOADED only if phone type is CDMA" into nyc-dev
dbe4d7749d5524be575f629486874acdae721138 19-Mar-2016 Amit Mahajan <amitmahajan@google.com> Change to handle RUIM_RECORDS_LOADED only if phone type is CDMA

Same for EVENT_POLL_STATE_CDMA_SUBSCRIPTION, and similarly
EVENT_RESTRICTED_STATE_CHANGED only on GSM.
CL also includes change to update icc related info after RAT
specific initializations are done (on phone type switch).

Bug: 27746848
Change-Id: Ia25e1219ab473b6542ffc40d27dae1719b370660
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
b9e8a7d21c671240b387bb6b8e8314aa710c0d57 18-Mar-2016 Robert Greenwalt <rgreenwalt@google.com> Refine pollState when the modem is off.

It had been fixed to not ask the RIL for state if the modem was off
unless we're on IWLAN. However, the first indication we're on
IWLAN comes via a pollState response. Modified to also poll
if the pollState trigger came from the RIL (ie, a network state change
notification).

bug:27486486
Change-Id: Ibaed6e2e98d27e651faeeccf71d43e7ff77c938b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
7a537e99ff1c0dee1dbf18f844ea128cb0557de3 14-Mar-2016 fionaxu <fionaxu@google.com> Clear MWI notification for Sim removal

bug: 27650018
Change-Id: Ideda175a45d5c4f354303fb09d6001cc5a2b7174
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
c34634fa2aa3d76d5fcc5a6b3ace28a78c3aa145 25-Feb-2016 Amit Mahajan <amitmahajan@google.com> Merge "Ignore case in ONS when setting roaming" into mm-wireless-dev
4d57312df1bc062e63790f776a5f06faa3211d85 25-Feb-2016 Amit Mahajan <amitmahajan@google.com> Ignore case in ONS when setting roaming

When home vs roaming is decided, roaming could have been set
instead of home because isSameNamedOperators checked
if spn is equal to onsl and onss so something like this could
happen:
SPN=carrier vs ONS=carrier => home
SPN=Carrier vs ONS=carrier => roaming

Ignore case.

Bug: 26321337
Change-Id: I92a7b8b1ebdc22968a2856a6694d487607546303
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
7d592679b92a2fb35514193f2f95cd0138035050 18-Feb-2016 Robert Greenwalt <rgreenwalt@google.com> Fix ServiceStateTracker.pollState with radio-off.

IWLAN change dropped the "break" line causing us to always send
another round of ril requests even when the radio is off.

Change-Id: If838438c742abb4056a64fc7ae30afd53e7e229e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
38ae1f3fe18087d3fa061b4065ceda3204fd6100 23-Feb-2016 Pankaj Kanwar <pkanwar@google.com> Merge "Changing string in notification when data is blocked. b/25209821" into mm-wireless-dev
aaa1c3a12afceacce3648abebdbf00fec2f8cc8b 13-Feb-2016 pkanwar <pkanwar@google.com> Changing string in notification when data is blocked.
b/25209821

Change-Id: Ifb1609ad8b8da87eef1511944214be04e6f5d6f5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
97b3c4e45f156d8d5ae25a32357c9b31e018da32 10-Feb-2016 Amit Mahajan <amitmahajan@google.com> Support for storing voicemail count for multi-sim.

Bug: 18108420
Change-Id: I08edb714b839b44472b3b7a4d0aba287da2969d3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
716376f58f1ab675f56b967323d8073b4cf5be40 04-Feb-2016 Jack Yu <jackyu@google.com> Merge "Fix the neighboring CID on GSM(GPRS) network." into mm-wireless-dev
66fb0378fd913dfe564c8e31b5ef379592242615 04-Feb-2016 Jack Yu <jackyu@google.com> Fix the neighboring CID on GSM(GPRS) network.

Set the data network type system properties with the correct RAT.

bug: 26956224
Change-Id: I2a046c3974930c25a2fb3c98cbfef76b83a0d8a3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
32b5fbb1a340fa16e2c37c276517ef10a4934500 03-Feb-2016 Amit Mahajan <amitmahajan@google.com> Unit tests for GsmCdmaPhone.

Also creating abstract class TelephonyTest that can be extended
by other unit tests.

Bug: 25691379
Change-Id: I9437642a0bab68c6b573954e587181ff7d04d217
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
3f0470d534641b1c2e2da720516261852a95a36e 02-Feb-2016 Amit Mahajan <amitmahajan@google.com> Handle EVENT_CHECK_REPORT_GPRS only for GSM.

The message is sent only for GSM and is sent with a delay. By the
time it is received the phone type may have changed.

Bug: 26906366
Change-Id: I34ab7dda5e5e299c810e6134aeec9ea3df099dea
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
003753ff3b4cc82bdeee91a17aa862402f8bcddd 01-Feb-2016 Amit Mahajan <amitmahajan@google.com> Merge "Cleanup access modifiers." into mm-wireless-dev
604d70ccbf958d1abd92b128fa18a9f17b42b133 30-Jan-2016 Amit Mahajan <amitmahajan@google.com> Cleanup access modifiers.

This is useful for tests. CL also includes minor cleanup in SST.

Bug: 25793157
Change-Id: I068af6bfd9ea9e04e95244d23f830731aef38ee1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
44b9d5b470fb45c0f59073f56cb48a2501996259 29-Jan-2016 Jack Yu <jackyu@google.com> Fixed two flacky service state tracker tests.

Also fix the inconsistent way to get carrier config service
in service state tracker.

bug: 25691379
Change-Id: Ib725954d10d5515ac395a595df744353e788afe5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
9c32a1e9495f06905377c9e2b91c0ef9cdb0528f 26-Jan-2016 Jack Yu <jackyu@google.com> Reduced more radio log spam.

Reduced more radio log spam by some code path optimization.

bug: 25956251
Change-Id: If040543d0eb8e03a814225aa6694e22818c1d357
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
38ca51d0f643405df51e78fce6c546424e9f410d 25-Jan-2016 Shishir Agrawal <shishir@google.com> DO NOT MERGE : Unhiding MSIM APIs.

1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: I9e623100358d65f1ab853c33599cb78f100f7e3a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
b6514b21f3d8ed47a088b741a18fe0b1de2308ea 15-Jan-2016 Jack Yu <jackyu@google.com> Fixed the broken testSetRadioPower test.

Fixed the broken testSetRadioPower test due to telephony debug
service change.

bug: 25691379
Change-Id: I1fb25671eda2ae53ba2165a0e0c64cc4525ac81b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
e36f59c8a17246eb7924ba1d2bf70f6a2eead1e2 12-Jan-2016 Amit Mahajan <amitmahajan@google.com> Mark internally used functions private in GsmCdmaPhone.

Includes some (mostly cosmetic) code cleanup too.

Bug: 25793157
Change-Id: I8f0eb8b3ead18f29ca146637dca6ffd659a9f699
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
dd10548e98d52fb6cc20a18ad3b3f77eff79591f 13-Jan-2016 Pavel Zhamaitsiak <pavelz@google.com> Merge "Use TelephonyEventLog to send events to TelephonyDebugService" into mm-wireless-dev
b47b0e2bbff98fb3eb4cd6d66887cbea220e1b9e 13-Jan-2016 Amit Mahajan <amitmahajan@google.com> Use mainLooper for OnSubscriptionsChangedListener in SST.

This is needed only for tests. In real scenarios this change is
no-op.

Bug: 25691379
Change-Id: I367956feaea2bda35a795184ef71b7871664e380
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
5054dfa7fd9b0520d30a102ed5a2107af11590c8 12-Jan-2016 Pavel Zhamaitsiak <pavelz@google.com> Use TelephonyEventLog to send events to TelephonyDebugService

Send following:
- RIL Data call events
- RIL Voice call events
- RIL SMS events
- Service State changes
- IMS call events

Change-Id: I865d8852982aca03b770e8712aac707afecb0f79
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
410298cb95b110609193941807aff6c9676d2304 05-Jan-2016 Jack Yu <jackyu@google.com> Removed the usage of setState, which is a deprecated API.

The caller should call setVoiceRegState instead. This also helps
reduce Rlog since we will not see the complaining debug message
about using this deprecated API anymore.

bug: 26404646
Change-Id: I4562ef9b088ab051a291fe1b5ad29216fe5c33e7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
dc3b93d59312b84dcfa776f7691f6a87462b45a2 29-Dec-2015 Jack Yu <jackyu@google.com> Added dump support to more telephony components.

Added dump support to Ims components and also improved service
state tracker dump support.

bug: 25955373
Change-Id: I295ac57be70303b072069dca70fd3b8827461cfc
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
dd4b0f4b5a2def03bd45637be5ceed3e86781f68 16-Dec-2015 Amit Mahajan <amitmahajan@google.com> Added isPhoneTypeCdma() and isPhoneTypeCdmaLte()

Also includes:
- Removed unnecessary unreg/reg of phone with CallManager on
voice radio tech change. This is needed as otherwise Ims Phone may
get unreg but not reg again (on radio tech change).
- Allowing reg/unreg in GsmCdmaPhone regardless of phone type
- Removed unused Call.mIsGeneric

Bug: 25793157
Change-Id: Ie2093a50c1cf64918782076127decff90968fe72
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
c2b66d57e16623dffc2fe6d02ded4f24c014b6c8 14-Dec-2015 Amit Mahajan <amitmahajan@google.com> Code cleanup including removing direct references to IMS classes.

Bug: 25793157
Change-Id: I45ab1394d8585ae3d649f1bb8f67bcd16a946a85
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
0a567c9ed954f295df83c753239646c6f6a04128 24-Nov-2015 Amit Mahajan <amitmahajan@google.com> Adding initial tests for GsmCdmaCall and GsmCdmaPhone.

Also includes:
- Changes to fix/comment out failing tests
- Some cleanup in CallManager related to deletion of PhoneBase and
PhoneProxy
- ContextFixture containing mock Context for all telephony tests
- Phone test that exercises BroadcastReceiver support in the mock
Context
- Test showing how static function can be mocked

Bug: 25691379
Change-Id: Ia38423cef3cfb86389d044cac4e601983fae1192
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
1a87ab3d7170d618f048c4f5af8c7504a587aaa5 10-Dec-2015 Jack Yu <jackyu@google.com> Merge from master

Change-Id: Ifbd86600111d2c444031ff608fab62fb2ee4b236
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
211ed45a3500a84a4b102e22d3235f758ac49563 15-Sep-2015 Jack Yu <jackyu@google.com> Ignore phone switching while shutting down.

Ignoring phone switching during shutdown prevents initializing
the new phone, which sends attach request to the modem.

Bug: 23508972
Change-Id: I2a7bfaaebfc9ed3bc4a265b4fa0a31384195251e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
6c497f695c5c0017c511e471d36bdfc66dbbf605 24-Aug-2015 Jack Yu <jackyu@google.com> Fixed that no service was shown after boot up

The SPN information came too early before the subscription
id is valid hence the SPN info was ignored by MobileSignalController.
We need to send the SPN update intent again after subscription info
is valid.

bug: 23366812
Change-Id: I11ab185d2ffbd34a8d0f3d4096179aee13138f3f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
cdd0ef910a79d75d60222d97c5f33aa154876bfb 25-Jun-2015 Chris Manton <cmanton@google.com> Add override check for home network carrier service API

Bug: 20828356
Change-Id: I620d513445de65fee47016a6b8791f7e0d502b94
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
de2d2034a7df068f3e929ff1d623a80c847b6335 16-Jun-2015 Chris Manton <cmanton@google.com> Check carrier config loader for roaming overrides

Carrier config loader may have roaming and non-roaming
overrides for both GSM and CDMA technologies. Provide
access to get this information and act accordingly.

bug: 20828356

Change-Id: I1baea4bc9d11fdff153a4fc3ca5450e3f7897b86
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
0349fc63faa1e63848cba7718c5002d53e6b0451 20-Feb-2015 Stuart Scott <stuartscott@google.com> Set sub info to modem after capability switch.

bug:19301751
Change-Id: I9a99a36c02144c181aaa1e55798e10b53aab213a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
65bee39d7e417fb898c3948696d5d8a38046c449 20-Mar-2015 fenglu <fenglu@google.com> LCE service implementation - tele service side

-redesigned based on ConnectivityService/NetworkCapabilities

Change-Id: I54074234e1117b41eb6ff761ead9241928585fc6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
519ffa0fab25898c909ed96c10f64b2c23910f88 27-Mar-2015 Pavel Zhamaitsiak <pavelz@google.com> Use different carrier name string for data connection in WiFi Calling mode.

Bug: 19950657
Change-Id: I41cfc78ad559138f9d458ec6eec6e958d363b6ac
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
e51d918511afab905399d9fda7f51442f15bd8a7 12-Mar-2015 Pavel Zhamaitsiak <pavelz@google.com> When Wi-Fi calling is available display SPN as SPN+" Wi-Fi"

Bug:19681794
Change-Id: I2859d4d26c3103d9900befc6f5fe4aa50c6eadb7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
0e42864afb21261d6bd2e9b4aa97f6d01d039a25 23-Feb-2015 Yashdev Singh <yashdevs@codeaurora.org> Telephony: Implementation of IWLAN

- Allow registration polling in radio off state.
- Disable default APN if current RAT is IWLAN.
- Allow non-default PDP activation in radio off state provided
current RAT is IWLAN.

Set data registration state in APM for IWLAN RAT
- APM causes data registration state to be POWER_OFF. Set it
to IN_SERVICE for iwlan case
- In APM, UNSOL_VOICE_NETWORK_STATE_CHANGED resets data RAT and
registration state to POWER_OFF. Ensure that this is done only
when current RAT is not IWLAN or when iwlan feature is not
available.

Change-Id: I419f3df987ef90bb5f31b0e381257a81dcc57c3b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
40dc777432250ec592696c7e1f395d582edb3b5f 12-Feb-2015 Robert Greenwalt <rgreenwalt@google.com> Treat a SIM power cycle as first boot.

TL;DR - forget the previous subId used only for optimization
purposes if we get a SIM_READY notification.

We moved some code that poked the modem from a SIM_READY handler
to a onSubscriptionChanged handler and also protected it
with logic to only fire if the subId changed. This caused
us to not poke the modem on SIM power cycle. Some modems
do a SIM power cycle on airplane mode. The result was
on these modems we weren't causing the modem to register with
the network after airplane mode.

This was often masked because if we were setup to try a
data call these devices were configured to try the data call
regardless of data registration and the act of trying a data call
would cause the modem to register with the network.

If during airplane mode you had turned on wifi, telephony would
stop trying to setup a data call (so we don't poke the network
all the time when on a better wifi connection) and the restoration of
that data request has been blocked until data-registration in the
new multisim code.

bug:19194287
Change-Id: I21b76b7c62a6161d8422b11a831c3747591c56f3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
e70617d81dcd42350a737b11c25532e1d43df4ff 22-Jan-2015 Legler Wu <legler.wu@mediatek.com> [DS] Correct the access method for telephony system property

Revise the method to access telephony system property.
Add several PROPERTY_XXX_XXX_MSIM for MSIM type system properties. If
caller use the old one, it will be dispatched to new one and get by
default phone id.
Ex. PROPERTY_ICC_OPERATOR_NUMERIC

Bug: 18675498
Change-Id: I68b4de1817bb5a34d4a54685332f856e79a39d60
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
d756a6bcf4fe09b561481eb6ed5368bd7b21ca76 16-Jan-2015 Amit Mahajan <amitmahajan@google.com> Change to append subId to network selection related sharedPreferences.

Bug: 19023266
Change-Id: Ia7b2ac5b37d5abb1231288caf923336bf0bec9e1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
062a2a3838c8d8adf16f4d9fbde8d52450da0336 13-Jan-2015 Shishir Agrawal <shishir@google.com> Make UICC code subID-less.

MSIM code introduced code in the UICC objects that refer to the subIds.
This is potentially very dangerous becuase subIds are only initialized after
the UICC object is completely initialized. Hence using subId in the UICC code
could lead to lots of properties being not set correctly.

The new code, uses the phoneId everywhere within the UICC code, which is
initialized when the UICC object is created and will remain constant for the
lifetime of the UICC object.

Bug: 18748407
Change-Id: I1f50abc40b8592751cdeca2de2c76ac9f2d40768
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
19517065ec69bafc5cfc91c8386a7583441ecf6d 15-Jan-2015 Amit Mahajan <amitmahajan@google.com> Change to update carrier text after subId is updated.

Bug: 18752574
Change-Id: I9cb8b7d26fca1654bd2323bd5555a1cfc4e9877d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
33d14d71f4b43d82d6c1b87d1d30cd86d13c5372 13-Jan-2015 Wink Saville <wink@google.com> Rename reg/unreg OnSubscriptionsChangedListener.

To addOnSubscriptionsChangedListener and
removeOnSubscriptionsChangedListener.

Bug: 18984103
Change-Id: I6636905093812af89c1c3702840e44c8c5ea891f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
3972955a3b3730c4e1632949dcaecc6fcc0c0567 08-Jan-2015 Jason Monk <jmonk@google.com> Merge "Have ServiceStateTrackers update Plmn/Spn directly" into lmp-mr1-dev
0192d7f3f201bce2b513749982577c8ddebe3ea2 10-Dec-2014 Jason Monk <jmonk@google.com> Have ServiceStateTrackers update Plmn/Spn directly

It seems that somehow the info from the ServiceState trackers is
getting out of sync with the Subscription database. To avoid this
update the info directly rather than going through a sticky broadcast.

Bug: 18752574
Change-Id: I66a3cb30df6478b7313230252ff2560946297d47
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
ad8eab8645079b88aeba3c7dc77ce885114a0efc 07-Jan-2015 Amit Mahajan <amitmahajan@google.com> Change to update CFI after subId has been updated.

Bug: 18784534
Change-Id: Ib2fc4af2bc036129ac1b8ac0fa6c018c479e3927
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
bd4bb4f2250463ba59dc98be649f6aa4df9fb682 18-Dec-2014 Libin.Tang@motorola.com <w16529@motorola.com> IMS: add the api to get IMS registration information.

Bug: 18668325
Change-Id: Id5b0ed420990bde44b3525c7ec22eb37827d649c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
b8ec2c1d94a76180871a58e14da06e1f0267e503 18-Dec-2014 Amit Mahajan <amitmahajan@google.com> Change to make sure that code triggered by onSubscriptionsChanged() is
executed on popping out and putting same SIM back in.

Basically to handle the scenario where subId goes from X->invalid->X.
This is on top of ag/604848

Bug: 18718732
Change-Id: I42bd7906715e4a9702439c1498a17a3add4c25a6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
b41cbe42c6e7c07c039eac2a871b6a772329d8db 17-Dec-2014 Amit Mahajan <amitmahajan@google.com> Change to ignore onSubscriptionsChanged() in SST if active subId does not
change.

Bug: 18718732
Change-Id: Ib08b62e860d0b6286272836e649cd2c171adc37e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
8002387711e57456dbb4353eb894714592f303fb 11-Dec-2014 Wink Saville <wink@google.com> Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.

Rename isValidSubId to isValidSubscriptionId.

Bug: 18668873
Change-Id: Ie937d20b1bc6d3d63b658abe48e0aa65d830181f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
56dbbcf63e9991ee83945fd10661190d917f700a 09-Dec-2014 xinhe <xinhe@google.com> Unable to send MMS from Bugle accordian release apk

The root cause is the race condition.SubId is not valid
when OperatorNumeric is tried to be stored.

Bug:18582651
Change-Id: I3a6f91b04fcaf7752b039c9a8ebf696c25de3722
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
ffdf8ce51e37e5e45791c9ea11604aa00dffc88e 15-Jul-2014 Jing Zhao <zhaojing@motorola.com> Separate voice and data roaming state & roaming type.

It is possible for voice and data registered on different network,
so the roaming state could be different.

Set voice and data roaming status and roaming type separately.

Bug: 17318123
Change-Id: Iede9132cbf94bc9971702bd9232374585edd5cd0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
4b09dff383ae7dfca595aeeea886a594a1947340 22-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
3bc32aa4a3f533421f82a6d7991bb1971bf78191 18-Nov-2014 Amit Mahajan <amitmahajan@google.com> Change to use subId with PREFERRED_NETWORK_MODE in all places.

MobileNetworkSettings already does that; it was the mismatch that was
causing the issue.

Bug: 18424733
Change-Id: Ib1c6d55c5bf2cff8986c740e96881f34e536b43f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
14ad8ce79de28b7e4a1d25bacb4e51ca027159b4 07-Nov-2014 Shishir Agrawal <shishir@google.com> ServiceStateTracker: Only call updatePhoneObject when the phone is registered.

This is to avoid situations where we switch phone types unnecessarily.

Bug: 18193790

Change-Id: Ic0fa608122a43077ca599d1b1ac5b41365466237
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
e97be3971cb6b55e019433c32524cc60ce0d037b 26-Sep-2014 Wink Saville <wink@google.com> Reorganize and add more dumps within opt/telephony.

In particular dump is added to PhoneProxy which dumps
PhoneSubInfoProxy which dumps PhoneSubInfo this should
provide the desired information.

Also add some additional pw.flush() statements to
minimize the buffer overflows and truncate the output.

Bug: 17545077
Change-Id: I39787a84c97a8fc0410419965f6be2468dec7568
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
1b55fc1e32eed284ed0fec3ec115a956ad4f828a 25-Sep-2014 Sukanya Rajkhowa <srajkh@codeaurora.org> am 17a89329: Trigger phone switch based on config

* commit '17a893295d021cd48ad0e2e6ccf9ceda3f97c70c':
Trigger phone switch based on config
17a893295d021cd48ad0e2e6ccf9ceda3f97c70c 16-Sep-2014 Sukanya Rajkhowa <srajkh@codeaurora.org> Trigger phone switch based on config

When VOICE_REGISTRATION_STATE changes, phone switch
may not be needed as a previous switch would have
happened on receiving UNSOL_VOICE_RADIO_TECH_CHANGED.
Do a phone switch only if the config is true.

Bug: 17394282
Change-Id: I4a4aa98bd0af9eaca46b0d09458a126313e97611
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
38bb6dda49db7023e847d2e827199d7a87cba229 23-Sep-2014 Amit Mahajan <amitmahajan@google.com> am 491ed0cc: Merge "Don\'t disconnect data for some carrier" into lmp-dev

* commit '491ed0cc6eb8ae15af76bb2df2d110be0b34849b':
Don't disconnect data for some carrier
75c934492b242f8ba750b11d9dae4304c76bbc07 06-Aug-2014 Jing Zhao <zhaojing@motorola.com> Don't disconnect data for some carrier

In some network, deactivate PDP connection cause releasing of RRC connection,
which MM/IMSI detaching request needs. Without this detaching, network can
not release the network resources previously attached.
So we are avoiding data detaching on these networks.

Bug: 16207801
Change-Id: Ib2ccc04d67f313e1241872b17ab38416607b0b48
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
d5eaf6c9015c1f36064fb571e1326f98a184ffa1 18-Sep-2014 Amit Mahajan <amitmahajan@google.com> am f3e102d8: Merge "Change to timeout if cell_info_list is not received from modem for 5s." into lmp-dev

* commit 'f3e102d889f223354f568b97324b1ce5fcb73bc7':
Change to timeout if cell_info_list is not received from modem for 5s.
bed429d6d0a0dbc6384b04e0641aa1e03e406f42 18-Sep-2014 Amit Mahajan <amitmahajan@google.com> Change to timeout if cell_info_list is not received from modem for 5s.

Bug: 17348559
Change-Id: I94c4a14ea6e88330082e79a7ba633ac7b18a1a2e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
6bc4098827f3070a44b5e51508b455d7c7be9c07 01-Sep-2014 Wink Saville <wink@google.com> ksd to lmp-sprout-dev

Change-Id: I94eb65c62231b5831570bb0cbbbd9c916bee0a37
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
07cacec1e947abee67aeca1e004d76d14ca42158 23-Aug-2014 Amit Mahajan <amitmahajan@google.com> Merge "Revert "Revert "Add code to handle voice radio technology of LTE.""" into lmp-dev
03b37b67755a4033c6be32ae2e389c310e06e7d1 22-Aug-2014 Amit Mahajan <amitmahajan@google.com> Revert "Revert "Add code to handle voice radio technology of LTE.""

This reverts commit 3beec5e255c514dc419e5cc3021d178b3a416d40.

Bug: 17035252
Change-Id: Ife832f79627f64aa419af5881b8ac0ef32954c3c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
03586878fb3d870373f2fdf65afb81cc5ae97067 02-Aug-2014 Naveen Kalla <nkalla@codeaurora.org> Send Shutdown Request to RIL.

Send RIL_REQUEST_SHUTDOWN to RIL when device is shutting down.
RIL can use this request to shutdown the SIM card and modem gracefully.

Bug: 9773278
Change-Id: I6afa9e810cefc7855f7ae42e51f39cc51fa2aa6e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
3beec5e255c514dc419e5cc3021d178b3a416d40 22-Jul-2014 Jing Zhao <zhaojing@motorola.com> Revert "Add code to handle voice radio technology of LTE."

This reverts commit b54cd09892e0676d719e6df00e60c77b663f993c.

PhoneProxy.java should not be reverted because we want phoneObjectUpdater() to always be called from the handler function. That is done in commit I2fc7220496e66fc2a48f2609e94cbd8eed6adc44

Change-Id: I83b4ffe40a30207ca01d4268de2fc1cde8fff602
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
b93bb3538c55f173f94a4ee7510d9d1521d8f731 18-Jul-2014 Shishir Agrawal <shishir@google.com> Adding the ability for carrier app to override SPN and carrier name.

The change allows system apps (holding MODIFY_PHONE_STATE permission) or
carrier apps to override the "carrier branding" on a per ICCID basis. The
override affects the service provider name as well as the network operator
name. The override is also saved as a SharedPreference and will persist for
the iccId across reboots.

Change-Id: I985ba247e10e2501e3d0d21567ccadc46f365879
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
a8467dd0c524787104b1ccdddc5e8af10ba729ed 13-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
b0b637dbf2a67c0e7eee917c0809f1cc54983986 06-Mar-2014 Robert Greenwalt <rgreenwalt@google.com> Switch from SIM to carrier info for wifi country

Now will also inform when no known country too.

bug:11062898
Change-Id: I4a938119c1c06898b39b3bcc6124031d2f66dd71
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
b54cd09892e0676d719e6df00e60c77b663f993c 12-Sep-2013 Wink Saville <wink@google.com> Add code to handle voice radio technology of LTE.

Sometimes the Voice Radio Technology is reported as LTE but Voice
over LTE (VoLte) is not currently supported and for Sprint we
should default to CDMAPhone in that case. Otherwise the could stay
as a GSMPhone and handling voice calls will fail.

Bug: 10673760
Change-Id: Ic77411b5da415c620fce5a185ca1d7542dfe3b7f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
e356d9a99d41a9350aee7d52ad20fa979463d42c 31-Jul-2013 Robert Greenwalt <rgreenwalt@google.com> am 06f093f7: Merge "Mobile network type is not updated when the network mode is switched."

* commit '06f093f728861837c54a96666ece5dc1853787c1':
Mobile network type is not updated when the network mode is switched.
c4161078eff3305894f1f9f1b2f00952ea0e83d8 18-Mar-2013 Kazuya Ohshiro <kazuya.x.ohshiro@sonymobile.com> Mobile network type is not updated when the network mode is switched.

Because ServiceStateTracker doesn't handle the change of ServiceState
after switching of Telephony FW, SystemProperty used for displaying
the mobile network type does not become to Unknown. To fix this issue,
when the network mode is switched, the SystemProperty should be
initialized to Unknown in the constructor of ServiceStateTracker.

Change-Id: I903ba855b9fe22530db8494a9d2615959970c5a4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
13347e89869fe1d71a75dfec3d7307d62f61796e 04-Jul-2013 Wink Saville <wink@google.com> am c8865f1d: am 0c5a2697: Allow GSMPhone#getCellLocation to report LTE location information

* commit 'c8865f1dfc810e20908f45d3eef431a81544e9f6':
Allow GSMPhone#getCellLocation to report LTE location information
0c5a2697697b49228bd2e23dc8d8217877a0fd7b 04-Jul-2013 Wink Saville <wink@google.com> Allow GSMPhone#getCellLocation to report LTE location information

Bug: 9228974
Change-Id: I7e9b190aa67968f1f2b2b567614c35c5dd5d78fa
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
203e588e3c42a81aa8a56f595119c181a63b12ca 31-May-2013 Wink Saville <wink@google.com> Handling data registration and radio technology changing.

When the DataRegistrationState (aka DRS) or RilDataRadioTechnology changes
aka Radio Access Technology or RAT) while retrying the DataConnection
StateMachine will return the connection as lost immediately. This allows
the connection to be retried with the correct handling of the changed
DRS or RAT quickly, rather than having to wait until retires are exhausted.

Changes:

- Pass RAT in bringUp
- Add the capability to register for DRS/RAT changes with SST
- When DRS/RAT changes in DcRetryState return LOST_CONNECTION to DcTracker

Bug: 9069568
Change-Id: Id4f29a63421af65ce153d24d646c09f7a1e8269b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
f1317a4b3492218ac2e449ee990948bac0295b65 20-Apr-2013 Wink Saville <wink@google.com> On data only devices use data registration state.

Some operators may report that the voice registration state is
not in service on a data only device. So use the Data registration
state for data only devices.

Bug: 8213254
Change-Id: Ieb6eef65fa5afb3d2c1a39b32a5bc5825ccc7f1c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
5fb811ff076aa6b4a9ceca6edaf504a4c6d9ad20 09-Apr-2013 Wink Saville <wink@google.com> Add FW support for CellInfo RIL commands.

Bug: 8235566
Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
60ced166cb63c35a0ebbee1fc356cddcb76b956f 25-Mar-2013 Jeff Sharkey <jsharkey@android.com> Testing property to verify roaming behavior.

Bug: 6777372
Change-Id: Ia698f0eca6f05a6327f6c8b36cfe14f51f01e6e3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
454b1dfd508844b42eb775e4ab2359be74d3672b 23-Mar-2013 Wink Saville <wink@google.com> Rename a few files and variables.

Change-Id: I4e90dbf57797b9485920f943e24fa7a4c29d070b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
22d85a8e3a575a6d01d2c788587971657dfe20c6 23-Feb-2013 Wink Saville <wink@google.com> Clean up member variables.

Change-Id: Ib60f350131ade626aca682407ea0b4377b16f6c6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
cbaa45bbf2cab852b6c9c3a887e9f803d4e857ea 23-Feb-2013 Wink Saville <wink@google.com> Clean up

- Add @Overrides where needed.
- Update javadoc comments
- Remove extra semi-colons
- Rename DataConnection.java to DataConnectionBase.java
- Rename GsmDataConnection.java to DataConnection.java
- Add defaults to switch statements
- Remove/fix most "if (false)" statements. Fixed by using a CONSTANT
- Fix hidden variables by hoisting to base class or renaming
- Tweak some debug output

Change-Id: If38de2fdeaacafbf40cdfd7f84dc5c52030ba2a3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
4918296afe1c667e9523cdfc799f558f7ebc2bfb 21-Feb-2013 Wink Saville <wink@google.com> Move DataConnection related classes to their own package.

Change-Id: I34ee9e87545e6b15ebf4d3ec101d4ed3d322f7b2
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
e48f50193e1f621e02c1193118511e6eb2cbd662 15-Jan-2013 Wink Saville <wink@google.com> am 4594790b: am 58eafee3: Merge "Telephony: Unregister from UiccController when disposed"

* commit '4594790b7cfc5edb9052622f6f93a4e8b4e50e99':
Telephony: Unregister from UiccController when disposed
c26fb77c4e637466cf0483a4995fe82e6f68b8d3 28-Sep-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Unregister from UiccController when disposed

Change-Id: I296d3f292a72d2f8181f866bd1de7637c8333c63
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
60dc9dc311361f9fb52155ea28d383d55afa90d8 11-Dec-2012 Wink Saville <wink@google.com> Merge commit '7e4b734a' into fix-merge-conflict

* commit '7e4b734a':
Telephony: Move uicc classes into uicc package

Change-Id: Iacc7f1805500bfe55299aaedbe0241ebba8e8b23
d720945f2be5ea5fe0faf67e67d9ea0e184eba67 01-Aug-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Move uicc classes into uicc package

Reduce constructor visibility to package where
possible

Dependent Changes:
I3b718b9aea1f21c7906c8243b4ca0db6af495a08
I80204a2f3dc57cac875abeab390bb9db7a636ff7
Ib9c19e8b157dc7ec74eb14baca5bd3b5caf08c47

Change-Id: Ib4f43374c041cb5eaf2e3883e5ea28b2eb2c9a69
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
f92cb4bd5519427a0db673709d94683a8baf203a 16-Nov-2012 Wink Saville <wink@google.com> Remove CdmaDCT and CdmaDC.

Change-Id: Ifa251706326dae6b1676c79fa591f056a853953d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
2e648e5c481ac90f64d71e1643c83bc67f8c0e7f 16-Nov-2012 Wink Saville <wink@google.com> Revert "Remove CdmaDCT and CdmaDC."

This reverts commit 88f9756a023639f48e85680b8bf2cd1469a5471a

Change-Id: I9b4f140b06acfc9d5f0856f380313a097171437a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
88f9756a023639f48e85680b8bf2cd1469a5471a 15-Nov-2012 Wink Saville <wink@google.com> Remove CdmaDCT and CdmaDC.

Change-Id: I11ead478231bdd5f0b67bc2354e161eab3d4fd87
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
565013a713156a0ddcc46dc3a0077e4c268ce272 08-Sep-2012 Wink Saville <wink@google.com> Merge commit '599f207f' into fix-merge-conflict

* commit '599f207f':
Telephony: Remove CdmaLteUicc objects

Change-Id: I5d63ea7edbcb1e7fe4010bcb3e5c9d6c961827d6
e287feac673ff68565b766e0e463d105fa9cef9d 10-Jul-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Remove CdmaLteUicc objects

-Pass IccCard object to GsmMmiCode
-Create IccCardProxy
-Make IccCard an interface and pass instance of IccCardProxy to
external applications (PhoneApp). IccCardProxy will use internal
UiccCard to map Icc requests to current active application on
UiccCard to maintain backwards compatibility for external
applications
-Add documentation to UiccController

The primary advantage of UiccController is that we can work with
multiple uicc applications at the same time. And that is a
requirement for modes like Cdma/Lte. The existing code supports
Cdma/Lte only partially and with guessing on modem side. However,
some things modem can guess, while others - it can't.

For instance, when a user tries to edit the fdn list the current
code will pass ef_id for fdn (0x6F3B). But the modem will have no
clue which fdn list the user wants to edit (csim or usim, both
have path 7FFF), and it's impossible for modem to guess correctly
all the time. All the modem can do is try to be consistent and
hope another device is doing same things. Imagine you bring your
card from another Cdma/Lte device to your new Cdma/Lte device:
if this modem uses different fdn file, it won't work as all
existing entries won't be there.

Another example is when the modem's guess is wrong for files like
csim/ef_li (7FFF 6F3A) versus usim/ef_adn (7FFF 6F3A). They have
same ef_ids so Android really should pass aid of the app it wants
to access. Without aids there is no way modem can know for sure
which file Android wants to read! However, in the current code
even Android doesn't know which aid it wants to read file from
since CdmaLteRecords has only 1 aid.

All of these problems cause more and more hacks, both in the modem
and in Android side. UiccController cleans up current code and
provides framework to work with multiple Uicc applications at the
same time.

Change-Id: I60216887b14140bdf833a8ed579ba16cad932bdc
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
e0e2ceb1ae025e6dd2adda75c32dba93c6dfeea4 13-Aug-2012 Wink Saville <wink@google.com> Merge commit '616b281b' into merge-conflict-TelephonySignal-Strength-cleanup

* commit '616b281b':
Telephony: Signal Strength cleanup

Change-Id: I3c211a06c480169d90fb5bc2c1774bd509d91f87
15e350dbdedb12c36c4432375e8c58a633b1e492 13-Aug-2012 Wink Saville <wink@google.com> Merge "Telephony: Signal Strength cleanup"
049ab0421f32e6effc5d1277b69bd382cebadb18 09-Aug-2012 Wink Saville <wink@google.com> Merge commit 'e0e2ebb5' into fix-merge-conflict

* commit 'e0e2ebb5':
Telephony: Dynamically instantiate IccCard

Change-Id: I37d65c140033f110bc4990f68adf9489737c9c38
e0e2ebb5a50e580cbe6957dcafb3495a2d0a27f2 27-Jul-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Dynamically instantiate IccCard

Instantiate when get_sim_status request returns

Change-Id: I9c9333d23f1e0b23256731b245577d1a25721647
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
bb36adde615d3d85fa0fc23935197c6bc6a799ed 27-Jul-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Dynamically instantiate IccCard

Instantiate when get_sim_status request returns

Change-Id: I9c9333d23f1e0b23256731b245577d1a25721647
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
5b81adc82a53b3064f4baa3acfeabef31586588a 10-Jul-2012 Uma Maheswari Ramalingam <umam@codeaurora.org> Telephony: Signal Strength cleanup

Make signal strength parsing common for all modes

Change-Id: I41bce658c536dc30558224c8ca76d6d70afb78ee
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
ef1d4bff9bbf7d967dbcace73f08910e14e367d0 17-Jul-2012 Wink Saville <wink@google.com> Revise CellInfo API's

Change-Id: I35bc22caf4a6a2255f2ce122690823f8d602b359
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
c38bb60d867c5d61d90b7179a9ed2b2d1848124f 12-Jul-2012 Wink Saville <wink@google.com> Create telephony-common - DO NOT MERGE

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java
0825495a331bb44df395a0cdb79fab85e68db5d5 12-Jul-2012 Wink Saville <wink@google.com> Create telephony-common

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ServiceStateTracker.java