/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsSensorTest.java | 58 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 …]
|
D | BatteryStatsBackgroundStatsTest.java | 185 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 …]
|
D | BatteryStatsCpuTimesTest.java | 233 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 …]
|
D | BatteryStatsImplTest.java | 109 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()
|
D | BatteryStatsNoteTest.java | 68 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/ |
D | TrafficStats.java | 783 return getStatsService().getUidStats(uid, TYPE_TX_BYTES); in getUidTxBytes() 816 return getStatsService().getUidStats(uid, TYPE_RX_BYTES); in getUidRxBytes() 849 return getStatsService().getUidStats(uid, TYPE_TX_PACKETS); in getUidTxPackets() 882 return getStatsService().getUidStats(uid, TYPE_RX_PACKETS); in getUidRxPackets()
|
D | INetworkStatsService.aidl | 86 long getUidStats(int uid, int type); in getUidStats() method
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 573 final SparseArray<? extends Uid> uidStats = mStats.getUidStats(); in processAppUsage()
|
D | BatteryStatsImpl.java | 6486 @Override public SparseArray<? extends BatteryStats.Uid> getUidStats() { in getUidStats() method in BatteryStatsImpl
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 2823 public abstract SparseArray<? extends Uid> getUidStats(); in getUidStats() method in BatteryStats 3759 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpCheckinLocked() 4517 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpLocked() 7022 SparseArray<? extends Uid> uidStats = getUidStats(); in dumpLocked() 7212 SparseArray<? extends Uid> uidStats = getUidStats(); in dumpCheckinLocked() 7322 SparseArray<? extends Uid> uidStats = getUidStats(); in dumpProtoAppsLocked() 8011 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpProtoSystemLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 1667 final BatteryStats.Uid uid = mStats.getUidStats().get(requestUid); in getHealthStatsForUidLocked()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 1070 public long getUidStats(int uid, int type) {
|
/frameworks/base/services/ |
D | art-profile | 9077 PLcom/android/server/net/NetworkStatsService;->getUidStats(II)J
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 20957 HSPLcom/android/internal/os/BatteryStatsImpl;->getUidStats()Landroid/util/SparseArray;
|
D | hiddenapi-greylist-max-o.txt | 43485 Landroid/net/INetworkStatsService$Stub$Proxy;->getUidStats(II)J 43511 Landroid/net/INetworkStatsService;->getUidStats(II)J
|