/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | NetworkUtilsTest.java | 66 when(telephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_ABSENT); in hasSim_simAbsent_returnsFalse() 74 when(telephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_UNKNOWN); in hasSim_simUnknown_returnsFalse() 82 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()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceControllerTest.java | 127 when(mTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in setUp() 345 when(mTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_ABSENT); in testSummaryUpdate_noSim_shouldSetWifiMode() 382 when(mTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_ABSENT); in testMobileData_noSimNoWifi_preferenceDisabled() 399 when(mTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_ABSENT); in testMobileData_noSimWifi_preferenceDisabled()
|
D | DataUsageUtilsTest.java | 80 when(mTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in hasSim_simStateReady() 87 when(mTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_ABSENT); in hasSim_simStateMissing()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageUtils.java | 123 isReady = isReady & tele.getSimState(subInfo.getSimSlotIndex()) == SIM_STATE_READY; in hasReadyMobileRadio() 154 final int simState = telephonyManager.getSimState(); in hasSim()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageUtils.java | 121 isReady = isReady & tele.getSimState(subInfo.getSimSlotIndex()) == SIM_STATE_READY; in hasReadyMobileRadio() 151 final int simState = telephonyManager.getSimState(); in hasSim()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
D | SimContactsTestHelper.java | 148 return mTelephonyManager.getSimState() == TelephonyManager.SIM_STATE_READY; in isSimReady() 171 assumeThat(mTelephonyManager.getSimState(), equalTo(TelephonyManager.SIM_STATE_ABSENT)); in assumeSimCardAbsent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoDialogControllerTest.java | 150 when(mTelephonyManager.getSimState(anyInt())).thenReturn( in populateImeiInfo_cdmaSimPresent_shouldSetImeiInfoAndSetAllCdmaSetting() 166 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 | 92 final int simState = mTelephonyManager.getSimState(subInfo.getSimSlotIndex()); in isSimReady()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/ |
D | SimLockPreferenceController.java | 83 final int simState = mTelephonyManager.getSimState(subInfo.getSimSlotIndex()); in isSimReady()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/ |
D | CellularDataConditionController.java | 64 || mTelephonyManager.getSimState() != TelephonyManager.SIM_STATE_READY) { in isDisplayable()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | CellularDataConditionController.java | 64 || mTelephonyManager.getSimState() != TelephonyManager.SIM_STATE_READY) { in isDisplayable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | SimLockPreferenceControllerTest.java | 153 when(mTelephonyManager.getSimState(anyInt())).thenReturn(SIM_STATE_READY); in setupMockSimReady()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoDialogController.java | 154 final int simState = mTelephonyManager.getSimState(slotId); in isSimPresent()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | SimCard.java | 247 if (telephony.getSimState() == TelephonyManager.SIM_STATE_READY) { in create()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneState.java | 258 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 | 111 mTelephonyManager.getSimState() == TelephonyManager.SIM_STATE_READY; in canReadSimContacts()
|
/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 | 368 && tm.getSimState() == TelephonyManager.SIM_STATE_READY; in isNetworkAvailable()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1892 || TelephonyManager.SIM_STATE_READY == mTelephonyManager.getSimState()) { in getCustomizedContextOrDefault()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 886 doReturn(TelephonyManager.SIM_STATE_ABSENT).when(mTelephony).getSimState(); in testGetLocationMcc()
|