/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsBackgroundStatsTest.java | 45 clocks.realtime = clocks.uptime = 10; in testBgTimeBase() 52 clocks.realtime = clocks.uptime = 100; in testBgTimeBase() 59 clocks.realtime = clocks.uptime = 201; in testBgTimeBase() 66 clocks.realtime = clocks.uptime = 303; in testBgTimeBase() 74 clocks.realtime = clocks.uptime = 409; in testBgTimeBase() 81 clocks.realtime = clocks.uptime = 417; in testBgTimeBase() 88 clocks.realtime = clocks.uptime = 530; in testBgTimeBase() 96 clocks.realtime = clocks.uptime = 690; in testBgTimeBase() 113 cur = (clocks.realtime = clocks.uptime = 100) * 1000; in testScreenOffBgTimeBase() 119 cur = (clocks.realtime = clocks.uptime = 200) * 1000; in testScreenOffBgTimeBase() [all …]
|
D | BatteryStatsSensorTest.java | 38 clocks.uptime = 100; in testSensorStartStop() 44 clocks.uptime = 200; in testSensorStartStop() 51 clocks.uptime = 400; in testSensorStartStop() 76 curr = 1000 * (clocks.realtime = clocks.uptime = 100); in testCountingWhileOffBattery() 81 curr = 1000 * (clocks.realtime = clocks.uptime = 200); in testCountingWhileOffBattery() 85 curr = 1000 * (clocks.realtime = clocks.uptime = 215); in testCountingWhileOffBattery() 93 curr = 1000 * (clocks.realtime = clocks.uptime = 550); in testCountingWhileOffBattery() 97 curr = 1000 * (clocks.realtime = clocks.uptime = 678); in testCountingWhileOffBattery() 112 curr = 1000 * (clocks.realtime = clocks.uptime = 100); in testCountingWhileOnBattery() 116 curr = 1000 * (clocks.realtime = clocks.uptime = 200); in testCountingWhileOnBattery() [all …]
|
D | BatteryStatsDualTimerTest.java | 31 clocks.realtime = clocks.uptime = 100; in testResetDetach() 47 clocks.realtime = clocks.uptime = 200; in testResetDetach() 54 clocks.realtime = clocks.uptime = 300; in testResetDetach()
|
D | MockClocks.java | 21 public long uptime; field in MockClocks 30 return uptime; in uptimeMillis()
|
D | BatteryStatsTimeBaseTest.java | 40 public void populate(long uptime, long realtime, boolean running, long pastUptime, in populate() argument 43 mUptime = uptime; in populate() 54 public void verify(long uptime, long realtime, boolean running, long pastUptime, in verify() argument 57 Assert.assertEquals(uptime, mUptime); in verify()
|
D | BatteryStatsNoteTest.java | 77 clocks.realtime = clocks.uptime = 100; in testNoteStartWakeLocked() 80 clocks.realtime = clocks.uptime = 220; in testNoteStartWakeLocked()
|
D | BatteryStatsSamplingTimerTest.java | 141 clocks.uptime = 0; in testSampleTimerSummaryParceling() 159 clocks.uptime = 20; in testSampleTimerSummaryParceling()
|
D | BatteryStatsDurationTimerTest.java | 117 clocks.uptime = 10; in testParceling()
|
D | BatteryStatsStopwatchTimerTest.java | 144 return clocks.realtime = clocks.uptime = time; in updateTime()
|
/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 | 705 public void init(long uptime, long realtime) { in init() argument 710 mUptimeStart = uptime; in init() 716 public void reset(long uptime, long realtime) { in reset() argument 721 mUptimeStart = uptime; in reset() 725 mUnpluggedUptime = getUptime(uptime); in reset() 783 public boolean setRunning(boolean running, long uptime, long realtime) { in setRunning() argument 787 mUptimeStart = uptime; in setRunning() 789 long batteryUptime = mUnpluggedUptime = getUptime(uptime); in setRunning() 796 mPastUptime += uptime - mUptimeStart; in setRunning() 799 long batteryUptime = getUptime(uptime); in setRunning() [all …]
|
D | ProcessCpuTracker.java | 438 final long uptime = SystemClock.uptimeMillis(); in collectStats() 480 st.rel_uptime = uptime - st.base_uptime; in collectStats() 481 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/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 16723 long uptime = SystemClock.uptimeMillis(); 16726 pw.println("Uptime: " + uptime + " Realtime: " + realtime); 16912 private final void dumpApplicationMemoryUsageHeader(PrintWriter pw, long uptime, 16919 pw.print("time,"); pw.print(uptime); pw.print(","); pw.println(realtime); 16922 pw.println("Uptime: " + uptime + " Realtime: " + realtime); 17044 long uptime = SystemClock.uptimeMillis(); 17072 dumpApplicationMemoryUsageHeader(pw, uptime, realtime, isCheckinRequest, 17107 dumpApplicationMemoryUsageHeader(pw, uptime, realtime, isCheckinRequest, isCompact); 20670 long uptime = SystemClock.uptimeMillis(); 20671 ass.mTime += uptime - ass.mStartTime; [all …]
|
/frameworks/base/proto/src/ |
D | metrics_constants.proto | 1763 // Logged when we execute an app transition. This indicates the device uptime in seconds when
|