/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsSensorTest.java | 40 clocks.realtime = 100; in testSensorStartStop() 46 clocks.realtime = 200; in testSensorStartStop() 53 clocks.realtime = 400; in testSensorStartStop() 65 clocks.realtime * 1000, BatteryStats.STATS_SINCE_CHARGED)); in testSensorStartStop() 69 clocks.realtime * 1000, BatteryStats.STATS_SINCE_CHARGED)); in testSensorStartStop() 79 curr = 1000 * (clocks.realtime = clocks.uptime = 100); in testCountingWhileOffBattery() 84 curr = 1000 * (clocks.realtime = clocks.uptime = 200); in testCountingWhileOffBattery() 88 curr = 1000 * (clocks.realtime = clocks.uptime = 215); in testCountingWhileOffBattery() 96 curr = 1000 * (clocks.realtime = clocks.uptime = 550); in testCountingWhileOffBattery() 100 curr = 1000 * (clocks.realtime = clocks.uptime = 678); in testCountingWhileOffBattery() [all …]
|
D | BatteryStatsBackgroundStatsTest.java | 48 clocks.realtime = clocks.uptime = 10; in testBgTimeBase() 49 cur = clocks.realtime * 1000; in testBgTimeBase() 55 clocks.realtime = clocks.uptime = 100; in testBgTimeBase() 56 cur = clocks.realtime * 1000; in testBgTimeBase() 62 clocks.realtime = clocks.uptime = 201; in testBgTimeBase() 63 cur = clocks.realtime * 1000; in testBgTimeBase() 69 clocks.realtime = clocks.uptime = 303; in testBgTimeBase() 70 cur = clocks.realtime * 1000; in testBgTimeBase() 77 clocks.realtime = clocks.uptime = 409; in testBgTimeBase() 78 cur = clocks.realtime * 1000; in testBgTimeBase() [all …]
|
D | BatteryStatsStopwatchTimerTest.java | 42 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount() 83 timeBase.setRunning(true, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount() 124 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount() 130 timeBase.setRunning(true, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount() 140 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime); in testCount() 146 return clocks.realtime = clocks.uptime = time; in updateTime()
|
D | BatteryStatsDualTimerTest.java | 33 clocks.realtime = clocks.uptime = 100; in testResetDetach() 49 clocks.realtime = clocks.uptime = 200; in testResetDetach() 50 timer.startRunningLocked(clocks.realtime); in testResetDetach() 56 clocks.realtime = clocks.uptime = 300; in testResetDetach() 57 timer.stopRunningLocked(clocks.realtime); in testResetDetach()
|
D | BatteryStatsNoteTest.java | 99 .noteStartWakeLocked(pid, name, WAKE_TYPE_PARTIAL, clocks.realtime); in testNoteStartWakeLocked() 101 clocks.realtime = clocks.uptime = 100; in testNoteStartWakeLocked() 104 clocks.realtime = clocks.uptime = 220; in testNoteStartWakeLocked() 105 bi.getUidStatsLocked(UID).noteStopWakeLocked(pid, name, WAKE_TYPE_PARTIAL, clocks.realtime); in testNoteStartWakeLocked() 146 clocks.realtime += entry.getValue(); in testNoteUidProcessStateLocked() 147 clocks.uptime = clocks.realtime; in testNoteUidProcessStateLocked() 152 long elapsedTimeUs = clocks.realtime * 1000; in testNoteUidProcessStateLocked() 262 clocks.realtime = clocks.uptime = 100; in testNoteScreenStateTimersLocked() 266 clocks.realtime = clocks.uptime = 200; in testNoteScreenStateTimersLocked() 273 clocks.realtime = clocks.uptime = 310; in testNoteScreenStateTimersLocked() [all …]
|
D | MockClocks.java | 20 public long realtime; field in MockClocks 25 return realtime; in elapsedRealtime()
|
D | BatteryStatsTimeBaseTest.java | 41 public void populate(long uptime, long realtime, boolean running, long pastUptime, in populate() argument 45 mRealtime = realtime; in populate() 55 public void verify(long uptime, long realtime, boolean running, long pastUptime, in verify() argument 59 Assert.assertEquals(realtime, mRealtime); in verify()
|
D | BatteryStatsDurationTimerTest.java | 132 clocks.uptime = clocks.realtime = 24_200; in testReset() 161 clocks.uptime = clocks.realtime = 7_000; in testResetAndDetach() 180 clocks.realtime = 100; in testParceling()
|
D | BatteryStatsSamplingTimerTest.java | 142 clocks.realtime = 0; in testSampleTimerSummaryParceling() 160 clocks.realtime = 20; in testSampleTimerSummaryParceling()
|
D | BatteryStatsCpuTimesTest.java | 1262 mClocks.realtime = mClocks.uptime = 0; in testRemoveUidCpuTimes() 1270 mClocks.realtime = mClocks.uptime = 100_000; in testRemoveUidCpuTimes() 1274 mClocks.realtime = mClocks.uptime = 200_000; in testRemoveUidCpuTimes() 1280 mClocks.realtime = mClocks.uptime = 400_000; in testRemoveUidCpuTimes() 1292 mClocks.realtime = mClocks.uptime = 800_000; in testRemoveUidCpuTimes()
|
/frameworks/base/core/proto/android/service/ |
D | procstats.proto | 51 // Elapsed realtime at start of report. 54 // Elapsed realtime at end of report. 122 // Millisecond elapsed realtime duration spent in this state 192 // Millisecond elapsed realtime duration spent in this state 238 // Millisecond elapsed realtime duration spent in this state
|
/frameworks/base/core/proto/android/server/ |
D | alarmmanagerservice.proto | 182 // Start time in terms of elapsed realtime. 184 // End time in terms of elapsed realtime. 201 // in terms of elapsed realtime. 234 // The last time this filter when in flight, in terms of elapsed realtime. 241 // in terms of elapsed realtime. 257 // Time when this entry was created, in terms of elapsed realtime.
|
D | windowmanagertrace.proto | 45 /* required: elapsed realtime in nanos since boot of when this entry was logged */
|
D | jobscheduler.proto | 507 // The time at which the alarm should go off, in the elapsed realtime timebase. Only 518 // elapsed realtime timebase. 551 // in the elapsed realtime timebase. 558 // considered valid before elapsed realtime has reached 563 // invalid, in the elapsed realtime timebase. 570 // valid before elapsed realtime has reached session_count_expiration_time_elapsed.
|
D | powermanagerservice.proto | 382 // using elapsed realtime as the timebase.
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | layerstrace.proto | 44 /* required: elapsed realtime in nanos since boot of when this entry was logged */
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 1198 public void init(long uptime, long realtime) { in init() argument 1204 mRealtimeStart = realtime; in init() 1209 public void reset(long uptime, long realtime) { in reset() argument 1215 mRealtimeStart = realtime; in reset() 1220 mUnpluggedRealtime = getRealtime(realtime); in reset() 1260 public boolean setRunning(boolean running, long uptime, long realtime) { in setRunning() argument 1265 mRealtimeStart = realtime; in setRunning() 1267 long batteryRealtime = mUnpluggedRealtime = getRealtime(realtime); in setRunning() 1273 iter.next().onTimeStarted(realtime, batteryUptime, batteryRealtime); in setRunning() 1277 mPastRealtime += realtime - mRealtimeStart; in setRunning() [all …]
|
/frameworks/base/core/proto/android/os/ |
D | batterystats.proto | 80 // Total realtime duration (= SINCE_UNPLUGGED battery_realtime_millis.) 89 // Total realtime duration measured with screen off or dozing.
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 4486 // Millisecond elapsed realtime duration spent in this state 4547 // Millisecond elapsed realtime duration spent in this state 4584 // Millisecond elapsed realtime duration spent in this state 4619 // Elapsed realtime at start of report. 4622 // Elapsed realtime at end of report. 5980 // The elapsed realtime at the start of the process.
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 11978 long realtime = SystemClock.elapsedRealtime(); in dumpGraphicsHardwareUsage() local 11980 pw.println("Uptime: " + uptime + " Realtime: " + realtime); in dumpGraphicsHardwareUsage() 12199 long realtime, boolean isCheckinRequest, boolean isCompact) { in dumpApplicationMemoryUsageHeader() argument 12205 pw.print("time,"); pw.print(uptime); pw.print(","); pw.println(realtime); in dumpApplicationMemoryUsageHeader() 12208 pw.println("Uptime: " + uptime + " Realtime: " + realtime); in dumpApplicationMemoryUsageHeader() 12365 long realtime = SystemClock.elapsedRealtime(); in dumpApplicationMemoryUsage() local 12393 dumpApplicationMemoryUsageHeader(pw, uptime, realtime, in dumpApplicationMemoryUsage() 12430 … dumpApplicationMemoryUsageHeader(pw, uptime, realtime, opts.isCheckinRequest, opts.isCompact); in dumpApplicationMemoryUsage()
|