Home
last modified time | relevance | path

Searched refs:maxPower (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbConfiguration.java63 public UsbConfiguration(int id, @Nullable String name, int attributes, int maxPower) { in UsbConfiguration() argument
67 mMaxPower = maxPower; in UsbConfiguration()
174 int maxPower = in.readInt();
177 UsbConfiguration configuration = new UsbConfiguration(id, name, attributes, maxPower);
/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerStatsCollector.java237 double maxPower = Double.MIN_VALUE; in mapScalingStepsToDefaultBrackets() local
242 if (power > maxPower) { in mapScalingStepsToDefaultBrackets()
243 maxPower = power; in mapScalingStepsToDefaultBrackets()
252 final double logBracket = (Math.log(maxPower) - minLogPower) in mapScalingStepsToDefaultBrackets()