Home
last modified time | relevance | path

Searched refs:ShadowTelephonyManager (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DMobileDataTogglePreferenceControllerTest.java42 import com.android.car.settings.testutils.ShadowTelephonyManager;
58 @Config(shadows = {ShadowTelephonyManager.class, ShadowSubscriptionManager.class})
90 ShadowTelephonyManager.reset(); in tearDown()
96 ShadowTelephonyManager.setSimCount(1); in onStart_singleSim_registersObserver()
105 ShadowTelephonyManager.setSimCount(2); in onStart_multiSim_registersObserver()
114 ShadowTelephonyManager.setSimCount(1); in onStop_singleSim_unregistersObserver()
158 ShadowTelephonyManager.setSimCount(1); in handlePreferenceChanged_setFalse_isSingleSim_opensDialog()
170 ShadowTelephonyManager.setSimCount(2); in handlePreferenceChanged_setFalse_isMultiSim_disablesData()
180 ShadowTelephonyManager.setSimCount(2); in handlePreferenceChanged_setFalse_isMultiSim_setsUnchecked()
190 ShadowTelephonyManager.setSimCount(1); in handlePreferenceChanged_setTrue_isSingleSim_enablesData()
[all …]
DRoamingPreferenceControllerTest.java43 import com.android.car.settings.testutils.ShadowTelephonyManager;
59 @Config(shadows = {ShadowTelephonyManager.class, ShadowCarrierConfigManager.class})
88 ShadowTelephonyManager.reset(); in tearDown()
101 ShadowTelephonyManager.setSimCount(2); in onStart_registerObserver_additionalSubId()
220 private ShadowTelephonyManager getShadowTelephonyManager() { in getShadowTelephonyManager()
221 return (ShadowTelephonyManager) Shadows.shadowOf(mTelephonyManager); in getShadowTelephonyManager()
DMobileNetworkEntryPreferenceControllerTest.java51 import com.android.car.settings.testutils.ShadowTelephonyManager;
71 ShadowTelephonyManager.class, ShadowSubscriptionManager.class})
115 ShadowTelephonyManager.reset(); in tearDown()
266 private ShadowTelephonyManager getShadowTelephonyManager() { in getShadowTelephonyManager()
267 return (ShadowTelephonyManager) extract(mContext.getSystemService(TelephonyManager.class)); in getShadowTelephonyManager()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DResetNetworkConfirmFragmentTest.java42 import com.android.car.settings.testutils.ShadowTelephonyManager;
64 ShadowTelephonyManager.class,
103 ShadowTelephonyManager.reset(); in tearDown()
157 assertThat(ShadowTelephonyManager.verifyFactoryResetCalled( in testResetButtonClick_emptyNetworkSubscriptionId_telephonyNotReset()
165 assertThat(ShadowTelephonyManager.verifyFactoryResetCalled(123, /* numTimes */ 1)).isTrue(); in testResetButtonClick_validNetworkSubscriptionId_telephonyReset()
181 ShadowTelephonyManager.SUBSCRIBER_ID, /* numTimes */ 1)).isTrue(); in testResetButtonClick_validNetworkSubscriptionId_networkManagerReset()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java44 import com.android.car.settings.testutils.ShadowTelephonyManager;
64 @Config(shadows = {ShadowTelephonyManager.class, ShadowSubscriptionManager.class,
101 ShadowTelephonyManager.reset(); in tearDown()
350 private ShadowTelephonyManager getShadowTelephonyManager() { in getShadowTelephonyManager()
351 return (ShadowTelephonyManager) extract( in getShadowTelephonyManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaOutputSliceTest.java59 import org.robolectric.shadows.ShadowTelephonyManager;
65 @Config(shadows = {ShadowBluetoothAdapter.class, ShadowTelephonyManager.class})
85 private ShadowTelephonyManager mShadowTelephonyManager;
DMediaOutputIndicatorSliceTest.java52 import org.robolectric.shadows.ShadowTelephonyManager;
59 ShadowTelephonyManager.class})
83 private ShadowTelephonyManager mShadowTelephonyManager;
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTelephonyManager.java35 public class ShadowTelephonyManager extends org.robolectric.shadows.ShadowTelephonyManager { class
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/deviceinfo/
DDataUsageSliceTest.java49 import org.robolectric.shadows.ShadowTelephonyManager;
75 final ShadowTelephonyManager shadowTelephonyManager = Shadows.shadowOf(telephonyManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DDataUsagePreferenceControllerTest.java44 import org.robolectric.shadows.ShadowTelephonyManager;
64 final ShadowTelephonyManager shadowTelephonyManager = Shadows.shadowOf(telephonyManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryTest.java57 import org.robolectric.shadows.ShadowTelephonyManager;
93 final ShadowTelephonyManager shadowTelephonyManager = Shadows.shadowOf(mTelephonyManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/imei/
DImeiInfoDialogControllerTest.java50 import org.robolectric.shadows.ShadowTelephonyManager;
82 final ShadowTelephonyManager stm = Shadow.extract(mContext.getSystemService( in setup()