Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextManagerTest.java209 when(mKeyguardUpdateMonitor.getSimState(0)).thenReturn(TelephonyManager.SIM_STATE_READY); in testAirplaneMode()
256 when(mKeyguardUpdateMonitor.getSimState(0)) in testAirplaneMode_noSim_nullPlmn_nullSpn_doesNotCrash()
272 when(mKeyguardUpdateMonitor.getSimState(0)).thenReturn(TelephonyManager.SIM_STATE_READY); in testCardIOError()
273 when(mKeyguardUpdateMonitor.getSimState(1)).thenReturn( in testCardIOError()
306 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testWrongSlots()
326 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testMoreSlotsThanSubs()
367 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testCreateInfo_OneValidSubscription()
392 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testCreateInfo_OneValidSubscriptionWithRoaming()
417 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testCarrierText_noTextOnReadySimWhenNull()
442 when(mKeyguardUpdateMonitor.getSimState(anyInt())).thenReturn( in testCarrierText_noTextOnReadySimWhenNull_airplaneMode_wifiOn()
[all …]
DKeyguardUpdateMonitorTest.java460 when(mTelephonyManager.getSimState(anyInt())).thenReturn(state); in testSimStateInitialized()
467 assertThat(testKUM.getSimState(subId)).isEqualTo(state); in testSimStateInitialized()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DOperatorNameViewControllerTest.kt110 whenever(keyguardUpdateMonitor.getSimState(any())) in updateFromSubInfo_showsCarrieName()
135 whenever(keyguardUpdateMonitor.getSimState(any())) in notDataCapable_doesNotShowOperatorName()
159 whenever(keyguardUpdateMonitor.getSimState(any())) in airplaneMode_doesNotShowOperatorName()
186 whenever(keyguardUpdateMonitor.getSimState(any())) in notInService_doesNotShowOperatorName()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyStateTrackerTest.java123 .when(mTelephonyManagerProxy).getSimState(anyInt()); in setUp()
2465 .when(mTelephonyManagerProxy).getSimState(anyInt()); in testSaveKeyEmergencyCallbackModeSupportedBool()
2491 .when(mTelephonyManagerProxy).getSimState(anyInt()); in testSaveKeyEmergencyCallbackModeSupportedBool()
3191 .when(mTelephonyManagerProxy).getSimState(eq(0)); in testSwitchPhoneAbsentAndReady()
3196 .when(mTelephonyManagerProxy).getSimState(eq(1)); in testSwitchPhoneAbsentAndReady()
3225 .when(mTelephonyManagerProxy).getSimState(eq(0)); in testSwitchPhonePinLockedAndReady()
3230 .when(mTelephonyManagerProxy).getSimState(eq(1)); in testSwitchPhonePinLockedAndReady()
3259 .when(mTelephonyManagerProxy).getSimState(eq(0)); in testSwitchPhoneReadyAndReady()
3264 .when(mTelephonyManagerProxy).getSimState(eq(1)); in testSwitchPhoneReadyAndReady()
3290 .when(mTelephonyManagerProxy).getSimState(eq(0)); in testSwitchPhonePinLockedAndPinLocked()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java201 && getTelephonyManager().getSimState() == SIM_STATE_READY; in isMobileDataSupported()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameViewController.java116 mKeyguardUpdateMonitor.getSimState(defaultSubId), in getDefaultSubInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java232 int getSimState(int slotIndex); in getSimState() method
250 public int getSimState(int slotIndex) { in getSimState() method in EmergencyStateTracker.TelephonyManagerProxyImpl
251 return mTelephonyManager.getSimState(slotIndex); in getSimState()
1918 && mTelephonyManagerProxy.getSimState(slotIndex) in isSimReady()
2159 int simState = mTelephonyManagerProxy.getSimState(phoneId); in isThereOtherPhone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java282 int slotSimState = mTelephonyManagerProxy.getSimState(mContext, slotId);
337 int getSimState(Context context, int slotId); in getSimState() method
342 public int getSimState(Context context, int slotId) {
347 return tm.getSimState(slotId);
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssConfiguration.java495 return phone.getSimState() == TelephonyManager.SIM_STATE_ABSENT; in isSimAbsent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java2472 int state = mTelephonyManager.getSimState(slot); in initializeSimState()
3728 if (isSimPinSecure(getSimState(info.getSubscriptionId()))) return true; in isSimPinSecure()
3733 public int getSimState(int subId) { in getSimState() method in KeyguardUpdateMonitor
3785 int state = mTelephonyManager.getSimState(slotId); in refreshSimState()
3886 if (state == getSimState(id) && bestSlotId > slotId) { in getNextSubIdForState()
DCarrierTextManager.java374 int simState = mKeyguardUpdateMonitor.getSimState(subId); in updateCarrierText()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java3722 public @SimState int getSimState() { in getSimState() method in TelephonyManager
3738 int simState = getSimState(i); in getSimStateIncludingLoaded()
3768 int simState = getSimState(); in getSimCardState()
3794 int simState = getSimState(getLogicalSlotIndex(physicalSlotIndex, activePort)); in getSimCardState()
3820 int simState = getSimState(getLogicalSlotIndex(physicalSlotIndex, portIndex)); in getSimCardState()
4010 public @SimState int getSimState(int slotIndex) { in getSimState() method in TelephonyManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerImpl.java936 int state = mPhone.getSimState(i); in hasAnySim()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java1594 int cardState = mTelephonyManager.getSimState(mPhoneId); in isSuppServicesOverUtEnabledByPlatform()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsResolverTest.java1970 when(mTestTelephonyManagerProxy.getSimState(any(Context.class), eq(i))).thenReturn( in setupResolver()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1853 int simState = mContext.getSystemService(TelephonyManager.class).getSimState(); in notePhoneState()
/frameworks/base/boot/
Dboot-image-profile.txt14384 HSPLandroid/telephony/TelephonyManager;->getSimState()I
14385 HSPLandroid/telephony/TelephonyManager;->getSimState(I)I
/frameworks/base/config/
Dboot-image-profile.txt14448 HSPLandroid/telephony/TelephonyManager;->getSimState()I
14449 HSPLandroid/telephony/TelephonyManager;->getSimState(I)I
/frameworks/base/core/api/
Dcurrent.txt46082 method public int getSimState();
46083 method public int getSimState(int);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28674 method public int getSimState();