Home
last modified time | relevance | path

Searched refs:mIccRecords (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccRecordsTest.java45 private IccRecords mIccRecords; field in IccRecordsTest
54 mIccRecords = new SIMRecords(mUiccCardApplication3gpp, mContext, mSimulatedCommands); in onLooperPrepared()
74 verify(mSimulatedCommandsVerifier).registerForIccRefresh(eq(mIccRecords), in testDisposeCallsUnregisterForIccRefresh()
76 mIccRecords.dispose(); in testDisposeCallsUnregisterForIccRefresh()
78 verify(mSimulatedCommandsVerifier).unregisterForIccRefresh(eq(mIccRecords)); in testDisposeCallsUnregisterForIccRefresh()
84 mIccRecords.setImsi("0123456789FFFFFF"); in testSetImsiInvalid()
85 assertEquals(mIccRecords.getIMSI(), "0123456789"); in testSetImsiInvalid()
86 mIccRecords.setImsi("0123456789ffffff"); in testSetImsiInvalid()
87 assertEquals(mIccRecords.getIMSI(), "0123456789"); in testSetImsiInvalid()
88 mIccRecords.setImsi("ffffff"); in testSetImsiInvalid()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java46 private AtomicReference<IccRecords> mIccRecords = new AtomicReference<IccRecords>(); field in GsmSMSDispatcher
242 if (mIccRecords.get() != null) { in onUpdateIccAvailability()
243 mIccRecords.get().unregisterForNewSms(this); in onUpdateIccAvailability()
245 mIccRecords.set(null); in onUpdateIccAvailability()
251 mIccRecords.set(newUiccApplication.getIccRecords()); in onUpdateIccAvailability()
252 if (mIccRecords.get() != null) { in onUpdateIccAvailability()
253 mIccRecords.get().registerForNewSms(this, EVENT_NEW_ICC_SMS, null); in onUpdateIccAvailability()
DGsmMmiCode.java142 IccRecords mIccRecords; field in GsmMmiCode
370 if (mIccRecords != null) { in parseSsData()
611 mIccRecords = app.getIccRecords(); in GsmMmiCode()
1186 if (mIccRecords != null) { in handleMessage()
1561 if (mIccRecords != null) { in makeCFQueryResultMessage()
1595 if (mIccRecords != null) { in onQueryCfComplete()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java136 private IccRecords mIccRecords = null; field in UiccProfile
190 if ((mCurrentAppType == UiccController.APP_FAM_3GPP) && (mIccRecords != null)) {
195 mPhoneId, mIccRecords.getServiceProviderName());
438 if (mIccRecords != newRecords || mUiccApplication != newApp) { in updateIccAvailability()
442 mIccRecords = newRecords; in updateIccAvailability()
520 if (mIccRecords != null && (mIccRecords.getLockedRecordsLoaded() in updateExternalState()
521 || mIccRecords.getNetworkLockedRecordsLoaded())) { // locked records loaded in updateExternalState()
611 if (mIccRecords != null) { in registerCurrAppEvents()
612 mIccRecords.registerForLockedRecordsLoaded(mHandler, EVENT_ICC_LOCKED, null); in registerCurrAppEvents()
613 mIccRecords.registerForNetworkLockedRecordsLoaded(mHandler, EVENT_NETWORK_LOCKED, null); in registerCurrAppEvents()
[all …]
DUiccCardApplication.java91 private IccRecords mIccRecords; field in UiccCardApplication
122 mIccRecords = createIccRecords(as.app_type, mContext, mCi); in UiccCardApplication()
156 if (mIccRecords != null) { mIccRecords.dispose();} in update()
158 mIccRecords = createIccRecords(as.app_type, c, ci); in update()
185 if (mIccRecords != null) { mIccRecords.dispose();} in dispose()
187 mIccRecords = null; in dispose()
641 return mIccRecords; in getIccRecords()
937 pw.println(" mIccRecords=" + mIccRecords); in dump()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java91 private static IccRecords mIccRecords; field in CatService
179 mIccRecords = ir; in CatService()
183 mIccRecords.registerForRecordsLoaded(this, MSG_ID_ICC_RECORDS_LOADED, null); in CatService()
237 } else if ((ir != null) && (mIccRecords != ir)) { in getInstance()
238 if (mIccRecords != null) { in getInstance()
239 mIccRecords.unregisterForRecordsLoaded(sInstance[slotId]); in getInstance()
242 mIccRecords = ir; in getInstance()
245 mIccRecords.registerForRecordsLoaded(sInstance[slotId], in getInstance()
258 mIccRecords.unregisterForRecordsLoaded(this); in dispose()
1138 if ((ir != null) && (mIccRecords != ir)) { in update()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java96 private IccRecords mIccRecords; field in CarrierResolver
159 if (mIccRecords != null) { in handleSimLoaded()
164 mSpn = (mIccRecords.getServiceProviderName() == null) ? "" in handleSimLoaded()
165 : mIccRecords.getServiceProviderName(); in handleSimLoaded()
229 if (mIccRecords != newIccRecords) { in handleMessage()
230 if (mIccRecords != null) { in handleMessage()
232 mIccRecords.unregisterForRecordsOverride(this); in handleMessage()
233 mIccRecords = null; in handleMessage()
238 mIccRecords = newIccRecords; in handleMessage()
DGsmCdmaPhone.java567 IccRecords r = mIccRecords.get(); in updateVoiceMail()
822 IccRecords r = mIccRecords.get(); in getIccSerialNumber()
832 IccRecords r = mIccRecords.get(); in getFullIccSerialNumber()
1509 IccRecords r = mIccRecords.get(); in getVoiceMailNumber()
1568 IccRecords r = mIccRecords.get(); in getVoiceMailAlphaTag()
1720 r = mIccRecords.get(); in setCarrierTestOverride()
1734 IccRecords r = mIccRecords.get(); in getGroupIdLevel1()
1747 IccRecords r = mIccRecords.get(); in getGroupIdLevel2()
1761 IccRecords r = mIccRecords.get(); in getLine1Number()
1778 IccRecords r = mIccRecords.get(); in getPlmn()
[all …]
DServiceStateTracker.java145 private IccRecords mIccRecords = null; field in ServiceStateTracker
1287 mCdnr.updateEfFromUsim((SIMRecords) mIccRecords); in handleMessage()
1447 if (!mIsSubscriptionFromRuim && mIccRecords != null) { in handleMessage()
1451 mIccRecords.setImsi(getImsi()); in handleMessage()
1471 mCdnr.updateEfFromRuim((RuimRecords) mIccRecords); in handleMessage()
1476 RuimRecords ruim = (RuimRecords) mIccRecords; in handleMessage()
2620 IccRecords iccRecords = mIccRecords; in updateSpnDisplayLegacy()
2803 if (mIccRecords instanceof SIMRecords) { in onUpdateIccAvailability()
2805 } else if (mIccRecords instanceof RuimRecords) { in onUpdateIccAvailability()
2812 if (mIccRecords != null) { in onUpdateIccAvailability()
[all …]
DPhone.java306 protected final AtomicReference<IccRecords> mIccRecords = new AtomicReference<IccRecords>(); field in Phone
405 return mIccRecords.get(); in getIccRecords()
1837 IccRecords r = mIccRecords.get(); in getIccSerialNumber()
1845 IccRecords r = mIccRecords.get(); in getFullIccSerialNumber()
1858 IccRecords r = mIccRecords.get(); in getIccRecordsLoaded()
1977 IccRecords r = mIccRecords.get(); in setVoiceCallForwardingFlag()
2000 IccRecords r = mIccRecords.get(); in getCallForwardingIndicator()
3281 IccRecords r = mIccRecords.get(); in getUsimServiceTable()
3845 final IccRecords records = mIccRecords.get(); in getLocaleFromSimAndCarrierPrefs()
4047 pw.println(" mIccRecords=" + mIccRecords.get()); in dump()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneMmiCode.java169 private IccRecords mIccRecords; field in ImsPhoneMmiCode
506 mIccRecords = mPhone.mDefaultPhone.getIccRecords(); in ImsPhoneMmiCode()
1116 if (mIccRecords != null) { in handleMessage()
1413 if (mIccRecords != null) { in makeCFQueryResultMessage()
1446 if (mIccRecords != null) { in onQueryCfComplete()
1784 if (mIccRecords != null) { in parseSsData()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java354 if (mIccRecords.get() != null && mIccRecords.get().getRecordsLoaded()) {
557 private final AtomicReference<IccRecords> mIccRecords = new AtomicReference<IccRecords>(); field in DcTracker
860 IccRecords r = mIccRecords.get(); in unregisterForAllEvents()
863 mIccRecords.set(null); in unregisterForAllEvents()
1265 boolean recordsLoaded = mIccRecords.get() != null && mIccRecords.get().getRecordsLoaded(); in isDataAllowed()
3096 IccRecords r = mIccRecords.get(); in createAllApnList()
3240 IccRecords r = mIccRecords.get(); in buildWaitingApns()
3835 IccRecords r = mIccRecords.get(); in onUpdateIcc()
3840 mIccRecords.set(null); in onUpdateIcc()
3845 mIccRecords.set(newIccRecords); in onUpdateIcc()
/frameworks/base/config/
Dhiddenapi-greylist.txt1291 Lcom/android/internal/telephony/gsm/GsmMmiCode;->mIccRecords:Lcom/android/internal/telephony/uicc/I…