Home
last modified time | relevance | path

Searched refs:getSimCount (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DMobileDataTogglePreferenceControllerTest.java102 when(mMockTelephonyManager.getSimCount()).thenReturn(1); in setUp()
138 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in onStart_multiSim_registersObserver()
198 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in handlePreferenceChanged_setFalse_isMultiSim_disablesData()
208 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in handlePreferenceChanged_setFalse_isMultiSim_setsUnchecked()
241 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_enablesData()
250 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_setsChecked()
264 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in handlePreferenceChanged_setTrue_isMultiSim_otherSimActive_opensDialog()
326 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in enableMutliSimDialog_onConfirm_enablesData()
354 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in enableMutliSimDialog_onConfirm_setsChecked()
DRoamingPreferenceControllerTest.java101 when(mMockTelephonyManager.getSimCount()).thenReturn(1); in setUp()
136 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in onStart_registerObserver_additionalSubId()
DMobileNetworkEntryPreferenceControllerTest.java133 when(mTelephonyManager.getSimCount()).thenReturn(1); in setUp()
330 when(mTelephonyManager.getSimCount()).thenReturn(2); in onStart_multiSim_registersObserver()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileDataTogglePreferenceController.java137 boolean isMultiSim = (getTelephonyManager().getSimCount() > 1); in handlePreferenceChanged()
172 if (getTelephonyManager().getSimCount() != 1) { in getObservableUri()
DRoamingPreferenceController.java150 if (TelephonyManager.from(context).getSimCount() != 1) { in register()
DMobileNetworkEntryPreferenceController.java217 if (mTelephonyManager.getSimCount() != 1) { in getObservableUri()
/packages/apps/Stk/src/com/android/stk/
DStkLauncherActivity.java91 int simCount = TelephonyManager.from(mContext).getSimCount(); in onListItemClick()
175 int simCount = TelephonyManager.from(mContext).getSimCount(); in addStkMenuListItems()
DStkMain.java71 int simCount = TelephonyManager.from(mContext).getSimCount(); in isShowSTKListMenu()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTelephonyManager.java92 protected int getSimCount() { in getSimCount() method in ShadowTelephonyManager
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DMobileDataBaseWorker.java111 if (TelephonyManager.from(getContext()).getSimCount() != 1) { in getObservableUri()
/packages/services/Telephony/src/com/android/phone/settings/
DSuppServicesUiUtil.java95 boolean isMultiSim = (telephonyManager.getSimCount() > 1); in makeMessage()
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkRepository.java174 if (tm.getSimCount() != 1) { in register()
/packages/services/Telephony/src/com/android/phone/
DPhoneGlobals.java774 if (TelephonyManager.getDefault().getSimCount() > 1) { in registerSettingsObserver()