Home
last modified time | relevance | path

Searched refs:batteryStatsUid (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/os/
DUidBatteryConsumer.java236 public Builder(BatteryConsumerData data, @NonNull BatteryStats.Uid batteryStatsUid, in Builder() argument
238 this(data, batteryStatsUid, batteryStatsUid.getUid(), minConsumedPowerThreshold); in Builder()
245 private Builder(BatteryConsumerData data, @Nullable BatteryStats.Uid batteryStatsUid, in Builder() argument
248 mBatteryStatsUid = batteryStatsUid; in Builder()
DBatteryUsageStats.java996 @NonNull BatteryStats.Uid batteryStatsUid) { in getOrCreateUidBatteryConsumerBuilder()
997 int uid = batteryStatsUid.getUid(); in getOrCreateUidBatteryConsumerBuilder()
1003 builder = new UidBatteryConsumer.Builder(data, batteryStatsUid, in getOrCreateUidBatteryConsumerBuilder()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryUsageStatsTest.java354 final BatteryStatsImpl.Uid batteryStatsUid = batteryStats.getUidStatsLocked(uid); in addUidBatteryConsumer() local
356 builder.getOrCreateUidBatteryConsumerBuilder(batteryStatsUid); in addUidBatteryConsumer()