| /cts/tests/framework/base/windowmanager/src/android/server/wm/ |
| D | BackNavigationTests.java | 63 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/ |
| D | MediaProjectionTest.java | 131 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/ |
| D | StubSystemActionsAccessibilityService.java | 25 private CountDownLatch latch; field in StubSystemActionsAccessibilityService 34 void setLatch(CountDownLatch latch) { in setLatch()
|
| D | AccessibilitySystemActionTest.java | 170 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/ |
| D | NullBindingConnectionService.java | 38 CountDownLatch latch = sBindLatch; in onBind() local 46 CountDownLatch latch = sUnbindLatch; in onUnbind() local
|
| D | EmergencyCallOnSimCallManagerTest.java | 142 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/ |
| D | MediaSession2ServiceTest.java | 115 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/ |
| D | ExtraAssistDataTest.java | 47 final AutoResetLatch latch = startSession(); in testAssistContentAndAssistData() local 87 final AutoResetLatch latch = startSession(bundle); in testAssistContentAndDataNullWhenNoFlagsToShowSession() local
|
| D | LifecycleTest.java | 91 final AutoResetLatch latch = startSession(); in testLayerDoesNotTriggerLifecycleMethods() local 118 final AutoResetLatch latch = startSession(); in testNoUiLayerDoesNotTriggerLifecycleMethods() local
|
| D | FlagSecureTest.java | 48 final AutoResetLatch latch = startSession(); in testSecureActivity() local
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
| D | EventSanitizationTestActivity.java | 75 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/ |
| D | InstantAppsTests.java | 74 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/ |
| D | ContentResolverSyncTestCase.java | 99 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/ |
| D | VoiceInteractionSessionControl.java | 51 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/ |
| D | ViewPropertyAnimatorTests.java | 68 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/ |
| D | DefaultSmsAppHelper.java | 50 CountDownLatch latch = new CountDownLatch(1); in ensureDefaultSmsApp() local 85 CountDownLatch latch = new CountDownLatch(1); in stopBeingDefaultSmsApp() local
|
| /cts/tests/vr/src/android/vr/cts/ |
| D | RendererRefreshRateTest.java | 23 public RendererRefreshRateTest(CountDownLatch latch) { in RendererRefreshRateTest()
|
| /cts/tests/sensor/src/android/hardware/cts/helpers/ |
| D | TestSensorEventListener.java | 130 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()
|
| D | TestSensorManager.java | 107 CountDownLatch latch = listener.getLatchForSensorEvents(eventCount); in registerListener() local 184 CountDownLatch latch = mTestSensorEventListener.getLatchForFlushCompleteEvent(); in requestFlush() local
|
| /cts/tests/app/app/src/android/app/stubs/ |
| D | OrientationTestUtils.java | 104 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/ |
| D | NativeRendererOneColorBufferTest.java | 57 public NativeRendererOneColorBufferTest(Context context, CountDownLatch latch) { in NativeRendererOneColorBufferTest() 61 public NativeRendererOneColorBufferTest(Context context, float[] color, CountDownLatch latch) { in NativeRendererOneColorBufferTest()
|
| D | RendererEightShaderTest.java | 25 public RendererEightShaderTest(CountDownLatch latch) { in RendererEightShaderTest()
|
| D | RendererOneProgramTest.java | 26 public RendererOneProgramTest(CountDownLatch latch) { in RendererOneProgramTest()
|
| D | RendererElevenShaderTest.java | 25 public RendererElevenShaderTest(CountDownLatch latch) { in RendererElevenShaderTest()
|
| D | RendererFourShaderTest.java | 27 public RendererFourShaderTest(CountDownLatch latch) { in RendererFourShaderTest()
|