Home
last modified time | relevance | path

Searched refs:rawUptimeUs (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DIdlePowerCalculator.java51 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
52 calculatePowerAndDuration(batteryStats, rawRealtimeUs, rawUptimeUs, in calculate()
64 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
65 calculatePowerAndDuration(batteryStats, rawRealtimeUs, rawUptimeUs, statsType); in calculate()
82 long rawUptimeUs, int statsType) { in calculatePowerAndDuration() argument
84 long batteryUptimeUs = batteryStats.computeBatteryUptime(rawUptimeUs, statsType); in calculatePowerAndDuration()
DWakelockPowerCalculator.java48 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
76 calculateRemaining(result, batteryStats, rawRealtimeUs, rawUptimeUs, in calculate()
85 long wakeTimeMs = calculateWakeTimeMillis(batteryStats, rawRealtimeUs, rawUptimeUs); in calculate()
105 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
131 calculateRemaining(result, batteryStats, rawRealtimeUs, rawUptimeUs, statsType, in calculate()
166 long rawUptimeUs, int statsType, double osPowerMah, long osDurationMs, in calculateRemaining() argument
168 final long wakeTimeMillis = calculateWakeTimeMillis(stats, rawRealtimeUs, rawUptimeUs) in calculateRemaining()
188 long rawUptimeUs) { in calculateWakeTimeMillis() argument
189 final long batteryUptimeUs = batteryStats.getBatteryUptime(rawUptimeUs); in calculateWakeTimeMillis()
DPowerCalculator.java56 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
60 calculateApp(app, app.uidObj, rawRealtimeUs, rawUptimeUs, statsType); in calculate()
78 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
83 calculateApp(app, app.getBatteryStatsUid(), rawRealtimeUs, rawUptimeUs, query); in calculate()
99 long rawUptimeUs, int statsType) { in calculateApp() argument
111 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp() argument
DCameraPowerCalculator.java41 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
42 super.calculate(builder, batteryStats, rawRealtimeUs, rawUptimeUs, query); in calculate()
59 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp() argument
70 long rawUptimeUs, int statsType) { in calculateApp() argument
DFlashlightPowerCalculator.java39 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
40 super.calculate(builder, batteryStats, rawRealtimeUs, rawUptimeUs, query); in calculate()
57 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp() argument
67 long rawUptimeUs, int statsType) { in calculateApp() argument
DBatteryChargeCalculator.java34 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
79 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
DPhonePowerCalculator.java41 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
55 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
DAmbientDisplayPowerCalculator.java45 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
67 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
DUserPowerCalculator.java38 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
65 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
DMemoryPowerCalculator.java28 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
41 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
DCustomMeasuredPowerCalculator.java36 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
97 long rawUptimeUs, int statsType) { in calculateApp() argument
DSensorPowerCalculator.java43 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
72 long rawUptimeUs, int statsType) { in calculateApp() argument
DMediaPowerCalculator.java37 long rawUptimeUs, int statsType) { in calculateApp() argument
DSystemServicePowerCalculator.java66 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
121 long rawRealtimeUs, long rawUptimeUs, int statsType, in calculate() argument
DGnssPowerCalculator.java48 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
100 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
DAudioPowerCalculator.java48 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
DVideoPowerCalculator.java45 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
DBluetoothPowerCalculator.java53 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
115 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
DBatteryStatsHelper.java309 long rawUptimeUs) { in refreshStats() argument
363 mRawUptimeUs = rawUptimeUs; in refreshStats()
365 mBatteryUptimeUs = mStats.getBatteryUptime(rawUptimeUs); in refreshStats()
373 + (rawUptimeUs / 1000)); in refreshStats()
DCpuPowerCalculator.java82 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
121 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
DScreenPowerCalculator.java61 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
118 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
DMobileRadioPowerCalculator.java88 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
143 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
DWifiPowerCalculator.java79 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculate() argument
131 long rawRealtimeUs, long rawUptimeUs, int statsType, SparseArray<UserHandle> asUsers) { in calculate() argument
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DUserPowerCalculatorTest.java131 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp() argument
140 long rawRealtimeUs, long rawUptimeUs, BatteryUsageStatsQuery query) { in calculateApp() argument
/frameworks/base/core/java/android/os/
DBatteryStats.java7314 final long rawUptimeUs = SystemClock.uptimeMillis() * 1000; in dumpProtoAppsLocked() local
7317 final long batteryUptimeUs = getBatteryUptime(rawUptimeUs); in dumpProtoAppsLocked()
7864 final long rawUptimeUs = SystemClock.uptimeMillis() * 1000; in dumpProtoSystemLocked() local
7876 computeUptime(rawUptimeUs, which) / 1000); in dumpProtoSystemLocked()
7880 computeBatteryUptime(rawUptimeUs, which) / 1000); in dumpProtoSystemLocked()
7884 computeBatteryScreenOffUptime(rawUptimeUs, which) / 1000); in dumpProtoSystemLocked()