/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | OpenGLES20ActivityOne.java | 89 public OpenGLES20View(Context context, int type, int index, CountDownLatch latch) { in OpenGLES20View() argument 95 mRenderer = new RendererOneShaderTest(latch); in OpenGLES20View() 97 mRenderer = new RendererTwoShaderTest(latch); in OpenGLES20View() 99 mRenderer = new RendererThreeShaderTest(latch); in OpenGLES20View() 101 mRenderer = new RendererFourShaderTest(latch); in OpenGLES20View() 103 mRenderer = new RendererFiveShaderTest(latch); in OpenGLES20View() 105 mRenderer = new RendererSixShaderTest(latch); in OpenGLES20View() 107 mRenderer = new RendererSevenShaderTest(latch); in OpenGLES20View() 109 mRenderer = new RendererEightShaderTest(latch); in OpenGLES20View() 111 mRenderer = new RendererNineShaderTest(latch); in OpenGLES20View() [all …]
|
D | NativeRendererOneColorBufferTest.java | 57 public NativeRendererOneColorBufferTest(Context context, CountDownLatch latch) { in NativeRendererOneColorBufferTest() argument 58 super(latch); in NativeRendererOneColorBufferTest() 61 public NativeRendererOneColorBufferTest(Context context, float[] color, CountDownLatch latch) { in NativeRendererOneColorBufferTest() argument 62 super(latch); in NativeRendererOneColorBufferTest()
|
D | OpenGLES20NativeActivityOne.java | 88 public OpenGLES20View(Context context, int category, int testCase, CountDownLatch latch) { in OpenGLES20View() argument 91 mRenderer = new GL2Renderer(category, testCase, latch); in OpenGLES20View() 114 public GL2Renderer(int category, int testcase, CountDownLatch latch) { in GL2Renderer() argument 117 mLatch = latch; in GL2Renderer()
|
D | RendererNineShaderTest.java | 25 public RendererNineShaderTest(CountDownLatch latch) { in RendererNineShaderTest() argument 26 super(latch); in RendererNineShaderTest()
|
D | RendererEightShaderTest.java | 25 public RendererEightShaderTest(CountDownLatch latch) { in RendererEightShaderTest() argument 26 super(latch); in RendererEightShaderTest()
|
D | RendererOneProgramTest.java | 26 public RendererOneProgramTest(CountDownLatch latch) { in RendererOneProgramTest() argument 27 super(latch); in RendererOneProgramTest()
|
D | RendererElevenShaderTest.java | 27 public RendererElevenShaderTest(CountDownLatch latch) { in RendererElevenShaderTest() argument 28 super(latch); in RendererElevenShaderTest()
|
D | RendererTwelveShaderTest.java | 27 public RendererTwelveShaderTest(CountDownLatch latch) { in RendererTwelveShaderTest() argument 28 super(latch); in RendererTwelveShaderTest()
|
D | RendererTenShaderTest.java | 26 public RendererTenShaderTest(CountDownLatch latch) { in RendererTenShaderTest() argument 27 super(latch); in RendererTenShaderTest()
|
D | RendererFourShaderTest.java | 27 public RendererFourShaderTest(CountDownLatch latch) { in RendererFourShaderTest() argument 28 super(latch); in RendererFourShaderTest()
|
D | RendererSevenShaderTest.java | 25 public RendererSevenShaderTest(CountDownLatch latch) { in RendererSevenShaderTest() argument 26 super(latch); in RendererSevenShaderTest()
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | TestSensorEventListener.java | 107 for (CountDownLatch latch : mEventLatches) { in onSensorChanged() 108 latch.countDown(); in onSensorChanged() 109 if (latch.getCount() == 0 && !mTestSensorEventListenerWakeLock.isHeld()) { in onSensorChanged() 130 CountDownLatch latch = new CountDownLatch(eventCount); in getLatchForSensorEvents() local 132 mEventLatches.add(latch); in getLatchForSensorEvents() 134 return latch; in getLatchForSensorEvents() 142 CountDownLatch latch = new CountDownLatch(1); in getLatchForFlushCompleteEvent() local 144 mFlushLatches.add(latch); in getLatchForFlushCompleteEvent() 146 return latch; in getLatchForFlushCompleteEvent() 160 for (CountDownLatch latch : mFlushLatches) { in onFlushCompleted() [all …]
|
D | SuspendStateMonitor.java | 44 CountDownLatch latch = new CountDownLatch(1); in waitForWakeUp() local 46 mWaitForWakeUpLatch.add(latch); in waitForWakeUp() 50 latch.await(); in waitForWakeUp() 53 boolean countZero = latch.await(numSeconds, TimeUnit.SECONDS); in waitForWakeUp() 70 for (CountDownLatch latch : mWaitForWakeUpLatch) { in run() 71 latch.countDown(); in run()
|
D | ActivityResultMultiplexedLatch.java | 54 mEntry.latch.await(); in await() 70 public final CountDownLatch latch = new CountDownLatch(1); field in ActivityResultMultiplexedLatch.Entry 113 entry.latch.countDown(); in onActivityResult()
|
D | TestSensorManager.java | 107 CountDownLatch latch = listener.getLatchForSensorEvents(eventCount); in registerListener() local 127 return latch; in registerListener() 170 CountDownLatch latch = mTestSensorEventListener.getLatchForFlushCompleteEvent(); in requestFlush() local 174 return latch; in requestFlush()
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AccountManagerTest.java | 496 final CountDownLatch latch = new CountDownLatch(1); in testAddAccountWithCallbackAndHandler() local 523 latch.countDown(); in testAddAccountWithCallbackAndHandler() 538 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testAddAccountWithCallbackAndHandler() 1144 final CountDownLatch latch = new CountDownLatch(1); in testGetAuthTokenWithCallback_Options_Handler_DefaultToken_Success() 1160 latch.countDown(); in testGetAuthTokenWithCallback_Options_Handler_DefaultToken_Success() 1174 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAuthTokenWithCallback_Options_Handler_DefaultToken_Success() 1204 final CountDownLatch latch = new CountDownLatch(1); in testGetAuthTokenWithCallback_Options_Handler_CustomToken_Success() 1220 latch.countDown(); in testGetAuthTokenWithCallback_Options_Handler_CustomToken_Success() 1234 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAuthTokenWithCallback_Options_Handler_CustomToken_Success() 1265 final CountDownLatch latch = new CountDownLatch(1); in testGetAuthTokenWithCallbackAndHandler() local [all …]
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | ViewTestUtils.java | 45 final CountDownLatch latch = new CountDownLatch(1); in runOnMainAndDrawSync() local 54 view.post(() -> latch.countDown()); in runOnMainAndDrawSync() 64 latch.await(5, TimeUnit.SECONDS)); in runOnMainAndDrawSync()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ViewTestUtils.java | 47 final CountDownLatch latch = new CountDownLatch(1); in runOnMainAndDrawSync() local 55 view.post(() -> latch.countDown()); in runOnMainAndDrawSync() 70 latch.await(5, TimeUnit.SECONDS)); in runOnMainAndDrawSync()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverSyncTestCase.java | 92 private CountDownLatch setNewLatch(CountDownLatch latch) { in setNewLatch() argument 94 getMockSyncAdapter().setLatch(latch); in setNewLatch() 95 return latch; in setNewLatch() 101 CountDownLatch latch = setNewLatch(new CountDownLatch(1)); in addAccountAndVerifyInitSync() local 107 if (!latch.await(latchTimeoutMs, TimeUnit.MILLISECONDS)) { in addAccountAndVerifyInitSync() 122 CountDownLatch latch = setNewLatch(new CountDownLatch(1)); in cancelSync() local 131 latch.await(latchTimeoutMillis, TimeUnit.MILLISECONDS); in cancelSync() 138 CountDownLatch latch = setNewLatch(new CountDownLatch(1)); in requestSync() local 147 latch.await(latchTimeoutMillis, TimeUnit.MILLISECONDS); in requestSync()
|
/cts/tests/vr/src/android/vr/cts/ |
D | RendererRefreshRateTest.java | 23 public RendererRefreshRateTest(CountDownLatch latch) { in RendererRefreshRateTest() argument 24 super(latch); in RendererRefreshRateTest()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | TestUtils.java | 27 public static boolean waitFor(CountDownLatch latch) throws InterruptedException { in waitFor() argument 42 if (latch.await(STANDARD_WAIT_TIME_MS, TimeUnit.MILLISECONDS)) { in waitFor()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | QuickContactBadgeTest.java | 41 final CountDownLatch latch = new CountDownLatch(1); in testPrioritizedMimetype() local 61 latch.countDown(); in testPrioritizedMimetype() 74 assertTrue(latch.await(1, TimeUnit.SECONDS)); in testPrioritizedMimetype()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
D | BaseGnssTestActivity.java | 147 for (CountDownLatch latch : mWaitForUserLatches) { in onClick() 148 latch.countDown(); in onClick() 247 CountDownLatch latch = new CountDownLatch(1); in waitForUser() local 249 mWaitForUserLatches.add(latch); in waitForUser() 253 latch.await(); in waitForUser() 285 ActivityResultMultiplexedLatch.Latch latch = mActivityResultMultiplexedLatch.bindThread(); in executeActivity() local 286 startActivityForResult(intent, latch.getRequestCode()); in executeActivity() 287 return latch.await(); in executeActivity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/ |
D | ConstraintTestActivity.java | 76 final CountDownLatch latch = new CountDownLatch(1); in sendBroadcastAndBlockForResult() local 80 latch.countDown(); in sendBroadcastAndBlockForResult() 84 return latch.await(5, TimeUnit.SECONDS); in sendBroadcastAndBlockForResult()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_QuickContactsTest.java | 46 final CountDownLatch latch = new CountDownLatch(2); in testPrioritizedMimeTypeAndExcludedMimeTypes() local 69 latch.countDown(); in testPrioritizedMimeTypeAndExcludedMimeTypes() 81 assertTrue(latch.await(1, TimeUnit.SECONDS)); in testPrioritizedMimeTypeAndExcludedMimeTypes()
|