Searched refs:uidConsumers (Results 1 – 2 of 2) sorted by relevance
439 final SparseArray<ImmutableBatteryUsage> uidConsumers = mTmpUidBatteryUsageInWindow; in checkBatteryUsageStats() local441 copyUidBatteryUsage(mUidBatteryUsageInWindow, uidConsumers); in checkBatteryUsageStats()444 for (int i = 0, size = uidConsumers.size(); i < size; i++) { in checkBatteryUsageStats()445 final int uid = uidConsumers.keyAt(i); in checkBatteryUsageStats()446 final ImmutableBatteryUsage actualUsage = uidConsumers.valueAt(i); in checkBatteryUsageStats()704 final List<UidBatteryConsumer> uidConsumers = stats.getUidBatteryConsumers(); in updateBatteryUsageStatsOnceInternal() local705 if (uidConsumers != null) { in updateBatteryUsageStatsOnceInternal()711 for (UidBatteryConsumer uidConsumer : uidConsumers) { in updateBatteryUsageStatsOnceInternal()836 final SparseArray<ImmutableBatteryUsage> uidConsumers = mUidBatteryUsageInWindow; in dump() local848 if (uidConsumers.size() == 0) { in dump()[all …]
90 final List<android.os.UidBatteryConsumer> uidConsumers = bus.getUidBatteryConsumers(); in testGetStatsProto() local91 uidConsumers.sort((a, b) -> a.getUid() - b.getUid()); in testGetStatsProto()