/frameworks/base/core/java/com/android/internal/os/ |
D | ScreenPowerCalculator.java | 61 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 118 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() 160 long rawRealtimeUs, int statsType, long consumptionUC) { in calculateTotalDurationAndPower() 176 BatteryStats.Uid u, long rawRealtimeUs) { in calculateAppUsingMeasuredEnergy() 189 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration() 193 private double calculateTotalPowerFromBrightness(BatteryStats batteryStats, long rawRealtimeUs, in calculateTotalPowerFromBrightness() 216 long rawRealtimeUs) { in smearScreenBatterySipper() 245 PowerAndDuration totalPowerAndDuration, long rawRealtimeUs) { in smearScreenBatteryDrain() 287 public long getForegroundActivityTotalTimeUs(BatteryStats.Uid uid, long rawRealtimeUs) { in getForegroundActivityTotalTimeUs()
|
D | SensorPowerCalculator.java | 43 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 61 long rawRealtimeUs) { in calculateApp() 71 protected void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 76 private long calculateDuration(BatteryStats.Uid u, long rawRealtimeUs, int statsType) { in calculateDuration() 93 private double calculatePowerMah(BatteryStats.Uid u, long rawRealtimeUs, int statsType) { in calculatePowerMah()
|
D | GnssPowerCalculator.java | 48 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 80 @BatteryConsumer.PowerModel int powerModel, long rawRealtimeUs, in calculateApp() 100 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() 115 @BatteryConsumer.PowerModel int powerModel, long rawRealtimeUs, in calculateApp() 133 private long computeDuration(BatteryStats.Uid u, long rawRealtimeUs, int statsType) { in computeDuration() 148 private double getAverageGnssPower(BatteryStats stats, long rawRealtimeUs, int statsType) { in getAverageGnssPower()
|
D | MemoryPowerCalculator.java | 28 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 41 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() 53 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration() 63 private double calculatePower(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculatePower()
|
D | CameraPowerCalculator.java | 41 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 59 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp() 69 protected void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | FlashlightPowerCalculator.java | 39 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 57 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp() 66 protected void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | WakelockPowerCalculator.java | 48 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 105 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() 139 private void calculateApp(PowerAndDuration result, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 165 private void calculateRemaining(PowerAndDuration result, BatteryStats stats, long rawRealtimeUs, in calculateRemaining() 187 private long calculateWakeTimeMillis(BatteryStats batteryStats, long rawRealtimeUs, in calculateWakeTimeMillis()
|
D | AmbientDisplayPowerCalculator.java | 45 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 67 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() 83 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration()
|
D | IdlePowerCalculator.java | 51 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 64 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() 81 private void calculatePowerAndDuration(BatteryStats batteryStats, long rawRealtimeUs, in calculatePowerAndDuration()
|
D | PowerCalculator.java | 56 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() 78 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 98 protected void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 111 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp()
|
D | BatteryChargeCalculator.java | 34 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 79 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate()
|
D | PhonePowerCalculator.java | 41 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 55 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate()
|
D | AudioPowerCalculator.java | 48 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 70 BatteryStats.Uid u, long rawRealtimeUs) { in calculateApp()
|
D | VideoPowerCalculator.java | 45 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 67 BatteryStats.Uid u, long rawRealtimeUs) { in calculateApp()
|
D | UserPowerCalculator.java | 38 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 65 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate()
|
D | CustomMeasuredPowerCalculator.java | 36 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 96 protected void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | WifiPowerCalculator.java | 79 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 131 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() 180 long rawRealtimeUs, int statsType, boolean hasWifiActivityReporting, in calculateApp() 243 @BatteryConsumer.PowerModel int powerModel, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
|
D | MobileRadioPowerCalculator.java | 88 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 143 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() 232 long rawRealtimeUs, long consumptionUC) { in calculateRemaining() 306 private double getMobilePowerPerPacket(BatteryStats stats, long rawRealtimeUs, int statsType) { in getMobilePowerPerPacket()
|
D | UsageBasedPowerEstimator.java | 42 public long calculateDuration(BatteryStats.Timer timer, long rawRealtimeUs, int statsType) { in calculateDuration()
|
D | SystemServicePowerCalculator.java | 66 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 121 long rawRealtimeUs, long rawUptimeUs, int statsType, in calculate()
|
D | MediaPowerCalculator.java | 36 protected void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | BluetoothPowerCalculator.java | 53 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 115 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate()
|
D | CpuPowerCalculator.java | 82 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() 121 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate()
|
D | BatteryStatsHelper.java | 308 public void refreshStats(int statsType, SparseArray<UserHandle> asUsers, long rawRealtimeUs, in refreshStats()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | UserPowerCalculatorTest.java | 131 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp() 140 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp()
|