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.java187 int bgCount = bi.getUidStats().get(UID).getWifiScanBackgroundCount(STATS_SINCE_CHARGED); in testWifiScan() local
192 assertEquals(0, bgCount); in testWifiScan()
263 int bgCount = bgTimer.getCountLocked(STATS_SINCE_CHARGED); in doTestAppBluetoothScanInternal() local
270 assertEquals(0, bgCount); // first scan starts in fg, second starts off-battery in doTestAppBluetoothScanInternal()
323 int bgCount = bgTimer.getCountLocked(STATS_SINCE_CHARGED); in testJob() local
327 assertEquals(1, bgCount); in testJob()
384 int bgCount = bgTimer.getCountLocked(STATS_SINCE_CHARGED); in testSyncs() local
388 assertEquals(1, bgCount); in testSyncs()
/frameworks/base/core/java/android/os/
DBatteryStats.java4421 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : -1; in dumpCheckinLocked() local
4424 totalTime, count, bgTime, bgCount); in dumpCheckinLocked()
4437 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : -1; in dumpCheckinLocked() local
4440 totalTime, count, bgTime, bgCount); in dumpCheckinLocked()
4488 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : 0; in dumpCheckinLocked() local
4494 count, bgCount, actualTime, bgActualTime); in dumpCheckinLocked()
5890 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : -1; in dumpLocked()
5905 sb.append(bgCount); in dumpLocked()
5924 final int bgCount = bgTimer != null ? bgTimer.getCountLocked(which) : -1; in dumpLocked()
5939 sb.append(bgCount); in dumpLocked()
[all …]