Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsSensorTest.java55 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testSensorStartStop()
57 BatteryStats.Timer sensorBgTimer = bi.getUidStats().get(UID).getSensorStats() in testSensorStartStop()
86 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOffBattery()
98 sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOffBattery()
121 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOnBattery()
133 sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOnBattery()
169 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testBatteryStatusOnToOff()
179 sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testBatteryStatusOnToOff()
202 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testBatteryStatusOffToOn()
216 sensorTimer = bi.getUidStats().get(UID).getSensorStats().get(SENSOR_ID).getSensorTime(); in testBatteryStatusOffToOn()
[all …]
DBatteryStatsNoteTest.java45 bi.getUidStats().get(UID).getBluetoothScanResultCounter() in testNoteBluetoothScanResultLocked()
49 BatteryStats.Counter bgCntr = bi.getUidStats().get(UID).getBluetoothScanResultBgCounter(); in testNoteBluetoothScanResultLocked()
57 bi.getUidStats().get(UID).getBluetoothScanResultCounter() in testNoteBluetoothScanResultLocked()
60 bi.getUidStats().get(UID).getBluetoothScanResultBgCounter() in testNoteBluetoothScanResultLocked()
83 … BatteryStats.Timer aggregTimer = bi.getUidStats().get(UID).getAggregatedPartialWakelockTimer(); in testNoteStartWakeLocked()
DBatteryStatsBackgroundStatsTest.java182 long time = bi.getUidStats().get(UID).getWifiScanTime(curr, STATS_SINCE_CHARGED); in testWifiScan()
183 int count = bi.getUidStats().get(UID).getWifiScanCount(STATS_SINCE_CHARGED); in testWifiScan()
184 int bgCount = bi.getUidStats().get(UID).getWifiScanBackgroundCount(STATS_SINCE_CHARGED); in testWifiScan()
185 long actualTime = bi.getUidStats().get(UID).getWifiScanActualTime(curr); in testWifiScan()
186 long bgTime = bi.getUidStats().get(UID).getWifiScanBackgroundTime(curr); in testWifiScan()
242 BatteryStats.Timer timer = bi.getUidStats().get(UID).getBluetoothScanTimer(); in testAppBluetoothScan()
243 BatteryStats.Timer bgTimer = bi.getUidStats().get(UID).getBluetoothScanBackgroundTimer(); in testAppBluetoothScan()
244 BatteryStats.Timer badTimer = bi.getUidStats().get(UID).getBluetoothUnoptimizedScanTimer(); in testAppBluetoothScan()
245 BatteryStats.Timer badBgTimer = bi.getUidStats().get(UID) in testAppBluetoothScan()
304 bi.getUidStats().get(UID).getJobStats(); in testJob()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java543 final SparseArray<? extends Uid> uidStats = mStats.getUidStats(); in processAppUsage()
DBatteryStatsImpl.java5535 @Override public SparseArray<? extends BatteryStats.Uid> getUidStats() { in getUidStats() method in BatteryStatsImpl
/frameworks/base/core/java/android/os/
DBatteryStats.java2359 public abstract SparseArray<? extends Uid> getUidStats(); in getUidStats() method in BatteryStats
3082 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpCheckinLocked()
3735 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpLocked()
5950 SparseArray<? extends Uid> uidStats = getUidStats(); in dumpLocked()
6142 SparseArray<? extends Uid> uidStats = getUidStats(); in dumpCheckinLocked()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1670 final BatteryStats.Uid uid = mStats.getUidStats().get(requestUid); in getHealthStatsForUidLocked()