/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()
|
D | TriggerContentJobService.java | 101 private CountDownLatch mLatch; field in TriggerContentJobService.TestEnvironment 125 final boolean executed = mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitExecution() 154 return !mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitTimeout() 160 mLatch.countDown(); in notifyExecution() 166 mLatch = new CountDownLatch(1); in setExpectedExecutions() 168 mLatch = new CountDownLatch(numExecutions); in setExpectedExecutions() 174 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/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()
|
/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/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/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/libs/deviceutil/src/android/cts/util/ |
D | BroadcastTestBase.java | 41 private CountDownLatch mLatch; field in BroadcastTestBase 94 mLatch = new CountDownLatch(1); in registerBroadcastReceiver() 105 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in startTestAndWaitForBroadcast() 121 mLatch.countDown(); in onReceive()
|
/cts/tests/tests/alarmclock/src/android/alarmclock/cts/ |
D | AlarmClockTestBase.java | 41 private CountDownLatch mLatch; field in AlarmClockTestBase 73 mLatch = new CountDownLatch(1); in registerBroadcastReceiver() 120 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in runTest() 147 mLatch.countDown(); in onReceive()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ActivityManagerMemoryClassLaunchActivity.java | 35 private final CountDownLatch mLatch = new CountDownLatch(1); field in ActivityManagerMemoryClassLaunchActivity 68 mLatch.await(5, TimeUnit.SECONDS); in getResult()
|
/cts/tests/vr/src/android/vr/cts/ |
D | RendererBasicTest.java | 52 protected CountDownLatch mLatch; field in RendererBasicTest 56 mLatch = latch; in RendererBasicTest() 77 mLatch.countDown(); in onDrawFrame()
|
D | RendererRefreshRateTest.java | 30 mLatch.countDown(); in onDrawFrame()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ClonedSecureRandomTest.java | 62 private volatile CountDownLatch mLatch; field in ClonedSecureRandomTest 71 mLatch.countDown(); 129 mLatch = new CountDownLatch(1); in testCheckForDuplicateOutput() 132 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 96 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in testAll() 168 mLatch.countDown(); in onReceive()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateImagesActivity.java | 49 private final CountDownLatch mLatch = new CountDownLatch(1); field in GenerateImagesActivity 213 mLatch.countDown(); in finish() 223 return mLatch.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForCompletion()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | InstrumentedAccessibilityService.java | 74 private final CountDownLatch mLatch = new CountDownLatch(1); field in InstrumentedAccessibilityService.SyncRunnable 85 mLatch.countDown(); in run() 90 return mLatch.await(mTimeout, TimeUnit.MILLISECONDS); in waitForComplete()
|