Searched refs:setWifiState (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | WifiStatusPreferenceControllerTest.java | 86 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_UNKNOWN); in updateState_wifiNotAvailable_invisible() 95 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_DISABLED); in updateState_wifiDisabled_visible() 104 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_DISABLED); in updateState_wifiDisabled_isNotSelectable() 113 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_DISABLED); in updateState_wifiDisabled_showsDisabledText() 123 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_DISABLED); in updateState_wifiDisabled_showsIcon() 133 ShadowCarWifiManager.setWifiState(state); in onWifiStateChanged_invisible() 142 ShadowCarWifiManager.setWifiState(state); in onWifiStateChanged_visible() 151 ShadowCarWifiManager.setWifiState(state); in onWifiStateChanged_disabled() 163 ShadowCarWifiManager.setWifiState(state); in onWifiStateChanged_enabling()
|
D | WifiRequestToggleActivityTest.java | 69 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_DISABLED); in testOnStartWifiEnabled_toggleEnableWifi_showsDialog() 79 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_ENABLED); in testOnStartWifiDisabled_toggleDisableWifi_showsDialog() 89 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_ENABLED); in testOnStartWifiEnabled_toggleEnableWifi_finish() 99 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_DISABLED); in testOnStartWifiDisabled_toggleDisableWifi_finish()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowCarWifiManager.java | 100 public static void setWifiState(int wifiState) { in setWifiState() method in ShadowCarWifiManager
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 4681 mWifiMetrics.setWifiState(mInterfaceName, WifiMetricsProto.WifiLog.WIFI_DISCONNECTED); in continueEnterSetup() 4690 mWifiMetrics.setWifiState(mInterfaceName, WifiMetricsProto.WifiLog.WIFI_DISABLED); in exitImpl() 6480 mWifiMetrics.setWifiState(mInterfaceName, WifiMetricsProto.WifiLog.WIFI_ASSOCIATED); in enterImpl() 6505 mWifiMetrics.setWifiState(mInterfaceName, WifiMetricsProto.WifiLog.WIFI_DISCONNECTED); in exitImpl()
|
D | WifiMetrics.java | 6067 public void setWifiState(String ifaceName, int wifiState) { in setWifiState() method in WifiMetrics
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 1745 mWifiMetrics.setWifiState(TEST_IFACE_NAME, WifiMetricsProto.WifiLog.WIFI_ASSOCIATED); in testScoreBeachEvents() 1776 mWifiMetrics.setWifiState(TEST_IFACE_NAME, WifiMetricsProto.WifiLog.WIFI_ASSOCIATED); in testWifiUsabilityScoreBreachEvents() 5891 mWifiMetrics.setWifiState(TEST_IFACE_NAME, WifiMetricsProto.WifiLog.WIFI_ASSOCIATED); in createTestForDataCollectionByScoreBreach()
|
D | ClientModeImplTest.java | 3584 .setWifiState(WIFI_IFACE_NAME, WifiMetricsProto.WifiLog.WIFI_DISCONNECTED); in testWifiInfoCleanedUpEnteringExitingConnectableState() 3599 inOrderMetrics.verify(mWifiMetrics).setWifiState(WIFI_IFACE_NAME, in testWifiInfoCleanedUpEnteringExitingConnectableState() 3629 .setWifiState(WIFI_IFACE_NAME, WifiMetricsProto.WifiLog.WIFI_DISCONNECTED); in testWifiInfoCleanedUpEnteringExitingConnectableState3()
|