Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMonitorTest.java57 private WifiMonitor mWifiMonitor; field in WifiMonitorTest
64 mWifiMonitor = new WifiMonitor(mock(WifiInjector.class)); in setUp()
68 mWifiMonitor.setMonitoring(WLAN_IFACE_NAME, true); in setUp()
76 mWifiMonitor.registerHandler( in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
78 mWifiMonitor.broadcastWpsFailEvent( in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
94 mWifiMonitor.registerHandler( in testBroadcastWpsEventFailDueToErrorWepProhibhited()
96 mWifiMonitor.broadcastWpsFailEvent( in testBroadcastWpsEventFailDueToErrorWepProhibhited()
112 mWifiMonitor.registerHandler( in testBroadcastWpsEventFailDueToConfigAuthError()
114 mWifiMonitor.broadcastWpsFailEvent( in testBroadcastWpsEventFailDueToConfigAuthError()
130 mWifiMonitor.registerHandler( in testBroadcastWpsEventFailDueToConfigPbcOverlapError()
[all …]
DSupplicantStaIfaceHalTest.java104 @Mock WifiMonitor mWifiMonitor; field in SupplicantStaIfaceHalTest
170 mDut = new SupplicantStaIfaceHalSpy(mContext, mWifiMonitor); in setUp()
848 verify(mWifiMonitor).broadcastAnqpDoneEvent(eq(WLAN_IFACE_NAME), anqpEventCaptor.capture()); in testAnqpDoneCallback()
870 verify(mWifiMonitor).broadcastIconDoneEvent(eq(WLAN_IFACE_NAME), iconEventCaptor.capture()); in testIconDoneCallback()
893 verify(mWifiMonitor).broadcastWnmEvent(eq(WLAN_IFACE_NAME), wnmDataCaptor.capture()); in testHs20SubscriptionRemediationCallback()
933 verify(mWifiMonitor).broadcastSupplicantStateChangeEvent( in testStateChangeCallbackWithNoConfiguredNetwork()
953 verify(mWifiMonitor).broadcastSupplicantStateChangeEvent( in testStateChangeToAssociatedCallback()
963 InOrder wifiMonitorInOrder = inOrder(mWifiMonitor); in testStateChangeToCompletedCallback()
974 wifiMonitorInOrder.verify(mWifiMonitor).broadcastNetworkConnectionEvent( in testStateChangeToCompletedCallback()
976 wifiMonitorInOrder.verify(mWifiMonitor).broadcastSupplicantStateChangeEvent( in testStateChangeToCompletedCallback()
[all …]
DWificondControlTest.java68 private WifiMonitor mWifiMonitor; field in WificondControlTest
148 mWifiMonitor = mock(WifiMonitor.class); in setUp()
152 mWificondControl = new WificondControl(mWifiInjector, mWifiMonitor, mCarrierNetworkConfig); in setUp()
644 verify(mWifiMonitor).broadcastScanResultEvent(any(String.class)); in testScanResultEvent()
661 verify(mWifiMonitor).broadcastScanFailedEvent(any(String.class)); in testScanFailedEvent()
677 verify(mWifiMonitor).broadcastPnoScanResultEvent(any(String.class)); in testPnoScanResultEvent()
DSupplicantStaNetworkHalTest.java75 @Mock private WifiMonitor mWifiMonitor; field in SupplicantStaNetworkHalTest
717 verify(mWifiMonitor).broadcastNetworkGsmAuthRequestEvent( in testNetworkEapGsmAuthCallback()
742 verify(mWifiMonitor).broadcastNetworkUmtsAuthRequestEvent( in testNetworkEapUmtsAuthCallback()
758 verify(mWifiMonitor).broadcastNetworkIdentityRequestEvent( in testNetworkIdentityCallback()
1289 mISupplicantStaNetworkMock, IFACE_NAME, mContext, mWifiMonitor); in createSupplicantStaNetwork()
DWifiStateMachineTest.java329 MockWifiMonitor mWifiMonitor; field in WifiStateMachineTest
389 mWifiMonitor = new MockWifiMonitor(); in setUp()
409 when(mWifiInjector.getWifiMonitor()).thenReturn(mWifiMonitor); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java138 private final WifiMonitor mWifiMonitor; field in SupplicantStaIfaceHal
142 mWifiMonitor = monitor; in SupplicantStaIfaceHal()
343 mWifiMonitor.broadcastSupplicantDisconnectionEvent(mIfaceName); in supplicantServiceDiedHandler()
762 mWifiMonitor); in getStaNetworkMockable()
1995 mWifiMonitor.broadcastNetworkConnectionEvent( in onStateChanged()
1998 mWifiMonitor.broadcastSupplicantStateChangeEvent( in onStateChanged()
2021 mWifiMonitor.broadcastAnqpDoneEvent( in onAnqpQueryDone()
2031 mWifiMonitor.broadcastIconDoneEvent( in onHs20IconQueryDone()
2042 mWifiMonitor.broadcastWnmEvent( in onHs20SubscriptionRemediation()
2053 mWifiMonitor.broadcastWnmEvent( in onHs20DeauthImminentNotice()
[all …]
DWifiInjector.java80 private final WifiMonitor mWifiMonitor; field in WifiInjector
164 mWifiMonitor = new WifiMonitor(this); in WifiInjector()
168 mSupplicantStaIfaceHal = new SupplicantStaIfaceHal(mContext, mWifiMonitor); in WifiInjector()
169 mWificondControl = new WificondControl(this, mWifiMonitor, in WifiInjector()
473 return mWifiMonitor; in getWifiMonitor()
DWificondControl.java62 private WifiMonitor mWifiMonitor; field in WificondControl
80 mWifiMonitor.broadcastScanResultEvent(mClientInterfaceName); in OnScanResultReady()
86 mWifiMonitor.broadcastScanFailedEvent(mClientInterfaceName); in OnScanFailed()
93 mWifiMonitor = wifiMonitor; in WificondControl()
101 mWifiMonitor.broadcastPnoScanResultEvent(mClientInterfaceName); in OnPnoNetworkFound()
DWifiStateMachine.java211 private WifiMonitor mWifiMonitor; field in WifiStateMachine
944 mWifiMonitor = mWifiInjector.getWifiMonitor(); in WifiStateMachine()
1086 mWifiMonitor.registerHandler(mInterfaceName, CMD_TARGET_BSSID, getHandler()); in WifiStateMachine()
1087 mWifiMonitor.registerHandler(mInterfaceName, CMD_ASSOCIATED_BSSID, getHandler()); in WifiStateMachine()
1088 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ANQP_DONE_EVENT, getHandler()); in WifiStateMachine()
1089 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ASSOCIATION_REJECTION_EVENT, in WifiStateMachine()
1091 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.AUTHENTICATION_FAILURE_EVENT, in WifiStateMachine()
1093mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.GAS_QUERY_DONE_EVENT, getHandler()); in WifiStateMachine()
1094 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.GAS_QUERY_START_EVENT, in WifiStateMachine()
1096 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.HS20_REMEDIATION_EVENT, in WifiStateMachine()
[all …]
DSupplicantStaNetworkHal.java91 private final WifiMonitor mWifiMonitor; field in SupplicantStaNetworkHal
134 mWifiMonitor = monitor; in SupplicantStaNetworkHal()
2550 mWifiMonitor.broadcastNetworkGsmAuthRequestEvent( in onNetworkEapSimGsmAuthRequest()
2563 mWifiMonitor.broadcastNetworkUmtsAuthRequestEvent( in onNetworkEapSimUmtsAuthRequest()
2572 mWifiMonitor.broadcastNetworkIdentityRequestEvent( in onNetworkEapIdentityRequest()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondPnoScannerTest.java58 MockWifiMonitor mWifiMonitor; field in WificondPnoScannerTest
71 mWifiMonitor = new MockWifiMonitor(); in setup()
347 mScanner = new WificondScannerImpl(mContext, mWifiNative, mWifiMonitor, in createScannerWithHwPnoScanSupport()
353 mScanner = new WificondScannerImpl(mContext, mWifiNative, mWifiMonitor, in createScannerWithSwPnoScanSupport()
436 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), in expectSuccessfulHwDisconnectedPnoScan()
459 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulSingleScanWithHwPnoEnabled()
486 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulSwPnoScan()
DHalWifiScannerTest.java37 mScanner = new HalWifiScannerImpl(mContext, mWifiNative, mWifiMonitor, mLooper.getLooper(), in setUp()
DBaseWifiScannerImplTest.java63 MockWifiMonitor mWifiMonitor; field in BaseWifiScannerImplTest
80 mWifiMonitor = new MockWifiMonitor(); in setUpBase()
322 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_FAILED_EVENT); in singleScanFailOnFailedEvent()
452 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in singleScanWhereSupplicantReturnsSomeOldResults()
513 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulSingleScan()
DWificondScannerTest.java56 mScanner = new WificondScannerImpl(mContext, mWifiNative, mWifiMonitor, in setup()
73 mScanner = new WificondScannerImpl(mContext, mWifiNative, mWifiMonitor, in singleScanNotIssuedIfNoAvailableChannels()
516 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in pauseWhileScanningAndResumeScan()
691 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulBackgroundScan()
720 mWifiMonitor.sendMessage(mWifiNative.getInterfaceName(), WifiMonitor.SCAN_FAILED_EVENT); in expectFailedEventScan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java680 private WifiP2pMonitor mWifiMonitor = WifiInjector.getInstance().getWifiP2pMonitor(); field in WifiP2pServiceImpl.P2pStateMachine
739 mWifiMonitor.registerHandler(interfaceName, in P2pStateMachine()
741 mWifiMonitor.registerHandler(interfaceName, in P2pStateMachine()
743 mWifiMonitor.registerHandler(interfaceName, in P2pStateMachine()
745 mWifiMonitor.registerHandler(interfaceName, in P2pStateMachine()
747 mWifiMonitor.registerHandler(interfaceName, in P2pStateMachine()
749 mWifiMonitor.registerHandler(interfaceName, in P2pStateMachine()
751 mWifiMonitor.registerHandler(interfaceName, in P2pStateMachine()
753 mWifiMonitor.registerHandler(interfaceName, in P2pStateMachine()
755 mWifiMonitor.registerHandler(interfaceName, in P2pStateMachine()
[all …]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java71 private Object mWifiMonitor = new Object(); field in ConnectionUtil
328 synchronized (mWifiMonitor) { in notifyWifiState()
330 mWifiMonitor.notify(); in notifyWifiState()
498 synchronized (mWifiMonitor) { in waitForWifiState()
500 mWifiMonitor.wait(SHORT_TIMEOUT); in waitForWifiState()