Searched refs:mDurations (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | AssociationState.java | 58 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 …]
|
D | ServiceState.java | 47 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 …]
|
D | ProcessState.java | 132 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/ |
D | AnimationDrawable.java | 227 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/core/java/android/app/ |
D | AppOpsManager.java | 2247 private final @Nullable LongSparseLongArray mDurations; field in AppOpsManager.OpEntry 2263 mDurations = durations; in OpEntry() 2277 mDurations = null; in OpEntry() 2289 result = AppOpsManager.collectKeys(mDurations, result); in collectKeys() 2538 return sumForFlagsInStates(mDurations, MAX_PRIORITY_UID_STATE, in getLastForegroundDuration() 2557 return sumForFlagsInStates(mDurations, resolveLastRestrictedUidState(mOp), in getLastBackgroundDuration() 2579 return sumForFlagsInStates(mDurations, fromUidState, toUidState, flags); in getLastDuration() 2590 return (int) findFirstNonNegativeForFlagsInStates(mDurations, in getProxyUid() 2612 return (int) findFirstNonNegativeForFlagsInStates(mDurations, in getProxyUid() 2660 writeLongSparseLongArrayToParcel(mDurations, dest); in writeToParcel() [all …]
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 419 private @Nullable LongSparseLongArray mDurations; field in AppOpsService.Op 450 if (mDurations != null) { in accessed() 451 mDurations.delete(key); in accessed() 464 if (mDurations != null) { in rejected() 465 mDurations.delete(key); in rejected() 492 if (mDurations == null) { in continuing() 493 mDurations = new LongSparseLongArray(); in continuing() 495 mDurations.put(key, duration); in continuing() 505 if (mDurations == null) { in updateAccessTimeAndDuration() 506 mDurations = new LongSparseLongArray(); in updateAccessTimeAndDuration() [all …]
|