Home
last modified time | relevance | path

Searched refs:CMD_SET_AP (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiController.java80 static final int CMD_SET_AP = BASE + 10; field in WifiController
273 case CMD_SET_AP: in processMessage()
360 case CMD_SET_AP: in processMessage()
449 case CMD_SET_AP: in processMessage()
527 case CMD_SET_AP: in processMessage()
644 case CMD_SET_AP: in processMessage()
DWifiServiceImpl.java39 import static com.android.server.wifi.WifiController.CMD_SET_AP;
1116 mWifiController.sendMessage(CMD_SET_AP, 1, 0, softApConfig); in startSoftApInternal()
1162 mWifiController.sendMessage(CMD_SET_AP, 0, mode); in stopSoftApInternal()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiControllerTest.java26 import static com.android.server.wifi.WifiController.CMD_SET_AP;
433 mWifiController.obtainMessage(CMD_SET_AP, 1, 0).sendToTarget(); in testEcmOnFromSoftApMode()
453 mWifiController.obtainMessage(CMD_SET_AP, 1, 0).sendToTarget(); in testEcmOffInSoftApMode()
475 mWifiController.obtainMessage(CMD_SET_AP, 1, 0).sendToTarget(); in testEcmDisabledRemainsDisabledWhenSoftApHadBeenOn()
811 mWifiController.sendMessage(CMD_SET_AP); in testSoftApModeDoesNotToggleOnWhenInEcm()
849 mWifiController.sendMessage(CMD_SET_AP, 1); in testSoftApModeToggleWhenInAirplaneMode()
854 mWifiController.sendMessage(CMD_SET_AP, 0, WifiManager.IFACE_IP_MODE_UNSPECIFIED); in testSoftApModeToggleWhenInAirplaneMode()
918 mWifiController.obtainMessage(CMD_SET_AP, 1, 0).sendToTarget(); in testReturnToStaEnabledStateAfterAPModeShutdown()
944 mWifiController.obtainMessage(CMD_SET_AP, 1, 0).sendToTarget(); in testReturnToStaEnabledStateAfterWifiEnabledShutdown()
1117 mWifiController.obtainMessage(CMD_SET_AP, 1).sendToTarget(); in testRestartWifiStackFullyStopsWifi()
DWifiServiceImplTest.java41 import static com.android.server.wifi.WifiController.CMD_SET_AP;
1172 .sendMessage(eq(CMD_SET_AP), eq(1), anyInt(), mSoftApModeConfigCaptor.capture()); in testStartSoftApWithPermissionsAndNullConfig()
1195 .sendMessage(eq(CMD_SET_AP), eq(1), anyInt(), mSoftApModeConfigCaptor.capture()); in testStartSoftApWithPermissionsAndValidConfig()
1232 verify(mWifiController).sendMessage(eq(CMD_SET_AP), eq(0), in testStopSoftApWithPermissions()
1626 .sendMessage(eq(CMD_SET_AP), eq(1), eq(0), mSoftApModeConfigCaptor.capture()); in testTetheringDoesNotStartWhenAlreadyTetheringActive()
1687 verify(mWifiController, never()).sendMessage(eq(CMD_SET_AP), anyInt(), anyInt()); in testStopLocalOnlyHotspotDoesNothingWithoutRegisteredRequests()
1704 verify(mWifiController, never()).sendMessage(eq(CMD_SET_AP), anyInt(), anyInt()); in testStopLocalOnlyHotspotDoesNothingWithARemainingRegisteredRequest()
1715 .sendMessage(eq(CMD_SET_AP), eq(1), anyInt(), any(SoftApModeConfiguration.class)); in testStopLocalOnlyHotspotTriggersSoftApStopWithOneRegisteredRequest()
1723 verify(mWifiController).sendMessage(eq(CMD_SET_AP), eq(0), in testStopLocalOnlyHotspotTriggersSoftApStopWithOneRegisteredRequest()
1759 .sendMessage(eq(CMD_SET_AP), eq(1), anyInt(), mSoftApModeConfigCaptor.capture()); in verifyLohsBand()
[all …]