/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMonitorTest.java | 74 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 …]
|
D | ClientModeImplTest.java | 1234 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 …]
|
D | SupplicantStateTrackerTest.java | 59 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()
|
D | MockWifiMonitor.java | 33 public class MockWifiMonitor extends WifiMonitor {
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaNetworkCallbackHidlV1_4Impl.java | 35 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()
|
D | SupplicantStateTracker.java | 54 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()
|
D | SupplicantStaNetworkCallbackAidlImpl.java | 51 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()
|
D | ClientModeImpl.java | 235 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 …]
|
D | SupplicantStaNetworkCallbackHidlImpl.java | 39 private final WifiMonitor mWifiMonitor; 44 @NonNull String ifaceName, @NonNull Object lock, @NonNull WifiMonitor wifiMonitor) { in SupplicantStaNetworkCallbackHidlImpl()
|
D | SupplicantStaIfaceCallbackHidlV1_1Impl.java | 29 private final WifiMonitor mWifiMonitor; 35 @NonNull WifiMonitor wifiMonitor) { in SupplicantStaIfaceCallbackHidlV1_1Impl()
|
D | WifiLastResortWatchdog.java | 132 private final WifiMonitor mWifiMonitor; 147 WifiMonitor wifiMonitor) { in WifiLastResortWatchdog() 164 WifiMonitor.NETWORK_CONNECTION_EVENT 201 case WifiMonitor.NETWORK_CONNECTION_EVENT: { in processMessage()
|
D | SupplicantStaIfaceCallbackHidlV1_4Impl.java | 34 private final WifiMonitor mWifiMonitor; 42 @NonNull WifiMonitor wifiMonitor, in SupplicantStaIfaceCallbackHidlV1_4Impl()
|
D | SupplicantStaIfaceCallbackHidlV1_3Impl.java | 35 private final WifiMonitor mWifiMonitor; 40 @NonNull WifiMonitor wifiMonitor) { in SupplicantStaIfaceCallbackHidlV1_3Impl()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WificondScannerImpl.java | 33 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 …]
|
D | WifiScannerImpl.java | 29 import com.android.server.wifi.WifiMonitor; 60 WifiMonitor wifiMonitor = WifiInjector.getInstance().getWifiMonitor();
|
D | HalWifiScannerImpl.java | 28 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/ |
D | WificondScannerTest.java | 36 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()
|
D | BaseWifiScannerImplTest.java | 44 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()
|
D | WificondPnoScannerTest.java | 39 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/ |
D | MockSupplicantManager.java | 24 import com.android.server.wifi.WifiMonitor; 37 private final WifiMonitor mWifiMonitor; 41 public MockSupplicantManager(IBinder supplicantBinder, WifiMonitor wifiMonitor) { in MockSupplicantManager()
|
D | MockWifiNl80211Manager.java | 26 import com.android.server.wifi.WifiMonitor; 39 private final WifiMonitor mWifiMonitor; 43 WifiMonitor wifiMonitor) { in MockWifiNl80211Manager()
|
D | MockWifiServiceUtil.java | 30 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/ |
D | WifiMonitor.java | 30 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/ |
D | ManualDiscovery.java | 27 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/ |
D | CapabilitiesCache.java | 34 import com.android.bips.util.WifiMonitor; 75 private final WifiMonitor mWifiMonitor; 105 mWifiMonitor = new WifiMonitor(service, connected -> { in CapabilitiesCache()
|