Home
last modified time | relevance | path

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

1234567

/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.java122 CountDownLatch latch = new CountDownLatch(1); in wallpaperChangedBroadcastTest() local
147 CountDownLatch latch = new CountDownLatch(1); in wallpaperClearBroadcastTest() local
204 final CountDownLatch latch = new CountDownLatch(1); in addRemoveOnColorsChangedListenerTest_onlyInvokeAdded() local
338 final CountDownLatch latch = new CountDownLatch(expected); in verifyColorListenerInvoked() local
388 final CountDownLatch latch = new CountDownLatch(1); in verifyColorListenerInvokedClearing() local
427 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
DFlagSecureTest.java46 final AutoResetLatch latch = startSession(); in testSecureActivity() local
DLargeViewHierarchyTest.java44 final AutoResetLatch latch = startSession(); in testTextView() local
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_QuickContactsTest.java46 final CountDownLatch latch = new CountDownLatch(2); in testPrioritizedMimeTypeAndExcludedMimeTypes() local
/cts/tests/tests/opengl/src/android/opengl/cts/
DRendererOneProgramTest.java26 public RendererOneProgramTest(CountDownLatch latch) { in RendererOneProgramTest()
DRendererFourShaderTest.java27 public RendererFourShaderTest(CountDownLatch latch) { in RendererFourShaderTest()
DRendererNineShaderTest.java25 public RendererNineShaderTest(CountDownLatch latch) { in RendererNineShaderTest()
DRendererElevenShaderTest.java25 public RendererElevenShaderTest(CountDownLatch latch) { in RendererElevenShaderTest()
DRendererEightShaderTest.java25 public RendererEightShaderTest(CountDownLatch latch) { in RendererEightShaderTest()
DNativeRendererOneColorBufferTest.java57 public NativeRendererOneColorBufferTest(Context context, CountDownLatch latch) { in NativeRendererOneColorBufferTest()
61 public NativeRendererOneColorBufferTest(Context context, float[] color, CountDownLatch latch) { in NativeRendererOneColorBufferTest()
DRendererSevenShaderTest.java25 public RendererSevenShaderTest(CountDownLatch latch) { in RendererSevenShaderTest()
DRendererTwelveShaderTest.java27 public RendererTwelveShaderTest(CountDownLatch latch) { in RendererTwelveShaderTest()
/cts/tests/tests/widget/src/android/widget/cts/
DQuickContactBadgeTest.java52 final CountDownLatch latch = new CountDownLatch(1); in testPrioritizedMimetype() local
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java349 final CountDownLatch latch = waitForNetworkCapabilities(net, caps -> { in testSubscriptionPlansOverrideUnmetered() local
358 final CountDownLatch latch = waitForNetworkCapabilities(net, caps -> { in testSubscriptionPlansOverrideUnmetered() local
393 final CountDownLatch latch = waitForNetworkCapabilities(net, caps -> { in testSubscriptionPlansUnmetered() local
402 final CountDownLatch latch = waitForNetworkCapabilities(net, caps -> { in testSubscriptionPlansUnmetered() local
770 final CountDownLatch latch = new CountDownLatch(1); in waitForNetworkCapabilities() 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

1234567