Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageEntryPreferenceControllerTest.java38 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.java30 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
44 @Config(shadows = ShadowConnectivityManager.class)
59 final ShadowConnectivityManager connectivityManager = in getAvailability_wifiOnly_unavailable()
70 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/network/
DMobileNetworkEntryPreferenceControllerTest.java47 import com.android.car.settings.testutils.ShadowConnectivityManager;
71 @Config(shadows = {ShadowConnectivityManager.class, ShadowTelephonyManager.class,
109 ShadowConnectivityManager.reset(); in tearDown()
269 private ShadowConnectivityManager getShadowConnectivityManager() { in getShadowConnectivityManager()
270 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;
65 ShadowConnectivityManager.class,
111 ShadowConnectivityManager.reset(); in tearDown()
123 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.java45 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
57 @Config(shadows = ShadowConnectivityManager.class)
142 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
DShadowWifiManager.java34 import org.robolectric.shadows.ShadowConnectivityManager;
97 ShadowConnectivityManager connectivityManager = in connect()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DConfigureAccessPointFragmentTest.java27 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
38 @Config(shadows = ShadowConnectivityManager.class)
DAddNetworkFragmentTest.java27 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
38 @Config(shadows = ShadowConnectivityManager.class)
DWifiDialogActivityTest.java28 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
45 ShadowConnectivityManager.class,
DWifiConfigControllerTest.java45 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
61 @Config(shadows = ShadowConnectivityManager.class)
DWifiConfigController2Test.java45 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
61 @Config(shadows = ShadowConnectivityManager.class)
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DAdvancedConnectedDeviceDashboardFragmentTest.java28 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
45 ShadowConnectivityManager.class})
DConnectedDeviceDashboardFragmentTest.java35 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
51 ShadowConnectivityManager.class, ShadowBluetoothAdapter.class})
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherFragmentTest.java40 import com.android.car.settings.testutils.ShadowConnectivityManager;
60 @Config(shadows = {ShadowCarWifiManager.class, ShadowConnectivityManager.class})
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobServiceTest.java61 import com.android.settings.testutils.shadow.ShadowConnectivityManager;
81 @Config(shadows = {ShadowConnectivityManager.class, ShadowPowerWhitelistBackend.class})