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 | 186 long bgTime = bi.getUidStats().get(UID).getWifiScanBackgroundTime(curr); in testWifiScan() local 191 assertEquals((305 - 254) * 1000, bgTime); in testWifiScan() 252 long bgTime = bgTimer.getTotalDurationMsLocked(clocks.realtime) * 1000; in testAppBluetoothScan() local 259 assertEquals((305 - 254 + 3004 - 2001) * 1000, bgTime); in testAppBluetoothScan() 311 long bgTime = bgTimer.getTotalTimeLocked(curr, STATS_SINCE_CHARGED); in testJob() local 315 assertEquals((305 - 254) * 1000, bgTime); in testJob() 372 long bgTime = bgTimer.getTotalTimeLocked(curr, STATS_SINCE_CHARGED); in testSyncs() local 376 assertEquals((305 - 254) * 1000, bgTime); in testSyncs()
|
D | BatteryStatsNoteTest.java | 85 long bgTime = aggregTimer.getSubTimer().getTotalTimeLocked(300_000, STATS_SINCE_CHARGED); in testNoteStartWakeLocked() local 87 assertEquals(120_000, bgTime); in testNoteStartWakeLocked()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 3532 final long bgTime = bgTimer != null ? in dumpCheckinLocked() local 3537 totalTime, count, bgTime, bgCount); in dumpCheckinLocked() 3548 final long bgTime = bgTimer != null ? in dumpCheckinLocked() local 3553 totalTime, count, bgTime, bgCount); in dumpCheckinLocked() 4918 final long bgTime = bgTimer != null ? in dumpLocked() local 4931 if (bgTime > 0) { in dumpLocked() 4933 formatTimeMs(sb, bgTime); in dumpLocked() 4952 final long bgTime = bgTimer != null ? in dumpLocked() local 4965 if (bgTime > 0) { in dumpLocked() 4967 formatTimeMs(sb, bgTime); in dumpLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 22874 final long bgTime = uidRec.lastBackgroundTime; 22875 if (bgTime > 0 && !uidRec.idle) { 22911 final long bgTime = uidRec.lastBackgroundTime; 22912 if (bgTime > 0 && !uidRec.idle) { 22913 if (bgTime <= maxBgTime) { 22918 if (nextTime == 0 || nextTime > bgTime) { 22919 nextTime = bgTime;
|