Home
last modified time | relevance | path

Searched defs:rawRealtimeUs (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/os/
DScreenPowerCalculator.java61 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()
DSensorPowerCalculator.java43 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()
DGnssPowerCalculator.java48 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()
DMemoryPowerCalculator.java28 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()
DCameraPowerCalculator.java41 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()
DFlashlightPowerCalculator.java39 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()
DWakelockPowerCalculator.java48 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()
DAmbientDisplayPowerCalculator.java45 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()
DIdlePowerCalculator.java51 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()
DPowerCalculator.java56 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()
DBatteryChargeCalculator.java34 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
79 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate()
DPhonePowerCalculator.java41 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
55 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate()
DAudioPowerCalculator.java48 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
70 BatteryStats.Uid u, long rawRealtimeUs) { in calculateApp()
DVideoPowerCalculator.java45 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
67 BatteryStats.Uid u, long rawRealtimeUs) { in calculateApp()
DUserPowerCalculator.java38 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
65 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate()
DCustomMeasuredPowerCalculator.java36 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
96 protected void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DWifiPowerCalculator.java79 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()
DMobileRadioPowerCalculator.java88 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()
DUsageBasedPowerEstimator.java42 public long calculateDuration(BatteryStats.Timer timer, long rawRealtimeUs, int statsType) { in calculateDuration()
DSystemServicePowerCalculator.java66 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
121 long rawRealtimeUs, long rawUptimeUs, int statsType, in calculate()
DMediaPowerCalculator.java36 protected void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DBluetoothPowerCalculator.java53 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
115 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate()
DCpuPowerCalculator.java82 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
121 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate()
DBatteryStatsHelper.java308 public void refreshStats(int statsType, SparseArray<UserHandle> asUsers, long rawRealtimeUs, in refreshStats()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DUserPowerCalculatorTest.java131 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp()
140 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp()

12