Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsBackgroundStatsTest.java185 int bgCount = bi.getUidStats().get(UID).getWifiScanBackgroundCount(STATS_SINCE_CHARGED); in testWifiScan() local
190 assertEquals(0, bgCount); in testWifiScan()
261 int bgCount = bgTimer.getCountLocked(STATS_SINCE_CHARGED); in doTestAppBluetoothScanInternal() local
268 assertEquals(0, bgCount); // first scan starts in fg, second starts off-battery in doTestAppBluetoothScanInternal()
321 int bgCount = bgTimer.getCountLocked(STATS_SINCE_CHARGED); in testJob() local
325 assertEquals(1, bgCount); in testJob()
382 int bgCount = bgTimer.getCountLocked(STATS_SINCE_CHARGED); in testSyncs() local
386 assertEquals(1, bgCount); in testSyncs()
/frameworks/base/core/java/android/os/
DBatteryStats.java4085 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : -1; in dumpCheckinLocked() local
4088 totalTime, count, bgTime, bgCount); in dumpCheckinLocked()
4101 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : -1; in dumpCheckinLocked() local
4104 totalTime, count, bgTime, bgCount); in dumpCheckinLocked()
4150 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : 0; in dumpCheckinLocked() local
4156 count, bgCount, actualTime, bgActualTime); in dumpCheckinLocked()
5680 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : -1; in dumpLocked() local
5695 sb.append(bgCount); in dumpLocked()
5714 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : -1; in dumpLocked() local
5729 sb.append(bgCount); in dumpLocked()
[all …]