/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/tests/content/src/android/content/cts/ |
D | MockSyncAdapter.java | 39 private volatile 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() 125 final CountDownLatch latch = mLatch; in countDownLatch()
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | TriggerContentJobService.java | 110 private CountDownLatch mLatch; field in TriggerContentJobService.TestEnvironment 135 final boolean executed = mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitExecution() 164 return !mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitTimeout() 170 mLatch.countDown(); in notifyExecution() 176 mLatch = new CountDownLatch(1); in setExpectedExecutions() 178 mLatch = new CountDownLatch(numExecutions); in setExpectedExecutions() 184 mLatch = null; in setUp()
|
D | MockJobService.java | 297 private CountDownLatch mLatch; field in MockJobService.TestEnvironment 350 final boolean executed = mLatch.await(timeoutMillis, TimeUnit.MILLISECONDS); in awaitExecution() 367 return !mLatch.await(timeoutMillis, TimeUnit.MILLISECONDS); in awaitTimeout() 397 mLatch.countDown(); in notifyExecution() 413 mLatch = new CountDownLatch(1); in setExpectedExecutions() 415 mLatch = new CountDownLatch(numExecutions); in setExpectedExecutions() 462 mLatch = null; in setUp()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | MultipleTimesTextWatcher.java | 38 private final CountDownLatch mLatch; field in MultipleTimesTextWatcher 47 this.mLatch = new CountDownLatch(times); in MultipleTimesTextWatcher() 56 Log.v(TAG, "onTextChanged(" + mLatch.getCount() + "): " + mName + " = " + s); in onTextChanged() 57 mLatch.countDown(); in onTextChanged() 65 final boolean set = mLatch.await(FILL_TIMEOUT_MS, TimeUnit.MILLISECONDS); in assertAutoFilled()
|
D | MultipleTimesRadioGroupListener.java | 34 private final CountDownLatch mLatch; field in MultipleTimesRadioGroupListener 43 mLatch = new CountDownLatch(times); in MultipleTimesRadioGroupListener() 48 mLatch.countDown(); in onCheckedChanged() 52 final boolean set = mLatch.await(FILL_TIMEOUT_MS, TimeUnit.MILLISECONDS); in assertAutoFilled()
|
D | OneTimeSettingsListener.java | 18 private final CountDownLatch mLatch = new CountDownLatch(1); field in OneTimeSettingsListener 32 mLatch.countDown(); in onChange() 42 final boolean updated = mLatch.await(5, TimeUnit.SECONDS); in assertCalled()
|
/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 62 view = new OpenGLES20View(this, viewType, viewIndex, mLatch); in onCreate() 69 result = mLatch.await(10L, TimeUnit.SECONDS); in waitForFrameDrawn() 115 private CountDownLatch mLatch; field in GL2Renderer 120 mLatch = latch; in GL2Renderer() 134 mLatch.countDown(); in onSurfaceChanged()
|
D | RendererBase.java | 40 protected CountDownLatch mLatch; field in RendererBase 44 mLatch = latch; in RendererBase() 67 mLatch.countDown(); in onDrawFrame()
|
D | OpenGLES20ActivityTwo.java | 35 private CountDownLatch mLatch = new CountDownLatch(1); field in OpenGLES20ActivityTwo 45 result = mLatch.await(10L, TimeUnit.SECONDS); in waitForFrameDrawn() 60 view = new OpenGLES20View(this, type, i, vertexColors, mLatch); in setView()
|
D | OpenGLES20NativeActivityTwo.java | 36 private CountDownLatch mLatch = new CountDownLatch(1); field in OpenGLES20NativeActivityTwo 46 result = mLatch.await(10L, TimeUnit.SECONDS); in waitForFrameDrawn() 61 view = new OpenGLES20View(this,type,i, vertexColors, mLatch); in setView()
|
D | OpenGLES20ActivityOne.java | 38 private CountDownLatch mLatch = new CountDownLatch(1); field in OpenGLES20ActivityOne 52 view = new OpenGLES20View(this, viewType, viewIndex, mLatch); in onCreate() 71 result = mLatch.await(10L, TimeUnit.SECONDS); in waitForFrameDrawn()
|
/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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AutofillActivity.java | 35 private final CountDownLatch mLatch = new CountDownLatch(1); field in AutofillActivity 50 mLatch.countDown(); in onActivityResult() 54 final boolean called = mLatch.await(2, TimeUnit.SECONDS); in isAutofillEnabled()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | WebViewReadyHelper.java | 11 private final CountDownLatch mLatch; field in WebViewReadyHelper 16 mLatch = latch; in WebViewReadyHelper() 43 mLatch.countDown();
|
/cts/tests/tests/security/src/android/security/cts/ |
D | IsolatedProcessTest.java | 52 private CountDownLatch mLatch; field in IsolatedProcessTest 64 mLatch.countDown(); 70 mLatch = new CountDownLatch(1); in setUp() 74 mLatch.await(BIND_SERVICE_TIMEOUT, TimeUnit.MILLISECONDS)); in setUp()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BroadcastTestBase.java | 39 private CountDownLatch mLatch; field in BroadcastTestBase 92 mLatch = new CountDownLatch(1); in registerBroadcastReceiver() 103 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in startTestAndWaitForBroadcast() 119 mLatch.countDown(); in onReceive()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewCameraActivity.java | 50 private final CountDownLatch mLatch = new CountDownLatch(1); field in TextureViewCameraActivity 68 mLatch.countDown(); in onSurfaceTextureAvailable() 108 mLatch.countDown(); in onSurfaceTextureUpdated() 118 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 73 mLatch = new CountDownLatch(1); in registerBroadcastReceiver() 124 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in runTest() 151 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()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/devicepolicy/provisioning/ |
D | SilentProvisioningTestManager.java | 148 private final CountDownLatch mLatch = new CountDownLatch(1); field in SilentProvisioningTestManager.BlockingReceiver 164 return mLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in await() 174 mLatch.countDown(); in onReceive()
|
/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()
|