Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMonitorTest.java74 private WifiMonitor mWifiMonitor;
81 mWifiMonitor = new WifiMonitor(); in setUp()
94 WLAN_IFACE_NAME, WifiMonitor.WPS_FAIL_EVENT, mHandlerSpy); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
104 assertEquals(WifiMonitor.WPS_FAIL_EVENT, message.what); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
106 assertEquals(WLAN_IFACE_NAME, message.getData().getString(WifiMonitor.KEY_IFACE)); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
115 WLAN_IFACE_NAME, WifiMonitor.WPS_FAIL_EVENT, mHandlerSpy); in testBroadcastWpsEventFailDueToErrorWepProhibhited()
123 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToErrorWepProhibhited()
133 WLAN_IFACE_NAME, WifiMonitor.WPS_FAIL_EVENT, mHandlerSpy); in testBroadcastWpsEventFailDueToConfigAuthError()
141 assertEquals(WifiMonitor.WPS_FAIL_EVENT, messageCaptor.getValue().what); in testBroadcastWpsEventFailDueToConfigAuthError()
151 WLAN_IFACE_NAME, WifiMonitor.WPS_FAIL_EVENT, mHandlerSpy); in testBroadcastWpsEventFailDueToConfigPbcOverlapError()
[all …]
DClientModeImplTest.java1234 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connect()
1242 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, in connect()
1254 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connect()
1267 mCmi.sendMessage(WifiMonitor.HS20_TERMS_AND_CONDITIONS_ACCEPTANCE_REQUIRED_EVENT, in connect()
1381 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connectWithIpProvisionTimeout()
1389 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, in connectWithIpProvisionTimeout()
1401 mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in connectWithIpProvisionTimeout()
1571 mCmi.sendMessage(WifiMonitor.NETWORK_CONNECTION_EVENT, in setupEapSimConnection()
1597 mCmi.sendMessage(WifiMonitor.NETWORK_DISCONNECTION_EVENT, in testUpdatingOobPseudonymToSupplicant()
1626 mCmi.sendMessage(WifiMonitor.NETWORK_DISCONNECTION_EVENT, in testNotUpdatingOobPseudonymToSupplicant()
[all …]
DSupplicantStateTrackerTest.java59 private @Mock WifiMonitor mWifiMonitor;
70 return Message.obtain(null, WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, in getSupplicantStateChangeMessage()
118 mSupplicantStateTracker.sendMessage(WifiMonitor.AUTHENTICATION_FAILURE_EVENT); in testAuthPassInSupplicantStateChangeIntent()
138 mSupplicantStateTracker.sendMessage(WifiMonitor.AUTHENTICATION_FAILURE_EVENT); in testAuthFailedInSupplicantStateChangeIntent()
162 mSupplicantStateTracker.sendMessage(WifiMonitor.AUTHENTICATION_FAILURE_EVENT, in testReasonCodeInSupplicantStateChangeIntent()
DMockWifiMonitor.java33 public class MockWifiMonitor extends WifiMonitor {
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkCallbackHidlV1_4Impl.java35 private final WifiMonitor mWifiMonitor;
44 @NonNull String ifaceName, @NonNull Object lock, @NonNull WifiMonitor wifiMonitor) { in SupplicantStaNetworkCallbackHidlV1_4Impl()
81 frameworkBits |= WifiMonitor.TDI_USE_WPA3_PERSONAL; in onTransitionDisable()
84 frameworkBits |= WifiMonitor.TDI_USE_SAE_PK; in onTransitionDisable()
87 frameworkBits |= WifiMonitor.TDI_USE_WPA3_ENTERPRISE; in onTransitionDisable()
90 frameworkBits |= WifiMonitor.TDI_USE_ENHANCED_OPEN; in onTransitionDisable()
DSupplicantStateTracker.java54 private final WifiMonitor mWifiMonitor;
97 @NonNull WifiMonitor wifiMonitor, in SupplicantStateTracker()
132 WifiMonitor.ASSOCIATION_REJECTION_EVENT,
133 WifiMonitor.AUTHENTICATION_FAILURE_EVENT,
134 WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT,
295 case WifiMonitor.AUTHENTICATION_FAILURE_EVENT: in processMessage()
299 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage()
308 case WifiMonitor.ASSOCIATION_REJECTION_EVENT: in processMessage()
372 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage()
410 case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT: in processMessage()
DSupplicantStaNetworkCallbackAidlImpl.java51 private final WifiMonitor mWifiMonitor;
57 @NonNull String ifaceName, @NonNull Object lock, @NonNull WifiMonitor wifiMonitor) { in SupplicantStaNetworkCallbackAidlImpl()
107 frameworkBits |= WifiMonitor.TDI_USE_WPA3_PERSONAL; in onTransitionDisable()
110 frameworkBits |= WifiMonitor.TDI_USE_SAE_PK; in onTransitionDisable()
113 frameworkBits |= WifiMonitor.TDI_USE_WPA3_ENTERPRISE; in onTransitionDisable()
116 frameworkBits |= WifiMonitor.TDI_USE_ENHANCED_OPEN; in onTransitionDisable()
DClientModeImpl.java235 private final WifiMonitor mWifiMonitor;
711 @NonNull WifiMonitor wifiMonitor, in ClientModeImpl()
947 WifiMonitor.TARGET_BSSID_EVENT,
948 WifiMonitor.ASSOCIATED_BSSID_EVENT,
949 WifiMonitor.ANQP_DONE_EVENT,
950 WifiMonitor.ASSOCIATION_REJECTION_EVENT,
951 WifiMonitor.AUTHENTICATION_FAILURE_EVENT,
952 WifiMonitor.GAS_QUERY_DONE_EVENT,
953 WifiMonitor.GAS_QUERY_START_EVENT,
954 WifiMonitor.HS20_REMEDIATION_EVENT,
[all …]
DSupplicantStaNetworkCallbackHidlImpl.java39 private final WifiMonitor mWifiMonitor;
44 @NonNull String ifaceName, @NonNull Object lock, @NonNull WifiMonitor wifiMonitor) { in SupplicantStaNetworkCallbackHidlImpl()
DSupplicantStaIfaceCallbackHidlV1_1Impl.java29 private final WifiMonitor mWifiMonitor;
35 @NonNull WifiMonitor wifiMonitor) { in SupplicantStaIfaceCallbackHidlV1_1Impl()
DWifiLastResortWatchdog.java132 private final WifiMonitor mWifiMonitor;
147 WifiMonitor wifiMonitor) { in WifiLastResortWatchdog()
164 WifiMonitor.NETWORK_CONNECTION_EVENT
201 case WifiMonitor.NETWORK_CONNECTION_EVENT: { in processMessage()
DSupplicantStaIfaceCallbackHidlV1_4Impl.java34 private final WifiMonitor mWifiMonitor;
42 @NonNull WifiMonitor wifiMonitor, in SupplicantStaIfaceCallbackHidlV1_4Impl()
DSupplicantStaIfaceCallbackHidlV1_3Impl.java35 private final WifiMonitor mWifiMonitor;
40 @NonNull WifiMonitor wifiMonitor) { in SupplicantStaIfaceCallbackHidlV1_3Impl()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java33 import com.android.server.wifi.WifiMonitor;
67 private final WifiMonitor mWifiMonitor;
99 WifiNative wifiNative, WifiMonitor wifiMonitor, in WificondScannerImpl()
112 WifiMonitor.SCAN_FAILED_EVENT, mEventHandler); in WificondScannerImpl()
114 WifiMonitor.PNO_SCAN_RESULTS_EVENT, mEventHandler); in WificondScannerImpl()
116 WifiMonitor.SCAN_RESULTS_EVENT, mEventHandler); in WificondScannerImpl()
130 WifiMonitor.SCAN_FAILED_EVENT, mEventHandler); in cleanup()
132 WifiMonitor.PNO_SCAN_RESULTS_EVENT, mEventHandler); in cleanup()
134 WifiMonitor.SCAN_RESULTS_EVENT, mEventHandler); in cleanup()
297 case WifiMonitor.SCAN_FAILED_EVENT: in handleMessage()
[all …]
DWifiScannerImpl.java29 import com.android.server.wifi.WifiMonitor;
60 WifiMonitor wifiMonitor = WifiInjector.getInstance().getWifiMonitor();
DHalWifiScannerImpl.java28 import com.android.server.wifi.WifiMonitor;
48 WifiNative wifiNative, WifiMonitor wifiMonitor, in HalWifiScannerImpl()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondScannerTest.java36 import com.android.server.wifi.WifiMonitor;
63 WifiMonitor mWifiMonitorSpy;
142 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
167 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
198 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
297 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in testDumpWithCorrectFormatWithScanResult()
338 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in testUnwantedScanResultsExcept6GhzGetFiltered()
352 eq(WifiMonitor.SCAN_FAILED_EVENT), any()); in cleanupDeregistersHandlers()
354 eq(WifiMonitor.PNO_SCAN_RESULTS_EVENT), any()); in cleanupDeregistersHandlers()
356 eq(WifiMonitor.SCAN_RESULTS_EVENT), any()); in cleanupDeregistersHandlers()
DBaseWifiScannerImplTest.java44 import com.android.server.wifi.WifiMonitor;
344 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_FAILED_EVENT, in singleScanFailOnFailedEvent()
483 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in singleScanWhereSupplicantReturnsSomeOldResults()
549 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulSingleScan()
DWificondPnoScannerTest.java39 import com.android.server.wifi.WifiMonitor;
249 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.PNO_SCAN_RESULTS_EVENT); in expectSuccessfulHwDisconnectedPnoScan()
/packages/modules/Wifi/service/java/com/android/server/wifi/mockwifi/
DMockSupplicantManager.java24 import com.android.server.wifi.WifiMonitor;
37 private final WifiMonitor mWifiMonitor;
41 public MockSupplicantManager(IBinder supplicantBinder, WifiMonitor wifiMonitor) { in MockSupplicantManager()
DMockWifiNl80211Manager.java26 import com.android.server.wifi.WifiMonitor;
39 private final WifiMonitor mWifiMonitor;
43 WifiMonitor wifiMonitor) { in MockWifiNl80211Manager()
DMockWifiServiceUtil.java30 import com.android.server.wifi.WifiMonitor;
60 private WifiMonitor mWifiMonitor;
70 public MockWifiServiceUtil(Context context, String serviceName, WifiMonitor wifiMonitor) { in MockWifiServiceUtil()
/packages/services/BuiltInPrintService/src/com/android/bips/util/
DWifiMonitor.java30 public class WifiMonitor { class
31 private static final String TAG = WifiMonitor.class.getSimpleName();
46 public WifiMonitor(BuiltInPrintService service, Listener listener) { in WifiMonitor() method in WifiMonitor
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DManualDiscovery.java27 import com.android.bips.util.WifiMonitor;
49 private WifiMonitor mWifiMonitor;
63 mWifiMonitor = new WifiMonitor(getPrintService(), isConnected -> { in onStart()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCapabilitiesCache.java34 import com.android.bips.util.WifiMonitor;
75 private final WifiMonitor mWifiMonitor;
105 mWifiMonitor = new WifiMonitor(service, connected -> { in CapabilitiesCache()

12