/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMonitorTest.java | 59 private WifiMonitor mWifiMonitor; 66 mWifiMonitor = new WifiMonitor(mock(WifiInjector.class)); in setUp() 79 WLAN_IFACE_NAME, WifiMonitor.WPS_FAIL_EVENT, mHandlerSpy); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited() 87 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited() 97 WLAN_IFACE_NAME, WifiMonitor.WPS_FAIL_EVENT, mHandlerSpy); in testBroadcastWpsEventFailDueToErrorWepProhibhited() 105 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToErrorWepProhibhited() 115 WLAN_IFACE_NAME, WifiMonitor.WPS_FAIL_EVENT, mHandlerSpy); in testBroadcastWpsEventFailDueToConfigAuthError() 123 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToConfigAuthError() 133 WLAN_IFACE_NAME, WifiMonitor.WPS_FAIL_EVENT, mHandlerSpy); in testBroadcastWpsEventFailDueToConfigPbcOverlapError() 141 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToConfigPbcOverlapError() [all …]
|
D | SupplicantStateTrackerTest.java | 69 return Message.obtain(null, WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in getSupplicantStateChangeMessage() 129 mSupplicantStateTracker.sendMessage(WifiMonitor.AUTHENTICATION_FAILURE_EVENT); in testAuthPassInSupplicantStateChangeIntent() 153 mSupplicantStateTracker.sendMessage(WifiMonitor.AUTHENTICATION_FAILURE_EVENT); in testAuthFailedInSupplicantStateChangeIntent() 183 mSupplicantStateTracker.sendMessage(WifiMonitor.AUTHENTICATION_FAILURE_EVENT, in testReasonCodeInSupplicantStateChangeIntent()
|
D | ClientModeImplTest.java | 1000 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in connect() 1003 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connect() 1063 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in testSetAnonymousIdentityWhenConnectionIsEstablished() 1089 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connectPasspointAp() 1118 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in testResetWifiInfoPasspointFields() 1123 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in testResetWifiInfoPasspointFields() 1151 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connectOsuAp() 1182 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in testResetWifiInfoOsuFields() 1187 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in testResetWifiInfoOsuFields() 1298 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in reconnectToConnectedNetwork() [all …]
|
D | MockWifiMonitor.java | 34 public class MockWifiMonitor extends WifiMonitor {
|
D | ScanOnlyModeManagerTest.java | 67 @Mock WifiMonitor mWifiMonitor;
|
D | ClientModeManagerTest.java | 65 @Mock WifiMonitor mWifiMonitor;
|
D | WifiMetricsTest.java | 1797 {WifiMonitor.ASSOCIATION_REJECTION_EVENT, ASSOC_TIMEOUT, ASSOC_STATUS}, 1798 {WifiMonitor.AUTHENTICATION_FAILURE_EVENT, AUTH_FAILURE_REASON, -1}, 1799 {WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0}, 1800 {WifiMonitor.NETWORK_DISCONNECTION_EVENT, LOCAL_GEN, DEAUTH_REASON}, 1801 {WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0}, 1804 {WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0}, 1805 {WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0} 1903 if (mia[0] != WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT) { in verifyDeserializedStaEvents()
|
D | WifiNativeTest.java | 169 @Mock private WifiMonitor mWifiMonitor;
|
D | SupplicantStaNetworkHalTest.java | 83 @Mock private WifiMonitor mWifiMonitor; 96 Context context, WifiMonitor monitor) { in SupplicantStaNetworkHalSpyV1_2()
|
D | WificondControlTest.java | 93 @Mock private WifiMonitor mWifiMonitor;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondScannerTest.java | 32 import com.android.server.wifi.WifiMonitor; 51 WifiMonitor mWifiMonitorSpy; 99 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 124 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() 154 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 177 eq(WifiMonitor.SCAN_FAILED_EVENT), any()); in cleanupDeregistersHandlers() 179 eq(WifiMonitor.PNO_SCAN_RESULTS_EVENT), any()); in cleanupDeregistersHandlers() 181 eq(WifiMonitor.SCAN_RESULTS_EVENT), any()); in cleanupDeregistersHandlers()
|
D | BaseWifiScannerImplTest.java | 42 import com.android.server.wifi.WifiMonitor; 333 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_FAILED_EVENT); in singleScanFailOnFailedEvent() 464 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in singleScanWhereSupplicantReturnsSomeOldResults() 527 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulSingleScan()
|
D | WificondPnoScannerTest.java | 38 import com.android.server.wifi.WifiMonitor; 221 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.PNO_SCAN_RESULTS_EVENT); in expectSuccessfulHwDisconnectedPnoScan()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WificondScannerImpl.java | 31 import com.android.server.wifi.WifiMonitor; 65 private final WifiMonitor mWifiMonitor; 97 WifiMonitor wifiMonitor, ChannelHelper channelHelper, in WificondScannerImpl() 113 WifiMonitor.SCAN_FAILED_EVENT, mEventHandler); in WificondScannerImpl() 115 WifiMonitor.PNO_SCAN_RESULTS_EVENT, mEventHandler); in WificondScannerImpl() 117 WifiMonitor.SCAN_RESULTS_EVENT, mEventHandler); in WificondScannerImpl() 127 WifiMonitor.SCAN_FAILED_EVENT, mEventHandler); in cleanup() 129 WifiMonitor.PNO_SCAN_RESULTS_EVENT, mEventHandler); in cleanup() 131 WifiMonitor.SCAN_RESULTS_EVENT, mEventHandler); in cleanup() 267 case WifiMonitor.SCAN_FAILED_EVENT: in handleMessage() [all …]
|
D | WifiScannerImpl.java | 27 import com.android.server.wifi.WifiMonitor; 53 WifiMonitor wifiMonitor = WifiInjector.getInstance().getWifiMonitor();
|
D | HalWifiScannerImpl.java | 27 import com.android.server.wifi.WifiMonitor; 48 WifiMonitor wifiMonitor, Looper looper, Clock clock) { in HalWifiScannerImpl()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 195 private final WifiMonitor mWifiMonitor; 925 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ANQP_DONE_EVENT, getHandler()); in registerForWifiMonitorEvents() 926 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ASSOCIATION_REJECTION_EVENT, in registerForWifiMonitorEvents() 928 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.AUTHENTICATION_FAILURE_EVENT, in registerForWifiMonitorEvents() 930 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.GAS_QUERY_DONE_EVENT, in registerForWifiMonitorEvents() 932 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.GAS_QUERY_START_EVENT, in registerForWifiMonitorEvents() 934 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.HS20_REMEDIATION_EVENT, in registerForWifiMonitorEvents() 936 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.NETWORK_CONNECTION_EVENT, in registerForWifiMonitorEvents() 938 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.NETWORK_DISCONNECTION_EVENT, in registerForWifiMonitorEvents() 940 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.RX_HS20_ANQP_ICON_EVENT, in registerForWifiMonitorEvents() [all …]
|
D | SupplicantStateTracker.java | 242 case WifiMonitor.AUTHENTICATION_FAILURE_EVENT: in processMessage() 246 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage() 261 case WifiMonitor.ASSOCIATION_REJECTION_EVENT: in processMessage() 338 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage() 380 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage()
|
D | WifiMonitor.java | 45 public class WifiMonitor { class 109 public WifiMonitor(WifiInjector wifiInjector) { in WifiMonitor() method in WifiMonitor
|
D | WifiInjector.java | 93 private final WifiMonitor mWifiMonitor; 204 mWifiMonitor = new WifiMonitor(this); in WifiInjector() 705 public WifiMonitor getWifiMonitor() { in getWifiMonitor()
|
D | WificondControl.java | 88 private WifiMonitor mWifiMonitor; 131 WificondControl(WifiInjector wifiInjector, WifiMonitor wifiMonitor, in WificondControl()
|
D | WifiMetrics.java | 3557 case WifiMonitor.ASSOCIATION_REJECTION_EVENT: in processMessage() 3562 case WifiMonitor.AUTHENTICATION_FAILURE_EVENT: in processMessage() 3581 case WifiMonitor.NETWORK_CONNECTION_EVENT: in processMessage() 3584 case WifiMonitor.NETWORK_DISCONNECTION_EVENT: in processMessage() 3589 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage()
|
D | WifiNative.java | 78 private final WifiMonitor mWifiMonitor; 88 WificondControl condControl, WifiMonitor wifiMonitor, in WifiNative()
|
D | SupplicantStaNetworkHal.java | 92 private final WifiMonitor mWifiMonitor; 135 Context context, WifiMonitor monitor) { in SupplicantStaNetworkHal()
|
D | SupplicantStaIfaceHal.java | 135 private final WifiMonitor mWifiMonitor; 181 public SupplicantStaIfaceHal(Context context, WifiMonitor monitor, in SupplicantStaIfaceHal()
|