/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | CarrierTextManagerTest.java | 209 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 …]
|
D | KeyguardUpdateMonitorTest.java | 460 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/ |
D | OperatorNameViewControllerTest.kt | 110 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/ |
D | EmergencyStateTrackerTest.java | 123 .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/ |
D | DataUsageController.java | 201 && getTelephonyManager().getSimState() == SIM_STATE_READY; in isMobileDataSupported()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | OperatorNameViewController.java | 116 mKeyguardUpdateMonitor.getSimState(defaultSubId), in getDefaultSubInfo()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | EmergencyStateTracker.java | 232 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/ |
D | ImsResolver.java | 282 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/ |
D | GnssConfiguration.java | 495 return phone.getSimState() == TelephonyManager.SIM_STATE_ABSENT; in isSimAbsent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 2472 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()
|
D | CarrierTextManager.java | 374 int simState = mKeyguardUpdateMonitor.getSimState(subId); in updateCarrierText()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 3722 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/ |
D | NetworkControllerImpl.java | 936 int state = mPhone.getSimState(i); in hasAnySim()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsManager.java | 1594 int cardState = mTelephonyManager.getSimState(mPhoneId); in isSuppServicesOverUtEnabledByPlatform()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsResolverTest.java | 1970 when(mTestTelephonyManagerProxy.getSimState(any(Context.class), eq(i))).thenReturn( in setupResolver()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 1853 int simState = mContext.getSystemService(TelephonyManager.class).getSimState(); in notePhoneState()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 14384 HSPLandroid/telephony/TelephonyManager;->getSimState()I 14385 HSPLandroid/telephony/TelephonyManager;->getSimState(I)I
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 14448 HSPLandroid/telephony/TelephonyManager;->getSimState()I 14449 HSPLandroid/telephony/TelephonyManager;->getSimState(I)I
|
/frameworks/base/core/api/ |
D | current.txt | 46082 method public int getSimState(); 46083 method public int getSimState(int);
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 28674 method public int getSimState();
|