Home
last modified time | relevance | path

Searched refs:InOrder (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/tethering/
DTetherInterfaceStateMachineTest.java47 import org.mockito.InOrder;
137 InOrder inOrder = inOrder(mTetherHelper, mNMService); in canBeTethered()
149 InOrder inOrder = inOrder(mNMService, mStatsService, mTetherHelper); in canUnrequestTethering()
161 InOrder inOrder = inOrder(mTetherHelper, mNMService); in canBeTetheredAsUsb()
176 InOrder inOrder = inOrder(mNMService); in handlesFirstUpstreamChange()
187 InOrder inOrder = inOrder(mNMService, mStatsService); in handlesChangingUpstream()
201 InOrder inOrder = inOrder(mNMService, mStatsService, mTetherHelper); in canUnrequestTetheringWithUpstream()
220 InOrder usbTeardownOrder = inOrder(mNMService, mInterfaceConfiguration, mTetherHelper); in interfaceDownLeadsToUnavailable()
235 InOrder usbTeardownOrder = inOrder(mNMService, mInterfaceConfiguration, mTetherHelper); in usbShouldBeTornDownOnTetherError()
249 InOrder usbTeardownOrder = inOrder(mNMService, mInterfaceConfiguration, mTetherHelper); in shouldTearDownUsbOnUpstreamError()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java60 import org.mockito.InOrder;
141 private static Message verifyHandleMessageAndGetMessage(InOrder order, Handler handler) { in verifyHandleMessageAndGetMessage()
147 private static Message verifyHandleMessageAndGetMessage(InOrder order, Handler handler, in verifyHandleMessageAndGetMessage()
159 private static void verifyScanResultsRecieved(InOrder order, Handler handler, int listenerId, in verifyScanResultsRecieved()
174 private static void verifySingleScanCompletedRecieved(InOrder order, Handler handler, in verifySingleScanCompletedRecieved()
216 private static void verifySuccessfulResponse(InOrder order, Handler handler, int arg2) { in verifySuccessfulResponse()
238 private static void verifyMultipleSingleScanResults(InOrder handlerOrder, Handler handler, in verifyMultipleSingleScanResults()
278 private static void verifyMultipleSingleScanResults(InOrder handlerOrder, Handler handler, in verifyMultipleSingleScanResults()
284 private static void verifyFailedResponse(InOrder order, Handler handler, int arg2, in verifyFailedResponse()
305 private WifiNative.ScanEventHandler verifyStartSingleScan(InOrder order, in verifyStartSingleScan()
[all …]
DSupplicantPnoScannerTest.java44 import org.mockito.InOrder;
95 InOrder order = inOrder(pnoEventHandler, mWifiNative); in startHwDisconnectedPnoScan()
116 InOrder order = inOrder(eventHandler, mWifiNative); in pauseResumeHwDisconnectedPnoScanForSingleScan()
186 InOrder order = inOrder(eventHandler, mWifiNative); in delayedHwDisconnectedPnoScanFailure()
224 InOrder order = inOrder(scanEventHandler, mWifiNative); in doSuccessfulSwPnoScanTest()
303 private void expectSuccessfulHwDisconnectedPnoScan(InOrder order, in expectSuccessfulHwDisconnectedPnoScan()
329 private void expectSuccessfulSingleScanWithHwPnoEnabled(InOrder order, in expectSuccessfulSingleScanWithHwPnoEnabled()
353 private void expectSuccessfulSwPnoScan(InOrder order, in expectSuccessfulSwPnoScan()
DSupplicantWifiScannerTest.java38 import org.mockito.InOrder;
319 InOrder order = inOrder(eventHandler, mWifiNative); in backgroundScanStartFailed()
354 InOrder order = inOrder(eventHandler, mWifiNative); in backgroundScanEventFailed()
401 InOrder order = inOrder(eventHandler, mWifiNative); in pauseWhileWaitingToStartNextScanAndResumeScan()
455 InOrder order = inOrder(eventHandler, mWifiNative); in pauseWhileScanningAndResumeScan()
528 InOrder order = inOrder(eventHandler, mWifiNative); in pauseWhileWaitingToStartNextScanAndStartNewScan()
566 InOrder order = inOrder(eventHandler, mWifiNative); in doSuccessfulTest()
592 private void expectSuccessfulBackgroundScan(InOrder order, in expectSuccessfulBackgroundScan()
620 private void expectSuccessfulBackgroundScan(InOrder order, in expectSuccessfulBackgroundScan()
649 private void expectFailedScanStart(InOrder order, WifiNative.ScanEventHandler eventHandler, in expectFailedScanStart()
[all …]
DBaseWifiScannerImplTest.java46 import org.mockito.InOrder;
235 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanFailOnExecute()
265 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanFailOnTimeout()
299 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanFailOnFailedEvent()
353 InOrder order = inOrder(eventHandler, mWifiNative); in multipleSingleScanSuccess()
423 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanWhereSupplicantReturnsSomeOldResults()
475 InOrder order = inOrder(eventHandler, mWifiNative); in doSuccessfulSingleScanTest()
489 protected void expectSuccessfulSingleScan(InOrder order, in expectSuccessfulSingleScan()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java37 import org.mockito.InOrder;
74 InOrder inOrder = inOrder(mHandlerSpy); in testNoTimeMovement()
106 InOrder inOrder = inOrder(mHandlerSpy); in testDelayedDispatchNoTimeMove()
134 InOrder inOrder = inOrder(mHandlerSpy); in testDelayedDispatchAdvanceTimeOnce()
166 InOrder inOrder = inOrder(mHandlerSpy); in testDelayedDispatchAdvanceTimeTwice()
202 InOrder inOrder = inOrder(mHandlerSpy); in testDelayedDispatchReverseOrder()
238 InOrder inOrder = inOrder(mHandlerSpy); in testDelayedDispatchAllMultipleTimes()
346 InOrder inOrder = inOrder(mHandlerSpy); in testAutoDispatchStopsCleanlyWithoutDispatchingAMessage()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockLooperTest.java37 import org.mockito.InOrder;
74 InOrder inOrder = inOrder(mHandlerSpy); in testNoTimeMovement()
106 InOrder inOrder = inOrder(mHandlerSpy); in testDelayedDispatchNoTimeMove()
134 InOrder inOrder = inOrder(mHandlerSpy); in testDelayedDispatchAdvanceTimeOnce()
166 InOrder inOrder = inOrder(mHandlerSpy); in testDelayedDispatchAdvanceTimeTwice()
202 InOrder inOrder = inOrder(mHandlerSpy); in testDelayedDispatchReverseOrder()
238 InOrder inOrder = inOrder(mHandlerSpy); in testDelayedDispatchAllMultipleTimes()
346 InOrder inOrder = inOrder(mHandlerSpy); in testAutoDispatchStopsCleanlyWithoutDispatchingAMessage()
DSoftApManagerTest.java40 import org.mockito.InOrder;
97 InOrder order = inOrder(mListener); in startSoftApWithoutConfig()
121 InOrder order = inOrder(mListener); in stopWhenStarted()
133 InOrder order = inOrder(mListener); in startSoftApAndVerifyEnabled()
DWifiLockManagerTest.java37 import org.mockito.InOrder;
78 InOrder inOrder = inOrder(binder, mBatteryStats); in acquireWifiLockSuccessful()
88 InOrder inOrder = inOrder(binder, mBatteryStats); in releaseWifiLockSuccessful()
242 InOrder inOrder = inOrder(mBatteryStats); in testUpdateWifiLockWorkSourceCalledWithWorkSource()
261 InOrder inOrder = inOrder(mBatteryStats); in testUpdateWifiLockWorkSourceCalledWithUID()
DWifiControllerTest.java45 import org.mockito.InOrder;
267 InOrder inOrder = inOrder(mWifiStateMachine); in testReturnToDeviceActiveStateAfterAPModeShutdown()
295 InOrder inOrder = inOrder(mWifiStateMachine); in testReturnToDeviceActiveStateAfterWifiEnabledShutdown()
329 InOrder inOrder = inOrder(mWifiStateMachine); in testReturnToDeviceIdleStateAfterAPModeShutdown()
403 InOrder inOrder = inOrder(mWifiStateMachine); in testRestartWifiStackInStaEnabledState()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DRequestFocusTest.java34 import com.google.testing.littlemock.LittleMock.InOrder;
142 InOrder inOrder = inOrder(mock); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
185 InOrder inOrder = inOrder(mock); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
DWifiNanStateManagerTest.java50 import org.mockito.InOrder;
101 InOrder inOrder = inOrder(mockListener, mMockNative); in testNanEventsDelivered()
158 InOrder inOrder = inOrder(mockListener, mMockNative); in testNanEventsNotDelivered()
207 InOrder inOrder = inOrder(mockListener, mMockNative); in testPublish()
287 InOrder inOrder = inOrder(mockListener, mMockNative); in testPublishNoCallbacks()
353 InOrder inOrder = inOrder(mockListener, mMockNative); in testSubscribe()
433 InOrder inOrder = inOrder(mockListener, mMockNative); in testSubscribeNoCallbacks()
503 InOrder inOrder = inOrder(mockListener, mMockNative); in testMatchAndMessages()
598 InOrder inOrder = inOrder(mMockNative, mockListener, mockSessionListener); in testMultipleMessageSources()
697 InOrder inOrder = inOrder(mMockNative, mockListener, mockSessionListener); in testMessageWhilePeerChangesIdentity()
[all …]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutTest.java33 import org.mockito.InOrder;
271 InOrder inOrder = inOrder(mockedListener); in testDrawerListenerCallbacksOnOpeningViaAPI()
340 InOrder inOrder = inOrder(mockedListener); in testDrawerListenerCallbacksOnClosingViaAPI()
417 InOrder inOrder = inOrder(mockedListener); in testDrawerListenerCallbacksOnOpeningViaSwipes()
465 InOrder inOrder = inOrder(mockedListener); in testDrawerListenerCallbacksOnClosingViaSwipes()
/frameworks/base/libs/hwui/
DRecordingCanvas.cpp45 mDeferredBarrierType = DeferredBarrierType::InOrder; in resetRecording()
65 mDeferredBarrierType = DeferredBarrierType::InOrder; in insertReorderBarrier()
DRecordingCanvas.h46 InOrder, enumerator