/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | CarrierTextControllerTest.java | 129 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/ |
D | TelephonyUtilTest.java | 75 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/ |
D | PasspointNetworkEvaluatorTest.java | 161 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/ |
D | EmergencyCryptkeeperText.java | 104 IccCardConstants.State simState = mKeyguardUpdateMonitor.getSimState(subId); in update()
|
D | NetworkControllerImpl.java | 627 int state = mPhone.getSimState(i); in hasAnySim()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | TelephonyUtil.java | 106 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/ |
D | OperatorNameView.java | 141 State simState = mKeyguardUpdateMonitor.getSimState(subId); in updateText()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageController.java | 239 && getTelephonyManager().getSimState() == SIM_STATE_READY; in isMobileDataSupported()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 2302 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()
|
D | CarrierTextController.java | 332 IccCardConstants.State simState = mKeyguardUpdateMonitor.getSimState(subId); in updateCarrierText()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | CarrierNetworkEvaluatorTest.java | 164 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in setUp()
|
D | WifiConfigManagerTest.java | 4335 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()
|
D | ClientModeImplTest.java | 1043 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/ |
D | ImsManager.java | 1301 int cardState = manager.getSimState(mPhoneId); in isSuppServicesOverUtEnabledByPlatform() 1415 if (tm.getSimState() != TelephonyManager.SIM_STATE_READY) { in updateImsServiceConfig()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 3031 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/ |
D | BatteryStatsService.java | 734 int simState = TelephonyManager.getDefault().getSimState(); in notePhoneState()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 14390 HSPLandroid/telephony/TelephonyManager;->getSimState()I 14391 HSPLandroid/telephony/TelephonyManager;->getSimState(I)I
|
/frameworks/base/api/ |
D | current.txt | 44951 method public int getSimState(); 44952 method public int getSimState(int);
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 28674 method public int getSimState();
|