Home
last modified time | relevance | path

Searched refs:mUiccProfile (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccProfileTest.java68 private UiccProfile mUiccProfile; field in UiccProfileTest
131 mUiccProfile = new UiccProfile(mContext, mSimulatedCommands, mIccCardStatus, in setUp()
140 replaceInstance(UiccProfile.class, "mCatService", mUiccProfile, mCAT); in setUp()
145 mUiccProfile = null; in tearDown()
154 assertEquals(1, mUiccProfile.getNumApplications()); in tesUiccProfileInfoSanity()
155 assertNull(mUiccProfile.getUniversalPinState()); in tesUiccProfileInfoSanity()
156 assertNull(mUiccProfile.getOperatorBrandOverride()); in tesUiccProfileInfoSanity()
160 assertTrue(mUiccProfile.isApplicationOnIcc(mAppType)); in tesUiccProfileInfoSanity()
162 assertFalse(mUiccProfile.isApplicationOnIcc(mAppType)); in tesUiccProfileInfoSanity()
207 mUiccProfile.update(mContext, mSimulatedCommands, mIccCardStatus); in testUpdateUiccProfileApplication()
[all …]
DUiccCarrierPrivilegeRulesTest.java60 private UiccProfile mUiccProfile; field in UiccCarrierPrivilegeRulesTest
65 mUiccProfile = mock(UiccProfile.class); in setUp()
84 }).when(mUiccProfile).iccOpenLogicalChannel(anyString(), anyInt(), any(Message.class)); in testHelper()
96 }).when(mUiccProfile).iccTransmitApduLogicalChannel(anyInt(), anyInt(), anyInt(), anyInt(), in testHelper()
106 }).when(mUiccProfile).iccCloseLogicalChannel(anyInt(), eq(false), any(Message.class)); in testHelper()
108 mUiccCarrierPrivilegeRules = new UiccCarrierPrivilegeRules(mUiccProfile, null); in testHelper()
326 }).when(mUiccProfile).iccOpenLogicalChannel(anyString(), anyInt(), any(Message.class)); in testAID_OnlyARAM()
338 }).when(mUiccProfile).iccTransmitApduLogicalChannel(anyInt(), anyInt(), anyInt(), anyInt(), in testAID_OnlyARAM()
348 }).when(mUiccProfile).iccCloseLogicalChannel(anyInt(), eq(false), any(Message.class)); in testAID_OnlyARAM()
351 mUiccCarrierPrivilegeRules = new UiccCarrierPrivilegeRules(mUiccProfile, null); in testAID_OnlyARAM()
[all …]
DUiccCardApplicationTest.java50 private UiccProfile mUiccProfile; field in UiccCardApplicationTest
68 mUiccProfile = mock(UiccProfile.class); in setUp()
76 mUiccCardApplication = new UiccCardApplication(mUiccProfile, mUiccCardAppStatus, in setUp()
108 mUiccProfile = null; in tearDown()
DUiccPortTest.java155 verify(mUiccProfile).iccCloseLogicalChannel(eq(CHANNEL_ID), eq(false), eq(null)); in testClientDied_withChannelOpened_shouldGetCleanup()
169 verify(mUiccProfile, never()).iccCloseLogicalChannel(anyInt(), anyBoolean(), any()); in testOnOpenLogicalChannel_withPortDisposed_noRecordLeft()
DPinStorageTest.java349 when(mUiccController.getUiccProfileForPhone(anyInt())).thenReturn(mUiccProfile); in storePin_disabledInResources_containsSimWithPinEnabledAndVerified()
DUiccSlotTest.java439 verify(mUiccProfile).dispose(); in testUiccSlotCreateAndDispose()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccPort.java55 private UiccProfile mUiccProfile; field in UiccPort
85 if (mUiccProfile == null) { in update()
86 mUiccProfile = TelephonyComponentFactory.getInstance() in update()
90 mUiccProfile.update(mContext, mCi, ics); in update()
101 if (mUiccProfile != null) { in dispose()
102 mUiccProfile.dispose(); in dispose()
104 mUiccProfile = null; in dispose()
122 if (mUiccProfile != null) { in isApplicationOnIcc()
123 return mUiccProfile.isApplicationOnIcc(type); in isApplicationOnIcc()
136 if (mUiccProfile != null) { in getUniversalPinState()
[all …]
DUiccPkcs15.java83 mUiccProfile.iccTransmitApduLogicalChannel(mChannelId, 0x00, 0xA4, 0x00, 0x04, 0x02, in selectFile()
92 mUiccProfile.iccTransmitApduLogicalChannel(mChannelId, 0x00, 0xB0, 0x00, 0x00, 0x00, in readBinary()
147 mUiccProfile.iccOpenLogicalChannel(PKCS15_AID, p2, /* supported P2 value */ in Pkcs15Selector()
177 private UiccProfile mUiccProfile; // Parent field in UiccPkcs15
194 mUiccProfile = uiccProfile; in UiccPkcs15()
291 mUiccProfile.iccCloseLogicalChannel(mChannelId, false /*isEs10*/, in cleanUp()
DUiccCarrierPrivilegeRules.java188 private UiccProfile mUiccProfile; // Parent field in UiccCarrierPrivilegeRules
213 mUiccProfile.iccOpenLogicalChannel(aid, p2, /* supported p2 value */ in openChannel()
219 mUiccProfile = uiccProfile; in UiccCarrierPrivilegeRules()
429 mUiccProfile.iccTransmitApduLogicalChannel(mChannelId, CLA, COMMAND, P1, P2, P3, in handleMessage()
458 mUiccPkcs15 = new UiccPkcs15(mUiccProfile, in handleMessage()
486 mUiccProfile.iccTransmitApduLogicalChannel(mChannelId, CLA, COMMAND, in handleMessage()
522 mUiccProfile.iccCloseLogicalChannel(mChannelId, false /*isEs10*/, obtainMessage( in handleMessage()
DUiccCardApplication.java70 private UiccProfile mUiccProfile; //parent field in UiccCardApplication
113 mUiccProfile = uiccProfile; in UiccCardApplication()
687 return mUiccProfile.getUniversalPinState(); in getPin1State()
966 return mUiccProfile.getPhoneId(); in getPhoneId()
978 return mUiccProfile; in getUiccProfile()
995 pw.println("mUiccProfile=" + mUiccProfile); in dump()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java1006 doReturn(mUiccProfile).when(mUiccPort).getUiccProfile(); in setUpInitials()
1007 doReturn(mUiccCardApplicationIms).when(mUiccProfile).getApplicationByType(anyInt()); in setUpInitials()
1049 doReturn(mUiccProfile).when(mUiccPort).getUiccProfile(); in testGetSmscIdentityForSipUri()
1050 doReturn(mUiccCardApplicationIms).when(mUiccProfile).getApplicationByType(anyInt()); in testGetSmscIdentityForSipUri()
1131 doReturn(mUiccProfile).when(mUiccPort).getUiccProfile(); in testGetSimServiceTable()
1132 doReturn(mUiccCardApplicationIms).when(mUiccProfile).getApplicationByType(anyInt()); in testGetSimServiceTable()
1145 doReturn(mUiccProfile).when(mUiccPort).getUiccProfile(); in testGetSimServiceTableEmpty()
1146 doReturn(mUiccCardApplicationIms).when(mUiccProfile).getApplicationByType(anyInt()); in testGetSimServiceTableEmpty()
1159 doReturn(mUiccProfile).when(mUiccPort).getUiccProfile(); in testGetSstWhenNoUiccPort()
1160 doReturn(mUiccCardApplicationIms).when(mUiccProfile).getApplicationByType(anyInt()); in testGetSstWhenNoUiccPort()
[all …]
DTelephonyTest.java203 protected UiccProfile mUiccProfile; field in TelephonyTest
490 mUiccProfile = Mockito.mock(UiccProfile.class); in setUp()
618 doReturn(mUiccProfile).when(mUiccPort).getUiccProfile(); in setUp()
652 doReturn(mUiccProfile).when(mTelephonyComponentFactory) in setUp()
711 doReturn(mUiccProfile).when(mPhone).getIccCard(); in setUp()
783 doReturn(mSimRecords).when(mUiccProfile).getIccRecords(); in setUp()
788 }).when(mUiccProfile).getIccRecords(); in setUp()
791 doReturn(mUiccCardApplication3gpp).when(mUiccProfile).getApplication( in setUp()
793 doReturn(mUiccCardApplication3gpp2).when(mUiccProfile).getApplication( in setUp()
795 doReturn(mUiccCardApplicationIms).when(mUiccProfile).getApplication( in setUp()
DSmsControllerTest.java92 doReturn(mUiccProfile).when(mUiccController).getUiccProfileForPhone(anyInt()); in fdnCheckSetup()
DCarrierResolverTest.java262 doReturn(IccCardConstants.State.LOADED).when(mUiccProfile).getState(); in testCarrierMatchPreferApnChange()
DServiceStateTrackerTest.java1010 doReturn(brandOverride).when(mUiccProfile).getOperatorBrandOverride(); in testUpdatePhoneType()
2697 doReturn(brandOverride).when(mUiccProfile).getOperatorBrandOverride(); in testGetServiceProviderNameWithBrandOverride()
2722 doReturn(brandOverride).when(mUiccProfile).getOperatorBrandOverride(); in testGetServiceProviderNameWithAllSource()
2735 doReturn(null).when(mUiccProfile).getOperatorBrandOverride(); in testGetServiceProviderNameWithAllSource()
2750 doReturn(brandOverride).when(mUiccProfile).getOperatorBrandOverride(); in testGetCarrierNameDisplayConditionWithBrandOverride()
DCarrierPrivilegesTrackerTest.java167 when(mUiccProfile.getCarrierPrivilegeAccessRules()).thenReturn(Arrays.asList(certHashes)); in setupSimLoadedRules()
DGsmCdmaPhoneTest.java2069 doReturn(mUiccProfile).when(mUiccController).getUiccProfileForPhone(anyInt()); in fdnCheckSetup()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cat/
DCATServiceTest.java146 mUiccProfile = new UiccProfile(mContext, mSimulatedCommands, mIccCardStatus, in setUp()
152 mUiccProfile, mUiccController.getSlotIdFromPhoneId(0)); in setUp()
161 mUiccProfile = null; in tearDown()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1734 when(mUiccPort.getUiccProfile()).thenReturn(mUiccProfile); in testIsSimPortAvailable_port_active()
1735 when(mUiccProfile.isEmptyProfile()).thenReturn(true); in testIsSimPortAvailable_port_active()
1739 when(mUiccPort.getUiccProfile()).thenReturn(mUiccProfile); in testIsSimPortAvailable_port_active()
1740 when(mUiccProfile.isEmptyProfile()).thenReturn(false); in testIsSimPortAvailable_port_active()
1746 when(mUiccPort.getUiccProfile()).thenReturn(mUiccProfile); in testIsSimPortAvailable_port_active()
1747 when(mUiccProfile.isEmptyProfile()).thenReturn(false); in testIsSimPortAvailable_port_active()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionManagerServiceTest.java185 doReturn(mUiccProfile).when(mPhone2).getIccCard(); in setUp()
3010 doReturn(true).when(mUiccProfile).isEmptyProfile(); in testSimNotReadyBySimDeactivate()