/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 79 import com.android.server.wifi.WifiMonitor; 549 private WifiMonitor mWifiMonitor = WifiMonitor.getInstance(); 608 WifiMonitor.AP_STA_CONNECTED_EVENT, getHandler()); in P2pStateMachine() 610 WifiMonitor.AP_STA_DISCONNECTED_EVENT, getHandler()); in P2pStateMachine() 612 WifiMonitor.AUTHENTICATION_FAILURE_EVENT, getHandler()); in P2pStateMachine() 614 WifiMonitor.NETWORK_CONNECTION_EVENT, getHandler()); in P2pStateMachine() 616 WifiMonitor.NETWORK_DISCONNECTION_EVENT, getHandler()); in P2pStateMachine() 618 WifiMonitor.P2P_DEVICE_FOUND_EVENT, getHandler()); in P2pStateMachine() 620 WifiMonitor.P2P_DEVICE_LOST_EVENT, getHandler()); in P2pStateMachine() 622 WifiMonitor.P2P_FIND_STOPPED_EVENT, getHandler()); in P2pStateMachine() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiStateMachine.java | 186 private WifiMonitor mWifiMonitor; 1027 mWifiMonitor = WifiMonitor.getInstance(); in WifiStateMachine() 1168 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ANQP_DONE_EVENT, getHandler()); in WifiStateMachine() 1169 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ASSOCIATION_REJECTION_EVENT, in WifiStateMachine() 1171 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.AUTHENTICATION_FAILURE_EVENT, in WifiStateMachine() 1173 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.DRIVER_HUNG_EVENT, getHandler()); in WifiStateMachine() 1174 … mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.GAS_QUERY_DONE_EVENT, getHandler()); in WifiStateMachine() 1175 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.GAS_QUERY_START_EVENT, in WifiStateMachine() 1177 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.HS20_REMEDIATION_EVENT, in WifiStateMachine() 1179 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.NETWORK_CONNECTION_EVENT, in WifiStateMachine() [all …]
|
D | SupplicantStateTracker.java | 222 case WifiMonitor.AUTHENTICATION_FAILURE_EVENT: in processMessage() 225 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage() 238 case WifiMonitor.ASSOCIATION_REJECTION_EVENT: in processMessage() 302 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage() 345 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage()
|
D | WnmData.java | 45 case WifiMonitor.HS20_SUB_REM_STR: { in buildWnmData() 53 case WifiMonitor.HS20_DEAUTH_STR: { in buildWnmData()
|
D | WifiMonitor.java | 60 public class WifiMonitor { class 528 private static WifiMonitor sWifiMonitor = new WifiMonitor(); 529 public static WifiMonitor getInstance() { in getInstance() 534 private WifiMonitor() { in WifiMonitor() method in WifiMonitor
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | MockWifiMonitor.java | 42 private final WifiMonitor mWifiMonitor; 45 mWifiMonitor = mock(WifiMonitor.class); in MockWifiMonitor() 47 Field field = WifiMonitor.class.getDeclaredField("sWifiMonitor"); in MockWifiMonitor()
|
D | WifiStateMachineTest.java | 451 mWsm.sendMessage(WifiMonitor.SUP_CONNECTION_EVENT); in loadComponents() 798 mWsm.sendMessage(WifiMonitor.SCAN_RESULTS_EVENT); in verifyScan() 846 mWsm.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in connect() 849 mWsm.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connect() 880 mWsm.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in testDhcpFailure() 883 mWsm.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in testDhcpFailure() 908 mWsm.sendMessage(WifiMonitor.NETWORK_DISCONNECTION_EVENT, 0, 0, sBSSID); in testBadNetworkEvent() 911 mWsm.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in testBadNetworkEvent() 933 mWsm.sendMessage(WifiMonitor.NETWORK_DISCONNECTION_EVENT, -1, 3, "01:02:03:04:05:06"); in disconnect() 935 mWsm.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in disconnect()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | SupplicantPnoScannerTest.java | 38 import com.android.server.wifi.WifiMonitor; 319 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulHwDisconnectedPnoScan() 340 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulSingleScanWithHwPnoEnabled() 366 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulSwPnoScan()
|
D | BaseWifiScannerImplTest.java | 40 import com.android.server.wifi.WifiMonitor; 309 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_FAILED_EVENT); in singleScanFailOnFailedEvent() 436 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in singleScanWhereSupplicantReturnsSomeOldResults() 497 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulSingleScan()
|
D | SupplicantWifiScannerTest.java | 33 import com.android.server.wifi.WifiMonitor; 479 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in pauseWhileScanningAndResumeScan() 632 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulBackgroundScan() 663 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_FAILED_EVENT); in expectFailedEventScan()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | SupplicantWifiScannerImpl.java | 32 import com.android.server.wifi.WifiMonitor; 148 WifiMonitor.getInstance().registerHandler(mWifiNative.getInterfaceName(), in SupplicantWifiScannerImpl() 149 WifiMonitor.SCAN_FAILED_EVENT, mEventHandler); in SupplicantWifiScannerImpl() 150 WifiMonitor.getInstance().registerHandler(mWifiNative.getInterfaceName(), in SupplicantWifiScannerImpl() 151 WifiMonitor.SCAN_RESULTS_EVENT, mEventHandler); in SupplicantWifiScannerImpl() 486 case WifiMonitor.SCAN_FAILED_EVENT: in handleMessage() 492 case WifiMonitor.SCAN_RESULTS_EVENT: in handleMessage()
|