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;
908 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;
585 verify(mWifiController).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledSuccessWithNetworkSettingsPermission()
599 verify(mWifiController).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledSuccessWithNetworkManagedProvisioningPermission()
616 verify(mWifiController).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledSuccessForAppsTargetingBelowQSDK()
633 verify(mWifiController, never()).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledFailureForAppsTargetingQSDK()
652 verify(mWifiController, never()).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnableAppOpsRejected()
668 verify(mWifiController, never()).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnableAppOpsIgnored()
684 verify(mWifiController).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledFromNetworkSettingsHolderWhenInAirplaneMode()
704 verify(mWifiController, never()).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledFromAppFailsWhenInAirplaneMode()
729 verify(mWifiController).sendMessage(eq(CMD_WIFI_TOGGLED)); in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled()
[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()