Home
last modified time | relevance | path

Searched refs:CMD_WIFI_TOGGLED (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiController.java78 static final int CMD_WIFI_TOGGLED = BASE + 8; field in WifiController
252 case CMD_WIFI_TOGGLED: in processMessage()
336 case CMD_WIFI_TOGGLED: in processMessage()
424 case CMD_WIFI_TOGGLED: in processMessage()
508 case CMD_WIFI_TOGGLED: in processMessage()
DWakeupController.java19 import static com.android.server.wifi.WifiController.CMD_WIFI_TOGGLED;
414 mWifiInjector.getWifiController().sendMessage(CMD_WIFI_TOGGLED); in enableWifi()
DWifiServiceImpl.java40 import static com.android.server.wifi.WifiController.CMD_WIFI_TOGGLED;
942 mWifiController.sendMessage(CMD_WIFI_TOGGLED); in setWifiEnabled()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java42 import static com.android.server.wifi.WifiController.CMD_WIFI_TOGGLED;
592 verify(mWifiController).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledSuccessWithNetworkSettingsPermission()
606 verify(mWifiController).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledSuccessWithNetworkManagedProvisioningPermission()
626 verify(mWifiController).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledSuccessForDOAppsTargetingQSDK()
644 verify(mWifiController).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledSuccessForSystemAppsTargetingQSDK()
661 verify(mWifiController).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledSuccessForAppsTargetingBelowQSDK()
692 verify(mWifiController, never()).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledFailureForAppsTargetingQSDK()
711 verify(mWifiController, never()).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnableAppOpsRejected()
727 verify(mWifiController, never()).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnableAppOpsIgnored()
743 verify(mWifiController).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledFromNetworkSettingsHolderWhenInAirplaneMode()
[all …]
DWifiControllerTest.java28 import static com.android.server.wifi.WifiController.CMD_WIFI_TOGGLED;
158 mWifiController.sendMessage(CMD_WIFI_TOGGLED); in enableWifi()
763 mWifiController.sendMessage(CMD_WIFI_TOGGLED); in testWifiDoesNotToggleOnWhenInEcm()
948 mWifiController.obtainMessage(CMD_WIFI_TOGGLED).sendToTarget(); in testReturnToStaEnabledStateAfterWifiEnabledShutdown()