Searched refs:uidBatteryConsumers (Results 1 – 4 of 4) sorted by relevance
81 = proto.uidBatteryConsumers; in testGetStatsProto()86 assertEquals(UID_0, proto.uidBatteryConsumers[0].uid); in testGetStatsProto()89 proto.uidBatteryConsumers[0], in testGetStatsProto()94 assertEquals(UID_1, proto.uidBatteryConsumers[1].uid); in testGetStatsProto()97 proto.uidBatteryConsumers[1], in testGetStatsProto()102 assertEquals(UID_2, proto.uidBatteryConsumers[2].uid); in testGetStatsProto()105 proto.uidBatteryConsumers[2], in testGetStatsProto()109 assertEquals(3, proto.uidBatteryConsumers.length); in testGetStatsProto()283 for (int i = 0; i < proto.uidBatteryConsumers.length; i++) { in testLargeAtomTruncated()284 if (proto.uidBatteryConsumers[i].uid == largeConsumerUid) { in testLargeAtomTruncated()[all …]
61 List<UidBatteryConsumer> uidBatteryConsumers = in testGetBatteryUsageStats() local64 for (int i = 0; i < uidBatteryConsumers.size(); i++) { in testGetBatteryUsageStats()65 UidBatteryConsumer uidBatteryConsumer = uidBatteryConsumers.get(i); in testGetBatteryUsageStats()
178 final List<UidBatteryConsumer> uidBatteryConsumers = in testAdd() local180 for (UidBatteryConsumer uidBatteryConsumer : uidBatteryConsumers) { in testAdd()340 final List<UidBatteryConsumer> uidBatteryConsumers = in assertBatteryUsageStats1() local342 assertThat(uidBatteryConsumers).hasSize(1); in assertBatteryUsageStats1()343 for (UidBatteryConsumer uidBatteryConsumer : uidBatteryConsumers) { in assertBatteryUsageStats1()
85 final List<UidBatteryConsumer> uidBatteryConsumers = in test_getBatteryUsageStats() local87 final UidBatteryConsumer uidBatteryConsumer = uidBatteryConsumers.get(0); in test_getBatteryUsageStats()