Home
last modified time | relevance | path

Searched refs:ShadowDataUsageUtils (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryTest.java41 import com.android.settings.testutils.shadow.ShadowDataUsageUtils;
61 ShadowDataUsageUtils.class,
115 ShadowDataUsageUtils.HAS_SIM = false; in setListening_shouldBlankSummaryWithNoSim()
122 ShadowDataUsageUtils.HAS_SIM = true; in setListening_shouldSetSummaryWithSim()
130 ShadowDataUsageUtils.IS_MOBILE_DATA_SUPPORTED = true; in configuration_withSim_shouldShowMobileAndWifi()
131 ShadowDataUsageUtils.IS_WIFI_SUPPORTED = true; in configuration_withSim_shouldShowMobileAndWifi()
133 ShadowDataUsageUtils.HAS_SIM = true; in configuration_withSim_shouldShowMobileAndWifi()
150 ShadowDataUsageUtils.IS_MOBILE_DATA_SUPPORTED = true; in configuration_withoutSim_shouldShowWifiSectionOnly()
151 ShadowDataUsageUtils.IS_WIFI_SUPPORTED = true; in configuration_withoutSim_shouldShowWifiSectionOnly()
152 ShadowDataUsageUtils.HAS_SIM = false; in configuration_withoutSim_shouldShowWifiSectionOnly()
[all …]
DAppDataUsageTest.java54 import com.android.settings.testutils.shadow.ShadowDataUsageUtils;
412 @Config(shadows = {ShadowDataUsageUtils.class, ShadowSubscriptionManager.class})
414 ShadowDataUsageUtils.IS_MOBILE_DATA_SUPPORTED = true; in onCreate_noNetworkTemplateAndInvalidDataSubscription_shouldUseWifiTemplate()
415 ShadowDataUsageUtils.IS_WIFI_SUPPORTED = true; in onCreate_noNetworkTemplateAndInvalidDataSubscription_shouldUseWifiTemplate()
416 ShadowDataUsageUtils.HAS_SIM = false; in onCreate_noNetworkTemplateAndInvalidDataSubscription_shouldUseWifiTemplate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/deviceinfo/
DDataUsageSliceTest.java38 import com.android.settings.testutils.shadow.ShadowDataUsageUtils;
52 @Config(shadows = ShadowDataUsageUtils.class)
82 ShadowDataUsageUtils.HAS_SIM = true; in getSlice_hasSim_shouldBeCorrectSliceContent()
100 ShadowDataUsageUtils.HAS_SIM = false; in getSlice_hasNoSim_shouldShowNoSimCard()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiSettingsTest.java52 import com.android.settings.testutils.shadow.ShadowDataUsageUtils;
250 @Config(shadows = {ShadowDataUsageUtils.class})
253 ShadowDataUsageUtils.IS_WIFI_SUPPORTED = false; in checkDataUsagePreference_perferenceInvisibleIfWifiNotSupported()
261 @Config(shadows = {ShadowDataUsageUtils.class})
264 ShadowDataUsageUtils.IS_WIFI_SUPPORTED = true; in checkDataUsagePreference_perferenceVisibleIfWifiSupported()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDataUsageUtils.java12 public class ShadowDataUsageUtils { class