Home
last modified time | relevance | path

Searched refs:ShadowWifiManager (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DConnectToWifiHandlerTest.java31 import com.android.settings.testutils.shadow.ShadowWifiManager;
44 @Config(shadows = ShadowWifiManager.class)
72 assertThat(ShadowWifiManager.get().savedWifiConfig.SSID).isEqualTo(AP_SSID); in connect_shouldConnectToUnsavedOpenNetwork()
93 assertThat(ShadowWifiManager.get().savedWifiConfig.SSID).isEqualTo(AP_SSID); in connect_shouldConnectWithPasspointProvider()
106 assertThat(ShadowWifiManager.get().savedWifiConfig.SSID).isEqualTo(AP_SSID); in connect_shouldConnectToSavedSecuredNetwork()
116 assertThat(ShadowWifiManager.get().savedWifiConfig).isNull(); in connect_shouldNotConnectToUnsavedSecuredNetwork()
DWifiScanWorkerTest.java46 import com.android.settings.testutils.shadow.ShadowWifiManager;
67 ShadowWifiManager.class,
210 ShadowWifiManager.get().setConnectionInfo(wifiInfo); in setConnectionInfoSSID()
DContextualWifiScanWorkerTest.java35 import com.android.settings.testutils.shadow.ShadowWifiManager;
47 ShadowWifiManager.class,
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiDialogActivityTest.java29 import com.android.settings.testutils.shadow.ShadowWifiManager;
48 ShadowWifiManager.class,
76 assertThat(ShadowWifiManager.get().savedWifiConfig.SSID).isEqualTo(AP1_SSID); in onSubmit_shouldConnectToNetwork()
94 assertThat(ShadowWifiManager.get().savedWifiConfig).isNull(); in onSubmit_whenConnectForCallerIsFalse_shouldNotConnectToNetwork()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowWifiManager.java35 public class ShadowWifiManager extends org.robolectric.shadows.ShadowWifiManager { class
83 public static ShadowWifiManager get() { in get()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DResetNetworkConfirmFragmentTest.java43 import com.android.car.settings.testutils.ShadowWifiManager;
62 ShadowWifiManager.class,
100 ShadowWifiManager.reset(); in tearDown()
117 assertThat(ShadowWifiManager.verifyFactoryResetCalled(/* numTimes */ 1)).isTrue(); in testResetButtonClick_wifiManagerReset()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DNetworkPasswordPreferenceControllerTest.java34 import com.android.car.settings.testutils.ShadowWifiManager;
48 @Config(shadows = {ShadowLocalBroadcastManager.class, ShadowWifiManager.class})
71 ShadowWifiManager.reset(); in tearDown()
195 private ShadowWifiManager getShadowWifiManager() { in getShadowWifiManager()
DAddWifiFragmentTest.java31 import com.android.car.settings.testutils.ShadowWifiManager;
44 @Config(shadows = {ShadowLocalBroadcastManager.class, ShadowWifiManager.class})
63 ShadowWifiManager.reset(); in tearDown()
DAccessPointListPreferenceControllerTest.java42 import com.android.car.settings.testutils.ShadowWifiManager;
62 @Config(shadows = {ShadowCarWifiManager.class, ShadowWifiManager.class})
250 private ShadowWifiManager getShadowWifiManager() { in getShadowWifiManager()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java31 public class ShadowWifiManager extends org.robolectric.shadows.ShadowWifiManager { class
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DHotspotConditionControllerTest.java26 import com.android.settings.testutils.shadow.ShadowWifiManager;
37 @Config(shadows = {ShadowWifiManager.class})
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/savedaccesspoints/
DSavedAccessPointsPreferenceControllerTest.java41 import com.android.settings.testutils.shadow.ShadowWifiManager;
55 @Config(shadows = {ShadowThreadUtils.class, ShadowWifiManager.class})
DSubscribedAccessPointsPreferenceControllerTest.java47 import com.android.settings.testutils.shadow.ShadowWifiManager;
61 @Config(shadows = {ShadowThreadUtils.class, ShadowWifiManager.class})
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java42 import com.android.settings.testutils.shadow.ShadowWifiManager;
58 @Config(shadows = {ShadowWifiManager.class})
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/
DTvShadowWifiManager.java25 public class TvShadowWifiManager extends org.robolectric.shadows.ShadowWifiManager {