/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | NetworkUtilsTest.java | 65 when(telephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_ABSENT); in hasSim_simAbsent_returnsFalse() 73 when(telephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_UNKNOWN); in hasSim_simUnknown_returnsFalse() 81 when(telephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_LOADED); in hasSim_otherStatus_returnsTrue()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SpecialCharSequenceMgr.java | 196 private static IccCardConstants.State getSimState(int slotId, Context context) { in getSimState() method in SpecialCharSequenceMgr 198 int simState = tele.getSimState(slotId); in getSimState() 221 if (state == getSimState(info.getSimSlotIndex(), context) in getNextSubIdForState()
|
D | GsmUmtsCallBarringOptions.java | 416 boolean isSimReady = TelephonyManager.from(this).getSimState( in onCreate()
|
D | PhoneGlobals.java | 269 return tm.createForSubscriptionId(phone.getSubId()).getSimState() in isSimLocked()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
D | SimContactsTestHelper.java | 145 return mTelephonyManager.getSimState() == TelephonyManager.SIM_STATE_READY; in isSimReady() 168 assumeThat(mTelephonyManager.getSimState(), equalTo(TelephonyManager.SIM_STATE_ABSENT)); in assumeSimCardAbsent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoDialogControllerTest.java | 149 when(mTelephonyManager.getSimState(anyInt())).thenReturn( in populateImeiInfo_cdmaSimPresent_shouldSetImeiInfoAndSetAllCdmaSetting() 165 when(mTelephonyManager.getSimState(anyInt())).thenReturn(TelephonyManager.SIM_STATE_ABSENT); in populateImeiInfo_cdmaSimABSENT_shouldSetImeiInfoAndSetAllCdmaSetting()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | NetworkUtils.java | 49 int simState = telephonyManager.getSimState(); in hasSim()
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | SimLockPreferenceController.java | 96 final int simState = mTelephonyManager.getSimState(subInfo.getSimSlotIndex()); in isSimReady()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | CellularDataConditionController.java | 74 || mTelephonyManager.getSimState() != TelephonyManager.SIM_STATE_READY) { in isDisplayable()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoDialogController.java | 154 final int simState = mTelephonyManager.getSimState(slotId); in isSimPresent()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | EnableMultiSimSidecar.java | 153 int simState = mTelephonyManager.getSimState(logicalSlotId); in getReadySimsCount()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | SimLockPreferenceControllerTest.java | 167 when(mTelephonyManager.getSimState(anyInt())).thenReturn(SIM_STATE_READY); in setupMockSimReady()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageUtils.java | 124 isReady = isReady & tele.getSimState(subInfo.getSimSlotIndex()) == SIM_STATE_READY; in hasReadyMobileRadio()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | SimCard.java | 243 if (telephony.getSimState() == TelephonyManager.SIM_STATE_READY) { in create()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneState.java | 261 int simState = mTelephonyManager.getSimState(); in onSubscriptionsChanged()
|
/packages/apps/Dialer/java/com/android/dialer/postcall/ |
D | PostCall.java | 252 return context.getSystemService(TelephonyManager.class).getSimState() in isSimReady()
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
D | SimContactDaoImpl.java | 104 mTelephonyManager.getSimState() == TelephonyManager.SIM_STATE_READY; in canReadSimContacts()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceControllerTest.java | 143 doReturn(TelephonyManager.SIM_STATE_READY).when(mTelephonyManager).getSimState(); in setUp()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 290 return mTelephonyManager.getSimState() != TelephonyManager.SIM_STATE_ABSENT; in hasSim()
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | TelecomUtils.java | 418 && tm.getSimState() == TelephonyManager.SIM_STATE_READY; in isNetworkAvailable()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1928 || TelephonyManager.SIM_STATE_READY == mTelephonyManager.getSimState()) { in getCustomizedContextOrDefault()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 907 doReturn(TelephonyManager.SIM_STATE_ABSENT).when(mTelephony).getSimState(); in testGetLocationMcc()
|