Home
last modified time | relevance | path

Searched refs:mDurations (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/procstats/
DAssociationState.java58 DurationsTable mDurations; field in AssociationState.SourceState
118 if (mDurations == null) { in startActive()
121 mDurations.addDuration(mActiveProcState, duration); in startActive()
139 if (mDurations != null) { in stopActive()
140 mDurations.addDuration(mActiveProcState, duration); in stopActive()
149 mDurations = new DurationsTable(mProcessStats.mTableData); in makeDurations()
312 if (otherSrc.mActiveDuration != 0 || otherSrc.mDurations != null) { in add()
314 if (mySrc.mDurations != null) { in add()
317 if (otherSrc.mDurations != null) { in add()
318 mySrc.mDurations.addDurations(otherSrc.mDurations); in add()
[all …]
DServiceState.java47 private final DurationsTable mDurations; field in ServiceState
80 mDurations = new DurationsTable(processStats.mTableData); in ServiceState()
215 mDurations.addDurations(other.mDurations); in add()
224 mDurations.resetTable(); in resetSafely()
235 mDurations.writeToParcel(out); in writeToParcel()
244 if (!mDurations.readFromParcel(in)) { in readFromParcel()
257 mDurations.addDuration(SERVICE_RUN + (mRunState*SERVICE_COUNT), in commitStateTime()
262 mDurations.addDuration(SERVICE_STARTED + (mStartedState*SERVICE_COUNT), in commitStateTime()
267 mDurations.addDuration(SERVICE_BOUND + (mBoundState*SERVICE_COUNT), in commitStateTime()
272 mDurations.addDuration(SERVICE_EXEC + (mExecState*SERVICE_COUNT), in commitStateTime()
[all …]
DProcessState.java132 private final DurationsTable mDurations; field in ProcessState
174 mDurations = new DurationsTable(processStats.mTableData); in ProcessState()
196 mDurations = new DurationsTable(commonProcess.mStats.mTableData); in ProcessState()
202 pnew.mDurations.addDurations(mDurations); in clone()
253 return mDurations.getKeyCount(); in getDurationsBucketCount()
257 mDurations.addDurations(other.mDurations); in add()
271 mDurations.resetTable(); in resetSafely()
295 mDurations.writeToParcel(out); in writeToParcel()
317 if (!mDurations.readFromParcel(in)) { in readFromParcel()
360 return !(mDurations.getKeyCount() == 0 in hasAnyData()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimationDrawable.java227 return mAnimationState.mDurations[i]; in getDuration()
286 scheduleSelf(this, SystemClock.uptimeMillis() + mAnimationState.mDurations[frame]); in setFrame()
384 private int[] mDurations; field in AnimationDrawable.AnimationState
391 mDurations = orig.mDurations; in AnimationState()
394 mDurations = new int[getCapacity()]; in AnimationState()
400 mDurations = mDurations.clone(); in mutate()
417 mDurations[pos] = dur; in addFrame()
424 System.arraycopy(mDurations, 0, newDurations, 0, oldSize); in growArray()
425 mDurations = newDurations; in growArray()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java430 private @Nullable LongSparseLongArray mDurations; field in AppOpsService.Op
461 if (mDurations != null) { in accessed()
462 mDurations.delete(key); in accessed()
475 if (mDurations != null) { in rejected()
476 mDurations.delete(key); in rejected()
503 if (mDurations == null) { in continuing()
504 mDurations = new LongSparseLongArray(); in continuing()
506 mDurations.put(key, duration); in continuing()
516 if (mDurations == null) { in updateAccessTimeAndDuration()
517 mDurations = new LongSparseLongArray(); in updateAccessTimeAndDuration()
[all …]
/frameworks/base/core/java/android/app/
DAppOpsManager.java2300 private final @Nullable LongSparseLongArray mDurations; field in AppOpsManager.OpEntry
2316 mDurations = durations; in OpEntry()
2330 mDurations = null; in OpEntry()
2342 result = AppOpsManager.collectKeys(mDurations, result); in collectKeys()
2591 return sumForFlagsInStates(mDurations, MAX_PRIORITY_UID_STATE, in getLastForegroundDuration()
2610 return sumForFlagsInStates(mDurations, resolveLastRestrictedUidState(mOp), in getLastBackgroundDuration()
2632 return sumForFlagsInStates(mDurations, fromUidState, toUidState, flags); in getLastDuration()
2713 writeLongSparseLongArrayToParcel(mDurations, dest); in writeToParcel()
2724 mDurations = readLongSparseLongArrayFromParcel(source); in OpEntry()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt19651 Landroid/graphics/drawable/AnimationDrawable$AnimationState;->mDurations:[I