Searched refs:getUidBatteryConsumers (Results 1 – 15 of 15) sorted by relevance
90 final List<android.os.UidBatteryConsumer> uidConsumers = bus.getUidBatteryConsumers(); in testGetStatsProto()98 assertEquals(UID_0, bus.getUidBatteryConsumers().get(0).getUid()); in testGetStatsProto()101 bus.getUidBatteryConsumers().get(0), in testGetStatsProto()106 assertEquals(UID_1, bus.getUidBatteryConsumers().get(1).getUid()); in testGetStatsProto()109 bus.getUidBatteryConsumers().get(1), in testGetStatsProto()114 assertEquals(UID_2, bus.getUidBatteryConsumers().get(2).getUid()); in testGetStatsProto()117 bus.getUidBatteryConsumers().get(2), in testGetStatsProto()
75 batteryUsageStats.getUidBatteryConsumers(); in testGetBatteryUsageStats()127 assertThat(batteryUsageStats.getUidBatteryConsumers()).hasSize(1000); in testBatteryUsageStatsTransferOverBinder()129 batteryUsageStats.getUidBatteryConsumers().get(0); in testBatteryUsageStatsTransferOverBinder()
59 for (UidBatteryConsumer ubc : stats.getUidBatteryConsumers()) { in testBatteryUsageStatsDataConsistency()
133 assertThat(inBatteryUsageStats.getUidBatteryConsumers()).hasSize(uidCount); in testParcelability_largeNumberOfUids()135 inBatteryUsageStats.getUidBatteryConsumers().stream().collect( in testParcelability_largeNumberOfUids()199 sum.getUidBatteryConsumers(); in testAdd()454 batteryUsageStats.getUidBatteryConsumers(); in assertBatteryUsageStats1()
193 UidBatteryConsumer uidScope = actual.getUidBatteryConsumers().stream() in combinedProcessStates()292 List<UidBatteryConsumer> uidScopes = bus.getUidBatteryConsumers(); in assertUidPowerEstimate()
429 for (UidBatteryConsumer ubc : mBatteryUsageStats.getUidBatteryConsumers()) {
54 for (UidBatteryConsumer uidBatteryConsumer : batteryUsageStats.getUidBatteryConsumers()) { in PowerMetrics()
52 batteryUsageStats.getUidBatteryConsumers(); in makeBatteryConsumerInfo()
288 for (UidBatteryConsumer consumer : batteryUsageStats.getUidBatteryConsumers()) { in getRequestedBatteryConsumer()347 for (BatteryConsumer consumer : batteryUsageStats.getUidBatteryConsumers()) { in computeTotalDuration()
161 for (UidBatteryConsumer consumer : batteryUsageStats.getUidBatteryConsumers()) { in loadInBackground()
296 public List<UidBatteryConsumer> getUidBatteryConsumers() { in getUidBatteryConsumers() method in BatteryUsageStats497 final List<UidBatteryConsumer> consumers = getUidBatteryConsumers(); in writeUidBatteryConsumersProto()638 dumpSortedBatteryConsumers(pw, prefix, getUidBatteryConsumers()); in dump()1097 for (UidBatteryConsumer consumer : stats.getUidBatteryConsumers()) { in add()
4722 final List<UidBatteryConsumer> uidBatteryConsumers = stats.getUidBatteryConsumers(); in dumpCheckinLocked()5907 getUidMobileRadioStats(stats.getUidBatteryConsumers()); in dumpLocked()7996 final List<UidBatteryConsumer> consumers = stats.getUidBatteryConsumers(); in dumpProtoAppsLocked()8938 final List<UidBatteryConsumer> uidBatteryConsumers = stats.getUidBatteryConsumers(); in ProportionalAttributionCalculator()
277 for (UidBatteryConsumer ubc : stats.getUidBatteryConsumers()) { in verify()
704 final List<UidBatteryConsumer> uidConsumers = stats.getUidBatteryConsumers(); in updateBatteryUsageStatsOnceInternal()
2672 doReturn(consumers).when(stats).getUidBatteryConsumers();