Home
last modified time | relevance | path

Searched refs:iccCard (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DPerSimStatusTest.java259 IccCard iccCard = mock(IccCard.class); in onPullAtom_perSimStatus_noImsManager() local
260 doReturn(true).when(iccCard).getIccLockEnabled(); in onPullAtom_perSimStatus_noImsManager()
261 doReturn(iccCard).when(mPhone).getIccCard(); in onPullAtom_perSimStatus_noImsManager()
321 IccCard iccCard = mock(IccCard.class); in onPullAtom_perSimStatus_noImsMmTelManager() local
322 doReturn(true).when(iccCard).getIccLockEnabled(); in onPullAtom_perSimStatus_noImsMmTelManager()
323 doReturn(iccCard).when(mPhone).getIccCard(); in onPullAtom_perSimStatus_noImsMmTelManager()
381 IccCard iccCard = mock(IccCard.class); in onPullAtom_perSimStatus_noUiccSlot() local
382 doReturn(true).when(iccCard).getIccLockEnabled(); in onPullAtom_perSimStatus_noUiccSlot()
383 doReturn(iccCard).when(mPhone).getIccCard(); in onPullAtom_perSimStatus_noUiccSlot()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DPerSimStatus.java95 IccCard iccCard = phone.getIccCard(); in getCurrentState() local
115 iccCard == null ? false : iccCard.getIccLockEnabled(), in getCurrentState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java1180 IccCard iccCard = mPhoneUT.getIccCard(); in testGetIccCardUnknownAndAbsent() local
1181 assertEquals(IccCardConstants.State.UNKNOWN, iccCard.getState()); in testGetIccCardUnknownAndAbsent()
1186 iccCard = mPhoneUT.getIccCard(); in testGetIccCardUnknownAndAbsent()
1187 assertEquals(IccCardConstants.State.ABSENT, iccCard.getState()); in testGetIccCardUnknownAndAbsent()
1196 IccCard iccCard = mPhoneUT.getIccCard(); in testGetEmptyIccCard() local
1199 assertTrue(!(iccCard instanceof UiccProfile)); in testGetEmptyIccCard()
1201 assertTrue(iccCard != null); in testGetEmptyIccCard()
1202 assertEquals(IccCardConstants.State.UNKNOWN, iccCard.getState()); in testGetEmptyIccCard()
1203 assertEquals(null, iccCard.getIccRecords()); in testGetEmptyIccCard()
1204 assertEquals(false, iccCard.getIccLockEnabled()); in testGetEmptyIccCard()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java830 IccCard iccCard = mPhone.getIccCard(); in updateCarrierConfig() local
832 if (iccCard != null) { in updateCarrierConfig()
833 simState = iccCard.getState(); in updateCarrierConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java1395 IccCard iccCard = PhoneFactory.getPhone(phoneId).getIccCard(); in areAllSubscriptionsLoaded() local
1396 if (!iccCard.isEmptyProfile() && areUiccAppsEnabledOnCard(phoneId)) { in areAllSubscriptionsLoaded()
1463 IccCard iccCard = PhoneFactory.getPhone(phoneId).getIccCard(); in updateSubscription() local
1464 if (iccCard.isEmptyProfile()) log("updateSubscription: iccCard has empty profile."); in updateSubscription()
1465 if (!iccCard.isEmptyProfile() && areUiccAppsEnabledOnCard(phoneId)) { in updateSubscription()
1566 IccCard iccCard = PhoneFactory.getPhone(phoneId).getIccCard(); in updateSubscription() local
1567 if (iccCard != null) { in updateSubscription()
1568 IccRecords records = iccCard.getIccRecords(); in updateSubscription()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java834 IccCard iccCard = PhoneFactory.getPhone(phoneId).getIccCard(); in broadcastSimApplicationStateChanged() local
835 boolean emptyProfile = iccCard != null && iccCard.isEmptyProfile(); in broadcastSimApplicationStateChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DPhoneSwitcher.java677 IccCard iccCard = PhoneFactory.getPhone(slotIndex).getIccCard(); in isSimApplicationReady() local
678 if (!iccCard.isEmptyProfile() && uiccAppsEnabled) { in isSimApplicationReady()