Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccRecordsTest.java63 private IccRecords mIccRecords; field in IccRecordsTest
72 mIccRecords = new SIMRecords(mUiccCardApplication3gpp, mContext, mSimulatedCommands); in onLooperPrepared()
83 mIccRecords, EVENT_APP_READY, null); in setUp()
85 mIccRecords, EVENT_APP_DETECTED, null); in setUp()
96 verify(mSimulatedCommandsVerifier).registerForIccRefresh(eq(mIccRecords), in testDisposeCallsUnregisterForIccRefresh()
98 mIccRecords.dispose(); in testDisposeCallsUnregisterForIccRefresh()
100 verify(mSimulatedCommandsVerifier).unregisterForIccRefresh(eq(mIccRecords)); in testDisposeCallsUnregisterForIccRefresh()
106 mIccRecords.setImsi("0123456789FFFFFF"); in testSetImsiInvalid()
107 assertEquals(mIccRecords.getIMSI(), "0123456789"); in testSetImsiInvalid()
108 mIccRecords.setImsi("0123456789ffffff"); in testSetImsiInvalid()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java47 private AtomicReference<IccRecords> mIccRecords = new AtomicReference<IccRecords>(); field in GsmSMSDispatcher
226 if (mIccRecords.get() != null) { in onUpdateIccAvailability()
227 mIccRecords.get().unregisterForNewSms(this); in onUpdateIccAvailability()
229 mIccRecords.set(null); in onUpdateIccAvailability()
235 mIccRecords.set(newUiccApplication.getIccRecords()); in onUpdateIccAvailability()
236 if (mIccRecords.get() != null) { in onUpdateIccAvailability()
237 mIccRecords.get().registerForNewSms(this, EVENT_NEW_ICC_SMS, null); in onUpdateIccAvailability()
DGsmMmiCode.java146 IccRecords mIccRecords; field in GsmMmiCode
628 mIccRecords = app.getIccRecords(); in GsmMmiCode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java140 private IccRecords mIccRecords = null; field in UiccProfile
219 if ((mCurrentAppType == UiccController.APP_FAM_3GPP) && (mIccRecords != null)) {
224 mPhoneId, mIccRecords.getServiceProviderName());
491 if (mIccRecords != newRecords || mUiccApplication != newApp) { in updateIccAvailability()
495 mIccRecords = newRecords; in updateIccAvailability()
572 if (mIccRecords != null && (mIccRecords.getLockedRecordsLoaded() in updateExternalState()
573 || mIccRecords.getNetworkLockedRecordsLoaded())) { // locked records loaded in updateExternalState()
669 if (mIccRecords != null) { in registerCurrAppEvents()
670 mIccRecords.registerForLockedRecordsLoaded(mHandler, EVENT_ICC_LOCKED, null); in registerCurrAppEvents()
671 mIccRecords.registerForNetworkLockedRecordsLoaded(mHandler, EVENT_NETWORK_LOCKED, null); in registerCurrAppEvents()
[all …]
DUiccCardApplication.java92 private IccRecords mIccRecords; field in UiccCardApplication
124 mIccRecords = createIccRecords(as.app_type, mContext, mCi); in UiccCardApplication()
159 if (mIccRecords != null) { mIccRecords.dispose();} in update()
161 mIccRecords = createIccRecords(as.app_type, c, ci); in update()
192 if (mIccRecords != null) { mIccRecords.dispose();} in dispose()
194 mIccRecords = null; in dispose()
695 return mIccRecords; in getIccRecords()
999 pw.println(" mIccRecords=" + mIccRecords); in dump()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java88 private static IccRecords mIccRecords; field in CatService
176 mIccRecords = ir; in CatService()
180 mIccRecords.registerForRecordsLoaded(this, MSG_ID_ICC_RECORDS_LOADED, null); in CatService()
234 } else if ((ir != null) && (mIccRecords != ir)) { in getInstance()
235 if (mIccRecords != null) { in getInstance()
236 mIccRecords.unregisterForRecordsLoaded(sInstance[slotId]); in getInstance()
239 mIccRecords = ir; in getInstance()
242 mIccRecords.registerForRecordsLoaded(sInstance[slotId], in getInstance()
256 mIccRecords.unregisterForRecordsLoaded(this); in dispose()
1136 if ((ir != null) && (mIccRecords != ir)) { in update()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java97 private IccRecords mIccRecords; field in CarrierResolver
160 if (mIccRecords != null) { in handleSimLoaded()
165 mSpn = (mIccRecords.getServiceProviderName() == null) ? "" in handleSimLoaded()
166 : mIccRecords.getServiceProviderName(); in handleSimLoaded()
230 if (mIccRecords != newIccRecords) { in handleMessage()
231 if (mIccRecords != null) { in handleMessage()
233 mIccRecords.unregisterForRecordsOverride(this); in handleMessage()
234 mIccRecords = null; in handleMessage()
239 mIccRecords = newIccRecords; in handleMessage()
DGsmCdmaPhone.java603 IccRecords r = mIccRecords.get(); in updateVoiceMail()
898 IccRecords r = mIccRecords.get(); in getIccSerialNumber()
908 IccRecords r = mIccRecords.get(); in getFullIccSerialNumber()
1655 IccRecords r = isPhoneTypeGsm() ? mIccRecords.get() : mSimRecords; in getVoiceMailNumber()
1730 IccRecords r = isPhoneTypeGsm() ? mIccRecords.get() : mSimRecords; in getVoiceMailAlphaTag()
1890 r = mIccRecords.get(); in setCarrierTestOverride()
1904 IccRecords r = mIccRecords.get(); in getGroupIdLevel1()
1917 IccRecords r = mIccRecords.get(); in getGroupIdLevel2()
1931 IccRecords r = mIccRecords.get(); in getLine1Number()
1948 IccRecords r = mIccRecords.get(); in getPlmn()
[all …]
DServiceStateTracker.java154 private IccRecords mIccRecords = null; field in ServiceStateTracker
1378 mCdnr.updateEfFromUsim((SIMRecords) mIccRecords); in handleMessage()
1538 if (!mIsSubscriptionFromRuim && mIccRecords != null) { in handleMessage()
1542 mIccRecords.setImsi(getImsi()); in handleMessage()
1562 mCdnr.updateEfFromRuim((RuimRecords) mIccRecords); in handleMessage()
1567 RuimRecords ruim = (RuimRecords) mIccRecords; in handleMessage()
2730 IccRecords iccRecords = mIccRecords; in updateSpnDisplayLegacy()
2798 if (mIccRecords != null && config.getBoolean( in updateSpnDisplayLegacy()
2800 originalPlmn = mIccRecords.getPnnHomeName(); in updateSpnDisplayLegacy()
2945 if (mIccRecords instanceof SIMRecords) { in onUpdateIccAvailability()
[all …]
DPhone.java309 protected final AtomicReference<IccRecords> mIccRecords = new AtomicReference<IccRecords>(); field in Phone
436 return mIccRecords.get(); in getIccRecords()
1904 IccRecords r = mIccRecords.get(); in getIccSerialNumber()
1912 IccRecords r = mIccRecords.get(); in getFullIccSerialNumber()
1925 IccRecords r = mIccRecords.get(); in getIccRecordsLoaded()
3577 IccRecords r = mIccRecords.get(); in getUsimServiceTable()
4158 final IccRecords records = mIccRecords.get(); in getLocaleFromSimAndCarrierPrefs()
4401 pw.println(" mIccRecords=" + mIccRecords.get()); in dump()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneMmiCode.java181 private IccRecords mIccRecords; field in ImsPhoneMmiCode
576 mIccRecords = mPhone.mDefaultPhone.getIccRecords(); in ImsPhoneMmiCode()
1194 if (mIccRecords != null) { in handleMessage()
1195 mPhone.setVoiceCallForwardingFlag(mIccRecords, in handleMessage()
1497 mPhone.setVoiceCallForwardingFlag(mIccRecords, 1, cffEnabled, info.number); in makeCFQueryResultMessage()
1533 mPhone.setVoiceCallForwardingFlag(mIccRecords, 1, false, null); in onQueryCfComplete()
1876 if (mIccRecords != null) { in parseSsData()