History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
34d5b710cf2d5f2408b53b41490efa88a57dc4f4 20-Apr-2018 fionaxu <fionaxu@google.com> DO NOT MERGE CarrierIdentifier listen for simrecordsOverride event

CarrierTestOverride is a test API to override sim records
information. It notify the listeners that new sim records is available.
For example, DcTracker will refetch and APN settings and sent out an
initial attach request to RIL. It turns out that frequent
carrierTestOverride could end up with frequent RIL requests and
eventually crash the RILD. The short term fix is notify sim records
override events without waking update other components.
The long term fix is ganrantee RIL do not crash and also try to
decouple DcTracker and other components from listening internal
sim records loaded events.

Bug: 72332597
Test: Gts carrierIdTest
Change-Id: I18f055b2b18ab55b0e1c140668b60d6688a8a47d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
9c68cde9dcbc560a35b8164dff59f1a70681664d 13-Apr-2018 Pankaj Kanwar <pkanwar@google.com> Merge "carrier id cleanup" into pi-dev
d27bd6be3ed4a0d20a228767792476bdbbfc1484 10-Apr-2018 fionaxu <fionaxu@google.com> carrier id cleanup

1. carrierIdentifier should listen for SimRecords rather than Ruim/Csim
since all records are read from SimRecords.
2. carrierTestOverride should apply to SimRecords. Apply to Ruim/Csim is
a non-op
3. add registerForOperatorOverride to UiccProfile.

Bug: 72332597
Change-Id: Ia7c369b301b7c45cfc3e6dc9112dfbf5cea498b4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
7549b1314bca640223819c29a2ead9f282d2e9f6 05-Apr-2018 sqian <shuoq@google.com> Add mccmnc for unknown gid1 case in carrier Id metrics

Bug: 74132252
Bug: 77334923
Test: atest FrameworksTelephonyTests
Change-Id: Icc9f7dd9e86e86399c9a9aebcf0d98024ae46e90
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
8960458652e870ddbaf9eeda1291abed76f0e26f 21-Mar-2018 fionaxu <fionaxu@google.com> A test api to override carrier information

This API should only be used for testing purpose e.g., CTS/GTS/SL4A
By overriding carrier information, we could force a particular carrier id,
carrier's config, but also any country or carrier overlays to be loaded
when using a test SIM with a call box.

Bug: 72332597
Test: atest CtsTelephonyTestCases:CarrierIdentificationTest

Change-Id: I32fa202597b69e6eba11e86bd1096e5f1bf1a639
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
f24387f54a080dfc6e72c0511b2b3db757585edf 28-Feb-2018 fionaxu <fionaxu@google.com> API review: rename CarrierIdentification to CarrierId

Bug: 73953797
Test: unit test
Change-Id: I0940e037e9eec5f9e516597ae630d14736e00bbd
(cherry picked from commit 9171b2eec6ca1ddc85f7cea64786b5e80740570b)
Merged-in: I0940e037e9eec5f9e516597ae630d14736e00bbd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
99a3a76517bfb95ced43a1092578fb00366c2083 23-Jan-2018 sqian <shuoq@google.com> Add mccmnc into local telephony proto and metrics

Bug: 72335257
Test: atest FrameworksTelephonyTests
Change-Id: I97b3b85ddc12b22839393d4899ad8a9b6d7fa7d3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
5ab57320f993a2eb5cbdc5b522c260c0b02aa2ae 23-Feb-2018 Chen Xu <fionaxu@google.com> Merge "trigger carrier identification on SIM OTA"
ba3cd5d9bb09cfb989fd65c00e4f45287aa60df1 23-Feb-2018 fionaxu <fionaxu@google.com> trigger carrier identification on SIM OTA

Bug: 73786449
Test: Manual
Change-Id: Ia0f2836c93deaf014b2aa9a5fffa4a18121fa549
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
63d0d7aa4fc9f35434345a1f89b93017e564d2cf 29-Jan-2018 fionaxu <fionaxu@google.com> update carrierIdProvider with current active subs

