Home
last modified time | relevance | path

Searched refs:mDone (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java114 private final Condition mDone = mLock.newCondition(); field in TextToSpeechWrapper.InitWaitListener
121 mDone.signal(); in onInit()
135 timeOutNanos = mDone.awaitNanos(timeOutNanos); in waitForInit()
149 private final Condition mDone = mLock.newCondition(); field in TextToSpeechWrapper.UtteranceWaitListener
160 mDone.signal(); in onDone()
171 mDone.signal(); in onError()
182 mDone.signal(); in onError()
203 mDone.signal(); in onStop()
218 timeOutNanos = mDone.awaitNanos(timeOutNanos); in waitForComplete()
235 timeOutNanos = mDone.awaitNanos(timeOutNanos); in waitForStop()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java282 private boolean mDone; field in NetworkSecurityPolicyTestBase.SettableFuture
289 if (!mDone) { in set()
291 mDone = true; in set()
299 if (!mDone) { in setException()
301 mDone = true; in setException()
310 if (mDone) { in cancel()
314 mDone = true; in cancel()
323 while (!mDone) { in get()
334 if (mDone) { in get()
340 while (!mDone) { in get()
[all …]
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DGLESSurfaceView.java34 private CountDownLatch mDone; field in GLESSurfaceView
47 mDone = done; in GLESSurfaceView()
92 mDone.countDown(); in onSurfaceCreated()
DDeviceInfoActivity.java38 private CountDownLatch mDone = new CountDownLatch(1); field in DeviceInfoActivity
49 mDone.await(); in waitForAcitityToFinish()
92 mDone.countDown(); in runIterations()
/cts/tests/tests/os/src/android/os/cts/
DMessageQueueTest.java289 private boolean mDone; in testFileDescriptorCallbacks()
294 if (!mDone) { in testFileDescriptorCallbacks()
299 mDone = true; in testFileDescriptorCallbacks()
317 fail("Saw unexpected events: " + events + ", mDone=" + mDone); in testFileDescriptorCallbacks()
326 private boolean mDone; in testFileDescriptorCallbacks()
331 if (!mDone) { in testFileDescriptorCallbacks()
351 mDone = true; in testFileDescriptorCallbacks()
357 fail("Saw unexpected events: " + events + ", mDone=" + mDone); in testFileDescriptorCallbacks()
833 private boolean mDone; field in MessageQueueTest.OrderTestHelper
866 while (!mDone && now < endTime) { in doTest()
[all …]
DMessengerTest.java194 private boolean mDone = false; field in MessengerTest.MessengerTestHelper
259 while (!mDone && now < endTime) { in doTest()
267 if (!mDone) { in doTest()
309 mDone = true; in run()
320 mDone = true; in quit()
/cts/tests/tests/telephony/src/android/telephony/cts/
DMmsTest.java91 private boolean mDone; field in MmsTest.SentReceiver
96 mDone = false; in SentReceiver()
133 mDone = true; in onReceive()
148 if (mDone) { in waitForSuccess()
153 Log.i(TAG, "Wait for sent: done=" + mDone + ", success=" + mSuccess); in waitForSuccess()
154 return mDone && mSuccess; in waitForSuccess()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/
DScreenPinningTestActivity.java60 mDone, in onCreate()
214 private final Test mDone = new Test(R.string.screen_pinning_done) { field in ScreenPinningTestActivity
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfoActivity.java53 private CountDownLatch mDone = new CountDownLatch(1); field in DeviceInfoActivity
82 mDone.countDown(); in onCreate()
93 mDone.await(); in waitForActivityToFinish()