Home
last modified time | relevance | path

Searched defs:latch (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DBackNavigationTests.java64 CountDownLatch latch = registerBackCallback(); in registerCallback_initialized() local
72 CountDownLatch latch = registerBackCallback(); in registerCallback_created() local
80 CountDownLatch latch = registerBackCallback(); in registerCallback_resumed() local
101 CountDownLatch latch = registerBackCallback(); in onBackPressedNotCalled() local
121 private void invokeBackAndAssertCallbackIsCalled(CountDownLatch latch) { in invokeBackAndAssertCallbackIsCalled()
125 private void invokeBackAndAssertCallback(CountDownLatch latch, boolean isCalled) { in invokeBackAndAssertCallback()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionTest.java128 CountDownLatch latch = new CountDownLatch(1); in testOverlayAllowedDuringScreenCapture() local
162 CountDownLatch latch = new CountDownLatch(1); in testUnregisterCallback() local
187 CountDownLatch latch = new CountDownLatch(1); in testCallbackOnStop() local
207 CountDownLatch latch = new CountDownLatch(1); in testCallbackOnCapturedContentResize() local
229 CountDownLatch latch = new CountDownLatch(1); in testCallbackOnCapturedContentVisibilityChanged() local
247 private void createVirtualDisplayAndWaitForCallback(CountDownLatch latch) throws Exception { in createVirtualDisplayAndWaitForCallback()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DStubSystemActionsAccessibilityService.java25 private CountDownLatch latch; field in StubSystemActionsAccessibilityService
34 void setLatch(CountDownLatch latch) { in setLatch()
DAccessibilitySystemActionTest.java170 final CountDownLatch latch = new CountDownLatch(1); in assertRegisterAction() local
184 final CountDownLatch latch = new CountDownLatch(1); in assertUnregisterAction() local
226 public SystemActionBroadcastReceiver(CountDownLatch latch, String expectedAction) { in SystemActionBroadcastReceiver()
/cts/tests/tests/telecom/src/android/telecom/cts/
DNullBindingConnectionService.java38 CountDownLatch latch = sBindLatch; in onBind() local
46 CountDownLatch latch = sUnbindLatch; in onUnbind() local
DEmergencyCallOnSimCallManagerTest.java143 CountDownLatch latch = new CountDownLatch(1); in testQueryLocationForEmergencyTryNormalCall() local
198 CountDownLatch latch = new CountDownLatch(1); in testQueryLocationForEmergencyReturnLocation() local
259 CountDownLatch latch = new CountDownLatch(1); in testQueryLocationForEmergencyReturnTimeoutException() local
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DAssertOutcome.java35 CountDownLatch latch) throws TestAppException { in assertCountDownLatchWasCalled()
42 private static boolean assertCountDownWasCalled(CountDownLatch latch) { in assertCountDownWasCalled()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSession2ServiceTest.java117 final CountDownLatch latch = new CountDownLatch(1); in testOnGetSessionIsCalled() local
152 final CountDownLatch latch = new CountDownLatch(1); in testOnGetSession_returnsSession() local
241 final CountDownLatch latch = new CountDownLatch(1); in testOnGetSession_rejectsConnection() local
258 final CountDownLatch latch = new CountDownLatch(1); in testAllControllersDisconnected_oneSession() local
286 final CountDownLatch latch = new CountDownLatch(1); in testAllControllersDisconnected_multipleSessions() local
354 CountDownLatch latch = new CountDownLatch(2); in testOnUpdateNotification() local
411 CountDownLatch latch = new CountDownLatch(1); in createConnectedController() local
/cts/tests/app/FgsStartTest/test/src/android/app/cts/fgsstarttest/
DActivityManagerNewFgsLogicTest.java91 private void awaitLatch(CountDownLatch latch, String eventName) throws Exception { in awaitLatch()
118 final var latch = new CountDownLatch(1); in test() local
168 final var latch = new CountDownLatch(1); in cleanUpHelperAppState() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DEventSanitizationTestActivity.java75 final CountDownLatch latch = new CountDownLatch(1); in testNoTriggerEventsWhileUidIdle() local
119 final CountDownLatch latch = new CountDownLatch(1); in testNoOnChangeEventsWhileUidIdle() local
/cts/tests/tests/assist/src/android/assist/cts/
DExtraAssistDataTest.java53 final AutoResetLatch latch = startSession(); in testAssistContentAndAssistData() local
104 final AutoResetLatch latch = startSession(bundle); in testAssistContentAndDataNullWhenNoFlagsToShowSession() local
DLifecycleTest.java91 final AutoResetLatch latch = startSession(); in testLayerDoesNotTriggerLifecycleMethods() local
118 final AutoResetLatch latch = startSession(); in testNoUiLayerDoesNotTriggerLifecycleMethods() local
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DInstantAppsTests.java74 final CountDownLatch latch = new CountDownLatch(1); in elapsedRealtimeAlarm() local
86 final CountDownLatch latch = new CountDownLatch(1); in rtcAlarm() local
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java99 private CountDownLatch setNewLatch(CountDownLatch latch) { in setNewLatch()
108 CountDownLatch latch = setNewLatch(new CountDownLatch(1)); in addAccountAndVerifyInitSync() local
129 CountDownLatch latch = setNewLatch(new CountDownLatch(1)); in cancelSync() local
159 CountDownLatch latch = setNewLatch(new CountDownLatch(1)); in requestSync() local
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/testcore/
DVoiceInteractionSessionControl.java51 final CountDownLatch latch = new CountDownLatch(1); in startVoiceInteractionSession() local
79 final CountDownLatch latch = new CountDownLatch(1); in executeCommand() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DViewPropertyAnimatorTests.java68 final CountDownLatch latch = new CountDownLatch(1); in testViewNonCustomAlpha() local
510 final CountDownLatch latch = new CountDownLatch(1); in createViewPropertyAnimatorTest() local
529 }, true, latch); in createViewPropertyAnimatorTest() field in ViewPropertyAnimatorTests
/cts/hostsidetests/media/app/ProxyMediaRouterMediaRoutingControl/src/android/media/router/cts/proxyroutingapp/
DMediaRouter2DeviceTest.java207 CountDownLatch latch = new CountDownLatch(1); in requestScan_withScreenOff_triggersScanning() local
452 CountDownLatch latch = new CountDownLatch(1); in revokingMediaRoutingControl_onAppOpsManager_revokesProxyRouterAccess() local
491 CountDownLatch latch = new CountDownLatch(5); in revokeMediaRoutingControl_callsAllOnInstanceInvalidatedListeners() local
565 CountDownLatch latch = new CountDownLatch(2); in revokeMediaRoutingControl_invalidatesAllInstancesAcrossTargetPackageNames() local
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionLifecycleTest.java101 final CountDownLatch latch = new CountDownLatch(1); in testCloseConnectionWithRestartInput() local
180 final CountDownLatch latch = new CountDownLatch(1); in testCloseConnectionWithLosingViewFocus() local
259 final CountDownLatch latch = new CountDownLatch(1); in testCloseConnectionWithLosingWindowFocus() local
DInputConnectionHandlerTest.java158 final CountDownLatch latch = new CountDownLatch(1); in testCommitText() local
235 final CountDownLatch latch = new CountDownLatch(1); in testCloseConnectionWithRestartInput() local
314 final CountDownLatch latch = new CountDownLatch(1); in testCloseConnectionWithLosingViewFocus() local
392 final CountDownLatch latch = new CountDownLatch(1); in testCloseConnectionWithLosingWindowFocus() local
465 final CountDownLatch latch = new CountDownLatch(1); in testReportFullscreenMode() local
661 final CountDownLatch latch = new CountDownLatch(1); in create() local
730 final CountDownLatch latch = new CountDownLatch(1); in testExceptionFromGetSurroundingText() local
/cts/tests/vr/src/android/vr/cts/
DRendererRefreshRateTest.java23 public RendererRefreshRateTest(CountDownLatch latch) { in RendererRefreshRateTest()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DTestSensorEventListener.java130 CountDownLatch latch = new CountDownLatch(eventCount); in getLatchForSensorEvents() local
142 CountDownLatch latch = new CountDownLatch(1); in getLatchForFlushCompleteEvent() local
278 public void waitForFlushComplete(CountDownLatch latch, in waitForFlushComplete()
305 public void waitForEvents(CountDownLatch latch, int eventCount, in waitForEvents()
DTestSensorManager.java107 CountDownLatch latch = listener.getLatchForSensorEvents(eventCount); in registerListener() local
184 CountDownLatch latch = mTestSensorEventListener.getLatchForFlushCompleteEvent(); in requestFlush() local
/cts/tests/app/app/src/android/app/stubs/
DOrientationTestUtils.java104 final CountDownLatch latch = new CountDownLatch(1); in startObserving() local
125 final CountDownLatch latch = mLatch.get(); in onObserved() local
/cts/tests/tests/opengl/src/android/opengl/cts/
DNativeRendererOneColorBufferTest.java57 public NativeRendererOneColorBufferTest(Context context, CountDownLatch latch) { in NativeRendererOneColorBufferTest()
61 public NativeRendererOneColorBufferTest(Context context, float[] color, CountDownLatch latch) { in NativeRendererOneColorBufferTest()
DRendererNineShaderTest.java25 public RendererNineShaderTest(CountDownLatch latch) { in RendererNineShaderTest()

12345678910>>...12