Home
last modified time | relevance | path

Searched refs:bgTime (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DRunResult.java28 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()
DFrameworkPerfTest.java36 result.getBgMsPerOp(), result.bgOps, result.bgTime)); in testFrameworkPerf()
DFrameworkPerfActivity.java294 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/
DBatteryStatsBackgroundStatsTest.java186 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()
DBatteryStatsNoteTest.java85 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/
DBatteryStats.java3532 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/
DActivityManagerService.java22874 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;