Searched refs:getPackageWithHighestDrain (Results 1 – 4 of 4) sorted by relevance
91 public String getPackageWithHighestDrain() { in getPackageWithHighestDrain() method in UidBatteryConsumer175 final String packageWithHighestDrain = getPackageWithHighestDrain(); in writeToXml()349 mPackageWithHighestDrain = consumer.getPackageWithHighestDrain(); in add()351 consumer.getPackageWithHighestDrain())) { in add()
197 assertThat(uidConsumer1.getPackageWithHighestDrain()).isEqualTo("bar"); in testTimerBasedModel()206 assertThat(uidConsumer2.getPackageWithHighestDrain()).isNull(); in testTimerBasedModel()269 assertThat(uidConsumer1.getPackageWithHighestDrain()).isEqualTo("bar"); in testMeasuredEnergyBasedModel()278 assertThat(uidConsumer2.getPackageWithHighestDrain()).isNull(); in testMeasuredEnergyBasedModel()
520 assertThat(uidBatteryConsumer.getPackageWithHighestDrain()).isEqualTo( in assertUidBatteryConsumer()
76 String packageWithHighestDrain = uidBatteryConsumer.getPackageWithHighestDrain(); in makeBatteryConsumerInfo()