/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsSensorTest.java | 53 clocks.realtime = 100; in testSensorStartStop() 59 clocks.realtime = 200; in testSensorStartStop() 66 clocks.realtime = 400; in testSensorStartStop() 78 clocks.realtime * 1000, BatteryStats.STATS_SINCE_CHARGED)); in testSensorStartStop() 82 clocks.realtime * 1000, BatteryStats.STATS_SINCE_CHARGED)); in testSensorStartStop() 92 curr = 1000 * (clocks.realtime = clocks.uptime = 100); in testCountingWhileOffBattery() 97 curr = 1000 * (clocks.realtime = clocks.uptime = 200); in testCountingWhileOffBattery() 101 curr = 1000 * (clocks.realtime = clocks.uptime = 215); in testCountingWhileOffBattery() 109 curr = 1000 * (clocks.realtime = clocks.uptime = 550); in testCountingWhileOffBattery() 113 curr = 1000 * (clocks.realtime = clocks.uptime = 678); in testCountingWhileOffBattery() [all …]
|
D | BatteryStatsBackgroundStatsTest.java | 60 clocks.realtime = clocks.uptime = 10; in testBgTimeBase() 61 cur = clocks.realtime * 1000; in testBgTimeBase() 67 clocks.realtime = clocks.uptime = 100; in testBgTimeBase() 68 cur = clocks.realtime * 1000; in testBgTimeBase() 74 clocks.realtime = clocks.uptime = 201; in testBgTimeBase() 75 cur = clocks.realtime * 1000; in testBgTimeBase() 81 clocks.realtime = clocks.uptime = 303; in testBgTimeBase() 82 cur = clocks.realtime * 1000; in testBgTimeBase() 89 clocks.realtime = clocks.uptime = 409; in testBgTimeBase() 90 cur = clocks.realtime * 1000; in testBgTimeBase() [all …]
|
D | PowerStatsAggregatorTest.java | 88 mHistory.recordPowerStats(mClock.realtime, mClock.uptime, powerStats); in stateUpdates() 90 mHistory.recordBatteryState(mClock.realtime, mClock.uptime, 10, /* plugged */ true); in stateUpdates() 91 mHistory.recordStateStartEvent(mClock.realtime, mClock.uptime, in stateUpdates() 93 mHistory.recordProcessStateChange(mClock.realtime, mClock.uptime, TEST_UID, in stateUpdates() 100 mHistory.recordPowerStats(mClock.realtime, mClock.uptime, powerStats); in stateUpdates() 102 mHistory.recordBatteryState(mClock.realtime, mClock.uptime, 90, /* plugged */ false); in stateUpdates() 103 mHistory.recordStateStopEvent(mClock.realtime, mClock.uptime, in stateUpdates() 108 mHistory.recordProcessStateChange(mClock.realtime, mClock.uptime, TEST_UID, in stateUpdates() 114 mHistory.recordCurrentTimeChange(mClock.realtime, mClock.uptime, mClock.currentTime); in stateUpdates() 120 mHistory.recordPowerStats(mClock.realtime, mClock.uptime, powerStats); in stateUpdates() [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 | BatteryStatsHistoryTest.java | 99 mClock.realtime = 123; in setUp() 200 mClock.realtime = 123; in testStartNextFile() 208 mClock.realtime = 1000 * i; in testStartNextFile() 209 fileList.add(mClock.realtime + ".bh"); in testStartNextFile() 211 mHistory.startNextFile(mClock.realtime); in testStartNextFile() 214 verifyActiveFile(mHistory, mClock.realtime + ".bh"); in testStartNextFile() 218 mClock.realtime = 1000 * 32; in testStartNextFile() 219 mHistory.startNextFile(mClock.realtime); in testStartNextFile() 229 mClock.realtime = 1000 * 33; in testStartNextFile() 230 mHistory.startNextFile(mClock.realtime); in testStartNextFile() [all …]
|
D | BatteryStatsImplTest.java | 179 mMockClock.realtime = 1000; in testUpdateProcStateCpuTimes() 205 mMockClock.realtime += 1000; in testUpdateProcStateCpuTimes() 211 mMockClock.realtime, mMockClock.uptime); in testUpdateProcStateCpuTimes() 235 mMockClock.realtime += 1000; in testUpdateProcStateCpuTimes() 245 mMockClock.realtime, mMockClock.uptime); in testUpdateProcStateCpuTimes() 267 mMockClock.realtime * 1000); in testUpdateProcStateCpuTimes() 276 mMockClock.realtime += 1000; in testUpdateProcStateCpuTimes() 286 mMockClock.realtime, mMockClock.uptime); in testUpdateProcStateCpuTimes() 319 mMockClock.realtime += 1000; in testUpdateProcStateCpuTimes() 335 mMockClock.realtime, mMockClock.uptime); in testUpdateProcStateCpuTimes() [all …]
|
D | BatteryStatsNoteTest.java | 150 .noteStartWakeLocked(pid, name, WAKE_TYPE_PARTIAL, clocks.realtime); in testNoteStartWakeLocked() 152 clocks.realtime = clocks.uptime = 100; in testNoteStartWakeLocked() 155 clocks.realtime = clocks.uptime = 220; in testNoteStartWakeLocked() 156 bi.getUidStatsLocked(UID).noteStopWakeLocked(pid, name, WAKE_TYPE_PARTIAL, clocks.realtime); in testNoteStartWakeLocked() 191 clocks.realtime = clocks.uptime = 100; in testNoteStartWakeLocked_isolatedUid() 194 clocks.realtime = clocks.uptime = 220; in testNoteStartWakeLocked_isolatedUid() 233 clocks.realtime = clocks.uptime = 100; in testNoteStartWakeLocked_isolatedUidRace() 236 clocks.realtime = clocks.uptime = 150; in testNoteStartWakeLocked_isolatedUidRace() 239 clocks.realtime = clocks.uptime = 220; in testNoteStartWakeLocked_isolatedUidRace() 279 clocks.realtime = clocks.uptime = 100; in testNoteLongPartialWakelockStart_isolatedUid() [all …]
|
D | MockClock.java | 23 public long realtime; field in MockClock 31 return realtime; in elapsedRealtime()
|
D | BatteryStatsHistoryIteratorTest.java | 138 mMockClock.realtime = 1000; in prepareHistory() 166 mMockClock.realtime = 1_000_000; in tagsLongHistory() 170 100, /* plugType */ 0, 90, 72, 3700, 3_600_000, 4_000_000, 0, mMockClock.realtime, in tagsLongHistory() 179 mMockClock.realtime += 1_000_000; in tagsLongHistory() 182 mMockClock.realtime, mMockClock.uptime); in tagsLongHistory() 184 mMockClock.realtime += 500_000; in tagsLongHistory() 187 mMockClock.realtime, mMockClock.uptime); in tagsLongHistory()
|
D | BatteryStatsTimeBaseTest.java | 41 public void populate(long uptime, long realtime, boolean running, long pastUptime, in populate() argument 45 mRealtimeUs = realtime; in populate() 55 public void verify(long uptime, long realtime, boolean running, long pastUptime, in verify() argument 59 Assert.assertEquals(realtime, mRealtimeUs); 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 | MobileRadioPowerStatsCollectorTest.java | 202 mBatteryStats.notePhoneOnLocked(mClock.realtime, mClock.uptime); in triggering() 208 mBatteryStats.notePhoneOffLocked(mClock.realtime, mClock.uptime); in triggering() 215 DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH, 0, APP_UID1, mClock.realtime, in triggering() 220 0, APP_UID1, mClock.realtime, mClock.uptime); in triggering() 227 DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH, 0, APP_UID1, mClock.realtime, in triggering() 232 0, APP_UID1, mClock.realtime, mClock.uptime); in triggering()
|
D | WifiPowerStatsCollectorTest.java | 211 mBatteryStats.noteWifiOnLocked(mClock.realtime, mClock.uptime); in triggering() 217 mBatteryStats.noteWifiOffLocked(mClock.realtime, mClock.uptime); in triggering() 223 mBatteryStats.noteWifiRunningLocked(new WorkSource(APP_UID1), mClock.realtime, in triggering() 230 mBatteryStats.noteWifiStoppedLocked(new WorkSource(APP_UID1), mClock.realtime, in triggering() 238 "mywyfy", mClock.realtime); in triggering()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | MonotonicClockTest.java | 58 mClock.realtime = 234; in persistence() 64 mClock.realtime = 42; in persistence() 67 mClock.realtime = 2000; in persistence() 74 mClock.realtime = 234; in constructor() 88 mClock.realtime = 234; in corruptedFile()
|
D | MockClock.java | 21 public long realtime; field in MockClock 29 return realtime; in elapsedRealtime()
|
D | KernelCpuUidUserSysTimeReaderTest.java | 100 mMockClock.realtime = 1000; in testThrottler() 118 mMockClock.realtime += 600; in testThrottler() 137 mMockClock.realtime += 600; in testThrottler() 152 mMockClock.realtime += 600; in testThrottler()
|
/frameworks/av/media/libstagefright/renderfright/include/renderengine/ |
D | RenderEngine.h | 209 bool realtime; member 229 realtime(_realtime) {} in RenderEngineCreationArgs() 268 Builder& setRealtime(bool realtime) { in setRealtime() 269 this->realtime = realtime; in setRealtime() 276 realtime); in build() 289 bool realtime = true; member
|
/frameworks/base/core/proto/android/util/ |
D | quotatracker.proto | 34 // Current elapsed realtime. 40 // The time at which the alarm is set to go off, in the elapsed realtime timebase. 48 // The time at which the UPTC will be in quota, in the elapsed realtime timebase. 96 // The time the event occurred, in the elapsed realtime timebase. 104 // elapsed realtime timebase.
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | UserWakeupStoreTest.java | 155 final long realtime = SystemClock.elapsedRealtime(); in testWriteAndReadUsersFromFile() local 157 assertTrue(mUserWakeupStore.getWakeupTimeForUser(USER_ID_2) > realtime); in testWriteAndReadUsersFromFile() 162 assertTrue(mUserWakeupStore.getWakeupTimeForUser(USER_ID_1) - realtime in testWriteAndReadUsersFromFile() 164 assertTrue(mUserWakeupStore.getWakeupTimeForUser(USER_ID_3) - realtime in testWriteAndReadUsersFromFile() 166 assertTrue(mUserWakeupStore.getWakeupTimeForUser(USER_ID_2) - realtime in testWriteAndReadUsersFromFile()
|
/frameworks/av/media/libstagefright/renderfright/gl/ |
D | ImageManager.cpp | 35 void ImageManager::initThread(bool realtime) { in initThread() argument 38 if (realtime) { in initThread()
|
D | ImageManager.h | 45 void initThread(bool realtime);
|
/frameworks/base/core/proto/android/server/alarm/ |
D | alarmmanagerservice.proto | 185 // Start time in terms of elapsed realtime. 187 // End time in terms of elapsed realtime. 204 // in terms of elapsed realtime. 237 // The last time this filter when in flight, in terms of elapsed realtime. 244 // in terms of elapsed realtime. 260 // Time when this entry was created, in terms of elapsed realtime.
|
/frameworks/base/core/proto/android/service/ |
D | procstats.proto | 51 // Elapsed realtime at start of report. 54 // Elapsed realtime at end of report. 127 // Millisecond elapsed realtime duration spent in this state 221 // Millisecond elapsed realtime duration spent in this state 267 // Millisecond elapsed realtime duration spent in this state
|
/frameworks/base/core/proto/android/view/inputmethod/ |
D | inputmethodeditortrace.proto | 61 /* required: elapsed realtime in nanos since boot of when this entry was logged */ 111 /* required: elapsed realtime in nanos since boot of when this entry was logged */ 148 /* required: elapsed realtime in nanos since boot of when this entry was logged */
|