Home
last modified time | relevance | path

Searched refs:mDone (Results 1 – 25 of 34) 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.java52 private boolean mDone = false; field in FileSynthesisCallback
68 if (mDone) { in stop()
207 if (mDone) { in done()
225 mDone = true; in done()
262 if (mDone) { in error()
280 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()
200 mDone = true; in stop()
209 while (!mDone) { in run()
248 mDone = true; in run()
256 mDone = false; in clearFlags()
304 mDone = true; in start()
314 if (!mDone && mPaused) { in resume()
331 mDone = true; in stop()
[all …]
DWebmFrameThread.h75 return !mDone; in running()
88 volatile bool mDone; variable
150 volatile bool mDone; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerZenModePanel.java46 private View mDone; field in TunerZenModePanel
67 mDone = mButtons.findViewById(android.R.id.button1); in init()
68 mDone.setOnClickListener(this); in init()
69 ((TextView) mDone).setText(R.string.quick_settings_done); in init()
106 } else if (v == mDone) { in onClick()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DActionReplacingCallback.java66 boolean mDone; field in ActionReplacingCallback
147 if (mDone) { in replaceInfoActionsAndCallService()
158 mDone = true; in replaceInfoActionsAndCallService()
172 if (mDone) { in replaceInfosActionsAndCallService()
186 mDone = true; in replaceInfosActionsAndCallService()
/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/base/services/core/java/com/android/server/os/
DBugreportManagerServiceImpl.java252 private boolean mDone = false; field in BugreportManagerServiceImpl.DumpstateListener
272 mDone = true; in onError()
280 mDone = true; in onFinished()
288 if (!mDone) { in binderDied()
/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/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.cpp216 mDone = false; in start()
239 mDone = true; in reset()
285 while (!mDone) { in threadFunc()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java99 private boolean mDone; field in SaveUi.OneActionThenDestroyListener
107 if (sDebug) Slog.d(TAG, "OneTimeListener.onSave(): " + mDone); in onSave()
108 if (mDone) { in onSave()
116 if (sDebug) Slog.d(TAG, "OneTimeListener.onCancel(): " + mDone); in onCancel()
117 if (mDone) { in onCancel()
125 if (sDebug) Slog.d(TAG, "OneTimeListener.onDestroy(): " + mDone); in onDestroy()
126 if (mDone) { in onDestroy()
129 mDone = true; in onDestroy()
/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/base/core/java/android/os/
DHandler.java948 private boolean mDone; field in Handler.BlockingRunnable
960 mDone = true; in run()
974 while (!mDone) { in postAndWait()
985 while (!mDone) { in postAndWait()
/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/base/services/core/java/com/android/server/
DPinnerService.java727 private boolean mDone = false; field in PinnerService.PinRangeSourceStatic
738 boolean done = mDone; in read()
739 mDone = true; in read()
746 private boolean mDone = false; field in PinnerService.PinRangeSourceStream
754 if (!mDone) { in read()
759 mDone = true; in read()
762 return !mDone; in read()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegCompressor.cpp164 res = mDone.waitRelative(mBusyMutex, timeout); in waitForDone()
188 mDone.signal(); in cleanUp()
/frameworks/av/media/libstagefright/include/media/stagefright/
DAMRWriter.h49 volatile bool mDone; member

12