aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/android/internal/telephony/uicc
AgeCommit message (Collapse)Author
2023-02-17print redacted iccid, eid in user build onlyMuralidhar Reddy
Also add additional log info for debugging purpose. Bug: 268997052 Test: Manual verification of log Change-Id: Ie7a7ec04e82ce728342ff883409b7b0f26defdac
2023-02-15Merge "PinStorage: Record missing encryption key metric."Julian Thomassie
2023-02-14Integrate new iccCloseLogicalChannelWithSessionInfo AIDL changes to framework.Muralidhar Reddy
Test: Manually verified profile download/enable on C10 and atest FrameworksTelephonyTests Bug: 268496310 Change-Id: I21c74b58528d97fbebf9a227dda76da7d665eb2b
2023-02-08Update telephony lib components to remove dupplicationrambowang
CarrierConfigManager.getCarrierConfigSubset is introduced to remove the repetitive private methods in system components. Bug: 263267340 Test: FrameworksTelephonyTests Change-Id: Iddde4ef4c5736c02065b8c749a674a95555f5ec8
2023-02-06Fix phone process crash due to null carrier configrambowang
Perform null pointer check on the carrier config bundle subset return from CarrierConfigManager#getConfigForSub call to make sure it will not crash the phone process. Bug: 266962389 Test: atest FrameworksTelephonyTests Change-Id: I2f142279d267705fa678e8b632228eef475d7f6f
2023-01-30Update PinStorage with new CarrierConfigManager APIsrambowang
- Replace carrier config change receiver with listener - Retrieve subset carrier config to save memory Bug: 244087782 Test: atest PinStorageTest Change-Id: I519c66cbae205735ed8a4d39c34557c9a5789cb4
2023-01-26Update UiccProfile with new CarrierConfigManager APIsrambowang
- Replace carrier config change broadcast receiver with listener - Get subset of carrier config as needed to save memory Bug: 263267340 Test: atest UiccProfileTest Change-Id: I91f97dfb5363133d2928d1f6709bb8a754c4c733
2023-01-20PinStorage: Record missing encryption key metric.Julian Thomassie
Fixes: 224871949 Test: none, simple metrics improvement Change-Id: Id80213e76fb692a727720f4f30594512d4894677
2023-01-19[MEP] Handle UiccCard and UiccPort disposal when more than one port is ↵Muralidhar Reddy
supported. Whenever platform receives the CARDSTATE_ABSENT for any one of the UiccPort, complete UiccCard is disposed. Modified the logic to improve the behavior of Port and Card disposal. Test: Manual test on Pixel 7 and Pixel 6, atest FrameworksTelephonyTests Bug: 237562186 Change-Id: I78e231043135516c9b5f9777add52367bf16d93f
2023-01-08Added SIM events handling and fix crashesJack Yu
1. Added SIM events handling in subscription manager service. 2. Fixed all crashes found during boot up. 3. Update subscription before broadcasting carrier config changed event. This is same as the reverted ag/20813887. Bug: 239607619 Test: Manual Change-Id: Ic3c2cd6ae21ec5199637d609c20d361b17de0726
2023-01-08Moved SIM state broadcast back to UiccControllerJack Yu
Moved the SIM related stuffs back to UiccController. SubscriptionManagerService will mainly handle subscription related stuffs. The same SIM state broadcast is ported from SubscriptionInfoUpdater. This CL is exactly same as the reverted ag/20770404 except 1. Removed the lock in getInstance. The instance is just a reference and should not be updated after created. 2. Seperate the old code with the feature flag with more conservative approach. 3. Update the SIM state with handler. Bug: 239607619 Test: Manual Change-Id: Ifb085003087aa1e270925c755fc6e819f0871dc0
2023-01-04Revert "Moved SIM state broadcast back to UiccController"Aishwarya Mallampati
This reverts commit dc1f5286d3872b807c95900cc40c3eb61b37230d. Reason for revert: b/263772382 Change-Id: I8a1e3e1934f6b66ee6dd14c4373efb44daf64dc9
2023-01-04Revert "Added SIM events handling and fix crashes"Aishwarya Mallampati
Revert submission 20813798-smsvc_bootup Reason for revert: b/263772382 Reverted changes: /q/submissionid:20813798-smsvc_bootup Change-Id: I3fb32444d6f50dc8ace1276f2998551118832c7f
2022-12-22Added SIM events handling and fix crashesJack Yu
1. Added SIM events handling in subscription manager service. 2. Fixed all crashes found during boot up. 3. Update subscription before broadcasting carrier config changed event. Bug: 239607619 Test: Manual Change-Id: I97fe3454548426027fd403e820aecb34481a22f4
2022-12-19Moved SIM state broadcast back to UiccControllerJack Yu
Moved the SIM related stuffs back to UiccController. SubscriptionManagerService will mainly handle subscription related stuffs. The same SIM state broadcast is ported from SubscriptionInfoUpdater. Bug: 239607619 Test: Manual Change-Id: I174353a8a37f6654f924491e414056ba9ea09953
2022-12-18Merge "Add MEP-A1 support in platform"Muralidhar Reddy Mule
2022-12-18Add MEP-A1 support in platformMuralidhar Reddy
Test: Manual test on Pixel 7, atest FrameworksTelephonyTests Bug: 254866604 Change-Id: Ieef6c320d70ad8433af00444aff365a58a2a2d4c
2022-12-16Moved SimStateToString to TelephonyManagerJack Yu
Bug: 239607619 Test: Manual Change-Id: I15a4f0504980211e17a7a1c5c0e21c9c1e9e0c98
2022-12-05Added GetActiveSubscriptionInfo supportJack Yu
1. Added GetActiveSubscriptionInfo. 2. Added SetDisplayNameUsingSrc. 3. Converted more modules to use SubscriptionManagerService. Test: atest FrameworksTelephonyTests Bug: 239607619 Change-Id: I8c0aa35d4430b7c6ca6d02c4e68a00b7d5ef9b94
2022-11-22Merge "support rspCrlversion for RSP2.x.0" am: 546fdcb7c6 am: 2ccfca2fda am: ↵Treehugger Robot
cb0c5e429a Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/2309218 Change-Id: I7829d3b28a7a72820cfd919b3162452a46725386 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22Merge "support rspCrlversion for RSP2.x.0" am: 546fdcb7c6Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/2309218 Change-Id: If54ea5866df3d2cad0b13db65ff25047dfb259bd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22support rspCrlversion for RSP2.x.0Yunjin Kim
Bug: 260041791 Test: Manual Change-Id: I4f0a052800eed44ba98e189a894d2dd0c2e3d2c3 Signed-off-by: Yunjin Kim <yunzhen.kim@samsung.com>
2022-11-18Renamed methods for clarificationJack Yu
Test: build Bug: 239607619 Change-Id: Iefbf99da50eb7575234d03a36bd65d2e34a76b41
2022-11-17Fixed file attributesJack Yu
The java file should not be executable. Changed the file mode from 755 to 644. Test: build Change-Id: I60430860979bda735f5dbbe08e7cb3e4aacb8420
2022-11-02UT for AdnRecordCache filearunvoddu
Bug: 244637886 Test: Atest Verification done Change-Id: Id2b8aa7ee512530f9bdcf7599ffc9be427994162
2022-10-27UT for IccFileHandler filearunvoddu
Bug: 244637886 Test: Atest Verification done Change-Id: I2d4cd6ad494d0fc258b0b695afe9e63298e5c738
2022-10-04Fix array-related errorprone warningsCole Faust
The ArrayEquals, ArrayHashCode, ArrayToString, and ArraysAsListPrimitiveArray errorprone findings were demoted from errors to warnings. Fix existing occurrences of them so they can be made errors again. Bug: 242630963 Test: RUN_ERROR_PRONE=true m javac-check Change-Id: I110410571e92b4ec41682e45692fe0751d685ac2
2022-09-30Fixed potential string conversion issuesJack Yu
Replaced all toLowerCase() with toLowerCase(Locale.ROOT). Replaced all toUpperCase() with toUpperCase(Locale.ROOT). Fix: 250048156 Test: atest FrameworksTelephonyTests + Basic testing Change-Id: Icd58ecef7a761f8c6bd0f44ce201d571373dbd22
2022-09-02Merge "Fix array-related errorprone warnings" am: 1cea823569 am: 09a04d226c ↵Cole Faust
am: 910a160edc am: 07532ebec2 Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/2202672 Change-Id: If732ca50ca1634695735818ba4d458a985d34213 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-01Fix array-related errorprone warningsCole Faust
The ArrayEquals, ArrayHashCode, ArrayToString, and ArraysAsListPrimitiveArray errorprone findings were demoted from errors to warnings. Fix existing occurrences of them so they can be made errors again. Bug: 242630963 Test: RUN_ERROR_PRONE=true m javac-check Change-Id: I9422dc79c16e1495df16825aaca89d3d8153e24c Merged-In: I7fa09707595877f3edd6619ed875020e4e39f263
2022-08-27Merge "saving null alphaTag if exceeds the uicc allowed limit in ↵Arun kumar Voddu
voicemailAlphatag case"
2022-08-26saving null alphaTag if exceeds the uicc allowed limit inarunvoddu
voicemailAlphatag case Bug: 143508861 Test: aTest verification passed,Manually verified with testapp Change-Id: Ia28e65337dc341d177996a2f5123f5571979212b
2022-08-23Merge "Fix array-related errorprone warnings" am: 5de75c7d55 am: d90ceacc42 ↵Cole Faust
am: b6fbc4e3a1 am: 641816377a am: 02130fa036 Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/2185064 Change-Id: Idb52ee812623885b5b5409636813012239750a59 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23Merge "Fix array-related errorprone warnings" am: 5de75c7d55 am: d90ceacc42 ↵Cole Faust
am: b6fbc4e3a1 am: 641816377a Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/2185064 Change-Id: I476e1c1566d9cf21c9d3d8e7c0a7d56ac6e50c7a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22Fix array-related errorprone warningsCole Faust
The ArrayEquals, ArrayHashCode, ArrayToString, and ArraysAsListPrimitiveArray errorprone findings were demoted from errors to warnings. Fix existing occurrences of them so they can be made errors again. Bug: 242630963 Test: RUN_ERROR_PRONE=true m javac-check Change-Id: I59ca9f35e243102ba2056f0394d59909c26b981f
2022-08-09Merge "Removed extra/duplicate logs"Arun kumar Voddu
2022-08-08Removed extra/duplicate logsarunvoddu
Bug: 161827748 Test: Atest Verification done Change-Id: Ib971b0ad9c4dbbbe27cad825d3c3dfb46ca4428d
2022-08-08Replace HashMap with LinkedHashMap to guarantee the ordersandeepjs
We are using HashMap in UiccCard to map portIndex <-> UiccPort. During download process, we expect card.getUiccPortList()[0] inside getFirstActiveEuiccPort API to always return the same UiccPort for each call. mUiccPorts.values() returns collection of unordered so the order is not guaranteed which causes card.getUiccPortList()[0] problem. So we have replaced HashMap with LinkedHashMap to guarantee the order. Test: Manual, added debug logs in getFirstActiveEuiccPort and verified it always returns same port in E+E mode Bug: 237560274 Change-Id: I722a222d2b122da873e8bb9e9d604e09a6793c7f
2022-07-10Fetches sim service table from the EF_SST elementary file of the simarunvoddu
Bug: 217794026 Test: Atest Verification completed Change-Id: I2445a8a419cc5abf9c602e1cd25536cc681604a6
2022-06-15Merge "Get and Set the TPMR value to EF_SMSS field in ISIM/USIM"Arun kumar Voddu
2022-06-15Get and Set the TPMR value to EF_SMSS field in ISIM/USIMarunvoddu
Bug: 226337641 Test: Atest verified Change-Id: I7fa09707595877f3edd6619ed875020e4e39f263
2022-06-10Merge "Add toString() to prevent IllegalAccessException." am: be61d26abb am: ↵Treehugger Robot
c016fa9106 am: e7b00043e0 am: a28d517cf2 am: b75bfea37e Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/2121333 Change-Id: Id6381baa25ebc0d7b645adfb5339271f61dda77f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-10Merge "Add toString() to prevent IllegalAccessException." am: be61d26abb am: ↵Treehugger Robot
c016fa9106 am: e7b00043e0 am: a28d517cf2 Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/2121333 Change-Id: I5f8bcc57151eacf6a32539d8b5d729992c900500 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-10Merge "Add toString() to prevent IllegalAccessException." am: be61d26abb am: ↵Treehugger Robot
c016fa9106 Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/2121333 Change-Id: I714f338073c8b78e87166cd0c5b8eb553092f8b2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-10Merge "Add toString() to prevent IllegalAccessException." am: be61d26abbTreehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/2121333 Change-Id: I5b73e6817abfe43505f0144524d9b938b4ce9d28 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-10Add toString() to prevent IllegalAccessException.Yunjin Kim
If RILJ tries to print log after handling getSimPhonebookCapacityResponse, IllegalAccessException occurs because AdnCapacity doesn't have toString. Bug: 235530257 Test: Manual Signed-off-by: Yunjin Kim <yunzhen.kim@samsung.com> Change-Id: I496d9aba5369f13be32dcdb89abe508fc07a5603
2022-06-08Merge "Fetches smsc value from the EF_PSISMSC elementary file of the sim"Arun kumar Voddu
2022-06-07Fetches smsc value from the EF_PSISMSC elementary file of the simarunvoddu
Bug: 229066443 Test: aTest verification completed Change-Id: I5e3cd32022803982b15cb06d79549bbdf809415d
2022-06-03Merge "Handle NullPointerException during getIccId" into tm-dev am: ↵Chen Xu
03083c8f77 am: a28d3a671b am: d0e84608ab Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/18672138 Change-Id: I73ad675ae5a336b264387c94575086dd33bb1b3f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-03Merge "Handle NullPointerException during getIccId" into tm-dev am: ↵Chen Xu
03083c8f77 am: 8c8d6d8258 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/18672138 Change-Id: I86d6537bbff2349a246cb7bd432fd69965136f30 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>