Home
last modified time | relevance | path

Searched refs:mDone (Results 1 – 12 of 12) 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/framework/base/windowmanager/appProfileable/src/android/server/wm/profileable/
DProfileableAppActivity.java65 private volatile boolean mDone; field in ProfileableAppActivity.TraceFileObserver
75 mDone = true; in onEvent()
82 if (!mDone) { in waitForComplete()
91 mDone = false; in waitForComplete()
/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/hostsidetests/appsecurity/test-apps/UseProcessSuccess/src/com/android/cts/useprocess/
DAccessNetworkTest.java46 boolean mDone; field in AccessNetworkTest.MyConnection
54 while (!mDone) { in waitForResult()
83 mDone = true; in onServiceConnected()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DMmsTest.java102 private boolean mDone; field in MmsTest.SentReceiver
107 mDone = false; in SentReceiver()
144 mDone = true; in onReceive()
153 while (!mDone && waitTime > 0) { in waitForSuccess()
161 Log.i(TAG, "Wait for sent: done=" + mDone + ", success=" + mSuccess); in waitForSuccess()
162 return mDone && mSuccess; in waitForSuccess()
/cts/tests/sensor/src/android/hardware/cts/
DSensorAdditionalInfoTest.java182 private CountDownLatch mDone; field in SensorAdditionalInfoTest.AdditionalInfoVerifier
239 mDone.countDown(); in onSensorAdditionalInfo()
249 mDone = new CountDownLatch(1); in reset()
255 ret = mDone.await(ALLOWED_ADDITIONAL_INFO_DELIVER_SEC, TimeUnit.SECONDS); in verify()
/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/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/
DKeyValueBackupRestoreTest.java325 private volatile boolean mDone = false; field in KeyValueBackupRestoreTest.RequestBackupObserver
330 mDone = true; in backupFinished()
337 () -> mDone); in waitForCompletion()