Home
last modified time | relevance | path

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

12345678

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DStubSystemActionsAccessibilityService.java25 private CountDownLatch latch; field in StubSystemActionsAccessibilityService
34 void setLatch(CountDownLatch latch) { in setLatch()
DAccessibilitySystemActionTest.java164 final CountDownLatch latch = new CountDownLatch(1); in assertRegisterAction() local
178 final CountDownLatch latch = new CountDownLatch(1); in assertUnregisterAction() local
219 public SystemActionBroadcastReceiver(CountDownLatch latch, String expectedAction) { in SystemActionBroadcastReceiver()
/cts/tests/tests/media/src/android/media/cts/
DMediaSession2ServiceTest.java120 final CountDownLatch latch = new CountDownLatch(1); in testOnGetSessionIsCalled() local
153 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/tests/assist/src/android/assist/cts/
DExtraAssistDataTest.java47 final AutoResetLatch latch = startSession(); in testAssistContentAndAssistData() local
85 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
DLargeViewHierarchyTest.java46 final AutoResetLatch latch = startSession(); in testTextView() 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/telephonyprovider/src/android/telephonyprovider/cts/
DDefaultSmsAppHelper.java50 CountDownLatch latch = new CountDownLatch(1); in ensureDefaultSmsApp() local
85 CountDownLatch latch = new CountDownLatch(1); in stopBeingDefaultSmsApp() 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/framework/base/windowmanager/src/android/server/wm/
DActivityTransitionTests.java80 final CountDownLatch latch = new CountDownLatch(1); in testActivityTransitionDurationNoShortenAsExpected() local
123 final CountDownLatch latch = new CountDownLatch(1); in testTaskTransitionDurationNoShortenAsExpected() local
162 final CountDownLatch latch = new CountDownLatch(1); in testTaskTransitionOverrideDisabled() local
203 final CountDownLatch latch = new CountDownLatch(1); in testTaskTransitionOverride() local
/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/vr/src/android/vr/cts/
DRendererRefreshRateTest.java23 public RendererRefreshRateTest(CountDownLatch latch) { in RendererRefreshRateTest()
/cts/tests/app/app/src/android/app/stubs/
DOrientationTestUtils.java106 final CountDownLatch latch = new CountDownLatch(1); in startObserving() local
127 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()
DRendererOneProgramTest.java26 public RendererOneProgramTest(CountDownLatch latch) { in RendererOneProgramTest()
DRendererFourShaderTest.java27 public RendererFourShaderTest(CountDownLatch latch) { in RendererFourShaderTest()
DRendererNineShaderTest.java25 public RendererNineShaderTest(CountDownLatch latch) { in RendererNineShaderTest()
DRendererEightShaderTest.java25 public RendererEightShaderTest(CountDownLatch latch) { in RendererEightShaderTest()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java377 final CountDownLatch latch = waitForNetworkCapabilities(net, caps -> { in testSubscriptionPlansOverrideUnmetered() local
387 final CountDownLatch latch = waitForNetworkCapabilities(net, caps -> { in testSubscriptionPlansOverrideUnmetered() local
427 final CountDownLatch latch = waitForNetworkCapabilities(net, caps -> { in testSubscriptionPlansUnmetered() local
436 final CountDownLatch latch = waitForNetworkCapabilities(net, caps -> { in testSubscriptionPlansUnmetered() local
836 final CountDownLatch latch = waitForCellularNetwork(); in testSetAndCheckSubscriptionEnabled() local
1086 final CountDownLatch latch = new CountDownLatch(1); in waitForNetworkCapabilities() local
1106 final CountDownLatch latch = new CountDownLatch(1); in waitForCellularNetwork() local
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DDirectActionsTest.java144 final CountDownLatch latch = new CountDownLatch(1); in startVoiceInteractionSession() local
205 final CountDownLatch latch = new CountDownLatch(1); in executeCommand() local
243 final CountDownLatch latch = new CountDownLatch(1); in startActivity() local
303 final CountDownLatch latch = new CountDownLatch(1); in executeRemoteCommand() local
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_QuickContactsTest.java46 final CountDownLatch latch = new CountDownLatch(2); in testPrioritizedMimeTypeAndExcludedMimeTypes() local

12345678