Test: runtest --path CarrierIdProviderTest
Test: Manual
Bug: 72571475
Change-Id: Id0da627ef5bcda7c8e4ec9f4e490d17f3029bee9
(cherry picked from commit a0a8091a01d43eae665bd10b0e5fea1ef2237b6f)
Merged-in: Id0da627ef5bcda7c8e4ec9f4e490d17f3029bee9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
3d66e817e8258915ca81ff594d688489247873a7 14-Jan-2018 fionaxu <fionaxu@google.com> add version to carrier identification metrics

Bug: 64131637
Test: Maunal
Change-Id: If18b8be55b189913b7141a8acd34f48cd1016fbf
(cherry picked from commit c9dc12e0a3766fd5a0d16dd9ee0844dbe8f291b6)
Merged-in: If18b8be55b189913b7141a8acd34f48cd1016fbf
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
2b10f902ab4fcef03be098ae51dfc3971ae17399 18-Jan-2018 Treehugger Robot <treehugger-gerrit@google.com> Merge "Add Metrics for unknown Carrier Id"
95719cadc5d606bec05b02902f6dc0a8c45f5d58 15-Dec-2017 sqian <shuoq@google.com> Add Metrics for unknown Carrier Id

Add metrics field for carrier_id_table_version, score, gid1,
and carrier_id.

After carrier identification match score is calculated,
write metrics for any of below situations:
0) success matching
1) unknown mccmnc - the Carrier Id provider contains no rule
that matches the read mccmnc.
2) unknown gid1 - the Carrier Id provider contains some rule(s)
that match the read mccmnc, but the read gid1
is not matched within the highest-scored rule.

The design:
https://docs.google.com/document/d/1DHK8HH5KZu9sgmZFOmmTzxxGlD2zo1Eg5HfR0YcjS7c/edit

Test: atest FrameworksTestTelephony
Bug: 64131637
Change-Id: Ia3062882923974d4b459727df4fb27e6b3b5fd2c
Merged-In: Ia3062882923974d4b459727df4fb27e6b3b5fd2c
(cherry picked from commit 512e3c703f450c9a3067e97c52129365ca54811c)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
769ab7354530a88cb1b46fdb1bed1e97ec0db4b2 17-Jan-2018 sqian <shuoq@google.com> Add Iccid_prefix in Carrier Idenfitication

Bug: 64131637
Test: Manual
Change-Id: Ic7cbb8ed9b6357fafd1bf164876a25f52515b299
Merged-In: Ic7cbb8ed9b6357fafd1bf164876a25f52515b299
(cherry picked from commit cf7ff3fc0bd693404c4edfd5071af6ce64b36e83)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
4431e1cf9215cf525f221edcbd7559d00b8a0fdf 28-Nov-2017 fionaxu <fionaxu@google.com> apply new carrier id APIs

1. apply new unknown_carrier_id API
2. send carrier_subscription_identity_changed broadcast

Bug: 64131637
Test: Build
Change-Id: I73c83071c9f16a75d809f5f51b397b23da27edb3
(cherry picked from commit 079e1e0f4f58e6d893aedee2947d0a60f99d1240)
Merged-in: I73c83071c9f16a75d809f5f51b397b23da27edb3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java
2db47c1626b17a8f2c1f7f7030931a790c38c25f 30-Oct-2017 fionaxu <fionaxu@google.com> carrier identification

CarrierIdentifier identifies the subscription carrier and returns a
canonical carrier Id and a user friendly carrier name.
CarrierIdentifier reads subscription info and check against all carrier
matching rules stored in CarrierIdProvider

Test: runtest --path CarrierIdentifierTest.java
Bug: 64131637
(cherry picked from commit b5c356fee2ce1be13fee506d1cc65927079d7b88)

Change-Id: I6906d8b573ea6d12ce8bcf3e3acf8e007fbc2b08
Merged-in: I3f1a1ddd124037e85d702f22d076d75223cb5276
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierIdentifier.java