Home
last modified time | relevance | path

Searched refs:simState (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/network/
DNetworkUtils.java49 int simState = telephonyManager.getSimState(); in hasSim() local
52 return simState != TelephonyManager.SIM_STATE_ABSENT in hasSim()
53 && simState != TelephonyManager.SIM_STATE_UNKNOWN; in hasSim()
/packages/apps/Settings/src/com/android/settings/security/
DSimLockPreferenceController.java92 final int simState = mTelephonyManager.getSimState(subInfo.getSimSlotIndex()); in isSimReady() local
93 if ((simState != TelephonyManager.SIM_STATE_ABSENT) in isSimReady()
94 && (simState != TelephonyManager.SIM_STATE_UNKNOWN)) { in isSimReady()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DSimLockPreferenceController.java83 final int simState = mTelephonyManager.getSimState(subInfo.getSimSlotIndex()); in isSimReady() local
84 if ((simState != TelephonyManager.SIM_STATE_ABSENT) && in isSimReady()
85 (simState != TelephonyManager.SIM_STATE_UNKNOWN)) { in isSimReady()
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
DImeiInfoDialogController.java154 final int simState = mTelephonyManager.getSimState(slotId); in isSimPresent() local
155 if ((simState != TelephonyManager.SIM_STATE_ABSENT) && in isSimPresent()
156 (simState != TelephonyManager.SIM_STATE_UNKNOWN)) { in isSimPresent()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageUtils.java154 final int simState = telephonyManager.getSimState(); in hasSim() local
156 return simState != TelephonyManager.SIM_STATE_ABSENT in hasSim()
157 && simState != TelephonyManager.SIM_STATE_UNKNOWN; in hasSim()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageUtils.java151 final int simState = telephonyManager.getSimState(); in hasSim() local
153 return simState != TelephonyManager.SIM_STATE_ABSENT in hasSim()
154 && simState != TelephonyManager.SIM_STATE_UNKNOWN; in hasSim()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java187 public int simState; field in TelephonyConnectionService.SlotStatus
1025 IccCardConstants.State simState = IccCardConstants.State.UNKNOWN; in getTelephonyConnection() local
1027 simState = icc.getState(); in getTelephonyConnection()
1029 if (simState == IccCardConstants.State.PIN_REQUIRED) { in getTelephonyConnection()
2120 int simState = mSubscriptionManagerProxy.getSimStateForSlotIdx(i); in getFirstPhoneForEmergencyCall() local
2122 status.simState = simState; in getFirstPhoneForEmergencyCall()
2123 if (simState == TelephonyManager.SIM_STATE_PIN_REQUIRED || in getFirstPhoneForEmergencyCall()
2124 simState == TelephonyManager.SIM_STATE_PUK_REQUIRED) { in getFirstPhoneForEmergencyCall()
2169 if (o1.simState == TelephonyManager.SIM_STATE_ABSENT in getFirstPhoneForEmergencyCall()
2170 && o2.simState != TelephonyManager.SIM_STATE_ABSENT) { in getFirstPhoneForEmergencyCall()
[all …]
/packages/services/Telephony/src/com/android/phone/
DSpecialCharSequenceMgr.java198 int simState = tele.getSimState(slotId); in getSimState() local
201 state = IccCardConstants.State.intToState(simState); in getSimState()
203 Log.w(TAG, "Unknown sim state: " + simState); in getSimState()
DCarrierConfigLoader.java1067 public void updateConfigForPhoneId(int phoneId, String simState) { in updateConfigForPhoneId() argument
1070 logdWithLocalLog("Update config for phoneId: " + phoneId + " simState: " + simState); in updateConfigForPhoneId()
1075 switch (simState) { in updateConfigForPhoneId()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java258 int simState = mTelephonyManager.getSimState(); in onSubscriptionsChanged() local
259 if (simState != TelephonyManager.SIM_STATE_READY) { in onSubscriptionsChanged()