Searched refs:ShadowTelephonyManager (Results 1 – 12 of 12) sorted by relevance
42 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 …]
43 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()
51 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()
42 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()
44 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()
59 import org.robolectric.shadows.ShadowTelephonyManager;65 @Config(shadows = {ShadowBluetoothAdapter.class, ShadowTelephonyManager.class})85 private ShadowTelephonyManager mShadowTelephonyManager;
52 import org.robolectric.shadows.ShadowTelephonyManager;59 ShadowTelephonyManager.class})83 private ShadowTelephonyManager mShadowTelephonyManager;
35 public class ShadowTelephonyManager extends org.robolectric.shadows.ShadowTelephonyManager { class
49 import org.robolectric.shadows.ShadowTelephonyManager;75 final ShadowTelephonyManager shadowTelephonyManager = Shadows.shadowOf(telephonyManager); in setUp()
44 import org.robolectric.shadows.ShadowTelephonyManager;64 final ShadowTelephonyManager shadowTelephonyManager = Shadows.shadowOf(telephonyManager); in setUp()
57 import org.robolectric.shadows.ShadowTelephonyManager;93 final ShadowTelephonyManager shadowTelephonyManager = Shadows.shadowOf(mTelephonyManager); in setUp()
50 import org.robolectric.shadows.ShadowTelephonyManager;82 final ShadowTelephonyManager stm = Shadow.extract(mContext.getSystemService( in setup()