Home
last modified time | relevance | path

Searched refs:calculateDuration (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DMemoryPowerCalculator.java48 final long durationMs = calculateDuration(batteryStats, rawRealtimeUs, in calculate()
58 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration() method in MemoryPowerCalculator
62 usageDurationMs += mPowerEstimators[i].calculateDuration(timers.valueAt(i), in calculateDuration()
74 estimator.calculateDuration(timers.valueAt(i), rawRealtimeUs, statsType); in calculatePower()
DAmbientDisplayPowerCalculator.java57 final long durationMs = calculateDuration(batteryStats, rawRealtimeUs, in calculate()
68 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration() method in AmbientDisplayPowerCalculator
DUsageBasedPowerEstimator.java42 public long calculateDuration(BatteryStats.Timer timer, long rawRealtimeUs, int statsType) { in calculateDuration() method in UsageBasedPowerEstimator
DSensorPowerCalculator.java72 calculateDuration(u, rawRealtimeUs, BatteryStats.STATS_SINCE_CHARGED)) in calculateApp()
77 private long calculateDuration(BatteryStats.Uid u, long rawRealtimeUs, int statsType) { in calculateDuration() method in SensorPowerCalculator
DFlashlightPowerCalculator.java65 final long durationMs = mPowerEstimator.calculateDuration(u.getFlashlightTurnedOnTimer(), in calculateApp()
DAudioPowerCalculator.java78 final long durationMs = mPowerEstimator.calculateDuration(u.getAudioTurnedOnTimer(), in calculateApp()
DCameraPowerCalculator.java79 mPowerEstimator.calculateDuration(u.getCameraTurnedOnTimer(), rawRealtimeUs, in calculateApp()
DVideoPowerCalculator.java75 final long durationMs = mPowerEstimator.calculateDuration(u.getVideoTurnedOnTimer(), in calculateApp()
DScreenPowerCalculator.java133 totalPowerAndDuration.durationMs = calculateDuration(batteryStats, rawRealtimeUs, in calculateTotalDurationAndPower()
161 private long calculateDuration(BatteryStats batteryStats, long rawRealtimeUs, int statsType) { in calculateDuration() method in ScreenPowerCalculator
DMobileRadioPowerCalculator.java164 final long radioActiveDurationMs = calculateDuration(uid, in calculate()
317 private long calculateDuration(BatteryStats.Uid u, int statsType) { in calculateDuration() method in MobileRadioPowerCalculator
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java346 public static long calculateDuration(float velocity, float progressNeeded) { in calculateDuration() method in SwipeDetector