Home
last modified time | relevance | path

Searched refs:mWifiMonitor (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMonitorTest.java64 private WifiMonitor mWifiMonitor; field in WifiMonitorTest
71 mWifiMonitor = new WifiMonitor(); in setUp()
75 mWifiMonitor.setMonitoring(WLAN_IFACE_NAME, true); in setUp()
83 mWifiMonitor.registerHandler( in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
85 mWifiMonitor.broadcastWpsFailEvent( in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
104 mWifiMonitor.registerHandler( in testBroadcastWpsEventFailDueToErrorWepProhibhited()
106 mWifiMonitor.broadcastWpsFailEvent( in testBroadcastWpsEventFailDueToErrorWepProhibhited()
122 mWifiMonitor.registerHandler( in testBroadcastWpsEventFailDueToConfigAuthError()
124 mWifiMonitor.broadcastWpsFailEvent( in testBroadcastWpsEventFailDueToConfigAuthError()
140 mWifiMonitor.registerHandler( in testBroadcastWpsEventFailDueToConfigPbcOverlapError()
[all …]
DSupplicantStaIfaceHalTest.java155 private @Mock WifiMonitor mWifiMonitor; field in SupplicantStaIfaceHalTest
199 super(mContext, mWifiMonitor, mFrameworkFacade, in SupplicantStaIfaceHalSpy()
936 verify(mWifiMonitor).broadcastAnqpDoneEvent( in testAnqpDoneCallback()
962 verify(mWifiMonitor).broadcastAnqpDoneEvent( in testAnqpDoneCallback_1_4()
985 verify(mWifiMonitor).broadcastIconDoneEvent( in testIconDoneCallback()
1009 verify(mWifiMonitor).broadcastWnmEvent(eq(WLAN0_IFACE_NAME), wnmDataCaptor.capture()); in testHs20SubscriptionRemediationCallback()
1056 verify(mWifiMonitor).broadcastSupplicantStateChangeEvent( in testStateChangeCallbackWithNoConfiguredNetwork()
1076 verify(mWifiMonitor).broadcastSupplicantStateChangeEvent( in testStateChangeToAssociatedCallback()
1086 InOrder wifiMonitorInOrder = inOrder(mWifiMonitor); in testStateChangeToCompletedCallback()
1100 wifiMonitorInOrder.verify(mWifiMonitor).broadcastNetworkConnectionEvent( in testStateChangeToCompletedCallback()
[all …]
DSupplicantStateTrackerTest.java59 private @Mock WifiMonitor mWifiMonitor; field in SupplicantStateTrackerTest
79 mLooper.getLooper(), mWifiMonitor, TEST_IFACE, mClientModeManager, mBroadcastQueue); in setUp()
81 verify(mWifiMonitor, atLeastOnce()).registerHandler(eq(TEST_IFACE), anyInt(), any()); in setUp()
87 verify(mWifiMonitor, atLeastOnce()).deregisterHandler(eq(TEST_IFACE), anyInt(), any()); in tearDown()
DWifiNativeInterfaceManagementTest.java80 @Mock private WifiMonitor mWifiMonitor; field in WifiNativeInterfaceManagementTest
174 mWifiMonitor, mNetdWrapper, mIfaceCallback0, mIfaceCallback1, mWifiMetrics); in setUp()
178 mWifiMonitor, mPropertyService, mWifiMetrics, in setUp()
193 mHostapdHal, mWifiMonitor, mNetdWrapper, mIfaceCallback0, mIfaceCallback1, in tearDown()
415 verify(mWifiMonitor).stopMonitoring(IFACE_NAME_1); in testTeardownAllInterfaces()
529 mInOrder.verify(mWifiMonitor).startMonitoring(IFACE_NAME_0); in testSetupSoftApAndClientInterfaceCausesSoftApInterfaceTeardown()
1279 mInOrder.verify(mWifiMonitor).startMonitoring(IFACE_NAME_0); in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardownWithNoVendorHal()
1299 verify(mWifiMonitor).stopMonitoring(IFACE_NAME_0); in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardownWithNoVendorHal()
1374 mInOrder.verify(mWifiMonitor).startMonitoring(IFACE_NAME_0); in testSetupSoftApAndClientInterfaceCausesSoftApInterfaceTeardownWithNoVendorHal()
1529 mInOrder.verify(mWifiMonitor).startMonitoring(ifaceName); in validateSetupClientInterface()
[all …]
DWifiNativeTest.java245 @Mock private WifiMonitor mWifiMonitor; field in WifiNativeTest
292 mWifiMonitor, mPropertyService, mWifiMetrics, in setUp()
628 verify(mWifiMonitor).broadcastScanResultEvent(WIFI_IFACE_NAME); in testClientModeScanSuccess()
641 verify(mWifiMonitor).broadcastScanFailedEvent(WIFI_IFACE_NAME); in testClientModeScanFailure()
654 verify(mWifiMonitor).broadcastPnoScanResultEvent(WIFI_IFACE_NAME); in testClientModePnoScanSuccess()
681 verify(mWifiMonitor).broadcastScanResultEvent(WIFI_IFACE_NAME); in testScanModeScanSuccess()
694 verify(mWifiMonitor).broadcastScanFailedEvent(WIFI_IFACE_NAME); in testScanModeScanFailure()
707 verify(mWifiMonitor).broadcastPnoScanResultEvent(WIFI_IFACE_NAME); in testScanModePnoScanSuccess()
DSupplicantStaNetworkHalTest.java95 @Mock private WifiMonitor mWifiMonitor; field in SupplicantStaNetworkHalTest
1065 verify(mWifiMonitor).broadcastNetworkGsmAuthRequestEvent( in testNetworkEapGsmAuthCallback()
1093 verify(mWifiMonitor).broadcastNetworkUmtsAuthRequestEvent( in testNetworkEapUmtsAuthCallback()
1112 verify(mWifiMonitor).broadcastNetworkIdentityRequestEvent( in testNetworkIdentityCallback()
2293 mISupplicantStaNetworkMock, IFACE_NAME, mContext, mWifiMonitor, in createSupplicantStaNetwork()
2298 mISupplicantStaNetworkMock, IFACE_NAME, mContext, mWifiMonitor, in createSupplicantStaNetwork()
2303 mISupplicantStaNetworkMock, IFACE_NAME, mContext, mWifiMonitor, in createSupplicantStaNetwork()
2308 mISupplicantStaNetworkMock, IFACE_NAME, mContext, mWifiMonitor, in createSupplicantStaNetwork()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceCallbackImpl.java59 private final WifiMonitor mWifiMonitor; field in SupplicantStaIfaceCallbackImpl
71 mWifiMonitor = wifiMonitor; in SupplicantStaIfaceCallbackImpl()
187 mWifiMonitor.broadcastNetworkConnectionEvent( in onStateChanged()
193 mWifiMonitor.broadcastSupplicantStateChangeEvent( in onStateChanged()
223 mWifiMonitor.broadcastAnqpDoneEvent( in onAnqpQueryDone()
241 mWifiMonitor.broadcastIconDoneEvent( in onHs20IconQueryDone()
252 mWifiMonitor.broadcastWnmEvent( in onHs20SubscriptionRemediation()
264 mWifiMonitor.broadcastWnmEvent( in onHs20DeauthImminentNotice()
286 mWifiMonitor.broadcastAuthenticationFailureEvent( in onDisconnected()
290 mWifiMonitor.broadcastAuthenticationFailureEvent( in onDisconnected()
[all …]
DSupplicantStaNetworkCallbackImpl.java39 private final WifiMonitor mWifiMonitor; field in SupplicantStaNetworkCallbackImpl
52 mWifiMonitor = wifiMonitor; in SupplicantStaNetworkCallbackImpl()
65 mWifiMonitor.broadcastNetworkGsmAuthRequestEvent( in onNetworkEapSimGsmAuthRequest()
78 mWifiMonitor.broadcastNetworkUmtsAuthRequestEvent( in onNetworkEapSimUmtsAuthRequest()
87 mWifiMonitor.broadcastNetworkIdentityRequestEvent( in onNetworkEapIdentityRequest()
DSupplicantStaIfaceCallbackV1_4Impl.java33 private final WifiMonitor mWifiMonitor; field in SupplicantStaIfaceCallbackV1_4Impl
44 mWifiMonitor = wifiMonitor; in SupplicantStaIfaceCallbackV1_4Impl()
145 mWifiMonitor.broadcastAuthenticationFailureEvent( in onEapFailure_1_3()
233 mWifiMonitor.broadcastWnmEvent(mIfaceName, in onHs20TermsAndConditionsAcceptanceRequestedNotification()
242 mWifiMonitor.broadcastNetworkNotFoundEvent(mIfaceName, NativeUtil.encodeSsid(ssid)); in onNetworkNotFound()
DSupplicantStaNetworkCallbackV1_4Impl.java36 private final WifiMonitor mWifiMonitor; field in SupplicantStaNetworkCallbackV1_4Impl
53 mWifiMonitor = wifiMonitor; in SupplicantStaNetworkCallbackV1_4Impl()
95 mWifiMonitor.broadcastTransitionDisableEvent( in onTransitionDisable()
DWifiInjector.java147 private final WifiMonitor mWifiMonitor; field in WifiInjector
289 mWifiMonitor = new WifiMonitor(); in WifiInjector()
292 mDppMetrics, mWifiMonitor); in WifiInjector()
301 mContext, mWifiMonitor, mFrameworkFacade, wifiHandler, mClock, mWifiMetrics, in WifiInjector()
308 mWifiMonitor, mPropertyService, mWifiMetrics, in WifiInjector()
360 mDeviceConfigFacade, mWifiThreadRunner, mWifiMonitor); in WifiInjector()
555 mWifiMonitor.enableVerboseLogging(verboseBool); in enableVerboseLogging()
726 mWifiMonitor, ifaceName, clientModeManager, mBroadcastQueue); in makeClientModeImpl()
730 mPasspointManager, mWifiMonitor, mWifiDiagnostics, in makeClientModeImpl()
899 return mWifiMonitor; in getWifiMonitor()
DSupplicantStateTracker.java54 private final WifiMonitor mWifiMonitor; field in SupplicantStateTracker
105 mWifiMonitor = wifiMonitor; in SupplicantStateTracker()
139 mWifiMonitor.registerHandler(mInterfaceName, event, getHandler()); in registerForWifiMonitorEvents()
145 mWifiMonitor.deregisterHandler(mInterfaceName, event, getHandler()); in deregisterForWifiMonitorEvents()
DSupplicantStaIfaceCallbackV1_3Impl.java32 private final WifiMonitor mWifiMonitor; field in SupplicantStaIfaceCallbackV1_3Impl
40 mWifiMonitor = wifiMonitor; in SupplicantStaIfaceCallbackV1_3Impl()
244 mWifiMonitor.broadcastBssTmHandlingDoneEvent(mIfaceName, btmFrmData); in onBssTmHandlingDone()
DSupplicantStaIfaceCallbackV1_1Impl.java30 private final WifiMonitor mWifiMonitor; field in SupplicantStaIfaceCallbackV1_1Impl
40 mWifiMonitor = wifiMonitor; in SupplicantStaIfaceCallbackV1_1Impl()
DWifiLastResortWatchdog.java132 private final WifiMonitor mWifiMonitor; field in WifiLastResortWatchdog
155 mWifiMonitor = wifiMonitor; in WifiLastResortWatchdog()
169 mWifiMonitor.registerHandler(ifaceName, event, mHandler); in registerForWifiMonitorEvents()
175 mWifiMonitor.deregisterHandler(ifaceName, event, mHandler); in deregisterForWifiMonitorEvents()
DWifiNative.java91 private final WifiMonitor mWifiMonitor; field in WifiNative
117 mWifiMonitor = wifiMonitor; in WifiNative()
417 mWifiMonitor.broadcastScanResultEvent(mIfaceName); in onScanResultReady()
423 mWifiMonitor.broadcastScanFailedEvent(mIfaceName); in onScanFailed()
437 mWifiMonitor.broadcastPnoScanResultEvent(mIfaceName); in onScanResultReady()
615 mWifiMonitor.stopMonitoring(iface.name); in onClientInterfaceForConnectivityDestroyed()
633 mWifiMonitor.stopMonitoring(iface.name); in onClientInterfaceForScanDestroyed()
1182 mWifiMonitor.startMonitoring(iface.name); in setupInterfaceForClientInConnectivityMode()
1240 mWifiMonitor.startMonitoring(iface.name); in setupInterfaceForClientInScanMode()
DSupplicantStaIfaceHal.java129 private final WifiMonitor mWifiMonitor; field in SupplicantStaIfaceHal
196 mWifiMonitor = monitor; in SupplicantStaIfaceHal()
1395 mWifiMonitor, mWifiGlobals, getAdvancedCapabilities(ifaceName)); in getStaNetworkMockable()
2810 super(SupplicantStaIfaceHal.this, ifaceName, mLock, mWifiMonitor); in SupplicantStaIfaceHalCallback()
2816 super(SupplicantStaIfaceHal.this, ifaceName, mLock, mWifiMonitor); in SupplicantStaIfaceHalCallbackV1_1()
2828 super(SupplicantStaIfaceHal.this, ifaceName, mWifiMonitor); in SupplicantStaIfaceHalCallbackV1_3()
2834 super(SupplicantStaIfaceHal.this, ifaceName, mLock, mWifiMonitor); in SupplicantStaIfaceHalCallbackV1_4()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondScannerTest.java69 mWifiMonitorSpy = spy(mWifiMonitor); in setup()
89 mWifiNative, mWifiMonitor, channelHelper, mLooper.getLooper(), mClock); in singleScanNotIssuedIfNoAvailableChannels()
136 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
161 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
192 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
291 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in testDumpWithCorrectFormatWithScanResult()
DWificondPnoScannerTest.java61 MockWifiMonitor mWifiMonitor; field in WificondPnoScannerTest
74 mWifiMonitor = new MockWifiMonitor(); in setup()
164 mScanner = new WificondScannerImpl(mContext, IFACE_NAME, mWifiNative, mWifiMonitor, in createScannerWithHwPnoScanSupport()
247 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.PNO_SCAN_RESULTS_EVENT); in expectSuccessfulHwDisconnectedPnoScan()
DBaseWifiScannerImplTest.java68 MockWifiMonitor mWifiMonitor; field in BaseWifiScannerImplTest
85 mWifiMonitor = new MockWifiMonitor(); in setUpBase()
338 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_FAILED_EVENT); in singleScanFailOnFailedEvent()
476 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in singleScanWhereSupplicantReturnsSomeOldResults()
542 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulSingleScan()
DHalWifiScannerTest.java40 mWifiNative, mWifiMonitor, mLooper.getLooper(), mClock); in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java66 private final WifiMonitor mWifiMonitor; field in WificondScannerImpl
101 mWifiMonitor = wifiMonitor; in WificondScannerImpl()
123 mWifiMonitor.deregisterHandler(getIfaceName(), in cleanup()
125 mWifiMonitor.deregisterHandler(getIfaceName(), in cleanup()
127 mWifiMonitor.deregisterHandler(getIfaceName(), in cleanup()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DManualDiscovery.java49 private WifiMonitor mWifiMonitor; field in ManualDiscovery
63 mWifiMonitor = new WifiMonitor(getPrintService(), isConnected -> { in onStart()
81 mWifiMonitor.close(); in onStop()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java836 private WifiP2pMonitor mWifiMonitor = mWifiInjector.getWifiP2pMonitor(); field in WifiP2pServiceImpl.P2pStateMachine
1019 mWifiMonitor.enableVerboseLogging(verbose ? 1 : 0); in enableVerboseLogging()
1023 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents()
1025 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents()
1027 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents()
1029 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents()
1031 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents()
1033 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents()
1035 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents()
1037 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCapabilitiesCache.java75 private final WifiMonitor mWifiMonitor; field in CapabilitiesCache
105 mWifiMonitor = new WifiMonitor(service, connected -> { in CapabilitiesCache()
121 mWifiMonitor.close(); in close()

12