/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMonitorTest.java | 58 private WifiMonitor mWifiMonitor; field in WifiMonitorTest 65 mWifiMonitor = new WifiMonitor(mock(WifiInjector.class)); in setUp() 69 mWifiMonitor.setMonitoring(WLAN_IFACE_NAME, true); in setUp() 77 mWifiMonitor.registerHandler( in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited() 79 mWifiMonitor.broadcastWpsFailEvent( in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited() 95 mWifiMonitor.registerHandler( in testBroadcastWpsEventFailDueToErrorWepProhibhited() 97 mWifiMonitor.broadcastWpsFailEvent( in testBroadcastWpsEventFailDueToErrorWepProhibhited() 113 mWifiMonitor.registerHandler( in testBroadcastWpsEventFailDueToConfigAuthError() 115 mWifiMonitor.broadcastWpsFailEvent( in testBroadcastWpsEventFailDueToConfigAuthError() 131 mWifiMonitor.registerHandler( in testBroadcastWpsEventFailDueToConfigPbcOverlapError() [all …]
|
D | SupplicantStaIfaceHalTest.java | 103 private @Mock WifiMonitor mWifiMonitor; field in SupplicantStaIfaceHalTest 186 mDut = new SupplicantStaIfaceHalSpy(mContext, mWifiMonitor); in setUp() 1018 verify(mWifiMonitor).broadcastAnqpDoneEvent( in testAnqpDoneCallback() 1041 verify(mWifiMonitor).broadcastIconDoneEvent( in testIconDoneCallback() 1065 verify(mWifiMonitor).broadcastWnmEvent(eq(WLAN0_IFACE_NAME), wnmDataCaptor.capture()); in testHs20SubscriptionRemediationCallback() 1105 verify(mWifiMonitor).broadcastSupplicantStateChangeEvent( in testStateChangeCallbackWithNoConfiguredNetwork() 1125 verify(mWifiMonitor).broadcastSupplicantStateChangeEvent( in testStateChangeToAssociatedCallback() 1135 InOrder wifiMonitorInOrder = inOrder(mWifiMonitor); in testStateChangeToCompletedCallback() 1146 wifiMonitorInOrder.verify(mWifiMonitor).broadcastNetworkConnectionEvent( in testStateChangeToCompletedCallback() 1148 wifiMonitorInOrder.verify(mWifiMonitor).broadcastSupplicantStateChangeEvent( in testStateChangeToCompletedCallback() [all …]
|
D | WifiNativeInterfaceManagementTest.java | 75 @Mock private WifiMonitor mWifiMonitor; field in WifiNativeInterfaceManagementTest 160 mWifiMonitor, mNwManagementService, mIfaceCallback0, mIfaceCallback1, mWifiMetrics); in setUp() 164 mWifiMonitor, mNwManagementService, mPropertyService, mWifiMetrics); in setUp() 176 mHostapdHal, mWifiMonitor, mNwManagementService, mIfaceCallback0, mIfaceCallback1, in tearDown() 352 verify(mWifiMonitor).stopMonitoring(IFACE_NAME_1); in testTeardownAllInterfaces() 454 mInOrder.verify(mWifiMonitor).startMonitoring(IFACE_NAME_0); in testSetupSoftApAndClientInterfaceCausesSoftApInterfaceTeardown() 1079 mInOrder.verify(mWifiMonitor).startMonitoring(IFACE_NAME_0); in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardownWithNoVendorHal() 1090 verify(mWifiMonitor).stopMonitoring(IFACE_NAME_0); in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardownWithNoVendorHal() 1144 mInOrder.verify(mWifiMonitor).startMonitoring(IFACE_NAME_0); in testSetupSoftApAndClientInterfaceCausesSoftApInterfaceTeardownWithNoVendorHal() 1206 mInOrder.verify(mWifiMonitor).startMonitoring(ifaceName); in validateSetupClientInterface() [all …]
|
D | SupplicantStaNetworkHalTest.java | 77 @Mock private WifiMonitor mWifiMonitor; field in SupplicantStaNetworkHalTest 637 IFACE_NAME, mContext, mWifiMonitor); in testSendNetworkEapIdentityResponse() 757 verify(mWifiMonitor).broadcastNetworkGsmAuthRequestEvent( in testNetworkEapGsmAuthCallback() 782 verify(mWifiMonitor).broadcastNetworkUmtsAuthRequestEvent( in testNetworkEapUmtsAuthCallback() 798 verify(mWifiMonitor).broadcastNetworkIdentityRequestEvent( in testNetworkIdentityCallback() 1329 mWifiMonitor); in createSupplicantStaNetwork()
|
D | WificondControlTest.java | 70 @Mock private WifiMonitor mWifiMonitor; field in WificondControlTest 182 mWificondControl = new WificondControl(mWifiInjector, mWifiMonitor, mCarrierNetworkConfig); in setUp() 837 verify(mWifiMonitor).broadcastScanResultEvent(any(String.class)); in testScanResultEvent() 853 verify(mWifiMonitor).broadcastScanFailedEvent(any(String.class)); in testScanFailedEvent() 867 verify(mWifiMonitor).broadcastPnoScanResultEvent(any(String.class)); in testPnoScanResultEvent()
|
D | WifiNativeTest.java | 152 @Mock private WifiMonitor mWifiMonitor; field in WifiNativeTest 166 mWifiMonitor, mNwService, mPropertyService, mWifiMetrics); in setUp()
|
D | ScanOnlyModeManagerTest.java | 71 @Mock WifiMonitor mWifiMonitor; field in ScanOnlyModeManagerTest
|
D | ClientModeManagerTest.java | 65 @Mock WifiMonitor mWifiMonitor; field in ClientModeManagerTest
|
D | WifiStateMachineTest.java | 331 MockWifiMonitor mWifiMonitor; field in WifiStateMachineTest 392 mWifiMonitor = new MockWifiMonitor(); in setUp() 407 when(mWifiInjector.getWifiMonitor()).thenReturn(mWifiMonitor); in setUp()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondScannerTest.java | 57 mWifiMonitorSpy = spy(mWifiMonitor); in setup() 77 mWifiNative, mWifiMonitor, channelHelper, mLooper.getLooper(), mClock); in singleScanNotIssuedIfNoAvailableChannels() 98 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 123 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() 153 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
|
D | WificondPnoScannerTest.java | 58 MockWifiMonitor mWifiMonitor; field in WificondPnoScannerTest 71 mWifiMonitor = new MockWifiMonitor(); in setup() 138 mScanner = new WificondScannerImpl(mContext, IFACE_NAME, mWifiNative, mWifiMonitor, in createScannerWithHwPnoScanSupport() 219 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.PNO_SCAN_RESULTS_EVENT); in expectSuccessfulHwDisconnectedPnoScan()
|
D | HalWifiScannerTest.java | 38 mWifiNative, mWifiMonitor, mLooper.getLooper(), mClock); in setUp()
|
D | BaseWifiScannerImplTest.java | 64 MockWifiMonitor mWifiMonitor; field in BaseWifiScannerImplTest 81 mWifiMonitor = new MockWifiMonitor(); in setUpBase() 338 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_FAILED_EVENT); in singleScanFailOnFailedEvent() 469 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in singleScanWhereSupplicantReturnsSomeOldResults() 532 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_RESULTS_EVENT); in expectSuccessfulSingleScan()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaIfaceHal.java | 110 private final WifiMonitor mWifiMonitor; field in SupplicantStaIfaceHal 148 mWifiMonitor = monitor; in SupplicantStaIfaceHal() 485 mWifiMonitor.broadcastSupplicantDisconnectionEvent(ifaceName); in supplicantServiceDiedHandler() 1059 mWifiMonitor); in getStaNetworkMockable() 2356 mWifiMonitor.broadcastNetworkConnectionEvent( in onStateChanged() 2359 mWifiMonitor.broadcastSupplicantStateChangeEvent( in onStateChanged() 2383 mWifiMonitor.broadcastAnqpDoneEvent( in onAnqpQueryDone() 2393 mWifiMonitor.broadcastIconDoneEvent( in onHs20IconQueryDone() 2404 mWifiMonitor.broadcastWnmEvent( in onHs20SubscriptionRemediation() 2415 mWifiMonitor.broadcastWnmEvent( in onHs20DeauthImminentNotice() [all …]
|
D | WifiInjector.java | 86 private final WifiMonitor mWifiMonitor; field in WifiInjector 184 mWifiMonitor = new WifiMonitor(this); in WifiInjector() 188 mSupplicantStaIfaceHal = new SupplicantStaIfaceHal(mContext, mWifiMonitor); in WifiInjector() 190 mWificondControl = new WificondControl(this, mWifiMonitor, mCarrierNetworkConfig); in WifiInjector() 195 mWifiMonitor, mNwManagementService, mPropertyService, mWifiMetrics); in WifiInjector() 585 return mWifiMonitor; in getWifiMonitor()
|
D | WificondControl.java | 70 private WifiMonitor mWifiMonitor; field in WificondControl 93 mWifiMonitor.broadcastScanResultEvent(mIfaceName); in OnScanResultReady() 99 mWifiMonitor.broadcastScanFailedEvent(mIfaceName); in OnScanFailed() 106 mWifiMonitor = wifiMonitor; in WificondControl() 120 mWifiMonitor.broadcastPnoScanResultEvent(mIfaceName); in OnPnoNetworkFound()
|
D | WifiStateMachine.java | 181 private WifiMonitor mWifiMonitor; field in WifiStateMachine 800 mWifiMonitor = mWifiInjector.getWifiMonitor(); in WifiStateMachine() 916 mWifiMonitor.registerHandler(mInterfaceName, CMD_TARGET_BSSID, getHandler()); in registerForWifiMonitorEvents() 917 mWifiMonitor.registerHandler(mInterfaceName, CMD_ASSOCIATED_BSSID, getHandler()); in registerForWifiMonitorEvents() 918 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ANQP_DONE_EVENT, getHandler()); in registerForWifiMonitorEvents() 919 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.ASSOCIATION_REJECTION_EVENT, in registerForWifiMonitorEvents() 921 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.AUTHENTICATION_FAILURE_EVENT, in registerForWifiMonitorEvents() 923 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.GAS_QUERY_DONE_EVENT, in registerForWifiMonitorEvents() 925 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.GAS_QUERY_START_EVENT, in registerForWifiMonitorEvents() 927 mWifiMonitor.registerHandler(mInterfaceName, WifiMonitor.HS20_REMEDIATION_EVENT, in registerForWifiMonitorEvents() [all …]
|
D | WifiNative.java | 77 private final WifiMonitor mWifiMonitor; field in WifiNative 92 mWifiMonitor = wifiMonitor; in WifiNative() 395 mWifiMonitor.stopMonitoring(iface.name); in onClientInterfaceDestroyed() 891 mWifiMonitor.startMonitoring(iface.name); in setupInterfaceForClientMode()
|
D | SupplicantStaNetworkHal.java | 92 private final WifiMonitor mWifiMonitor; field in SupplicantStaNetworkHal 135 mWifiMonitor = monitor; in SupplicantStaNetworkHal() 2570 mWifiMonitor.broadcastNetworkGsmAuthRequestEvent( in onNetworkEapSimGsmAuthRequest() 2583 mWifiMonitor.broadcastNetworkUmtsAuthRequestEvent( in onNetworkEapSimUmtsAuthRequest() 2592 mWifiMonitor.broadcastNetworkIdentityRequestEvent( in onNetworkEapIdentityRequest()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WificondScannerImpl.java | 66 private final WifiMonitor mWifiMonitor; field in WificondScannerImpl 103 mWifiMonitor = wifiMonitor; in WificondScannerImpl() 127 mWifiMonitor.deregisterHandler(mIfaceName, in cleanup() 129 mWifiMonitor.deregisterHandler(mIfaceName, in cleanup() 131 mWifiMonitor.deregisterHandler(mIfaceName, in cleanup()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 661 private WifiP2pMonitor mWifiMonitor = WifiInjector.getInstance().getWifiP2pMonitor(); field in WifiP2pServiceImpl.P2pStateMachine 755 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents() 757 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents() 759 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents() 761 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents() 763 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents() 765 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents() 767 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents() 769 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents() 771 mWifiMonitor.registerHandler(mInterfaceName, in registerForWifiMonitorEvents() [all …]
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 71 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()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalTest.java | 80 private @Mock WifiP2pMonitor mWifiMonitor; field in SupplicantP2pIfaceHalTest 144 super(mWifiMonitor); in SupplicantP2pIfaceHalSpy()
|