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 | 110 long bgTime = aggregTimer.getSubTimer().getTotalTimeLocked(300_000, STATS_SINCE_CHARGED); in testNoteStartWakeLocked() local 112 assertEquals(120_000, bgTime); in testNoteStartWakeLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 2069 final long bgTime = uidRec.lastBackgroundTime; in idleUidsLocked() local 2070 if (bgTime > 0 && !uidRec.idle) { in idleUidsLocked() 2071 if (bgTime <= maxBgTime) { in idleUidsLocked() 2077 if (nextTime == 0 || nextTime > bgTime) { in idleUidsLocked() 2078 nextTime = bgTime; in idleUidsLocked()
|
D | ActivityManagerService.java | 17102 final long bgTime = uidRec.lastBackgroundTime; in makePackageIdle() local 17103 if (bgTime > 0 && !uidRec.idle) { in makePackageIdle()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 4256 final long bgTime = bgTimer != null ? in dumpCheckinLocked() local 4261 totalTime, count, bgTime, bgCount); in dumpCheckinLocked() 4272 final long bgTime = bgTimer != null ? in dumpCheckinLocked() local 4277 totalTime, count, bgTime, bgCount); in dumpCheckinLocked() 5837 final long bgTime = bgTimer != null ? in dumpLocked() 5850 if (bgTime > 0) { in dumpLocked() 5852 formatTimeMs(sb, bgTime); in dumpLocked() argument 5871 final long bgTime = bgTimer != null ? in dumpLocked() 5884 if (bgTime > 0) { in dumpLocked() 5886 formatTimeMs(sb, bgTime); in dumpLocked() argument
|