Home
last modified time | relevance | path

Searched refs:WifiController (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSelfRecoveryTest.java34 @Mock WifiController mWifiController;
50 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI), anyInt()); in testValidTriggerReasonsSendMessageToWifiController()
56 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI), anyInt()); in testValidTriggerReasonsSendMessageToWifiController()
79 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_DISABLE_WIFI)); in testStaIfaceDownDisablesWifi()
94 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI), in testTimeWindowLimiting_typicalUse()
99 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI), in testTimeWindowLimiting_typicalUse()
105 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI), in testTimeWindowLimiting_typicalUse()
112 verify(mWifiController, never()).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI), in testTimeWindowLimiting_typicalUse()
114 verify(mWifiController).sendMessage(eq(WifiController.CMD_RECOVERY_DISABLE_WIFI)); in testTimeWindowLimiting_typicalUse()
118 verify(mWifiController, never()).sendMessage(eq(WifiController.CMD_RECOVERY_RESTART_WIFI), in testTimeWindowLimiting_typicalUse()
[all …]
DWifiControllerTest.java19 import static com.android.server.wifi.WifiController.CMD_AP_STOPPED;
20 import static com.android.server.wifi.WifiController.CMD_EMERGENCY_CALL_STATE_CHANGED;
21 import static com.android.server.wifi.WifiController.CMD_EMERGENCY_MODE_CHANGED;
22 import static com.android.server.wifi.WifiController.CMD_RECOVERY_DISABLE_WIFI;
23 import static com.android.server.wifi.WifiController.CMD_RECOVERY_RESTART_WIFI;
24 import static com.android.server.wifi.WifiController.CMD_SCANNING_STOPPED;
25 import static com.android.server.wifi.WifiController.CMD_SCAN_ALWAYS_MODE_CHANGED;
26 import static com.android.server.wifi.WifiController.CMD_SET_AP;
27 import static com.android.server.wifi.WifiController.CMD_STA_STOPPED;
28 import static com.android.server.wifi.WifiController.CMD_WIFI_TOGGLED;
[all …]
DWakeupControllerTest.java82 @Mock private WifiController mWifiController;
DWifiServiceImplTest.java41 import static com.android.server.wifi.WifiController.CMD_SET_AP;
42 import static com.android.server.wifi.WifiController.CMD_WIFI_TOGGLED;
225 @Mock WifiController mWifiController;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSelfRecovery.java50 private final WifiController mWifiController;
54 public SelfRecovery(WifiController wifiController, Clock clock) { in SelfRecovery()
80 mWifiController.sendMessage(WifiController.CMD_RECOVERY_DISABLE_WIFI); in trigger()
91 mWifiController.sendMessage(WifiController.CMD_RECOVERY_DISABLE_WIFI); in trigger()
96 mWifiController.sendMessage(WifiController.CMD_RECOVERY_RESTART_WIFI, reason); in trigger()
DREADME.txt31 the WifiController which tracks high level states as to whether STA or AP mode
34 WifiController: Acts as a controller to the ActiveModeWarden based on various inputs (API and devic…
DWifiController.java42 public class WifiController extends StateMachine { class
105 WifiController(Context context, ClientModeImpl clientModeImpl, Looper clientModeImplLooper, in WifiController() method in WifiController
DWifiInjector.java110 private final WifiController mWifiController;
338 mWifiController = new WifiController(mContext, mClientModeImpl, clientModeImplLooper, in WifiInjector()
463 public WifiController getWifiController() { in getWifiController()
DWakeupController.java19 import static com.android.server.wifi.WifiController.CMD_WIFI_TOGGLED;
DWifiServiceImpl.java35 import static com.android.server.wifi.WifiController.CMD_AIRPLANE_TOGGLED;
36 import static com.android.server.wifi.WifiController.CMD_EMERGENCY_CALL_STATE_CHANGED;
37 import static com.android.server.wifi.WifiController.CMD_EMERGENCY_MODE_CHANGED;
38 import static com.android.server.wifi.WifiController.CMD_SCAN_ALWAYS_MODE_CHANGED;
39 import static com.android.server.wifi.WifiController.CMD_SET_AP;
40 import static com.android.server.wifi.WifiController.CMD_WIFI_TOGGLED;
445 private WifiController mWifiController;