/cts/tests/tests/content/src/android/content/cts/ |
D | MockSyncAdapter.java | 39 private CountDownLatch mLatch; field in MockSyncAdapter 72 mLatch = null; in clearData() 75 public void setLatch(CountDownLatch mLatch) { in setLatch() argument 76 this.mLatch = mLatch; in setLatch() 96 if (null != mLatch) { in startSync() 97 mLatch.countDown(); in startSync() 110 if (null != mLatch) { in cancelSync() 111 mLatch.countDown(); in cancelSync() 125 if (null != mLatch) { in initialize() 126 mLatch.countDown(); in initialize()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/ |
D | MockJobService.java | 68 private CountDownLatch mLatch; field in MockJobService.TestEnvironment 83 final boolean executed = mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitExecution() 93 return !mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitTimeout() 99 mLatch.countDown(); in notifyExecution() 105 mLatch = new CountDownLatch(1); in setExpectedExecutions() 107 mLatch = new CountDownLatch(numExecutions); in setExpectedExecutions() 113 mLatch = null; in setUp()
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | MockJobService.java | 68 private CountDownLatch mLatch; field in MockJobService.TestEnvironment 87 final boolean executed = mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitExecution() 97 return !mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitTimeout() 103 mLatch.countDown(); in notifyExecution() 109 mLatch = new CountDownLatch(1); in setExpectedExecutions() 111 mLatch = new CountDownLatch(numExecutions); in setExpectedExecutions() 117 mLatch = null; in setUp()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CameraUtils.java | 62 private final CountDownLatch mLatch = new CountDownLatch(1); field in CameraUtils.CameraCallback 73 mLatch.countDown(); in onOpened() 79 mLatch.countDown(); in onDisconnected() 85 mLatch.countDown(); in onError() 89 mLatch.await(OPEN_TIMEOUT_SECONDS, TimeUnit.SECONDS); in waitForResult()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ScannerNotificationReceiver.java | 33 private CountDownLatch mLatch = new CountDownLatch(1); field in ScannerNotificationReceiver 42 mLatch.countDown(); in onReceive() 47 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForBroadcast() 55 mLatch = new CountDownLatch(1); in reset()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | OpenGLES20NativeActivityOne.java | 45 private CountDownLatch mLatch = new CountDownLatch(1); field in OpenGLES20NativeActivityOne 59 view = new OpenGLES20View(this, viewType, viewIndex, mLatch); in onCreate() 66 result = mLatch.await(10L, TimeUnit.SECONDS); in waitForFrameDrawn() 112 private CountDownLatch mLatch; field in GL2Renderer 117 mLatch = latch; in GL2Renderer() 131 mLatch.countDown(); in onSurfaceChanged()
|
D | OpenGLES20ActivityTwo.java | 33 private CountDownLatch mLatch = new CountDownLatch(1); field in OpenGLES20ActivityTwo 43 result = mLatch.await(10L, TimeUnit.SECONDS); in waitForFrameDrawn() 51 view = new OpenGLES20View(this,type,i, vertexColors, mLatch); in setView() 57 view = new OpenGLES20View(this, type, i, f, mLatch) ; in setView()
|
D | RendererBase.java | 39 protected CountDownLatch mLatch; field in RendererBase 43 mLatch = latch; in RendererBase() 65 mLatch.countDown(); in onDrawFrame()
|
D | OpenGLES20NativeActivityTwo.java | 33 private CountDownLatch mLatch = new CountDownLatch(1); field in OpenGLES20NativeActivityTwo 43 result = mLatch.await(10L, TimeUnit.SECONDS); in waitForFrameDrawn() 51 view = new OpenGLES20View(this,type,i, vertexColors, mLatch); in setView()
|
D | OpenGLES20ActivityOne.java | 38 private CountDownLatch mLatch = new CountDownLatch(1); field in OpenGLES20ActivityOne 49 view = new OpenGLES20View(this, viewType, viewIndex, mLatch); in onCreate() 64 result = mLatch.await(10L, TimeUnit.SECONDS); in waitForFrameDrawn()
|
D | RendererNineShaderTest.java | 40 mLatch.countDown(); in onSurfaceCreated()
|
D | RendererEightShaderTest.java | 39 mLatch.countDown(); in onSurfaceCreated()
|
D | RendererOneProgramTest.java | 38 mLatch.countDown(); in onSurfaceCreated()
|
D | RendererTwelveShaderTest.java | 42 mLatch.countDown(); in onSurfaceCreated()
|
D | RendererElevenShaderTest.java | 41 mLatch.countDown(); in onSurfaceCreated()
|
/cts/tools/cts-holo-generation/src/com/android/cts/holo_capture/ |
D | CaptureActivity.java | 28 private CountDownLatch mLatch = new CountDownLatch(1); field in CaptureActivity 31 mLatch.await(); in waitForCompletion() 49 mLatch.countDown(); in onActivityResult()
|
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | VoiceSettingsTestBase.java | 39 private CountDownLatch mLatch; field in VoiceSettingsTestBase 71 mLatch = new CountDownLatch(1); in registerBroadcastReceiver() 85 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in startTestAndWaitForBroadcast() 101 mLatch.countDown(); in onReceive()
|
/cts/tests/tests/graphics2/src/android/graphics2/cts/ |
D | TextureViewCameraActivity.java | 48 private final CountDownLatch mLatch = new CountDownLatch(1); field in TextureViewCameraActivity 68 mLatch.countDown(); in onSurfaceTextureAvailable() 100 mLatch.countDown(); in onSurfaceTextureUpdated() 110 return mLatch.await(timeoutInSecs, TimeUnit.SECONDS); in waitForCompletion()
|
/cts/tests/tests/alarmclock/src/android/alarmclock/cts/ |
D | AlarmClockTestBase.java | 41 private CountDownLatch mLatch; field in AlarmClockTestBase 64 mLatch = new CountDownLatch(1); in registerBroadcastReceiver() 114 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in runTest() 141 mLatch.countDown(); in onReceive()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerMemoryClassLaunchActivity.java | 35 private final CountDownLatch mLatch = new CountDownLatch(1); field in ActivityManagerMemoryClassLaunchActivity 68 mLatch.await(5, TimeUnit.SECONDS); in getResult()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ClonedSecureRandomTest.java | 64 private volatile CountDownLatch mLatch; field in ClonedSecureRandomTest 73 mLatch.countDown(); 131 mLatch = new CountDownLatch(1); in testCheckForDuplicateOutput() 134 if (!mLatch.await(ANSWER_TIMEOUT_SECONDS, TimeUnit.SECONDS)) { in testCheckForDuplicateOutput()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | VoiceInteractionTest.java | 45 private final CountDownLatch mLatch = new CountDownLatch(1); field in VoiceInteractionTest 76 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in testAll() 148 mLatch.countDown(); in onReceive()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateImagesActivity.java | 45 private final CountDownLatch mLatch = new CountDownLatch(1); field in GenerateImagesActivity 193 mLatch.countDown(); in finish() 198 mLatch.await(); in waitForCompletion()
|
/cts/suite/cts/deviceTests/browserbench/src/com/android/cts/browser/ |
D | BrowserBenchTest.java | 67 private CountDownLatch mLatch; field in BrowserBenchTest 107 mLatch.countDown(); in setUp() 151 mLatch = new CountDownLatch(1); in doTest() 157 boolean ok = mLatch.await(BROWSER_COMPLETION_TIMEOUT_IN_MS, TimeUnit.MILLISECONDS); in doTest()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | KeyManagementTest.java | 134 private final CountDownLatch mLatch = new CountDownLatch(1); field in KeyManagementTest.KeyChainAliasFuture 140 mLatch.countDown(); in alias() 154 assertTrue("Chooser timeout", mLatch.await(KEYCHAIN_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in get()
|