Home
last modified time | relevance | path

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

123456

/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/AlarmManager/src/android/alarmmanager/cts/
DInstantAppsTests.java63 final CountDownLatch latch = new CountDownLatch(1); in elapsedRealtimeAlarm() local
74 final CountDownLatch latch = new CountDownLatch(1); in rtcAlarm() 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/app/src/android/app/cts/
DWallpaperManagerTest.java120 CountDownLatch latch = new CountDownLatch(1); in wallpaperChangedBroadcastTest() local
145 CountDownLatch latch = new CountDownLatch(1); in wallpaperClearBroadcastTest() local
202 final CountDownLatch latch = new CountDownLatch(1); in addRemoveOnColorsChangedListenerTest_onlyInvokeAdded() local
336 final CountDownLatch latch = new CountDownLatch(expected); in verifyColorListenerInvoked() local
386 final CountDownLatch latch = new CountDownLatch(1); in verifyColorListenerInvokedClearing() local
425 CountDownLatch latch = new CountDownLatch(expectedEvents); in ensureCleanState() local
/cts/tests/app/app/src/android/app/stubs/
DOrientationTestUtils.java79 final CountDownLatch latch = new CountDownLatch(1); in startObserving() local
100 final CountDownLatch latch = mLatch.get(); in onObserved() 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/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
170 CountDownLatch latch = mTestSensorEventListener.getLatchForFlushCompleteEvent(); in requestFlush() local
/cts/tests/tests/assist/src/android/assist/cts/
DLifecycleTest.java87 final AutoResetLatch latch = startSession(); in testLayerDoesNotTriggerLifecycleMethods() local
113 final AutoResetLatch latch = startSession(); in testNoUiLayerDoesNotTriggerLifecycleMethods() local
DLargeViewHierarchyTest.java44 final AutoResetLatch latch = startSession(); in testTextView() local
DFlagSecureTest.java46 final AutoResetLatch latch = startSession(); in testSecureActivity() local
/cts/tests/tests/opengl/src/android/opengl/cts/
DRendererElevenShaderTest.java25 public RendererElevenShaderTest(CountDownLatch latch) { in RendererElevenShaderTest()
DRendererEightShaderTest.java25 public RendererEightShaderTest(CountDownLatch latch) { in RendererEightShaderTest()
DRendererNineShaderTest.java25 public RendererNineShaderTest(CountDownLatch latch) { in RendererNineShaderTest()
DRendererFourShaderTest.java27 public RendererFourShaderTest(CountDownLatch latch) { in RendererFourShaderTest()
DRendererOneProgramTest.java26 public RendererOneProgramTest(CountDownLatch latch) { in RendererOneProgramTest()
DNativeRendererOneColorBufferTest.java57 public NativeRendererOneColorBufferTest(Context context, CountDownLatch latch) { in NativeRendererOneColorBufferTest()
61 public NativeRendererOneColorBufferTest(Context context, float[] color, CountDownLatch latch) { in NativeRendererOneColorBufferTest()
DRendererTwelveShaderTest.java27 public RendererTwelveShaderTest(CountDownLatch latch) { in RendererTwelveShaderTest()
DRendererSevenShaderTest.java25 public RendererSevenShaderTest(CountDownLatch latch) { in RendererSevenShaderTest()
DRendererTenShaderTest.java26 public RendererTenShaderTest(CountDownLatch latch) { in RendererTenShaderTest()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_QuickContactsTest.java46 final CountDownLatch latch = new CountDownLatch(2); in testPrioritizedMimeTypeAndExcludedMimeTypes() local
/cts/tests/tests/widget/src/android/widget/cts/
DQuickContactBadgeTest.java52 final CountDownLatch latch = new CountDownLatch(1); in testPrioritizedMimetype() local
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java168 CountDownLatch latch = new CountDownLatch(1); in testCameraState() local
239 CountDownLatch latch = new CountDownLatch(1); in testGpsScan() local
298 CountDownLatch latch = StatsdSyncAdapter.resetCountDownLatch(); in testSyncState() local
335 CountDownLatch latch = StatsdJobService.resetCountDownLatch(); in testScheduledJob() local
364 CountDownLatch latch = new CountDownLatch(NUM_THREADS); in testWakelockLoad() local
514 int maxWaitTimeMs, CountDownLatch latch, BroadcastReceiver receiver) { in waitForReceiver()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DDirectActionsTest.java142 final CountDownLatch latch = new CountDownLatch(1); in startVoiceInteractionSession() local
203 final CountDownLatch latch = new CountDownLatch(1); in executeCommand() local
241 final CountDownLatch latch = new CountDownLatch(1); in startActivity() local
296 final CountDownLatch latch = new CountDownLatch(1); in executeRemoteCommand() local

123456