Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsSensorTest.java58 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testSensorStartStop()
60 BatteryStats.Timer sensorBgTimer = bi.getUidStats().get(UID).getSensorStats() in testSensorStartStop()
89 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOffBattery()
101 sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOffBattery()
124 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOnBattery()
136 sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOnBattery()
172 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testBatteryStatusOnToOff()
182 sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testBatteryStatusOnToOff()
205 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testBatteryStatusOffToOn()
219 sensorTimer = bi.getUidStats().get(UID).getSensorStats().get(SENSOR_ID).getSensorTime(); in testBatteryStatusOffToOn()
[all …]
DBatteryStatsBackgroundStatsTest.java185 long time = bi.getUidStats().get(UID).getWifiScanTime(curr, STATS_SINCE_CHARGED); in testWifiScan()
186 int count = bi.getUidStats().get(UID).getWifiScanCount(STATS_SINCE_CHARGED); in testWifiScan()
187 int bgCount = bi.getUidStats().get(UID).getWifiScanBackgroundCount(STATS_SINCE_CHARGED); in testWifiScan()
188 long actualTime = bi.getUidStats().get(UID).getWifiScanActualTime(curr); in testWifiScan()
189 long bgTime = bi.getUidStats().get(UID).getWifiScanBackgroundTime(curr); in testWifiScan()
255 BatteryStats.Timer timer = bi.getUidStats().get(UID).getBluetoothScanTimer(); in doTestAppBluetoothScanInternal()
256 BatteryStats.Timer bgTimer = bi.getUidStats().get(UID).getBluetoothScanBackgroundTimer(); in doTestAppBluetoothScanInternal()
257 BatteryStats.Timer badTimer = bi.getUidStats().get(UID).getBluetoothUnoptimizedScanTimer(); in doTestAppBluetoothScanInternal()
258 BatteryStats.Timer badBgTimer = bi.getUidStats().get(UID) in doTestAppBluetoothScanInternal()
317 bi.getUidStats().get(UID).getJobStats(); in testJob()
[all …]
DBatteryStatsCpuTimesTest.java233 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testUpdateClusterSpeedTimes()
276 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testReadKernelUidCpuTimesLocked()
310 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testReadKernelUidCpuTimesLocked()
350 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testReadKernelUidCpuTimesLocked_isolatedUid()
386 BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testReadKernelUidCpuTimesLocked_isolatedUid()
392 u = mBatteryStatsImpl.getUidStats().get(ownerUid); in testReadKernelUidCpuTimesLocked_isolatedUid()
442 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testReadKernelUidCpuTimesLocked_invalidUid()
450 mBatteryStatsImpl.getUidStats().get(invalidUid)); in testReadKernelUidCpuTimesLocked_invalidUid()
492 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testReadKernelUidCpuTimesLocked_withPartialTimers()
510 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(partialTimerUids[i]); in testReadKernelUidCpuTimesLocked_withPartialTimers()
[all …]
DBatteryStatsImplTest.java109 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testUpdateProcStateCpuTimes()
136 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testUpdateProcStateCpuTimes()
168 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testUpdateProcStateCpuTimes()
207 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testUpdateProcStateCpuTimes()
275 final BatteryStats.Uid u = mBatteryStatsImpl.getUidStats().get(testUids[i]); in testCopyFromAllUidsCpuTimes()
DBatteryStatsNoteTest.java68 bi.getUidStats().get(UID).getBluetoothScanResultCounter() in testNoteBluetoothScanResultLocked()
70 BatteryStats.Counter bgCntr = bi.getUidStats().get(UID).getBluetoothScanResultBgCounter(); in testNoteBluetoothScanResultLocked()
78 bi.getUidStats().get(UID).getBluetoothScanResultCounter() in testNoteBluetoothScanResultLocked()
81 bi.getUidStats().get(UID).getBluetoothScanResultBgCounter() in testNoteBluetoothScanResultLocked()
107 BatteryStats.Timer aggregTimer = bi.getUidStats().get(UID) in testNoteStartWakeLocked()
153 BatteryStats.Uid uid = bi.getUidStats().get(UID); in testNoteUidProcessStateLocked()
/frameworks/base/core/java/android/net/
DTrafficStats.java768 return getStatsService().getUidStats(uid, TYPE_TX_BYTES); in getUidTxBytes()
801 return getStatsService().getUidStats(uid, TYPE_RX_BYTES); in getUidRxBytes()
834 return getStatsService().getUidStats(uid, TYPE_TX_PACKETS); in getUidTxPackets()
867 return getStatsService().getUidStats(uid, TYPE_RX_PACKETS); in getUidRxPackets()
DINetworkStatsService.aidl84 long getUidStats(int uid, int type); in getUidStats() method
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java573 final SparseArray<? extends Uid> uidStats = mStats.getUidStats(); in processAppUsage()
DBatteryStatsImpl.java6473 @Override public SparseArray<? extends BatteryStats.Uid> getUidStats() { in getUidStats() method in BatteryStatsImpl
/frameworks/base/core/java/android/os/
DBatteryStats.java2771 public abstract SparseArray<? extends Uid> getUidStats(); in getUidStats() method in BatteryStats
3707 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpCheckinLocked()
4465 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpLocked()
6966 SparseArray<? extends Uid> uidStats = getUidStats(); in dumpLocked()
7156 SparseArray<? extends Uid> uidStats = getUidStats(); in dumpCheckinLocked()
7266 SparseArray<? extends Uid> uidStats = getUidStats(); in dumpProtoAppsLocked()
7955 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpProtoSystemLocked()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1674 final BatteryStats.Uid uid = mStats.getUidStats().get(requestUid); in getHealthStatsForUidLocked()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java961 public long getUidStats(int uid, int type) { in getUidStats() method
/frameworks/base/services/
Dart-profile9077 PLcom/android/server/net/NetworkStatsService;->getUidStats(II)J
/frameworks/base/config/
Dboot-image-profile.txt20958 HSPLcom/android/internal/os/BatteryStatsImpl;->getUidStats()Landroid/util/SparseArray;
Dhiddenapi-greylist-max-o.txt46652 Landroid/net/INetworkStatsService$Stub$Proxy;->getUidStats(II)J
46680 Landroid/net/INetworkStatsService;->getUidStats(II)J