Home
last modified time | relevance | path

Searched refs:WifiMonitor (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMonitorTest.java59 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 …]
DClientModeImplTest.java1010 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connect()
1014 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in connect()
1017 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connect()
1078 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in setupEapSimConnection()
1167 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in testSetAnonymousIdentityWhenConnectionIsEstablishedNoPseudonym()
1220 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonym()
1274 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym()
1303 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connectPasspointAp()
1331 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in testResetWifiInfoPasspointFields()
1336 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in testResetWifiInfoPasspointFields()
[all …]
DSupplicantStateTrackerTest.java61 return Message.obtain(null, WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in getSupplicantStateChangeMessage()
121 mSupplicantStateTracker.sendMessage(WifiMonitor.AUTHENTICATION_FAILURE_EVENT); in testAuthPassInSupplicantStateChangeIntent()
145 mSupplicantStateTracker.sendMessage(WifiMonitor.AUTHENTICATION_FAILURE_EVENT); in testAuthFailedInSupplicantStateChangeIntent()
175 mSupplicantStateTracker.sendMessage(WifiMonitor.AUTHENTICATION_FAILURE_EVENT, in testReasonCodeInSupplicantStateChangeIntent()
DMockWifiMonitor.java34 public class MockWifiMonitor extends WifiMonitor {
DWifiLastResortWatchdogTest.java2195 handler.obtainMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, null)); in testAbnormalConnectionTimeTriggersBugreport()
2205 handler.obtainMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, null)); in testAbnormalConnectionTimeTriggersBugreport()
2214 handler.obtainMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, null)); in testAbnormalConnectionTimeTriggersBugreport()
2236 handler.obtainMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, null)); in testGServicesSetDuration()
2258 handler.obtainMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, null)); in testGServicesFlagDisable()
DWifiMetricsTest.java2205 {WifiMonitor.ASSOCIATION_REJECTION_EVENT, ASSOC_TIMEOUT, ASSOC_STATUS},
2206 {WifiMonitor.AUTHENTICATION_FAILURE_EVENT, AUTH_FAILURE_REASON, -1},
2207 {WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0},
2208 {WifiMonitor.NETWORK_DISCONNECTION_EVENT, LOCAL_GEN, DEAUTH_REASON},
2209 {WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0},
2210 {WifiMonitor.ASSOCIATED_BSSID_EVENT, 0, 0},
2211 {WifiMonitor.TARGET_BSSID_EVENT, 0, 0},
2212 {WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0},
2213 {WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0}
2313 if (mia[0] != WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT) { in verifyDeserializedStaEvents()
DSupplicantStaNetworkHalTest.java86 @Mock private WifiMonitor mWifiMonitor;
105 Context context, WifiMonitor monitor) { in SupplicantStaNetworkHalSpyV1_2()
123 Context context, WifiMonitor monitor) { in SupplicantStaNetworkHalSpyV1_3()
DWifiNativeTest.java228 @Mock private WifiMonitor mWifiMonitor;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondScannerTest.java33 import com.android.server.wifi.WifiMonitor;
60 WifiMonitor mWifiMonitorSpy;
109 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
134 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
164 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
261 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in testDumpWithCorrectFormatWithScanResult()
273 eq(WifiMonitor.SCAN_FAILED_EVENT), any()); in cleanupDeregistersHandlers()
275 eq(WifiMonitor.PNO_SCAN_RESULTS_EVENT), any()); in cleanupDeregistersHandlers()
277 eq(WifiMonitor.SCAN_RESULTS_EVENT), any()); in cleanupDeregistersHandlers()
DBaseWifiScannerImplTest.java43 import com.android.server.wifi.WifiMonitor;
334 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_FAILED_EVENT); in singleScanFailOnFailedEvent()
465 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in singleScanWhereSupplicantReturnsSomeOldResults()
528 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulSingleScan()
DWificondPnoScannerTest.java38 import com.android.server.wifi.WifiMonitor;
245 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.PNO_SCAN_RESULTS_EVENT); in expectSuccessfulHwDisconnectedPnoScan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java31 import com.android.server.wifi.WifiMonitor;
66 private final WifiMonitor mWifiMonitor;
96 WifiMonitor wifiMonitor, ChannelHelper channelHelper, in WificondScannerImpl()
108 WifiMonitor.SCAN_FAILED_EVENT, mEventHandler); in WificondScannerImpl()
110 WifiMonitor.PNO_SCAN_RESULTS_EVENT, mEventHandler); in WificondScannerImpl()
112 WifiMonitor.SCAN_RESULTS_EVENT, mEventHandler); in WificondScannerImpl()
122 WifiMonitor.SCAN_FAILED_EVENT, mEventHandler); in cleanup()
124 WifiMonitor.PNO_SCAN_RESULTS_EVENT, mEventHandler); in cleanup()
126 WifiMonitor.SCAN_RESULTS_EVENT, mEventHandler); in cleanup()
262 case WifiMonitor.SCAN_FAILED_EVENT: in handleMessage()
[all …]
DWifiScannerImpl.java28 import com.android.server.wifi.WifiMonitor;
59 WifiMonitor wifiMonitor = WifiInjector.getInstance().getWifiMonitor();
DHalWifiScannerImpl.java27 import com.android.server.wifi.WifiMonitor;
47 WifiMonitor wifiMonitor, Looper looper, Clock clock) { in HalWifiScannerImpl()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java216 private final WifiMonitor mWifiMonitor;
896 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.TARGET_BSSID_EVENT, getHandler()); in registerForWifiMonitorEvents()
897 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ASSOCIATED_BSSID_EVENT, in registerForWifiMonitorEvents()
899 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ANQP_DONE_EVENT, getHandler()); in registerForWifiMonitorEvents()
900 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ASSOCIATION_REJECTION_EVENT, in registerForWifiMonitorEvents()
902 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.AUTHENTICATION_FAILURE_EVENT, in registerForWifiMonitorEvents()
904 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.GAS_QUERY_DONE_EVENT, in registerForWifiMonitorEvents()
906 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.GAS_QUERY_START_EVENT, in registerForWifiMonitorEvents()
908 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.HS20_REMEDIATION_EVENT, in registerForWifiMonitorEvents()
910 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.NETWORK_CONNECTION_EVENT, in registerForWifiMonitorEvents()
[all …]
DSupplicantStateTracker.java251 case WifiMonitor.AUTHENTICATION_FAILURE_EVENT: in processMessage()
255 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage()
267 case WifiMonitor.ASSOCIATION_REJECTION_EVENT: in processMessage()
344 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage()
382 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage()
DSupplicantStaIfaceCallbackV1_1Impl.java30 private final WifiMonitor mWifiMonitor;
36 @NonNull WifiMonitor wifiMonitor) { in SupplicantStaIfaceCallbackV1_1Impl()
DSupplicantStaIfaceCallbackV1_3Impl.java38 private final WifiMonitor mWifiMonitor;
44 @NonNull WifiMonitor wifiMonitor) { in SupplicantStaIfaceCallbackV1_3Impl()
DWifiMonitor.java46 public class WifiMonitor { class
118 public WifiMonitor(WifiInjector wifiInjector) { in WifiMonitor() method in WifiMonitor
DSupplicantStaIfaceCallbackImpl.java57 private final WifiMonitor mWifiMonitor;
63 @NonNull WifiMonitor wifiMonitor) { in SupplicantStaIfaceCallbackImpl()
DWifiInjector.java99 private final WifiMonitor mWifiMonitor;
226 mWifiMonitor = new WifiMonitor(this); in WifiInjector()
755 public WifiMonitor getWifiMonitor() { in getWifiMonitor()
DWifiLastResortWatchdog.java167 case WifiMonitor.NETWORK_CONNECTION_EVENT: in processMessage()
DWifiMetrics.java4659 case WifiMonitor.ASSOCIATION_REJECTION_EVENT: in processMessage()
4664 case WifiMonitor.AUTHENTICATION_FAILURE_EVENT: in processMessage()
4683 case WifiMonitor.NETWORK_CONNECTION_EVENT: in processMessage()
4686 case WifiMonitor.NETWORK_DISCONNECTION_EVENT: in processMessage()
4691 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage()
4696 case WifiMonitor.ASSOCIATED_BSSID_EVENT: in processMessage()
4699 case WifiMonitor.TARGET_BSSID_EVENT: in processMessage()
DWifiNative.java84 private final WifiMonitor mWifiMonitor;
95 WifiNl80211Manager condManager, WifiMonitor wifiMonitor, in WifiNative()
/frameworks/opt/net/wifi/tests/wifitests/
DAndroid.bp432 "com.android.server.wifi.WifiMonitor",
433 "com.android.server.wifi.WifiMonitor$*",
434 "com.android.server.wifi.WifiMonitor.**",

12