Home
last modified time | relevance | path

Searched refs:mRunState (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/procstats/
DServiceState.java53 private int mRunState = STATE_NOTHING; field in ServiceState
225 mRunCount = mRunState != STATE_NOTHING ? 1 : 0; in resetSafely()
256 if (mRunState != STATE_NOTHING) { in commitStateTime()
257 mDurations.addDuration(SERVICE_RUN + (mRunState*SERVICE_COUNT), in commitStateTime()
287 if (mRunState != state) { in updateRunning()
288 if (mRunState != STATE_NOTHING) { in updateRunning()
289 mDurations.addDuration(SERVICE_RUN + (mRunState*SERVICE_COUNT), in updateRunning()
294 mRunState = state; in updateRunning()
404 mRunCount, ServiceState.SERVICE_RUN, mRunState, in dumpStats()
505 ServiceState.SERVICE_RUN, mRunCount, mRunState, mRunStartTime, now);
[all …]
/frameworks/base/core/java/android/speech/tts/
DSynthesisPlaybackQueueItem.java77 private final AtomicInteger mRunState = new AtomicInteger(NOT_RUN); field in SynthesisPlaybackQueueItem
97 if (!mRunState.compareAndSet(NOT_RUN, RUN_CALLED)) { in run()
167 if (mRunState.getAndSet(STOP_CALLED) == NOT_RUN) { in stop()