/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNativeInterfaceManagementTest.java | 108 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 …]
|
D | ScanRequestProxyTest.java | 99 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 …]
|
D | HalDeviceManagerTest.java | 103 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 …]
|
D | HostapdHalTest.java | 87 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()
|
D | WifiNetworkFactoryTest.java | 155 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 …]
|
D | SupplicantStaIfaceHalTest.java | 154 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/ |
D | WifiAwareNativeManagerTest.java | 67 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/ |
D | SupplicantP2pIfaceHalTest.java | 151 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/ |
D | RttServiceImplTest.java | 126 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()
|