/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 | 1011 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in connect() 1014 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connect() 1081 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in testSetAnonymousIdentityWhenConnectionIsEstablishedNoPseudonym() 1130 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonym() 1180 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, sBSSID); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym() 1209 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connectPasspointAp() 1238 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in testResetWifiInfoPasspointFields() 1243 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in testResetWifiInfoPasspointFields() 1271 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connectOsuAp() 1302 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in testResetWifiInfoOsuFields() [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 | WifiLastResortWatchdogTest.java | 2186 handler.obtainMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, null)); in testAbnormalConnectionTimeTriggersBugreport() 2196 handler.obtainMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, null)); in testAbnormalConnectionTimeTriggersBugreport() 2205 handler.obtainMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, null)); in testAbnormalConnectionTimeTriggersBugreport() 2229 handler.obtainMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, null)); in testGServicesSetDuration() 2253 handler.obtainMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0, null)); in testGServicesFlagDisable()
|
D | WifiMetricsTest.java | 1810 {WifiMonitor.ASSOCIATION_REJECTION_EVENT, ASSOC_TIMEOUT, ASSOC_STATUS}, 1811 {WifiMonitor.AUTHENTICATION_FAILURE_EVENT, AUTH_FAILURE_REASON, -1}, 1812 {WifiMonitor.NETWORK_CONNECTION_EVENT, 0, 0}, 1813 {WifiMonitor.NETWORK_DISCONNECTION_EVENT, LOCAL_GEN, DEAUTH_REASON}, 1814 {WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0}, 1817 {WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0}, 1818 {WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0} 1916 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()
|
/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 | 202 private final WifiMonitor mWifiMonitor; 939 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ANQP_DONE_EVENT, getHandler()); in registerForWifiMonitorEvents() 940 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ASSOCIATION_REJECTION_EVENT, in registerForWifiMonitorEvents() 942 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.AUTHENTICATION_FAILURE_EVENT, in registerForWifiMonitorEvents() 944 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.GAS_QUERY_DONE_EVENT, in registerForWifiMonitorEvents() 946 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.GAS_QUERY_START_EVENT, in registerForWifiMonitorEvents() 948 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.HS20_REMEDIATION_EVENT, in registerForWifiMonitorEvents() 950 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.NETWORK_CONNECTION_EVENT, in registerForWifiMonitorEvents() 952 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.NETWORK_DISCONNECTION_EVENT, in registerForWifiMonitorEvents() 954 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 | 95 private final WifiMonitor mWifiMonitor; 212 mWifiMonitor = new WifiMonitor(this); in WifiInjector() 738 public WifiMonitor getWifiMonitor() { in getWifiMonitor()
|
D | WificondControl.java | 90 private WifiMonitor mWifiMonitor; 133 WificondControl(WifiInjector wifiInjector, WifiMonitor wifiMonitor, in WificondControl()
|
D | WifiLastResortWatchdog.java | 178 case WifiMonitor.NETWORK_CONNECTION_EVENT: in processMessage()
|
D | WifiNative.java | 79 private final WifiMonitor mWifiMonitor; 89 WificondControl condControl, WifiMonitor wifiMonitor, in WifiNative()
|
D | WifiMetrics.java | 3699 case WifiMonitor.ASSOCIATION_REJECTION_EVENT: in processMessage() 3704 case WifiMonitor.AUTHENTICATION_FAILURE_EVENT: in processMessage() 3723 case WifiMonitor.NETWORK_CONNECTION_EVENT: in processMessage() 3726 case WifiMonitor.NETWORK_DISCONNECTION_EVENT: in processMessage() 3731 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage()
|
D | SupplicantStaNetworkHal.java | 92 private final WifiMonitor mWifiMonitor; 135 Context context, WifiMonitor monitor) { in SupplicantStaNetworkHal()
|