Home
last modified time | relevance | path

Searched refs:mStarted (Results 1 – 25 of 107) sorted by relevance

12345

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp35 mStarted(), in OringDurationTracker()
65 if (mStarted.size() == 0) { in noteStart()
70 mStarted[key]++; in noteStart()
84 auto it = mStarted.find(key); in noteStop()
85 if (it != mStarted.end()) { in noteStop()
88 mStarted.erase(it); in noteStop()
91 if (mStarted.empty()) { in noteStop()
111 if (mStarted.empty()) { in noteStop()
117 if (!mStarted.empty()) { in noteStopAll()
129 mStarted.clear(); in noteStopAll()
[all …]
/frameworks/av/media/libstagefright/
DMediaAdapter.cpp29 mStarted(false), in MediaAdapter()
41 if (!mStarted) { in start()
42 mStarted = true; in start()
51 if (mStarted) { in stop()
52 mStarted = false; in stop()
87 if (!mStarted) { in read()
92 while (mCurrentMediaBuffer == NULL && mStarted) { in read()
97 if (!mStarted) { in read()
118 if (!mStarted) { in pushBuffer()
DAMRWriter.cpp37 mStarted(false), in AMRWriter()
43 if (mStarted) { in ~AMRWriter()
106 if (mStarted && mPaused) { in start()
110 } else if (mStarted) { in start()
131 mStarted = true; in start()
137 if (!mStarted) { in pause()
145 if (!mStarted) { in reset()
163 mStarted = false; in reset()
DJPEGSource.cpp58 mStarted(false), in JPEGSource()
68 if (mStarted) { in ~JPEGSource()
74 if (mStarted) { in start()
83 mStarted = true; in start()
89 if (!mStarted) { in stop()
96 mStarted = false; in stop()
DAACWriter.cpp42 mStarted(false), in AACWriter()
55 if (mStarted) { in ~AACWriter()
108 if (mStarted && mPaused) { in start()
112 } else if (mStarted) { in start()
136 mStarted = true; in start()
142 if (!mStarted) { in pause()
150 if (!mStarted) { in reset()
168 mStarted = false; in reset()
DOggWriter.cpp61 if (mStarted) { in ~OggWriter()
196 if (mStarted && mPaused) { in start()
200 } else if (mStarted) { in start()
221 mStarted = true; in start()
227 if (!mStarted) { in pause()
235 if (!mStarted) { in reset()
252 mStarted = false; in reset()
DAudioSource.cpp58 : mStarted(false), in AudioSource()
124 if (mStarted) { in ~AudioSource()
135 if (mStarted) { in start()
153 mStarted = true; in start()
181 if (!mStarted) { in reset()
189 mStarted = false; in reset()
258 while (mStarted && mBuffersReceived.empty()) { in read()
264 if (!mStarted) { in read()
356 if (!mStarted) { in dataCallback()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssBatchingProvider.java36 private boolean mStarted; field in GnssBatchingProvider
76 mStarted = mNative.startBatch(periodNanos, wakeOnFifoFull); in start()
77 if (mStarted) { in start()
81 return mStarted; in start()
88 if (!mStarted) { in flush()
101 mStarted = false; in stop()
118 if (mStarted) { in resumeIfStarted()
/frameworks/av/cmds/stagefright/
DSineSource.cpp14 : mStarted(false), in SineSource()
23 if (mStarted) { in ~SineSource()
29 CHECK(!mStarted); in start()
35 mStarted = true; in start()
41 CHECK(mStarted); in stop()
46 mStarted = false; in stop()
/frameworks/base/core/java/android/app/
DLoaderManager.java228 boolean mStarted; field in LoaderManagerImpl
244 boolean mStarted; field in LoaderManagerImpl.LoaderInfo
264 mStarted = true; in start()
268 if (mStarted) { in start()
273 mStarted = true; in start()
298 mRetainingStarted = mStarted; in retain()
299 mStarted = false; in retain()
307 if (mStarted != mRetainingStarted) { in finishRetain()
308 if (!mStarted) { in finishRetain()
317 if (mStarted && mHaveData && !mReportNextStart) { in finishRetain()
[all …]
/frameworks/base/core/java/android/content/
DLoader.java61 boolean mStarted = false; field in Loader
257 return mStarted; in isStarted()
300 mStarted = true; in startLoading()
391 mStarted = false; in stopLoading()
453 mStarted = false; in reset()
513 if (mStarted) { in onContentChanged()
555 if (mStarted || mContentChanged || mProcessingChange) { in dump()
556 writer.print(prefix); writer.print("mStarted="); writer.print(mStarted); in dump()
/frameworks/base/core/java/android/widget/
DViewFlipper.java51 private boolean mStarted = false; field in ViewFlipper
153 mStarted = true; in startFlipping()
161 mStarted = false; in stopFlipping()
188 boolean running = mVisible && mStarted && mUserPresent; in updateRunning()
199 Log.d(TAG, "updateRunning() mVisible=" + mVisible + ", mStarted=" + mStarted in updateRunning()
209 return mStarted; in isFlipping()
DAdapterViewFlipper.java49 private boolean mStarted = false; field in AdapterViewFlipper
177 mStarted = true; in startFlipping()
185 mStarted = false; in stopFlipping()
238 boolean running = !mAdvancedByHost && mVisible && mStarted && mUserPresent in updateRunning()
250 Log.d(TAG, "updateRunning() mVisible=" + mVisible + ", mStarted=" + mStarted in updateRunning()
259 return mStarted; in isFlipping()
/frameworks/base/services/core/java/com/android/server/
DMountServiceIdler.java40 private boolean mStarted; field in MountServiceIdler
47 if (mStarted) {
49 mStarted = false;
74 mStarted = true; in onStartJob()
90 mStarted = false; in onStopJob()
/frameworks/base/services/core/java/com/android/server/incident/
DRequestQueue.java47 private boolean mStarted; field in RequestQueue
114 if (!mStarted) { in start()
118 mStarted = true; in start()
148 if (mStarted) { in enqueue()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
DAtraceUtils.java45 private boolean mStarted = false; field in AtraceUtils
63 if (mStarted) { in startTrace()
68 mStarted = true; in startTrace()
74 mStarted = false; in stopTrace()
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp191 mStarted(false), in AacAdtsSource()
198 if (mStarted) { in ~AacAdtsSource()
205 CHECK(!mStarted); in start()
211 mStarted = true; in start()
218 CHECK(mStarted); in stop()
223 mStarted = false; in stop()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerService.java40 private boolean mStarted = false; field in PlayerService
78 if (!mStarted) { in onPlaybackStarted()
82 mStarted = true; in onPlaybackStarted()
87 if (mStarted) { in onPlaybackEnded()
91 mStarted = false; in onPlaybackEnded()
/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/
DAtraceUtils.java48 private boolean mStarted = false; field in AtraceUtils
66 if (mStarted) { in startTrace()
71 mStarted = true; in startTrace()
77 mStarted = false; in stopTrace()
/frameworks/base/core/tests/coretests/src/android/animation/
DViewPropertyAnimatorTest.java63 private boolean mStarted; // tracks whether we've received the onAnimationStart() callback field in ViewPropertyAnimatorTest
150 assertFalse(mStarted); in setUp()
152 mStarted = true; in setUp()
161 assertTrue(mStarted); in setUp()
170 assertTrue(mStarted); in setUp()
172 mStarted = false; in setUp()
184 mStarted = false; in setUp()
/frameworks/minikin/libs/minikin/
DStringPiece.h91 : mStarted(false), mCurrent(0), mString(string), mDelimiter(delimiter) {} in SplitIterator()
97 const size_t searchFrom = mStarted ? mCurrent + 1 : 0; in next()
98 mStarted = true; in next()
105 bool mStarted;
/frameworks/av/media/extractors/aac/
DAACExtractor.cpp60 bool mStarted; member in android::AACSource
234 mStarted(false), in AACSource()
240 if (mStarted) { in ~AACSource()
246 CHECK(!mStarted); in start()
256 mStarted = true; in start()
262 CHECK(mStarted); in stop()
264 mStarted = false; in stop()
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp57 bool mStarted; member in android::MidiSource
76 mStarted(false) in MidiSource()
85 if (mStarted) { in ~MidiSource()
94 CHECK(!mStarted); in start()
95 mStarted = true; in start()
104 CHECK(mStarted); in stop()
105 mStarted = false; in stop()
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp59 bool mStarted; member in android::AMRSource
242 mStarted(false), in AMRSource()
251 if (mStarted) { in ~AMRSource()
257 CHECK(!mStarted); in start()
262 mStarted = true; in start()
268 CHECK(mStarted); in stop()
270 mStarted = false; in stop()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestHandlerThread.java35 private final ConditionVariable mStarted = new ConditionVariable(false); field in RequestHandlerThread
48 mStarted.open(); in onLooperPrepared()
53 mStarted.block(); in waitUntilStarted()

12345