Home
last modified time | relevance | path

Searched refs:WifiMonitor (Results 1 – 25 of 27) 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 …]
DSupplicantStateTrackerTest.java69 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()
DClientModeImplTest.java1000 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 …]
DMockWifiMonitor.java34 public class MockWifiMonitor extends WifiMonitor {
DScanOnlyModeManagerTest.java67 @Mock WifiMonitor mWifiMonitor;
DClientModeManagerTest.java65 @Mock WifiMonitor mWifiMonitor;
DWifiMetricsTest.java1797 {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()
DWifiNativeTest.java169 @Mock private WifiMonitor mWifiMonitor;
DSupplicantStaNetworkHalTest.java83 @Mock private WifiMonitor mWifiMonitor;
96 Context context, WifiMonitor monitor) { in SupplicantStaNetworkHalSpyV1_2()
DWificondControlTest.java93 @Mock private WifiMonitor mWifiMonitor;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondScannerTest.java32 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()
DBaseWifiScannerImplTest.java42 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()
DWificondPnoScannerTest.java38 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/
DWificondScannerImpl.java31 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 …]
DWifiScannerImpl.java27 import com.android.server.wifi.WifiMonitor;
53 WifiMonitor wifiMonitor = WifiInjector.getInstance().getWifiMonitor();
DHalWifiScannerImpl.java27 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/
DClientModeImpl.java195 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 …]
DSupplicantStateTracker.java242 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()
DWifiMonitor.java45 public class WifiMonitor { class
109 public WifiMonitor(WifiInjector wifiInjector) { in WifiMonitor() method in WifiMonitor
DWifiInjector.java93 private final WifiMonitor mWifiMonitor;
204 mWifiMonitor = new WifiMonitor(this); in WifiInjector()
705 public WifiMonitor getWifiMonitor() { in getWifiMonitor()
DWificondControl.java88 private WifiMonitor mWifiMonitor;
131 WificondControl(WifiInjector wifiInjector, WifiMonitor wifiMonitor, in WificondControl()
DWifiMetrics.java3557 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()
DWifiNative.java78 private final WifiMonitor mWifiMonitor;
88 WificondControl condControl, WifiMonitor wifiMonitor, in WifiNative()
DSupplicantStaNetworkHal.java92 private final WifiMonitor mWifiMonitor;
135 Context context, WifiMonitor monitor) { in SupplicantStaNetworkHal()
DSupplicantStaIfaceHal.java135 private final WifiMonitor mWifiMonitor;
181 public SupplicantStaIfaceHal(Context context, WifiMonitor monitor, in SupplicantStaIfaceHal()

12