Home
last modified time | relevance | path

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

/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/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java145 private final Condition mDone = mLock.newCondition(); field in TextToSpeechWrapper.InitWaitListener
152 mDone.signal(); in onInit()
166 timeOutNanos = mDone.awaitNanos(timeOutNanos); in waitForInit()
180 private final Condition mDone = mLock.newCondition(); field in TextToSpeechWrapper.UtteranceWaitListener
200 mDone.signal(); in onDone()
211 mDone.signal(); in onError()
222 mDone.signal(); in onError()
245 mDone.signal(); in onStop()
314 timeOutNanos = mDone.awaitNanos(timeOutNanos); in waitForComplete()
331 timeOutNanos = mDone.awaitNanos(timeOutNanos); in waitForStop()
/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.java156 private boolean mDone = false; field in MessengerTest.MessengerTestHelper
221 while (!mDone && now < endTime) { in doTest()
229 if (!mDone) { in doTest()
271 mDone = true; in run()
282 mDone = true; in quit()
/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/telephony/current/src/android/telephony/cts/
DMmsTest.java100 private boolean mDone; field in MmsTest.SentReceiver
105 mDone = false; in SentReceiver()
142 mDone = true; in onReceive()
157 if (mDone) { in waitForSuccess()
162 Log.i(TAG, "Wait for sent: done=" + mDone + ", success=" + mSuccess); in waitForSuccess()
163 return mDone && mSuccess; in waitForSuccess()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGlesStubActivity.java55 private CountDownLatch mDone = new CountDownLatch(1); field in GlesStubActivity
96 mDone.await(); in waitForActivityToFinish()
118 mDone.countDown(); in runIterations()
402 private final CountDownLatch mDone; field in GlesStubActivity.OpenGlesRenderer
407 mDone = done; in OpenGlesRenderer()
447 mDone.countDown(); in onSurfaceCreated()
/cts/tests/sensor/src/android/hardware/cts/
DSensorAdditionalInfoTest.java183 private CountDownLatch mDone; field in SensorAdditionalInfoTest.AdditionalInfoVerifier
240 mDone.countDown(); in onSensorAdditionalInfo()
250 mDone = new CountDownLatch(1); in reset()
256 ret = mDone.await(ALLOWED_ADDITIONAL_INFO_DELIVER_SEC, TimeUnit.SECONDS); in verify()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/
DScreenPinningTestActivity.java62 mDone, in onCreate()
217 private final Test mDone = new Test(R.string.screen_pinning_done) { field in ScreenPinningTestActivity