/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsSensorTest.java | 41 clocks.uptime = 100; in testSensorStartStop() 47 clocks.uptime = 200; in testSensorStartStop() 54 clocks.uptime = 400; 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() 115 curr = 1000 * (clocks.realtime = clocks.uptime = 100); in testCountingWhileOnBattery() 119 curr = 1000 * (clocks.realtime = clocks.uptime = 200); in testCountingWhileOnBattery() [all …]
|
D | BatteryStatsBackgroundStatsTest.java | 48 clocks.realtime = clocks.uptime = 10; in testBgTimeBase() 55 clocks.realtime = clocks.uptime = 100; in testBgTimeBase() 62 clocks.realtime = clocks.uptime = 201; in testBgTimeBase() 69 clocks.realtime = clocks.uptime = 303; in testBgTimeBase() 77 clocks.realtime = clocks.uptime = 409; in testBgTimeBase() 84 clocks.realtime = clocks.uptime = 417; in testBgTimeBase() 91 clocks.realtime = clocks.uptime = 530; in testBgTimeBase() 99 clocks.realtime = clocks.uptime = 690; in testBgTimeBase() 116 cur = (clocks.realtime = clocks.uptime = 100) * 1000; in testScreenOffBgTimeBase() 122 cur = (clocks.realtime = clocks.uptime = 200) * 1000; in testScreenOffBgTimeBase() [all …]
|
D | BatteryStatsDualTimerTest.java | 33 clocks.realtime = clocks.uptime = 100; in testResetDetach() 49 clocks.realtime = clocks.uptime = 200; in testResetDetach() 56 clocks.realtime = clocks.uptime = 300; in testResetDetach()
|
D | MockClocks.java | 21 public long uptime; field in MockClocks 30 return uptime; in uptimeMillis()
|
D | BatteryStatsNoteTest.java | 101 clocks.realtime = clocks.uptime = 100; in testNoteStartWakeLocked() 104 clocks.realtime = clocks.uptime = 220; in testNoteStartWakeLocked() 147 clocks.uptime = clocks.realtime; 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() 280 clocks.realtime = clocks.uptime = 400; in testNoteScreenStateTimersLocked() 287 clocks.realtime = clocks.uptime = 1000; in testNoteScreenStateTimersLocked() 305 clocks.realtime = clocks.uptime = 100; in testAlarmStartAndFinishLocked() 307 clocks.realtime = clocks.uptime = 5000; in testAlarmStartAndFinishLocked() [all …]
|
D | BatteryStatsTimeBaseTest.java | 41 public void populate(long uptime, long realtime, boolean running, long pastUptime, in populate() argument 44 mUptime = uptime; in populate() 55 public void verify(long uptime, long realtime, boolean running, long pastUptime, in verify() argument 58 Assert.assertEquals(uptime, mUptime); in verify()
|
D | BatteryStatsDurationTimerTest.java | 132 clocks.uptime = clocks.realtime = 24_200; in testReset() 161 clocks.uptime = clocks.realtime = 7_000; in testResetAndDetach() 181 clocks.uptime = 10; in testParceling()
|
D | BatteryStatsSamplingTimerTest.java | 143 clocks.uptime = 0; in testSampleTimerSummaryParceling() 161 clocks.uptime = 20; in testSampleTimerSummaryParceling()
|
D | BatteryStatsStopwatchTimerTest.java | 146 return clocks.realtime = clocks.uptime = time; in updateTime()
|
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/opt/telephony/src/java/com/android/internal/telephony/ |
D | ClientWakelockTracker.java | 40 long uptime = SystemClock.uptimeMillis(); in startTracking() local 41 client.startAttributingWakelock(requestId, token, numRequestsInQueue, uptime); in startTracking() 42 updateConcurrentRequests(numRequestsInQueue, uptime); in startTracking() 53 long uptime = SystemClock.uptimeMillis(); in stopTracking() local 54 client.stopAttributingWakelock(requestId, token, uptime); in stopTracking() 60 updateConcurrentRequests(numRequestsInQueue, uptime); in stopTracking() 65 long uptime = SystemClock.uptimeMillis(); in stopTrackingAll() local 68 client.stopAllPendingRequests(uptime); in stopTrackingAll() 76 long uptime = SystemClock.uptimeMillis(); in getClientRequestStats() local 81 client.updatePendingRequestWakelockTime(uptime); in getClientRequestStats()
|
D | ClientWakelockAccountant.java | 91 public synchronized long updatePendingRequestWakelockTime(long uptime) { in updatePendingRequestWakelockTime() argument 95 wlInfo.updateTime(uptime); in updatePendingRequestWakelockTime()
|
/frameworks/rs/script_api/ |
D | rs_time.spec | 90 summary: System uptime in milliseconds 92 Returns the current system clock (uptime) in milliseconds. 98 summary: System uptime in nanoseconds 100 Returns the current system clock (uptime) in nanoseconds.
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 371 final long uptime = mClocks.uptimeMillis(); 373 addHistoryRecordLocked(elapsedRealtime, uptime); 1198 public void init(long uptime, long realtime) { in init() argument 1203 mUptimeStart = uptime; in init() 1209 public void reset(long uptime, long realtime) { in reset() argument 1214 mUptimeStart = uptime; in reset() 1218 mUnpluggedUptime = getUptime(uptime); in reset() 1260 public boolean setRunning(boolean running, long uptime, long realtime) { in setRunning() argument 1264 mUptimeStart = uptime; in setRunning() 1266 long batteryUptime = mUnpluggedUptime = getUptime(uptime); in setRunning() [all …]
|
D | ProcessCpuTracker.java | 449 final long uptime = SystemClock.uptimeMillis(); in collectStats() 491 st.rel_uptime = uptime - st.base_uptime; in collectStats() 492 st.base_uptime = uptime; in collectStats()
|
/frameworks/rs/script_api/include/ |
D | rs_time.rsh | 105 * rsUptimeMillis: System uptime in milliseconds 107 * Returns the current system clock (uptime) in milliseconds. 115 * rsUptimeNanos: System uptime in nanoseconds 117 * Returns the current system clock (uptime) in nanoseconds.
|
/frameworks/base/core/proto/android/service/ |
D | procstats.proto | 57 // CPU uptime at start of report. 60 // CPU uptime at end of report. 119 // Millisecond uptime duration spent in this state 224 // Millisecond uptime total duration this association was around. 236 // Millisecond uptime duration spent in this state
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowChangeAnimationSpec.java | 173 long uptime = SystemClock.uptimeMillis(); in calculateStatusBarTransitionStartTime() local 174 return Math.max(uptime, uptime + ((long) (((float) mAnimation.getDuration()) * 0.99f)) in calculateStatusBarTransitionStartTime()
|
/frameworks/base/services/net/java/android/net/ |
D | NetworkStackClient.java | 344 final long uptime = SystemClock.elapsedRealtime(); in maybeCrashWithTerribleFailure() local 368 final boolean justBooted = uptime < minUptimeBeforeCrash; in maybeCrashWithTerribleFailure()
|
/frameworks/native/cmds/dumpstate/ |
D | Android.bp | 134 "uptime",
|
/frameworks/hardware/interfaces/stats/1.0/ |
D | types.hal | 188 * Represents the speech DSP stat of total uptime, downtime, crash count and recover count.
|
/frameworks/base/services/core/java/com/android/server/ |
D | EventLogTags.logtags | 148 3011 system_server_start (start_count|1),(uptime|2|3),(elapse_time|2|3)
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 11977 long uptime = SystemClock.uptimeMillis(); in dumpGraphicsHardwareUsage() local 11980 pw.println("Uptime: " + uptime + " Realtime: " + realtime); in dumpGraphicsHardwareUsage() 12198 private final void dumpApplicationMemoryUsageHeader(PrintWriter pw, long uptime, 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() 12364 long uptime = SystemClock.uptimeMillis(); in dumpApplicationMemoryUsage() local 12393 dumpApplicationMemoryUsageHeader(pw, uptime, realtime, in dumpApplicationMemoryUsage() 12430 … dumpApplicationMemoryUsageHeader(pw, uptime, realtime, opts.isCheckinRequest, opts.isCompact); in dumpApplicationMemoryUsage() 16079 long uptime = SystemClock.uptimeMillis(); in stopAssociationLocked() local 16080 ass.mTime += uptime - ass.mStartTime; in stopAssociationLocked() [all …]
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 2921 // Device uptime when activity started. 4483 // Millisecond uptime duration spent in this state 4572 // Millisecond uptime total duration this association was around. 4582 // Millisecond uptime duration spent in this state 4625 // CPU uptime at start of report. 4628 // CPU uptime at end of report. 5776 // The total Speech DSP uptime in milliseconds.
|
/frameworks/base/core/proto/android/os/ |
D | batterystats.proto | 91 // Total uptime duration measured with screen off or dozing.
|