Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DScreenPowerCalculator.java73 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
132 long rawRealtimeUs, int statsType, long consumptionUC) { in calculateTotalDurationAndPower()
148 BatteryStats.Uid u, long rawRealtimeUs) { in calculateAppUsingEnergyConsumption()
161 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration()
166 long rawRealtimeUs) { in calculateTotalPowerFromBrightness()
194 PowerAndDuration totalPowerAndDuration, long rawRealtimeUs) { in smearScreenBatteryDrain()
239 public long getForegroundActivityTotalTimeUs(BatteryStats.Uid uid, long rawRealtimeUs) { in getForegroundActivityTotalTimeUs()
DAmbientDisplayPowerCalculator.java54 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
68 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration()
73 BatteryStats batteryStats, long rawRealtimeUs, long consumptionUC) { in calculateTotalPower()
83 private double calculateEstimatedPower(BatteryStats batteryStats, long rawRealtimeUs) { in calculateEstimatedPower()
DSensorPowerCalculator.java48 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
68 long rawRealtimeUs) { in calculateApp()
77 private long calculateDuration(BatteryStats.Uid u, long rawRealtimeUs, int statsType) { in calculateDuration()
94 private double calculatePowerMah(BatteryStats.Uid u, long rawRealtimeUs, int statsType) { in calculatePowerMah()
DGnssPowerCalculator.java52 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
87 @BatteryConsumer.PowerModel int powerModel, long rawRealtimeUs, in calculateApp()
105 private long computeDuration(BatteryStats.Uid u, long rawRealtimeUs, int statsType) { in computeDuration()
120 private double getAverageGnssPower(BatteryStats stats, long rawRealtimeUs, int statsType) { in getAverageGnssPower()
DMemoryPowerCalculator.java47 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
58 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration()
68 private double calculatePower(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculatePower()
DWakelockPowerCalculator.java52 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
109 private void calculateApp(PowerAndDuration result, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
135 private void calculateRemaining(PowerAndDuration result, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
158 private long calculateWakeTimeMillis(BatteryStats batteryStats, long rawRealtimeUs, in calculateWakeTimeMillis()
DFlashlightPowerCalculator.java46 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
64 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp()
DAudioPowerCalculator.java55 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
77 BatteryStats.Uid u, long rawRealtimeUs) { in calculateApp()
DVideoPowerCalculator.java52 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
74 BatteryStats.Uid u, long rawRealtimeUs) { in calculateApp()
DIdlePowerCalculator.java54 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
70 private void calculatePowerAndDuration(BatteryStats batteryStats, long rawRealtimeUs, in calculatePowerAndDuration()
DCameraPowerCalculator.java48 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
75 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp()
DPowerCalculator.java54 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
72 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp()
DWifiPowerCalculator.java90 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
161 long rawRealtimeUs, int statsType, boolean hasWifiActivityReporting, in calculateApp()
260 @BatteryConsumer.PowerModel int powerModel, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
DUsageBasedPowerEstimator.java42 public long calculateDuration(BatteryStats.Timer timer, long rawRealtimeUs, int statsType) { in calculateDuration()
DUserPowerCalculator.java42 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
DBatteryChargeCalculator.java37 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
DPhonePowerCalculator.java44 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
DCustomEnergyConsumerPowerCalculator.java48 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
DSystemServicePowerCalculator.java67 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
DBluetoothPowerCalculator.java72 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
DCpuPowerCalculator.java104 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
DMobileRadioPowerCalculator.java127 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate()
DBatteryStatsImpl.java7592 final long rawRealtimeUs = SystemClock.elapsedRealtime() * 1000; in getGpsBatteryDrainMaMs() local
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DUserPowerCalculatorTest.java144 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp()
160 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp()
/frameworks/base/core/java/android/os/
DBatteryStats.java3869 long rawRealtimeUs, int which, String prefix, String type) { in printTimer()
4014 Timer timer, long rawRealtimeUs, int which) { in dumpTimer()
7978 final long rawRealtimeUs = rawRealtimeMs * 1000; in dumpProtoAppsLocked() local
8521 final long rawRealtimeUs = rawRealtimeMs * 1000; in dumpProtoSystemLocked() local