/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 | RendererTwelveShaderTest.java | 27 public RendererTwelveShaderTest(CountDownLatch latch) { in RendererTwelveShaderTest() argument 28 super(latch); in RendererTwelveShaderTest()
|
D | RendererElevenShaderTest.java | 27 public RendererElevenShaderTest(CountDownLatch latch) { in RendererElevenShaderTest() argument 28 super(latch); in RendererElevenShaderTest()
|
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()
|
D | RendererSixShaderTest.java | 25 public RendererSixShaderTest(CountDownLatch latch) { in RendererSixShaderTest() argument 26 super(latch); in RendererSixShaderTest()
|
D | RendererFiveShaderTest.java | 27 public RendererFiveShaderTest(CountDownLatch latch) { in RendererFiveShaderTest() argument 28 super(latch); in RendererFiveShaderTest()
|
D | RendererBase.java | 42 public RendererBase(CountDownLatch latch) { in RendererBase() argument 43 mLatch = latch; in RendererBase()
|
D | RendererTwoShaderTest.java | 33 public RendererTwoShaderTest(CountDownLatch latch) { in RendererTwoShaderTest() argument 34 super(latch); in RendererTwoShaderTest()
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | TestSensorEventListener.java | 104 for (CountDownLatch latch : mEventLatches) { in onSensorChanged() 105 latch.countDown(); in onSensorChanged() 106 if (latch.getCount() == 0 && !mTestSensorEventListenerWakeLock.isHeld()) { in onSensorChanged() 127 CountDownLatch latch = new CountDownLatch(eventCount); in getLatchForSensorEvents() local 129 mEventLatches.add(latch); in getLatchForSensorEvents() 131 return latch; in getLatchForSensorEvents() 139 CountDownLatch latch = new CountDownLatch(1); in getLatchForFlushCompleteEvent() local 141 mFlushLatches.add(latch); in getLatchForFlushCompleteEvent() 143 return latch; in getLatchForFlushCompleteEvent() 157 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() 169 CountDownLatch latch = mTestSensorEventListener.getLatchForFlushCompleteEvent(); in requestFlush() local 173 return latch; in requestFlush()
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AccountManagerTest.java | 449 final CountDownLatch latch = new CountDownLatch(1); in testAddAccountWithCallbackAndHandler() local 476 latch.countDown(); in testAddAccountWithCallbackAndHandler() 491 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testAddAccountWithCallbackAndHandler() 1072 final CountDownLatch latch = new CountDownLatch(1); in testGetAuthTokenWithCallback_Options_Handler_DefaultToken_Success() 1088 latch.countDown(); in testGetAuthTokenWithCallback_Options_Handler_DefaultToken_Success() 1102 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAuthTokenWithCallback_Options_Handler_DefaultToken_Success() 1132 final CountDownLatch latch = new CountDownLatch(1); in testGetAuthTokenWithCallback_Options_Handler_CustomToken_Success() 1148 latch.countDown(); in testGetAuthTokenWithCallback_Options_Handler_CustomToken_Success() 1162 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAuthTokenWithCallback_Options_Handler_CustomToken_Success() 1193 final CountDownLatch latch = new CountDownLatch(1); in testGetAuthTokenWithCallbackAndHandler() local [all …]
|
/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/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/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()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/ |
D | ConstraintTestActivity.java | 82 final CountDownLatch latch = new CountDownLatch(1); in sendBroadcastAndBlockForResult() local 86 latch.countDown(); in sendBroadcastAndBlockForResult() 90 return latch.await(5, TimeUnit.SECONDS); in sendBroadcastAndBlockForResult()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | PostMessageTest.java | 136 final CountDownLatch latch = new CountDownLatch(messageCount); in testMessageChannel() local 146 int i = messageCount - (int)latch.getCount(); in testMessageChannel() 148 latch.countDown(); in testMessageChannel() 154 boolean ignore = latch.await(TIMEOUT, java.util.concurrent.TimeUnit.MILLISECONDS); in testMessageChannel()
|