Home
last modified time | relevance | path

Searched refs:ShadowSubscriptionManager (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DDataDuringCallsPreferenceControllerTest.java49 import org.robolectric.shadows.ShadowSubscriptionManager;
52 @Config(shadows = ShadowSubscriptionManager.class)
83 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_1); in getAvailabilityStatus_noInit_notAvailable()
94 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_1); in displayPreference_defaultForData_notAvailable()
104 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_2); in displayPreference_notDefaultForData_available()
114 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_2); in onSubscriptionsChanged_becomesDefaultForData_notAvailable()
117 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_1); in onSubscriptionsChanged_becomesDefaultForData_notAvailable()
126 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_1); in onSubscriptionsChanged_noLongerDefaultForData_available()
129 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_2); in onSubscriptionsChanged_noLongerDefaultForData_available()
138 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_1); in getAvailabilityStatus_mobileDataChangWithDefaultDataSubId_returnUnavailable()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageEntryPreferenceControllerTest.java39 import com.android.car.settings.testutils.ShadowSubscriptionManager;
55 @Config(shadows = {ShadowConnectivityManager.class, ShadowSubscriptionManager.class})
93 ShadowSubscriptionManager.reset(); in tearDown()
114 ShadowSubscriptionManager.setDefaultSubscriptionId( in refreshUi_noDefaultSubscriptionId_noSummarySet()
123 ShadowSubscriptionManager.setDefaultSubscriptionId(SUBSCRIPTION_ID); in refreshUi_noPrimaryPlan_noSummarySet()
132 ShadowSubscriptionManager.setDefaultSubscriptionId(SUBSCRIPTION_ID); in refreshUi_hasPrimaryPlan_setsSummary()
147 private ShadowSubscriptionManager getShadowSubscriptionManager() { in getShadowSubscriptionManager()
148 return (ShadowSubscriptionManager) extract( in getShadowSubscriptionManager()
DDataUsageSummaryPreferenceControllerTest.java43 import com.android.car.settings.testutils.ShadowSubscriptionManager;
64 @Config(shadows = {ShadowTelephonyManager.class, ShadowSubscriptionManager.class,
84 ShadowSubscriptionManager.setDefaultDataSubscriptionInfo(info); in setUp()
102 ShadowSubscriptionManager.reset(); in tearDown()
355 private ShadowSubscriptionManager getShadowSubscriptionManager() { in getShadowSubscriptionManager()
366 ShadowSubscriptionManager.setDefaultDataSubscriptionInfo(subInfo); in setCarrierName()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DMobileDataTogglePreferenceControllerTest.java40 import com.android.car.settings.testutils.ShadowSubscriptionManager;
58 @Config(shadows = {ShadowTelephonyManager.class, ShadowSubscriptionManager.class})
91 ShadowSubscriptionManager.reset(); in tearDown()
211 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_enablesData()
223 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_setsChecked()
236 ShadowSubscriptionManager.setDefaultDataSubscriptionId(otherSubId); in handlePreferenceChanged_setTrue_isMultiSim_otherSimActive_opensDialog()
293 ShadowSubscriptionManager.setDefaultDataSubscriptionId(otherSubId); in enableMutliSimDialog_onConfirm_enablesData()
317 ShadowSubscriptionManager.setDefaultDataSubscriptionId(otherSubId); in enableMutliSimDialog_onConfirm_setsChecked()
343 private ShadowSubscriptionManager getShadowSubscriptionManager() { in getShadowSubscriptionManager()
DSubscriptionsChangeListenerTest.java27 import com.android.car.settings.testutils.ShadowSubscriptionManager;
43 @Config(shadows = {ShadowSubscriptionManager.class})
62 ShadowSubscriptionManager.reset(); in tearDown()
127 private ShadowSubscriptionManager getShadowSubscriptionManager() { in getShadowSubscriptionManager()
DMobileNetworkUpdateManagerTest.java28 import com.android.car.settings.testutils.ShadowSubscriptionManager;
46 @Config(shadows = {ShadowSubscriptionManager.class})
156 private ShadowSubscriptionManager getShadowSubscriptionManager() { in getShadowSubscriptionManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryTest.java55 import org.robolectric.shadows.ShadowSubscriptionManager;
107 @Config(shadows = ShadowSubscriptionManager.class)
112 ShadowSubscriptionManager.setDefaultDataSubscriptionId(1); in configuration_withSim_shouldShowMobileAndWifi()
173 @Config(shadows = ShadowSubscriptionManager.class)
178 ShadowSubscriptionManager.setDefaultDataSubscriptionId( in configuration_invalidDataSusbscription_shouldShowWifiSectionOnly()
DAppDataUsageTest.java79 import org.robolectric.shadows.ShadowSubscriptionManager;
419 @Config(shadows = {ShadowDataUsageUtils.class, ShadowSubscriptionManager.class,
425 ShadowSubscriptionManager.setDefaultDataSubscriptionId( in onCreate_noNetworkTemplateAndInvalidDataSubscription_shouldUseWifiTemplate()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowSubscriptionManager.java32 public class ShadowSubscriptionManager extends org.robolectric.shadows.ShadowSubscriptionManager { class
97 org.robolectric.shadows.ShadowSubscriptionManager.reset(); in reset()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkActivityTest.java55 import org.robolectric.shadows.ShadowSubscriptionManager;
56 import org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder;
73 private ShadowSubscriptionManager mSubscriptionManager;
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DControllerRendererPoolTest.java41 import org.robolectric.shadows.ShadowSubscriptionManager;
68 ShadowSubscriptionManager shadowSubscriptionMgr = shadowOf( in setUp()
DContextualCardManagerTest.java70 import org.robolectric.shadows.ShadowSubscriptionManager;
94 private ShadowSubscriptionManager mShadowSubscriptionManager;
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DConditionContextualCardControllerTest.java43 import org.robolectric.shadows.ShadowSubscriptionManager;
68 final ShadowSubscriptionManager shadowSubscriptionMgr = shadowOf( in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/imei/
DImeiInfoDialogControllerTest.java49 import org.robolectric.shadows.ShadowSubscriptionManager;
78 final ShadowSubscriptionManager ssm = Shadow.extract(mContext.getSystemService( in setup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java63 import org.robolectric.shadows.ShadowSubscriptionManager;
79 private ShadowSubscriptionManager mShadowSubscriptionManager;
DWifiConfigController2Test.java73 import org.robolectric.shadows.ShadowSubscriptionManager;
96 private ShadowSubscriptionManager mShadowSubscriptionManager;