Home
last modified time | relevance | path

Searched refs:bgCount (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsBackgroundStatsTest.java201 int bgCount = bi.getUidStats().get(UID).getWifiScanBackgroundCount(STATS_SINCE_CHARGED); in testWifiScan() local
206 assertEquals(0, bgCount); in testWifiScan()
279 int bgCount = bgTimer.getCountLocked(STATS_SINCE_CHARGED); in doTestAppBluetoothScanInternal() local
286 assertEquals(0, bgCount); // first scan starts in fg, second starts off-battery in doTestAppBluetoothScanInternal()
340 int bgCount = bgTimer.getCountLocked(STATS_SINCE_CHARGED); in testJob() local
344 assertEquals(1, bgCount); in testJob()
402 int bgCount = bgTimer.getCountLocked(STATS_SINCE_CHARGED); in testSyncs() local
406 assertEquals(1, bgCount); in testSyncs()
/frameworks/base/core/java/android/os/
DBatteryStats.java4946 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : -1; in dumpCheckinLocked() local
4949 totalTime, count, bgTime, bgCount); in dumpCheckinLocked()
4962 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : -1; in dumpCheckinLocked() local
4965 totalTime, count, bgTime, bgCount); in dumpCheckinLocked()
5013 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : 0; in dumpCheckinLocked() local
5019 count, bgCount, actualTime, bgActualTime); in dumpCheckinLocked()
6496 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : -1; in dumpLocked()
6511 sb.append(bgCount); in dumpLocked()
6530 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : -1; in dumpLocked()
6545 sb.append(bgCount); in dumpLocked()
[all …]