Home
last modified time | relevance | path

Searched refs:clocks (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsSamplingTimerTest.java30 final MockClocks clocks = new MockClocks(); in testSettingStalePreservesData() local
31 final BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, in testSettingStalePreservesData()
57 final MockClocks clocks = new MockClocks(); in testEndSampleAndContinueWhenTimeOrCountDecreases() local
59 final BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, in testEndSampleAndContinueWhenTimeOrCountDecreases()
100 final MockClocks clocks = new MockClocks(); in testFirstUpdateIsAbsorbed() local
103 BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, timeBase); in testFirstUpdateIsAbsorbed()
112 timer = new BatteryStatsImpl.SamplingTimer(clocks, timeBase); in testFirstUpdateIsAbsorbed()
139 final MockClocks clocks = new MockClocks(); in testSampleTimerSummaryParceling() local
140 clocks.realtime = 0; in testSampleTimerSummaryParceling()
141 clocks.uptime = 0; in testSampleTimerSummaryParceling()
[all …]
DBatteryStatsTimerTest.java43 TestTimer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { in TestTimer() argument
44 super(clocks, type, timeBase, in); in TestTimer()
47 TestTimer(Clocks clocks, int type, TimeBase timeBase) { in TestTimer() argument
48 super(clocks, type, timeBase); in TestTimer()
140 MockClocks clocks = new MockClocks(); in testRunning() local
142 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testRunning()
165 MockClocks clocks = new MockClocks(); in testParceling() local
168 TestTimer timer1 = new TestTimer(clocks, 0, timeBase); in testParceling()
187 TestTimer timer2 = new TestTimer(clocks, 0, timeBase, parcel); in testParceling()
222 MockClocks clocks = new MockClocks(); in testResetNoDetach() local
[all …]
DMockBatteryStatsImpl.java39 public BatteryStatsImpl.Clocks clocks; field in MockBatteryStatsImpl
43 this.clocks = mClocks; in MockBatteryStatsImpl()
DBatteryStatsUidTest.java42 TestBsi(MockClocks clocks) { in TestBsi() argument
43 super(clocks); in TestBsi()
/frameworks/native/cmds/flatland/
DREADME.txt20 Additionally, all relevant hardware clocks should be locked at a particular
22 memory bus clocks. Running flatland with dynamic clocking essentially
26 If running the benchmark with the clocks locked causes thermal issues, the -s
/frameworks/rs/
DrsCppUtils.h165 static const clockid_t clocks[] = { in systemTime() local
173 clock_gettime(clocks[clock], &t); in systemTime()
/frameworks/base/docs/html/ndk/guides/audio/
Dinput-latency.jd76 guarantee of the relative order of these callbacks or the synchronization of the audio clocks,
83 the audio and system clocks may derive from different crystals.</li>
92 <p>A consequence of potentially independent audio clocks is the need for asynchronous sample rate
Dopensl-prog-notes.jd420 the audio clocks, even when both sides use the same sample rate. Your application
426 One consequence of potentially independent audio clocks is the need for asynchronous sample rate
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java592 public BatteryStatsImpl(Clocks clocks) { in BatteryStatsImpl() argument
593 init(clocks); in BatteryStatsImpl()
603 private void init(Clocks clocks) { in init() argument
604 mClocks = clocks; in init()
1071 public Timer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { in Timer() argument
1072 mClocks = clocks; in Timer()
1089 public Timer(Clocks clocks, int type, TimeBase timeBase) { in Timer() argument
1090 mClocks = clocks; in Timer()
1288 public SamplingTimer(Clocks clocks, TimeBase timeBase, Parcel in) { in SamplingTimer() argument
1289 super(clocks, 0, timeBase, in); in SamplingTimer()
[all …]
/frameworks/base/docs/html/about/versions/
Dandroid-2.0.jd313 …ed. This allows applications to more cleanly implement things like alarm clocks that should wake t…