/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 | ClientModeImplTest.java | 1010 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 …]
|
D | SupplicantStateTrackerTest.java | 61 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()
|
D | MockWifiMonitor.java | 34 public class MockWifiMonitor extends WifiMonitor {
|
D | WifiLastResortWatchdogTest.java | 2195 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()
|
D | WifiMetricsTest.java | 2205 {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()
|
D | SupplicantStaNetworkHalTest.java | 86 @Mock private WifiMonitor mWifiMonitor; 105 Context context, WifiMonitor monitor) { in SupplicantStaNetworkHalSpyV1_2() 123 Context context, WifiMonitor monitor) { in SupplicantStaNetworkHalSpyV1_3()
|
D | WifiNativeTest.java | 228 @Mock private WifiMonitor mWifiMonitor;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondScannerTest.java | 33 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()
|
D | BaseWifiScannerImplTest.java | 43 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()
|
D | WificondPnoScannerTest.java | 38 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/ |
D | WificondScannerImpl.java | 31 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 …]
|
D | WifiScannerImpl.java | 28 import com.android.server.wifi.WifiMonitor; 59 WifiMonitor wifiMonitor = WifiInjector.getInstance().getWifiMonitor();
|
D | HalWifiScannerImpl.java | 27 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/ |
D | ClientModeImpl.java | 216 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 …]
|
D | SupplicantStateTracker.java | 251 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()
|
D | SupplicantStaIfaceCallbackV1_1Impl.java | 30 private final WifiMonitor mWifiMonitor; 36 @NonNull WifiMonitor wifiMonitor) { in SupplicantStaIfaceCallbackV1_1Impl()
|
D | SupplicantStaIfaceCallbackV1_3Impl.java | 38 private final WifiMonitor mWifiMonitor; 44 @NonNull WifiMonitor wifiMonitor) { in SupplicantStaIfaceCallbackV1_3Impl()
|
D | WifiMonitor.java | 46 public class WifiMonitor { class 118 public WifiMonitor(WifiInjector wifiInjector) { in WifiMonitor() method in WifiMonitor
|
D | SupplicantStaIfaceCallbackImpl.java | 57 private final WifiMonitor mWifiMonitor; 63 @NonNull WifiMonitor wifiMonitor) { in SupplicantStaIfaceCallbackImpl()
|
D | WifiInjector.java | 99 private final WifiMonitor mWifiMonitor; 226 mWifiMonitor = new WifiMonitor(this); in WifiInjector() 755 public WifiMonitor getWifiMonitor() { in getWifiMonitor()
|
D | WifiLastResortWatchdog.java | 167 case WifiMonitor.NETWORK_CONNECTION_EVENT: in processMessage()
|
D | WifiMetrics.java | 4659 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()
|
D | WifiNative.java | 84 private final WifiMonitor mWifiMonitor; 95 WifiNl80211Manager condManager, WifiMonitor wifiMonitor, in WifiNative()
|
/frameworks/opt/net/wifi/tests/wifitests/ |
D | Android.bp | 432 "com.android.server.wifi.WifiMonitor", 433 "com.android.server.wifi.WifiMonitor$*", 434 "com.android.server.wifi.WifiMonitor.**",
|