Home
last modified time | relevance | path

Searched refs:ShadowConnectivityManager (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageEntryPreferenceControllerTest.java39 import com.android.car.settings.testutils.ShadowConnectivityManager;
55 @Config(shadows = {ShadowConnectivityManager.class, ShadowSubscriptionManager.class})
92 ShadowConnectivityManager.reset(); in tearDown()
142 private ShadowConnectivityManager getShadowConnectivityManager() { in getShadowConnectivityManager()
143 return (ShadowConnectivityManager) extract( in getShadowConnectivityManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/
DBasebandVersionPreferenceControllerTest.java31 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
42 @Config(shadows = ShadowConnectivityManager.class)
57 final ShadowConnectivityManager connectivityManager = in getAvailability_wifiOnly_unavailable()
68 ShadowConnectivityManager connectivityManager = in getAvailability_hasMobile_available()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowConnectivityManager.java28 public class ShadowConnectivityManager extends org.robolectric.shadows.ShadowConnectivityManager { class
51 public static ShadowConnectivityManager getShadow() { in getShadow()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherFragmentTest.java33 import com.android.car.settings.testutils.ShadowConnectivityManager;
49 @Config(shadows = {ShadowCarWifiManager.class, ShadowConnectivityManager.class})
70 ShadowConnectivityManager.reset(); in tearDown()
182 private ShadowConnectivityManager getShadowConnectivityManager() { in getShadowConnectivityManager()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DMobileNetworkEntryPreferenceControllerTest.java49 import com.android.car.settings.testutils.ShadowConnectivityManager;
70 @Config(shadows = {ShadowCarUserManagerHelper.class, ShadowConnectivityManager.class,
114 ShadowConnectivityManager.reset(); in tearDown()
270 private ShadowConnectivityManager getShadowConnectivityManager() { in getShadowConnectivityManager()
271 return (ShadowConnectivityManager) extract( in getShadowConnectivityManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/shortcut/
DCreateShortcutPreferenceControllerTest.java41 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
62 @Config(shadows = ShadowConnectivityManager.class)
71 private ShadowConnectivityManager mShadowConnectivityManager;
81 mShadowConnectivityManager = ShadowConnectivityManager.getShadow(); in setup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkPreferenceControllerTest.java43 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
59 @Config(shadows = {ShadowConnectivityManager.class, ShadowUserManager.class})
91 ShadowConnectivityManager connectivityManager = in secondaryUser_prefIsNotAvailable()
103 ShadowConnectivityManager connectivityManager = in wifiOnly_prefIsNotAvailable()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DResetNetworkConfirmFragmentTest.java38 import com.android.car.settings.testutils.ShadowConnectivityManager;
62 ShadowConnectivityManager.class,
105 ShadowConnectivityManager.reset(); in tearDown()
117 assertThat(ShadowConnectivityManager.verifyFactoryResetCalled(/* numTimes */ 1)).isTrue(); in testResetButtonClick_connectivityManagerReset()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
DAutoTimeZonePreferenceControllerTest.java30 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
42 @Config(shadows = ShadowConnectivityManager.class)
51 private ShadowConnectivityManager connectivityManager;
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DContextualWifiSliceTest.java42 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
54 @Config(shadows = ShadowConnectivityManager.class)
157 ShadowConnectivityManager.getShadow().setNetworkCapabilities( in connectToWifi()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowConnectivityManager.java35 public class ShadowConnectivityManager extends org.robolectric.shadows.ShadowConnectivityManager { class
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DAddNetworkFragmentTest.java27 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
38 @Config(shadows = ShadowConnectivityManager.class)
DWifiDialogActivityTest.java28 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
47 ShadowConnectivityManager.class,
DWifiConfigControllerTest.java45 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
59 @Config(shadows = ShadowConnectivityManager.class)
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DAdvancedConnectedDeviceDashboardFragmentTest.java26 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
43 ShadowConnectivityManager.class})
DConnectedDeviceDashboardFragmentTest.java35 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
51 ShadowConnectivityManager.class, ShadowBluetoothAdapter.class})
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/aboutphone/
DMyDeviceInfoFragmentTest.java40 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
60 @Config(shadows = {ShadowConnectivityManager.class, ShadowUserManager.class})
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobServiceTest.java58 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
78 @Config(shadows = {ShadowConnectivityManager.class, ShadowPowerWhitelistBackend.class})