Home
last modified time | relevance | path

Searched refs:packageWithHighestDrain (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerCalculator.java60 public String packageWithHighestDrain; field in CpuPowerCalculator.Result
151 .setPackageWithHighestDrain(result.packageWithHighestDrain); in calculateApp()
247 String packageWithHighestDrain = null; in calculatePowerAndDuration() local
261 if (packageWithHighestDrain == null || packageWithHighestDrain.startsWith("*")) { in calculatePowerAndDuration()
263 packageWithHighestDrain = processName; in calculatePowerAndDuration()
266 packageWithHighestDrain = processName; in calculatePowerAndDuration()
283 result.packageWithHighestDrain = packageWithHighestDrain; in calculatePowerAndDuration()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerInfoHelper.java76 String packageWithHighestDrain = uidBatteryConsumer.getPackageWithHighestDrain(); in makeBatteryConsumerInfo() local
87 if (name.equals(packageWithHighestDrain)) { in makeBatteryConsumerInfo()
102 } else if (packageWithHighestDrain != null) { in makeBatteryConsumerInfo()
103 info.label = packageWithHighestDrain; in makeBatteryConsumerInfo()
/frameworks/base/core/java/android/os/
DUidBatteryConsumer.java175 final String packageWithHighestDrain = getPackageWithHighestDrain(); in writeToXml() local
176 if (!TextUtils.isEmpty(packageWithHighestDrain)) { in writeToXml()
178 packageWithHighestDrain); in writeToXml()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryUsageStatsTest.java347 MockBatteryStatsImpl batteryStats, int uid, String packageWithHighestDrain, in addUidBatteryConsumer() argument
358 .setPackageWithHighestDrain(packageWithHighestDrain) in addUidBatteryConsumer()
509 double consumedPower, String packageWithHighestDrain, int timeInProcessStateForeground, in assertUidBatteryConsumer() argument
521 packageWithHighestDrain); in assertUidBatteryConsumer()