Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsNoteTest.java90 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testNoteStartWakeLocked() local
121 final MockClocks clocks = new MockClocks(); in testNoteUidProcessStateLocked() local
206 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testUpdateTimeBasesLocked() local
230 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testNoteScreenStateLocked() local
259 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testNoteScreenStateTimersLocked() local
297 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testAlarmStartAndFinishLocked() local
334 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testAlarmStartAndFinishLocked_workSource() local
378 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testNoteWakupAlarmLocked() local
396 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testNoteWakupAlarmLocked_workSource_uid() local
429 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testNoteWakupAlarmLocked_workSource_workChain() local
[all …]
DBatteryStatsTimerTest.java44 TestTimer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { in TestTimer()
48 TestTimer(Clocks clocks, int type, TimeBase timeBase) { in TestTimer()
93 MockClocks clocks = new MockClocks(); in testRunning() local
114 MockClocks clocks = new MockClocks(); in testParceling() local
159 MockClocks clocks = new MockClocks(); in testResetNoDetach() local
182 MockClocks clocks = new MockClocks(); in testResetDetach() local
210 MockClocks clocks = new MockClocks(); in testSummaryParceling() local
252 MockClocks clocks = new MockClocks(); in testGetTotalTimeLocked() local
277 MockClocks clocks = new MockClocks(); in testGetCountLocked() local
298 MockClocks clocks = new MockClocks(); in testGetTimeSinceMarked() local
[all …]
DBatteryStatsSensorTest.java37 final MockClocks clocks = new MockClocks(); in testSensorStartStop() local
74 final MockClocks clocks = new MockClocks(); in testCountingWhileOffBattery() local
110 final MockClocks clocks = new MockClocks(); in testCountingWhileOnBattery() local
145 final MockClocks clocks = new MockClocks(); in testBatteryStatusOnToOff() local
191 final MockClocks clocks = new MockClocks(); in testBatteryStatusOffToOn() local
243 final MockClocks clocks = new MockClocks(); in testPooledBackgroundUsage() local
380 final MockClocks clocks = new MockClocks(); in testSensorReset() local
424 final MockClocks clocks = new MockClocks(); in testSensorResetTimes() local
DBatteryStatsSamplingTimerTest.java32 final MockClocks clocks = new MockClocks(); in testSettingStalePreservesData() local
59 final MockClocks clocks = new MockClocks(); in testEndSampleAndContinueWhenTimeOrCountDecreases() local
102 final MockClocks clocks = new MockClocks(); in testFirstUpdateIsAbsorbed() local
141 final MockClocks clocks = new MockClocks(); in testSampleTimerSummaryParceling() local
DBatteryStatsDurationTimerTest.java36 final MockClocks clocks = new MockClocks(); in testStartStop() local
108 final MockClocks clocks = new MockClocks(); in testReset() local
144 final MockClocks clocks = new MockClocks(); in testResetAndDetach() local
171 final MockClocks clocks = new MockClocks(); in testParceling() local
DBatteryStatsBackgroundStatsTest.java41 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testBgTimeBase() local
109 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testScreenOffBgTimeBase() local
157 final MockClocks clocks = new MockClocks(); in testWifiScan() local
210 final MockClocks clocks = new MockClocks(); in doTestAppBluetoothScanInternal() local
279 final MockClocks clocks = new MockClocks(); in testJob() local
340 final MockClocks clocks = new MockClocks(); in testSyncs() local
DBatteryStatsStopwatchTimerTest.java34 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testCount() local
145 private static long updateTime(MockClocks clocks, long time) { in updateTime()
DBatteryStatsCounterTest.java33 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testCounter() local
73 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms in testParceling() local
DBatteryStatsDualTimerTest.java32 final MockClocks clocks = new MockClocks(); in testResetDetach() local
DBatteryStatsUidTest.java30 TestBsi(MockClocks clocks) { in TestBsi()
DMockBatteryStatsImpl.java37 public BatteryStatsImpl.Clocks clocks; field in MockBatteryStatsImpl
40 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/av/media/tests/benchmark/src/native/common/utils/
DTimers.cpp30 static const clockid_t clocks[] = {CLOCK_REALTIME, CLOCK_MONOTONIC, CLOCK_PROCESS_CPUTIME_ID, in systemTime() local
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockOptionsProvider.java102 List<ClockInfo> clocks = mClocksSupplier.get(); in query() local
142 List<ClockInfo> clocks = mClocksSupplier.get(); in openFile() local
DClockManager.java244 mListeners.forEach((listener, clocks) -> { in reload() argument
/frameworks/rs/
DrsCppUtils.h72 static const clockid_t clocks[] = { in systemTime() local
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1090 public BatteryStatsImpl(Clocks clocks) { in BatteryStatsImpl()
1104 private void init(Clocks clocks) { in init()
1673 public Timer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { in Timer()
1685 public Timer(Clocks clocks, int type, TimeBase timeBase) { in Timer()
1849 public SamplingTimer(Clocks clocks, TimeBase timeBase, Parcel in) { in SamplingTimer()
1860 public SamplingTimer(Clocks clocks, TimeBase timeBase) { in SamplingTimer()
2004 BatchTimer(Clocks clocks, Uid uid, int type, TimeBase timeBase, Parcel in) { in BatchTimer()
2012 BatchTimer(Clocks clocks, Uid uid, int type, TimeBase timeBase) { in BatchTimer()
2152 public DurationTimer(Clocks clocks, Uid uid, int type, ArrayList<StopwatchTimer> timerPool, in DurationTimer()
2160 public DurationTimer(Clocks clocks, Uid uid, int type, ArrayList<StopwatchTimer> timerPool, in DurationTimer()
[all …]