Searched refs:packageWithHighestDrain (Results 1 – 4 of 4) sorted by relevance
60 public String packageWithHighestDrain; field in CpuPowerCalculator.Result151 .setPackageWithHighestDrain(result.packageWithHighestDrain); in calculateApp()247 String packageWithHighestDrain = null; in calculatePowerAndDuration() local261 if (packageWithHighestDrain == null || packageWithHighestDrain.startsWith("*")) { in calculatePowerAndDuration()263 packageWithHighestDrain = processName; in calculatePowerAndDuration()266 packageWithHighestDrain = processName; in calculatePowerAndDuration()283 result.packageWithHighestDrain = packageWithHighestDrain; in calculatePowerAndDuration()
76 String packageWithHighestDrain = uidBatteryConsumer.getPackageWithHighestDrain(); in makeBatteryConsumerInfo() local87 if (name.equals(packageWithHighestDrain)) { in makeBatteryConsumerInfo()102 } else if (packageWithHighestDrain != null) { in makeBatteryConsumerInfo()103 info.label = packageWithHighestDrain; in makeBatteryConsumerInfo()
175 final String packageWithHighestDrain = getPackageWithHighestDrain(); in writeToXml() local176 if (!TextUtils.isEmpty(packageWithHighestDrain)) { in writeToXml()178 packageWithHighestDrain); in writeToXml()
347 MockBatteryStatsImpl batteryStats, int uid, String packageWithHighestDrain, in addUidBatteryConsumer() argument358 .setPackageWithHighestDrain(packageWithHighestDrain) in addUidBatteryConsumer()509 double consumedPower, String packageWithHighestDrain, int timeInProcessStateForeground, in assertUidBatteryConsumer() argument521 packageWithHighestDrain); in assertUidBatteryConsumer()