Searched refs:bgTime (Results 1 – 7 of 7) 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 | 187 long bgTime = bi.getUidStats().get(UID).getWifiScanBackgroundTime(curr); in testWifiScan() local 192 assertEquals((305 - 254) * 1000, bgTime); in testWifiScan() 263 long bgTime = bgTimer.getTotalDurationMsLocked(clocks.realtime) * 1000; in doTestAppBluetoothScanInternal() local 270 assertEquals((305 - 254 + 3004 - 2001) * 1000, bgTime); in doTestAppBluetoothScanInternal() 322 long bgTime = bgTimer.getTotalTimeLocked(curr, STATS_SINCE_CHARGED); in testJob() local 326 assertEquals((305 - 254) * 1000, bgTime); in testJob() 383 long bgTime = bgTimer.getTotalTimeLocked(curr, STATS_SINCE_CHARGED); in testSyncs() local 387 assertEquals((305 - 254) * 1000, bgTime); in testSyncs()
|
D | BatteryStatsNoteTest.java | 111 long bgTime = aggregTimer.getSubTimer().getTotalTimeLocked(300_000, STATS_SINCE_CHARGED); in testNoteStartWakeLocked() local 113 assertEquals(120_000, bgTime); in testNoteStartWakeLocked()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 4083 final long bgTime = bgTimer != null ? in dumpCheckinLocked() local 4088 totalTime, count, bgTime, bgCount); in dumpCheckinLocked() 4099 final long bgTime = bgTimer != null ? in dumpCheckinLocked() local 4104 totalTime, count, bgTime, bgCount); in dumpCheckinLocked() 5678 final long bgTime = bgTimer != null ? in dumpLocked() local 5691 if (bgTime > 0) { in dumpLocked() 5693 formatTimeMs(sb, bgTime); in dumpLocked() 5712 final long bgTime = bgTimer != null ? in dumpLocked() local 5725 if (bgTime > 0) { in dumpLocked() 5727 formatTimeMs(sb, bgTime); in dumpLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 25470 final long bgTime = uidRec.lastBackgroundTime; in makePackageIdle() local 25471 if (bgTime > 0 && !uidRec.idle) { in makePackageIdle() 25508 final long bgTime = uidRec.lastBackgroundTime; in idleUids() local 25509 if (bgTime > 0 && !uidRec.idle) { in idleUids() 25510 if (bgTime <= maxBgTime) { in idleUids() 25516 if (nextTime == 0 || nextTime > bgTime) { in idleUids() 25517 nextTime = bgTime; in idleUids()
|