Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DAutoDataSwitchPreferenceControllerTest.java53 import org.robolectric.shadows.ShadowSubscriptionManager;
56 @Config(shadows = ShadowSubscriptionManager.class)
94 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_1); in getAvailabilityStatus_noInit_notAvailable()
106 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_1); in displayPreference_defaultForData_notAvailable()
117 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_2); in displayPreference_notDefaultForData_available()
128 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_2); in onSubscriptionsChanged_becomesDefaultForData_notAvailable()
131 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_1); in onSubscriptionsChanged_becomesDefaultForData_notAvailable()
141 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_1); in onSubscriptionsChanged_noLongerDefaultForData_available()
144 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_2); in onSubscriptionsChanged_noLongerDefaultForData_available()
154 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID_1); in getAvailabilityStatus_mobileDataChangWithDefaultDataSubId_returnUnavailable()
[all …]
/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/datausage/
DDataUsageSummaryTest.java53 import org.robolectric.shadows.ShadowSubscriptionManager;
105 @Config(shadows = ShadowSubscriptionManager.class)
109 ShadowSubscriptionManager.setDefaultDataSubscriptionId(1); in configuration_withSim_shouldShowMobileAndWifi()
167 @Config(shadows = ShadowSubscriptionManager.class)
171 ShadowSubscriptionManager.setDefaultDataSubscriptionId( in configuration_invalidDataSusbscription_shouldShowWifiSectionOnly()
DAppDataUsageTest.java76 import org.robolectric.shadows.ShadowSubscriptionManager;
253 @Config(shadows = {ShadowDataUsageUtils.class, ShadowSubscriptionManager.class,
258 ShadowSubscriptionManager.setDefaultDataSubscriptionId( in onCreate_noNetworkTemplateAndInvalidDataSubscription_shouldUseWifiTemplate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DSubscriptionUtilRoboTest.java41 import org.robolectric.shadows.ShadowSubscriptionManager;
52 private ShadowSubscriptionManager mShadowSubscriptionManager;
/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/
DWifiConfigController2Test.java76 import org.robolectric.shadows.ShadowSubscriptionManager;
107 private ShadowSubscriptionManager mShadowSubscriptionManager;
922 ShadowSubscriptionManager.setDefaultDataSubscriptionId(1); in loadSims_twoSimsWithDifferentCarrierId_showTwoSims()
938 ShadowSubscriptionManager.setDefaultDataSubscriptionId(1); in loadSims_twoSimsWithSameCarrierId_showOneDefaultDataSim()
945 ShadowSubscriptionManager.setDefaultDataSubscriptionId(2); in loadSims_twoSimsWithSameCarrierId_showOneDefaultDataSim()
DWifiConfigControllerTest.java67 import org.robolectric.shadows.ShadowSubscriptionManager;
83 private ShadowSubscriptionManager mShadowSubscriptionManager;