Searched refs:bgTime (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | RunResult.java | 28 final long bgTime; field in RunResult 37 bgTime = op.getBackgroundTime(); in RunResult() 47 bgTime = source.readLong(); in RunResult() 56 return bgOps != 0 ? (bgTime / (float)bgOps) : 0; in getBgMsPerOp() 71 dest.writeLong(bgTime); in writeToParcel()
|
D | FrameworkPerfTest.java | 36 result.getBgMsPerOp(), result.bgOps, result.bgTime)); in testFrameworkPerf()
|
D | FrameworkPerfActivity.java | 294 result.bgOps, result.getBgMsPerOp(), result.bgTime)); in completeCurOp() 440 + "\t" + result.getBgMsPerOp() + "\t" + result.bgTime in stopRunning()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsBackgroundStatsTest.java | 189 long bgTime = bi.getUidStats().get(UID).getWifiScanBackgroundTime(curr); in testWifiScan() local 194 assertEquals((305 - 254) * 1000, bgTime); in testWifiScan() 265 long bgTime = bgTimer.getTotalDurationMsLocked(clocks.realtime) * 1000; in doTestAppBluetoothScanInternal() local 272 assertEquals((305 - 254 + 3004 - 2001) * 1000, bgTime); in doTestAppBluetoothScanInternal() 324 long bgTime = bgTimer.getTotalTimeLocked(curr, STATS_SINCE_CHARGED); in testJob() local 328 assertEquals((305 - 254) * 1000, bgTime); in testJob() 385 long bgTime = bgTimer.getTotalTimeLocked(curr, STATS_SINCE_CHARGED); in testSyncs() local 389 assertEquals((305 - 254) * 1000, bgTime); in testSyncs()
|
D | BatteryStatsNoteTest.java | 112 long bgTime = aggregTimer.getSubTimer().getTotalTimeLocked(300_000, STATS_SINCE_CHARGED); in testNoteStartWakeLocked() local 114 assertEquals(120_000, bgTime); in testNoteStartWakeLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 2975 final long bgTime = uidRec.getLastBackgroundTime(); in idleUidsLocked() local 2976 if (bgTime > 0 && !uidRec.isIdle()) { in idleUidsLocked() 2977 if (bgTime <= maxBgTime) { in idleUidsLocked() 2985 if (nextTime == 0 || nextTime > bgTime) { in idleUidsLocked() 2986 nextTime = bgTime; in idleUidsLocked()
|
D | ActivityManagerService.java | 14600 final long bgTime = uidRec.getLastBackgroundTime(); in makePackageIdle() local 14601 if (bgTime > 0 && !uidRec.isIdle()) { in makePackageIdle()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 4419 final long bgTime = bgTimer != null ? in dumpCheckinLocked() local 4424 totalTime, count, bgTime, bgCount); in dumpCheckinLocked() 4435 final long bgTime = bgTimer != null ? in dumpCheckinLocked() local 4440 totalTime, count, bgTime, bgCount); in dumpCheckinLocked() 5888 final long bgTime = bgTimer != null ? in dumpLocked() 5901 if (bgTime > 0) { in dumpLocked() 5903 formatTimeMs(sb, bgTime); in dumpLocked() argument 5922 final long bgTime = bgTimer != null ? in dumpLocked() 5935 if (bgTime > 0) { in dumpLocked() 5937 formatTimeMs(sb, bgTime); in dumpLocked() argument
|