Home
last modified time | relevance | path

Searched refs:getSimState (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java129 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testWrongSlots()
149 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testMoreSlotsThanSubs()
190 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn(IccCardConstants.State.READY); in testCreateInfo_OneValidSubscription()
214 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn(IccCardConstants.State.READY); in testCreateInfo_OneValidSubscriptionWithRoaming()
259 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn(IccCardConstants.State.READY); in testCarrierText_twoValidSubscriptions()
282 when(mKeyguardUpdateMonitor.getSimState(anyInt())) in testCarrierText_oneDisabledSub()
307 when(mKeyguardUpdateMonitor.getSimState(anyInt())) in testCarrierText_firstDisabledSub()
333 when(mKeyguardUpdateMonitor.getSimState(anyInt())) in testCarrierText_threeSubsMiddleDisabled()
358 when(mKeyguardUpdateMonitor.getSimState(anyInt())) in testCarrierText_GroupedSubWithOpportunisticCarrierText()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DTelephonyUtilTest.java75 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getSimIdentityEapSim()
95 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getSimIdentityEapAka()
115 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getSimIdentityEapAkaPrime()
153 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getEncryptedIdentity_WithRfc4648()
187 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getEncryptedIdentityFailed()
209 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getSimIdentity2DigitMnc()
225 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_UNKNOWN); in getSimIdentityUnknownMccMnc()
246 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getSimIdentityNonTelephonyConfig()
561 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getAnonymousIdentityWithSim()
573 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_ABSENT); in getAnonymousIdentityWithoutSim()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluatorTest.java161 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in setUp()
477 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in skipCreateEphemeralPasspointConfigurationForNonMNO()
502 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in skipCreateEphemeralPasspointConfigurationForApDisconnectedByUser()
543 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in createEphemeralPasspointConfigurationWhenEapMethodIsFoundFromMatchingNAIRealm()
570 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in installEphemeralPasspointConfiguration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEmergencyCryptkeeperText.java104 IccCardConstants.State simState = mKeyguardUpdateMonitor.getSimState(subId); in update()
DNetworkControllerImpl.java627 int state = mPhone.getSimState(i); in hasAnySim()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java106 if (defaultDataTm.getSimState() == TelephonyManager.SIM_STATE_READY) { in getSimIdentity()
153 if (defaultDataTm.getSimState() != TelephonyManager.SIM_STATE_READY) { in getAnonymousIdentityWith3GppRealm()
716 if (defaultDataTm.getSimState() != TelephonyManager.SIM_STATE_READY) { in getCarrierType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java141 State simState = mKeyguardUpdateMonitor.getSimState(subId); in updateText()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java239 && getTelephonyManager().getSimState() == SIM_STATE_READY; in isMobileDataSupported()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java2302 if (isSimPinSecure(getSimState(info.getSubscriptionId()))) return true; in isSimPinSecure()
2307 public State getSimState(int subId) { in getSimState() method in KeyguardUpdateMonitor
2343 int simState = tele.getSimState(slotId); in refreshSimState()
2440 if (state == getSimState(id) && bestSlotId > slotId ) { in getNextSubIdForState()
DCarrierTextController.java332 IccCardConstants.State simState = mKeyguardUpdateMonitor.getSimState(subId); in updateCarrierText()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkEvaluatorTest.java164 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in setUp()
DWifiConfigManagerTest.java4335 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in testResetSimNetworks()
4380 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities()
4428 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in testLoadFromStoreResetsSimIdentity()
DClientModeImplTest.java1043 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in testSetAnonymousIdentityWhenConnectionIsEstablished()
3640 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in testSupRequestIdentity_setsIdentityResponse()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java1301 int cardState = manager.getSimState(mPhoneId); in isSuppServicesOverUtEnabledByPlatform()
1415 if (tm.getSimState() != TelephonyManager.SIM_STATE_READY) { in updateImsServiceConfig()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java3031 public int getSimState() { in getSimState() method in TelephonyManager
3047 int simState = getSimState(i); in getSimStateIncludingLoaded()
3074 int simCardState = getSimState(); in getSimCardState()
3133 public int getSimState(int slotIndex) { in getSimState() method in TelephonyManager
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java734 int simState = TelephonyManager.getDefault().getSimState(); in notePhoneState()
/frameworks/base/config/
Dboot-image-profile.txt14390 HSPLandroid/telephony/TelephonyManager;->getSimState()I
14391 HSPLandroid/telephony/TelephonyManager;->getSimState(I)I
/frameworks/base/api/
Dcurrent.txt44951 method public int getSimState();
44952 method public int getSimState(int);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28674 method public int getSimState();