Home
last modified time | relevance | path

Searched refs:mInOrder (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNativeInterfaceManagementTest.java108 private InOrder mInOrder; field in WifiNativeInterfaceManagementTest
164 mInOrder = inOrder(mWifiVendorHal, mWificondControl, mSupplicantStaIfaceHal, mHostapdHal, in setUp()
174 mInOrder.verify(mWifiVendorHal).initialize(any()); in setUp()
175 mInOrder.verify(mWificondControl).initialize(any()); in setUp()
176 mInOrder.verify(mWifiVendorHal).registerRadioModeChangeHandler(any()); in setUp()
436 mInOrder.verify(mHostapdHal).isInitializationStarted(); in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardown()
437 mInOrder.verify(mHostapdHal).initialize(); in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardown()
438 mInOrder.verify(mHostapdHal).startDaemon(); in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardown()
439 mInOrder.verify(mHostapdHal).isInitializationComplete(); in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardown()
440 mInOrder.verify(mHostapdHal).registerDeathHandler(any()); in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardown()
[all …]
DScanRequestProxyTest.java99 private InOrder mInOrder; field in ScanRequestProxyTest
120 mInOrder = inOrder(mWifiScanner, mWifiConfigManager, in setUp()
153 mInOrder.verify(mWifiScanner).registerScanListener(any()); in testEnableScanning()
154 mInOrder.verify(mWifiScanner).setScanningEnabled(true); in testEnableScanning()
164 mInOrder.verify(mWifiScanner).registerScanListener(any()); in testDisableScanning()
165 mInOrder.verify(mWifiScanner).setScanningEnabled(false); in testDisableScanning()
185 mInOrder.verify(mWifiScanner).registerScanListener(any()); in testStartScanSuccess()
186 mInOrder.verify(mWifiScanner).startScan(any(), any(), any()); in testStartScanSuccess()
202 mInOrder.verify(mWifiScanner).registerScanListener(any()); in testStartScanSuccessFromAppWithNetworkSettings()
203 mInOrder.verify(mWifiScanner).startScan(any(), any(), any()); in testStartScanSuccessFromAppWithNetworkSettings()
[all …]
DHalDeviceManagerTest.java103 private InOrder mInOrder; field in HalDeviceManagerTest
174 mInOrder = inOrder(mServiceManagerMock, mWifiMock, mManagerStatusListenerMock); in testStartStopFlow()
183 mInOrder.verify(mWifiMock).stop(); in testStartStopFlow()
184 mInOrder.verify(mManagerStatusListenerMock).onStatusChanged(); in testStartStopFlow()
196 mInOrder = inOrder(mServiceManagerMock, mWifiMock, mManagerStatusListenerMock); in testServiceRegisterationAfterInitialize()
211 mInOrder = inOrder(mServiceManagerMock, mWifiMock, mManagerStatusListenerMock); in testMultipleCallbackRegistrations()
238 mInOrder = inOrder(mServiceManagerMock, mWifiMock, mManagerStatusListenerMock); in testWifiDeathAndRegistration()
247 mInOrder.verify(mManagerStatusListenerMock).onStatusChanged(); in testWifiDeathAndRegistration()
253 mInOrder.verify(mWifiMock).linkToDeath(mDeathRecipientCaptor.capture(), anyLong()); in testWifiDeathAndRegistration()
254 mInOrder.verify(mWifiMock).registerEventCallback(mWifiEventCallbackCaptor.capture()); in testWifiDeathAndRegistration()
[all …]
DHostapdHalTest.java87 private InOrder mInOrder; field in HostapdHalTest
664 mInOrder = inOrder(mServiceManagerMock, mIHostapdMock); in executeAndValidateInitializationSequence()
676 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequence()
678 mInOrder.verify(mServiceManagerMock).registerForNotifications( in executeAndValidateInitializationSequence()
684 mInOrder.verify(mIHostapdMock).linkToDeath(mHostapdDeathCaptor.capture(), in executeAndValidateInitializationSequence()
688 mInOrder.verify(mIHostapdMock, never()).linkToDeath( in executeAndValidateInitializationSequence()
700 mInOrder = inOrder(mServiceManagerMock, mIHostapdMock); in executeAndValidateInitializationSequenceV1_1()
720 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequenceV1_1()
722 mInOrder.verify(mServiceManagerMock).registerForNotifications( in executeAndValidateInitializationSequenceV1_1()
727 mInOrder.verify(mIHostapdMock).linkToDeath(mHostapdDeathCaptor.capture(), anyLong()); in executeAndValidateInitializationSequenceV1_1()
DWifiNetworkFactoryTest.java155 InOrder mInOrder; field in WifiNetworkFactoryTest
1355 mInOrder = inOrder(mAlarmManager, mClientModeImpl); in testNetworkSpecifierHandleConnectionTimeout()
1384 mInOrder = inOrder(mAlarmManager, mClientModeImpl); in testNetworkSpecifierHandleConnectionTriggerFailure()
1393 mInOrder.verify(mAlarmManager).cancel( in testNetworkSpecifierHandleConnectionTriggerFailure()
1418 mInOrder = inOrder(mAlarmManager, mClientModeImpl); in testNetworkSpecifierHandleConnectionFailure()
1426 mInOrder.verify(mAlarmManager).cancel( in testNetworkSpecifierHandleConnectionFailure()
1464 mInOrder = inOrder(mAlarmManager, mClientModeImpl); in testNetworkSpecifierHandleConnectionFailureToWrongNetwork()
1471 mInOrder.verify(mAlarmManager).cancel( in testNetworkSpecifierHandleConnectionFailureToWrongNetwork()
1923 mInOrder.verify(mAlarmManager).cancel( in testNetworkSpecifierHandleScreenStateChangedWhileScanning()
1929 mInOrder.verifyNoMoreInteractions(); in testNetworkSpecifierHandleScreenStateChangedWhileScanning()
[all …]
DSupplicantStaIfaceHalTest.java154 private InOrder mInOrder; field in SupplicantStaIfaceHalTest
1986 mInOrder = inOrder(mServiceManagerMock, mISupplicantMock, mISupplicantStaIfaceMock, in executeAndValidateInitializationSequence()
1991 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequence()
1993 mInOrder.verify(mServiceManagerMock).registerForNotifications( in executeAndValidateInitializationSequence()
2000 mInOrder.verify(mISupplicantMock).linkToDeath(mSupplicantDeathCaptor.capture(), in executeAndValidateInitializationSequence()
2003 mInOrder.verify(mISupplicantMock).listInterfaces( in executeAndValidateInitializationSequence()
2006 mInOrder.verify(mISupplicantMock) in executeAndValidateInitializationSequence()
2011 mInOrder.verify(mISupplicantStaIfaceMock) in executeAndValidateInitializationSequence()
2049 mInOrder = inOrder(mServiceManagerMock, mISupplicantMock, mISupplicantMockV1_1, in executeAndValidateInitializationSequenceV1_1()
2054 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequenceV1_1()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareNativeManagerTest.java67 private InOrder mInOrder; field in WifiAwareNativeManagerTest
99 mInOrder = inOrder(mWifiAwareStateManagerMock, mHalDeviceManager, mWifiNanIfaceMock, in setUp()
103 mInOrder.verify(mHalDeviceManager).initialize(); in setUp()
104 mInOrder.verify(mHalDeviceManager).registerStatusListener( in setUp()
128 mInOrder.verify(mHalDeviceManager).registerInterfaceAvailableForRequestListener( in testControlFlowWithoutInterface()
133 mInOrder.verify(mWifiAwareStateManagerMock).enableUsage(); in testControlFlowWithoutInterface()
139 mInOrder.verify(mWifiAwareStateManagerMock).disableUsage(); in testControlFlowWithoutInterface()
146 mInOrder.verify(mHalDeviceManager).registerInterfaceAvailableForRequestListener( in testControlFlowWithoutInterface()
150 mInOrder.verify(mWifiAwareStateManagerMock).enableUsage(); in testControlFlowWithoutInterface()
155 mInOrder.verify(mWifiAwareStateManagerMock).disableUsage(); in testControlFlowWithoutInterface()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java151 private InOrder mInOrder; field in SupplicantP2pIfaceHalTest
2745 mInOrder = inOrder(mServiceManagerMock, mISupplicantMock, mISupplicantP2pIfaceMock); in executeAndValidateInitializationSequence()
2749 mInOrder.verify(mServiceManagerMock).linkToDeath( in executeAndValidateInitializationSequence()
2751 mInOrder.verify(mServiceManagerMock).registerForNotifications( in executeAndValidateInitializationSequence()
2755 mInOrder.verify(mISupplicantMock).linkToDeath( in executeAndValidateInitializationSequence()
2763 mInOrder.verify(mISupplicantMock).listInterfaces( in executeAndValidateInitializationSequence()
2766 mInOrder.verify(mISupplicantMock) in executeAndValidateInitializationSequence()
2769 mInOrder.verify(mISupplicantP2pIfaceMock).linkToDeath( in executeAndValidateInitializationSequence()
2771 mInOrder.verify(mISupplicantP2pIfaceMock).registerCallback( in executeAndValidateInitializationSequence()
2801 mInOrder = inOrder(mServiceManagerMock, mISupplicantMock, mISupplicantMockV1_1, in executeAndValidateInitializationSequenceV1_1()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java126 private InOrder mInOrder; field in RttServiceImplTest
201 mInOrder = inOrder(mAlarmManager.getAlarmManager(), mockContext); in setUp()
1427 mInOrder.verify(mAlarmManager.getAlarmManager()).setExact(anyInt(), longCaptor.capture(), in verifyWakeupSet()
1436 mInOrder.verify(mAlarmManager.getAlarmManager()).cancel( in verifyWakeupCancelled()
1449 mInOrder.verify(mockContext).sendBroadcastAsUser(intent.capture(), eq(UserHandle.ALL)); in validateCorrectRttStatusChangeBroadcast()