Home
last modified time | relevance | path

Searched defs:clocks (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsNoteTest.java91 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testNoteStartWakeLocked() local
122 final MockClocks clocks = new MockClocks(); in testNoteUidProcessStateLocked() local
207 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testUpdateTimeBasesLocked() local
231 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testNoteScreenStateLocked() local
260 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testNoteScreenStateTimersLocked() local
298 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testAlarmStartAndFinishLocked() local
335 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testAlarmStartAndFinishLocked_workSource() local
379 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testNoteWakupAlarmLocked() local
397 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testNoteWakupAlarmLocked_workSource_uid() local
430 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testNoteWakupAlarmLocked_workSource_workChain() local
[all …]
DBatteryStatsSensorTest.java35 final MockClocks clocks = new MockClocks(); in testSensorStartStop() local
72 final MockClocks clocks = new MockClocks(); in testCountingWhileOffBattery() local
108 final MockClocks clocks = new MockClocks(); in testCountingWhileOnBattery() local
143 final MockClocks clocks = new MockClocks(); in testBatteryStatusOnToOff() local
189 final MockClocks clocks = new MockClocks(); in testBatteryStatusOffToOn() local
241 final MockClocks clocks = new MockClocks(); in testPooledBackgroundUsage() local
378 final MockClocks clocks = new MockClocks(); in testSensorReset() local
422 final MockClocks clocks = new MockClocks(); in testSensorResetTimes() local
DBatteryStatsTimerTest.java43 TestTimer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { in TestTimer()
47 TestTimer(Clocks clocks, int type, TimeBase timeBase) { in TestTimer()
140 MockClocks clocks = new MockClocks(); in testRunning() local
165 MockClocks clocks = new MockClocks(); in testParceling() local
222 MockClocks clocks = new MockClocks(); in testResetNoDetach() local
257 MockClocks clocks = new MockClocks(); in testResetDetach() local
297 MockClocks clocks = new MockClocks(); in testSummaryParceling() local
357 MockClocks clocks = new MockClocks(); in testGetTotalTimeLocked() local
399 MockClocks clocks = new MockClocks(); in testGetCountLocked() local
435 MockClocks clocks = new MockClocks(); in testGetTimeSinceMarked() local
[all …]
DBatteryStatsSamplingTimerTest.java30 final MockClocks clocks = new MockClocks(); in testSettingStalePreservesData() local
57 final MockClocks clocks = new MockClocks(); in testEndSampleAndContinueWhenTimeOrCountDecreases() local
100 final MockClocks clocks = new MockClocks(); in testFirstUpdateIsAbsorbed() local
139 final MockClocks clocks = new MockClocks(); in testSampleTimerSummaryParceling() local
DBatteryStatsBackgroundStatsTest.java39 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testBgTimeBase() local
107 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testScreenOffBgTimeBase() local
155 final MockClocks clocks = new MockClocks(); in testWifiScan() local
208 final MockClocks clocks = new MockClocks(); in doTestAppBluetoothScanInternal() local
277 final MockClocks clocks = new MockClocks(); in testJob() local
338 final MockClocks clocks = new MockClocks(); in testSyncs() local
DBatteryStatsStopwatchTimerTest.java32 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testCount() local
143 private static long updateTime(MockClocks clocks, long time) { in updateTime()
DBatteryStatsCounterTest.java31 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testCounter() local
79 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testParceling() local
DBatteryStatsDurationTimerTest.java34 final MockClocks clocks = new MockClocks(); in testStartStop() local
107 final MockClocks clocks = new MockClocks(); in testParceling() local
DBatteryStatsDualTimerTest.java30 final MockClocks clocks = new MockClocks(); in testResetDetach() local
DBatteryStatsUidTest.java42 TestBsi(MockClocks clocks) { in TestBsi()
DMockBatteryStatsImpl.java32 public BatteryStatsImpl.Clocks clocks; field in MockBatteryStatsImpl
35 MockBatteryStatsImpl(Clocks clocks) { in MockBatteryStatsImpl()
/frameworks/base/core/java/android/os/
DBestClock.java38 private final Clock[] clocks; field in BestClock
40 public BestClock(ZoneId zone, Clock... clocks) { in BestClock()
/frameworks/rs/
DrsCppUtils.h72 static const clockid_t clocks[] = { in systemTime() local
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1048 public BatteryStatsImpl(Clocks clocks) { in BatteryStatsImpl()
1060 private void init(Clocks clocks) { in init()
1724 public Timer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { in Timer()
1742 public Timer(Clocks clocks, int type, TimeBase timeBase) { in Timer()
1941 public SamplingTimer(Clocks clocks, TimeBase timeBase, Parcel in) { in SamplingTimer()
1952 public SamplingTimer(Clocks clocks, TimeBase timeBase) { in SamplingTimer()
2095 BatchTimer(Clocks clocks, Uid uid, int type, TimeBase timeBase, Parcel in) { in BatchTimer()
2103 BatchTimer(Clocks clocks, Uid uid, int type, TimeBase timeBase) { in BatchTimer()
2243 public DurationTimer(Clocks clocks, Uid uid, int type, ArrayList<StopwatchTimer> timerPool, in DurationTimer()
2251 public DurationTimer(Clocks clocks, Uid uid, int type, ArrayList<StopwatchTimer> timerPool, in DurationTimer()
[all …]