/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccProfileTest.java | 68 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 …]
|
D | UiccCarrierPrivilegeRulesTest.java | 60 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 …]
|
D | UiccCardApplicationTest.java | 50 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()
|
D | UiccPortTest.java | 155 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()
|
D | PinStorageTest.java | 349 when(mUiccController.getUiccProfileForPhone(anyInt())).thenReturn(mUiccProfile); in storePin_disabledInResources_containsSimWithPinEnabledAndVerified()
|
D | UiccSlotTest.java | 439 verify(mUiccProfile).dispose(); in testUiccSlotCreateAndDispose()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccPort.java | 55 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 …]
|
D | UiccPkcs15.java | 83 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()
|
D | UiccCarrierPrivilegeRules.java | 188 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()
|
D | UiccCardApplication.java | 70 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/ |
D | PhoneSubInfoControllerTest.java | 1006 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 …]
|
D | TelephonyTest.java | 203 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()
|
D | SmsControllerTest.java | 92 doReturn(mUiccProfile).when(mUiccController).getUiccProfileForPhone(anyInt()); in fdnCheckSetup()
|
D | CarrierResolverTest.java | 262 doReturn(IccCardConstants.State.LOADED).when(mUiccProfile).getState(); in testCarrierMatchPreferApnChange()
|
D | ServiceStateTrackerTest.java | 1010 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()
|
D | CarrierPrivilegesTrackerTest.java | 167 when(mUiccProfile.getCarrierPrivilegeAccessRules()).thenReturn(Arrays.asList(certHashes)); in setupSimLoadedRules()
|
D | GsmCdmaPhoneTest.java | 2069 doReturn(mUiccProfile).when(mUiccController).getUiccProfileForPhone(anyInt()); in fdnCheckSetup()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cat/ |
D | CATServiceTest.java | 146 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/ |
D | EuiccControllerTest.java | 1734 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/ |
D | SubscriptionManagerServiceTest.java | 185 doReturn(mUiccProfile).when(mPhone2).getIccCard(); in setUp() 3010 doReturn(true).when(mUiccProfile).isEmptyProfile(); in testSimNotReadyBySimDeactivate()
|