Home
last modified time | relevance | path

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

1234567891011

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DBackNavigationTests.java63 CountDownLatch latch = registerBackCallback(); in registerCallback_initialized() local
71 CountDownLatch latch = registerBackCallback(); in registerCallback_created() local
79 CountDownLatch latch = registerBackCallback(); in registerCallback_resumed() local
100 CountDownLatch latch = registerBackCallback(); in onBackPressedNotCalled() local
120 private void invokeBackAndAssertCallbackIsCalled(CountDownLatch latch) { in invokeBackAndAssertCallbackIsCalled()
124 private void invokeBackAndAssertCallback(CountDownLatch latch, boolean isCalled) { in invokeBackAndAssertCallback()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionTest.java131 CountDownLatch latch = new CountDownLatch(1); in testOverlayAllowedDuringScreenCapture() local
165 CountDownLatch latch = new CountDownLatch(1); in testUnregisterCallback() local
190 CountDownLatch latch = new CountDownLatch(1); in testCallbackOnStop() local
210 CountDownLatch latch = new CountDownLatch(1); in testCallbackOnCapturedContentResize() local
232 CountDownLatch latch = new CountDownLatch(1); in testCallbackOnCapturedContentVisibilityChanged() local
250 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.java142 CountDownLatch latch = new CountDownLatch(1); in testQueryLocationForEmergencyTryNormalCall() local
197 CountDownLatch latch = new CountDownLatch(1); in testQueryLocationForEmergencyReturnLocation() local
258 CountDownLatch latch = new CountDownLatch(1); in testQueryLocationForEmergencyReturnTimeoutException() local
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSession2ServiceTest.java115 final CountDownLatch latch = new CountDownLatch(1); in testOnGetSessionIsCalled() local
150 final CountDownLatch latch = new CountDownLatch(1); in testOnGetSession_returnsSession() local
239 final CountDownLatch latch = new CountDownLatch(1); in testOnGetSession_rejectsConnection() local
256 final CountDownLatch latch = new CountDownLatch(1); in testAllControllersDisconnected_oneSession() local
284 final CountDownLatch latch = new CountDownLatch(1); in testAllControllersDisconnected_multipleSessions() local
352 CountDownLatch latch = new CountDownLatch(2); in testOnUpdateNotification() local
409 CountDownLatch latch = new CountDownLatch(1); in createConnectedController() local
/cts/tests/tests/assist/src/android/assist/cts/
DExtraAssistDataTest.java47 final AutoResetLatch latch = startSession(); in testAssistContentAndAssistData() local
87 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
DFlagSecureTest.java48 final AutoResetLatch latch = startSession(); in testSecureActivity() 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/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
78 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/tests/tests/telephony/current/src/android/telephony/cts/util/
DDefaultSmsAppHelper.java50 CountDownLatch latch = new CountDownLatch(1); in ensureDefaultSmsApp() local
85 CountDownLatch latch = new CountDownLatch(1); in stopBeingDefaultSmsApp() 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()
DRendererEightShaderTest.java25 public RendererEightShaderTest(CountDownLatch latch) { in RendererEightShaderTest()
DRendererOneProgramTest.java26 public RendererOneProgramTest(CountDownLatch latch) { in RendererOneProgramTest()
DRendererElevenShaderTest.java25 public RendererElevenShaderTest(CountDownLatch latch) { in RendererElevenShaderTest()
DRendererFourShaderTest.java27 public RendererFourShaderTest(CountDownLatch latch) { in RendererFourShaderTest()

1234567891011