Home
last modified time | relevance | path

Searched refs:setWifiState (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiStatusPreferenceControllerTest.java86 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()
DWifiRequestToggleActivityTest.java69 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/
DShadowCarWifiManager.java100 public static void setWifiState(int wifiState) { in setWifiState() method in ShadowCarWifiManager
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java4681 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()
DWifiMetrics.java6067 public void setWifiState(String ifaceName, int wifiState) { in setWifiState() method in WifiMetrics
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java1745 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()
DClientModeImplTest.java3584 .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()