Home
last modified time | relevance | path

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

12345

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp36 mStarted(), in OringDurationTracker()
77 if (mStarted.size() == 0) { in noteStart()
82 mStarted[key]++; in noteStart()
96 auto it = mStarted.find(key); in noteStop()
97 if (it != mStarted.end()) { in noteStop()
100 mStarted.erase(it); in noteStop()
103 if (mStarted.empty()) { in noteStop()
119 if (mStarted.empty()) { in noteStop()
125 if (!mStarted.empty()) { in noteStopAll()
133 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()
121 if (mStarted) { in ~AudioSource()
132 if (mStarted) { in start()
150 mStarted = true; in start()
178 if (!mStarted) { in reset()
186 mStarted = false; in reset()
255 while (mStarted && mBuffersReceived.empty()) { in read()
261 if (!mStarted) { in read()
353 if (!mStarted) { in dataCallback()
/frameworks/base/services/core/java/com/android/server/location/
DGnssBatchingProvider.java20 private boolean mStarted; field in GnssBatchingProvider
60 mStarted = mNative.startBatch(periodNanos, wakeOnFifoFull); in start()
61 if (mStarted) { in start()
65 return mStarted; in start()
72 if (!mStarted) { in flush()
85 mStarted = false; in stop()
102 if (mStarted) { in resumeIfStarted()
/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/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/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.java39 private boolean mStarted; field in MountServiceIdler
46 if (mStarted) {
48 mStarted = false;
73 mStarted = true; in onStartJob()
89 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/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/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
232 mStarted(false), in AACSource()
238 if (mStarted) { in ~AACSource()
244 CHECK(!mStarted); in start()
254 mStarted = true; in start()
260 CHECK(mStarted); in stop()
262 mStarted = false; in stop()
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp59 bool mStarted; member in android::AMRSource
239 mStarted(false), in AMRSource()
248 if (mStarted) { in ~AMRSource()
254 CHECK(!mStarted); in start()
259 mStarted = true; in start()
265 CHECK(mStarted); in stop()
267 mStarted = false; in stop()
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp56 bool mStarted; member in android::MidiSource
75 mStarted(false) in MidiSource()
84 if (mStarted) { in ~MidiSource()
93 CHECK(!mStarted); in start()
94 mStarted = true; in start()
103 CHECK(mStarted); in stop()
104 mStarted = false; in stop()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DLoadtestActivity.java243 private boolean mStarted = false; field in LoadtestActivity
298 if (mStarted) { in onCreate()
462 if (mStarted) { in startLoadtest()
533 mStarted = started; in updateStarted()
541 mBurstText.setEnabled(!mPlacebo && !mStarted); in updateControlsEnabled()
542 mReplicationText.setEnabled(!mPlacebo && !mStarted); in updateControlsEnabled()
543 mPeriodText.setEnabled(!mStarted); in updateControlsEnabled()
544 mBucketSpinner.setEnabled(!mPlacebo && !mStarted); in updateControlsEnabled()
545 mDurationText.setEnabled(!mStarted); in updateControlsEnabled()
546 mPlaceboCheckBox.setEnabled(!mStarted); in updateControlsEnabled()
[all …]
/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()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DFrameworkPerfActivity.java65 boolean mStarted; field in FrameworkPerfActivity
298 if (!mStarted) { in completeCurOp()
372 if (mStarted) { in startCurOp()
394 if (!mStarted) { in startRunning()
396 mStarted = true; in startRunning()
416 if (mStarted) { in stopRunning()
418 mStarted = false; in stopRunning()
451 if (mStarted) { in updateWakeLock()

12345