Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java183 when(mKeyguardUpdateMonitor.getSimState(0)).thenReturn(TelephonyManager.SIM_STATE_READY); in testAirplaneMode()
203 when(mKeyguardUpdateMonitor.getSimState(0)).thenReturn(TelephonyManager.SIM_STATE_READY); in testCardIOError()
204 when(mKeyguardUpdateMonitor.getSimState(1)).thenReturn( in testCardIOError()
237 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testWrongSlots()
257 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testMoreSlotsThanSubs()
298 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testCreateInfo_OneValidSubscription()
323 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testCreateInfo_OneValidSubscriptionWithRoaming()
348 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testCarrierText_noTextOnReadySimWhenNull()
373 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testCarrierText_noTextOnReadySimWhenNull_airplaneMode_wifiOn()
430 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testCarrierText_twoValidSubscriptions()
[all …]
DKeyguardUpdateMonitorTest.java236 when(mTelephonyManager.getSimState(anyInt())).thenReturn(state); in testSimStateInitialized()
243 assertThat(testKUM.getSimState(subId)).isEqualTo(state); in testSimStateInitialized()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiCarrierInfoManagerTest.java196 when(mTelephonyManager.getSimState(anyInt())).thenReturn(TelephonyManager.SIM_STATE_READY); in setUp()
219 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in setUp()
220 when(mNonDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in setUp()
419 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getSimIdentityEapSim()
443 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getSimIdentityEapAka()
467 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getSimIdentityEapAkaPrime()
508 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getEncryptedIdentity_WithRfc4648()
543 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getEncryptedIdentityFailed()
568 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in getSimIdentity2DigitMnc()
585 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_UNKNOWN); in getSimIdentityUnknownMccMnc()
[all …]
DClientModeImplTest.java1066 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in setupEapSimConnection()
1139 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in testSetAnonymousIdentityWhenConnectionIsEstablishedNoPseudonym()
1194 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonym()
1247 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym()
4157 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in testSupRequestIdentity_setsIdentityResponse()
DWifiConfigManagerTest.java4340 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in testResetSimNetworks()
4396 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities()
4455 when(mDataTelephonyManager.getSimState()).thenReturn(TelephonyManager.SIM_STATE_READY); in testLoadFromStoreResetsSimIdentity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEmergencyCryptkeeperText.java116 int simState = mKeyguardUpdateMonitor.getSimState(subId); in update()
DNetworkControllerImpl.java698 int state = mPhone.getSimState(i); in hasAnySim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java141 int simState = mKeyguardUpdateMonitor.getSimState(subId); in updateText()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCarrierInfoManager.java488 return mTelephonyManager.getSimState(simSlotIndex) == TelephonyManager.SIM_STATE_READY; in isSimStateReady()
508 if (specifiedTm.getSimState() == TelephonyManager.SIM_STATE_READY) { in getSimIdentity()
552 if (specifiedTm.getSimState() != TelephonyManager.SIM_STATE_READY) { in getAnonymousIdentityWith3GppRealm()
1110 if (specifiedTm.getSimState() != TelephonyManager.SIM_STATE_READY) { in getCarrierType()
1141 if (specifiedTm.getSimState() != TelephonyManager.SIM_STATE_READY) { in decoratePseudonymWith3GppRealm()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java240 && getTelephonyManager().getSimState() == SIM_STATE_READY; in isMobileDataSupported()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java250 int slotSimState = mTelephonyManagerProxy.getSimState(mContext, slotId);
301 int getSimState(Context context, int slotId); in getSimState() method
306 public int getSimState(Context context, int slotId) {
311 return tm.getSimState(slotId);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java1798 int state = mTelephonyManager.getSimState(slot); in KeyguardUpdateMonitor()
2727 if (isSimPinSecure(getSimState(info.getSubscriptionId()))) return true; in isSimPinSecure()
2732 public int getSimState(int subId) { in getSimState() method in KeyguardUpdateMonitor
2772 tele.getSimState(slotId) : TelephonyManager.SIM_STATE_UNKNOWN; in refreshSimState()
2871 if (state == getSimState(id) && bestSlotId > slotId) { in getNextSubIdForState()
DCarrierTextController.java309 int simState = mKeyguardUpdateMonitor.getSimState(subId); in updateCarrierText()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java1206 int cardState = manager.getSimState(mPhoneId); in isSuppServicesOverUtEnabledByPlatform()
1320 if (tm.getSimState() != TelephonyManager.SIM_STATE_READY) { in updateImsServiceConfig()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java3484 public @SimState int getSimState() { in getSimState() method in TelephonyManager
3500 int simState = getSimState(i); in getSimStateIncludingLoaded()
3527 int simState = getSimState(); in getSimCardState()
3547 int simState = getSimState(getLogicalSlotIndex(physicalSlotIndex)); in getSimCardState()
3687 public @SimState int getSimState(int slotIndex) { in getSimState() method in TelephonyManager
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java723 int simState = mContext.getSystemService(TelephonyManager.class).getSimState(); in notePhoneState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsResolverTest.java1660 when(mTestTelephonyManagerProxy.getSimState(any(Context.class), eq(i))).thenReturn( in setupResolver()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dboot-image-profile.txt19044 HSPLandroid/telephony/TelephonyManager;->getSimState()I
19045 HSPLandroid/telephony/TelephonyManager;->getSimState(I)I
/frameworks/base/api/
Dcurrent.txt48162 method public int getSimState();
48163 method public int getSimState(int);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28674 method public int getSimState();