Searched refs:getActiveTime (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuUidActiveTimeReaderTest.java | 102 mCallback.verify(mUids[i], getActiveTime(times[i])); in testReadDelta() 112 mCallback.verify(mUids[i], getActiveTime(newTimes1[i]) - getActiveTime(times[i])); in testReadDelta() 136 mCallback.verify(mUids[i], getActiveTime(newTimes3[i]) - getActiveTime(newTimes2[i])); in testReadDelta() 148 mCallback.verify(mUids[i], getActiveTime(times1[i])); in testReadAbsolute() 158 mCallback.verify(mUids[i], getActiveTime(times2[i])); in testReadAbsolute() 178 mCallback.verify(mUids[i], getActiveTime(times2[i]) - getActiveTime(times1[i])); in testReadDeltaDecreasedTime() 189 mCallback.verify(mUids[0], getActiveTime(times3[0]) - getActiveTime(times1[0])); in testReadDeltaDecreasedTime() 191 mCallback.verify(mUids[i], getActiveTime(times3[i]) - getActiveTime(times2[i])); in testReadDeltaDecreasedTime() 209 mCallback.verify(mUids[i], getActiveTime(times2[i]) - getActiveTime(times1[i])); in testReadDeltaNegativeTime() 220 mCallback.verify(mUids[0], getActiveTime(times3[0]) - getActiveTime(times1[0])); in testReadDeltaNegativeTime() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobPackageTracker.java | 95 public long getActiveTime(long now) { in getActiveTime() method in JobPackageTracker.PackageEntry 341 printDuration(pw, period, pe.getActiveTime(now), pe.activeCount, "active"); in dump() 407 pe.getActiveTime(now), pe.activeCount); in dump() 512 time += cur.getActiveTime(now) + cur.getPendingTime(now); in getLoadFactor() 516 time += last.getActiveTime(now) + last.getPendingTime(now); in getLoadFactor()
|