Home
last modified time | relevance | path

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

12

/frameworks/base/services/backup/java/com/android/server/backup/restore/
DRestoreDeleteObserver.java34 private final AtomicBoolean mDone = new AtomicBoolean(); field in RestoreDeleteObserver
43 synchronized (mDone) { in reset()
44 mDone.set(false); in reset()
52 synchronized (mDone) { in waitForCompletion()
53 while (mDone.get() == false) { in waitForCompletion()
55 mDone.wait(); in waitForCompletion()
64 synchronized (mDone) { in packageDeleted()
65 mDone.set(true); in packageDeleted()
66 mDone.notifyAll(); in packageDeleted()
/frameworks/base/core/tests/coretests/src/android/os/
DHandlerTester.java38 if (!mDone) { in doTest()
47 mDone = true; in success()
52 mDone = true; in failure()
69 if (mDone) { in handleMessage()
81 private boolean mDone = false; field in HandlerTester
DTestHandlerThread.java20 private boolean mDone = false; field in TestHandlerThread
36 while (!mDone && now < endTime) { in doTest()
48 if (!mDone) { in doTest()
83 mDone = true; in run()
95 mDone = true; in quit()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackQueueItem.java34 private final ConditionVariable mDone; field in AudioPlaybackQueueItem
47 mDone = new ConditionVariable(); in AudioPlaybackQueueItem()
71 mDone.open(); in run()
79 mDone.open(); in run()
85 mDone.block(); in run()
89 mDone.open(); in run()
127 mDone.open(); in stop()
DPlaybackSynthesisCallback.java46 private volatile boolean mDone = false; field in PlaybackSynthesisCallback
74 if (mDone) { in stop()
120 return mDone; in hasFinished()
220 if (mDone) { in done()
230 mDone = true; in done()
268 if (mDone) { in error()
DFileSynthesisCallback.java53 private boolean mDone = false; field in FileSynthesisCallback
69 if (mDone) { in stop()
208 if (mDone) { in done()
226 mDone = true; in done()
263 if (mDone) { in error()
281 return mDone; in hasFinished()
DSynthesisPlaybackQueueItem.java64 private volatile boolean mDone; field in SynthesisPlaybackQueueItem
87 mDone = false; in SynthesisPlaybackQueueItem()
193 mDone = true; in done()
292 while (mDataBufferList.size() == 0 && !mStopped && !mDone) { in take()
/frameworks/av/media/libstagefright/webm/
DWebmFrameThread.cpp82 mDone(true) { in WebmFrameSinkThread()
97 mDone(true) { in WebmFrameSinkThread()
195 mDone = false; in start()
208 while (!mDone) { in run()
247 mDone = true; in run()
255 mDone = false; in clearFlags()
303 mDone = true; in start()
313 if (!mDone && mPaused) { in resume()
331 mDone = true; in stop()
349 while (!mDone && (err = mSource->read(&buffer, NULL)) == OK) { in run()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOneTimeSafetyChecker.java55 private boolean mDone; field in OneTimeSafetyChecker
113 if (mDone) { in disableSelf()
119 mDone = true; in disableSelf()
123 if (mDone) return; in selfDestruct()
/frameworks/base/graphics/java/android/graphics/
DPathIterator.java42 private boolean mDone = false; field in PathIterator
157 if (mDone) { in peek()
173 if (mDone) { in nextInternal()
182 mDone = true; in nextInternal()
/frameworks/av/media/libstagefright/webm/include/webm/
DWebmFrameThread.h75 return !mDone; in running()
88 volatile bool mDone; variable
150 volatile bool mDone; variable
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DHwcAsyncWorker.cpp38 mDone = true; in ~HwcAsyncWorker()
62 while (!mDone) { in run()
/frameworks/base/core/java/android/content/
DAsyncTaskLoader.java63 private final CountDownLatch mDone = new CountDownLatch(1); field in AsyncTaskLoader.LoadTask
99 mDone.countDown(); in onPostExecute()
110 mDone.countDown(); in onCancelled()
125 mDone.await(); in waitForLoader()
/frameworks/native/services/surfaceflinger/
DBackgroundExecutor.cpp50 while (!mDone) { in BackgroundExecutor()
69 mDone = true; in ~BackgroundExecutor()
DBackgroundExecutor.h52 std::atomic_bool mDone = false; variable
/frameworks/av/media/libstagefright/
DAMRWriter.cpp126 mDone = false; in start()
149 mDone = true; in reset()
195 while (!mDone) { in threadFunc()
DAACWriter.cpp131 mDone = false; in start()
154 mDone = true; in reset()
296 while (!mDone && err == OK) { in threadFunc()
DOggWriter.cpp221 mDone = false; in start()
244 mDone = true; in reset()
292 while (!mDone) { in threadFunc()
/frameworks/av/media/libstagefright/tests/
DBatteryChecker_test.cpp61 Condition mDone; member in android::BatteryCheckerTestHandler
76 EXPECT_NE(TIMED_OUT, mDone.waitRelative(mLock, timeoutUs * 1000ll)); in runTest()
149 mDone.signal(); in onMessageReceived()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java115 private boolean mDone; field in SaveUi.OneActionThenDestroyListener
123 if (sDebug) Slog.d(TAG, "OneTimeListener.onSave(): " + mDone); in onSave()
124 if (mDone) { in onSave()
132 if (sDebug) Slog.d(TAG, "OneTimeListener.onCancel(): " + mDone); in onCancel()
133 if (mDone) { in onCancel()
141 if (sDebug) Slog.d(TAG, "OneTimeListener.onDestroy(): " + mDone); in onDestroy()
142 if (mDone) { in onDestroy()
145 mDone = true; in onDestroy()
151 if (sDebug) Slog.d(TAG, "OneTimeListener.startIntentSender(): " + mDone); in startIntentSender()
152 if (mDone) { in startIntentSender()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DHwcAsyncWorker.h48 bool mDone GUARDED_BY(mMutex) = false;
/frameworks/base/media/java/android/media/
DSubtitleTrack.java494 return !mDone; in hasNext()
499 if (mDone) { in next()
558 mDone = false; in nextKey()
560 mDone = true; in nextKey()
570 private boolean mDone; field in EntryIterator
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DDrawView.java44 private boolean mDone; field in DrawView
139 mDone = true; in upPoint()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DDrawView.java44 private boolean mDone; field in DrawView
150 mDone = true; in upPoint()
/frameworks/av/media/libstagefright/include/media/stagefright/
DAMRWriter.h49 volatile bool mDone; member

12