Searched refs:ShadowSubscriptionManager (Results 1 – 16 of 16) sorted by relevance
49 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 …]
39 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()
43 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()
40 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()
27 import com.android.car.settings.testutils.ShadowSubscriptionManager;43 @Config(shadows = {ShadowSubscriptionManager.class})62 ShadowSubscriptionManager.reset(); in tearDown()127 private ShadowSubscriptionManager getShadowSubscriptionManager() { in getShadowSubscriptionManager()
28 import com.android.car.settings.testutils.ShadowSubscriptionManager;46 @Config(shadows = {ShadowSubscriptionManager.class})156 private ShadowSubscriptionManager getShadowSubscriptionManager() { in getShadowSubscriptionManager()
55 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()
79 import org.robolectric.shadows.ShadowSubscriptionManager;419 @Config(shadows = {ShadowDataUsageUtils.class, ShadowSubscriptionManager.class,425 ShadowSubscriptionManager.setDefaultDataSubscriptionId( in onCreate_noNetworkTemplateAndInvalidDataSubscription_shouldUseWifiTemplate()
32 public class ShadowSubscriptionManager extends org.robolectric.shadows.ShadowSubscriptionManager { class97 org.robolectric.shadows.ShadowSubscriptionManager.reset(); in reset()
55 import org.robolectric.shadows.ShadowSubscriptionManager;56 import org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder;73 private ShadowSubscriptionManager mSubscriptionManager;
41 import org.robolectric.shadows.ShadowSubscriptionManager;68 ShadowSubscriptionManager shadowSubscriptionMgr = shadowOf( in setUp()
70 import org.robolectric.shadows.ShadowSubscriptionManager;94 private ShadowSubscriptionManager mShadowSubscriptionManager;
43 import org.robolectric.shadows.ShadowSubscriptionManager;68 final ShadowSubscriptionManager shadowSubscriptionMgr = shadowOf( in setUp()
49 import org.robolectric.shadows.ShadowSubscriptionManager;78 final ShadowSubscriptionManager ssm = Shadow.extract(mContext.getSystemService( in setup()
63 import org.robolectric.shadows.ShadowSubscriptionManager;79 private ShadowSubscriptionManager mShadowSubscriptionManager;
73 import org.robolectric.shadows.ShadowSubscriptionManager;96 private ShadowSubscriptionManager mShadowSubscriptionManager;