OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NOMINAL_VSYNC_PERIOD
(Results
1 - 2
of
2
) sorted by null
/cts/tests/tests/view/jni/
android_view_cts_ChoreographerNativeTest.cpp
41
static constexpr std::chrono::nanoseconds
NOMINAL_VSYNC_PERIOD
{16ms};
42
static constexpr std::chrono::nanoseconds DELAY_PERIOD{
NOMINAL_VSYNC_PERIOD
* 5};
116
std::this_thread::sleep_for(
NOMINAL_VSYNC_PERIOD
* 3);
118
verifyCallback(env, cb1, 1, start,
NOMINAL_VSYNC_PERIOD
* 3);
119
verifyCallback(env, cb2, 1, start,
NOMINAL_VSYNC_PERIOD
* 3);
123
ASSERT(delta == ZERO || delta > ZERO && delta <
NOMINAL_VSYNC_PERIOD
* 2,
129
std::this_thread::sleep_for(
NOMINAL_VSYNC_PERIOD
* 3);
130
verifyCallback(env, cb1, 2, start,
NOMINAL_VSYNC_PERIOD
* 3);
143
std::this_thread::sleep_for(
NOMINAL_VSYNC_PERIOD
* 3);
147
verifyCallback(env, cb1, 1, start, DELAY_PERIOD +
NOMINAL_VSYNC_PERIOD
* 3)
[
all
...]
/cts/tests/tests/view/src/android/view/cts/
ChoreographerTest.java
43
private static final long
NOMINAL_VSYNC_PERIOD
= 16;
44
private static final long DELAY_PERIOD =
NOMINAL_VSYNC_PERIOD
* 5;
85
verify(addedCallback1, timeout(
NOMINAL_VSYNC_PERIOD
* 30).times(1)).run();
86
verify(addedCallback2, timeout(
NOMINAL_VSYNC_PERIOD
* 30).times(1)).run();
93
verify(addedCallback1, timeout(
NOMINAL_VSYNC_PERIOD
* 30).times(2)).run();
104
verify(addedCallback1, timeout(
NOMINAL_VSYNC_PERIOD
* 30).times(3)).run();
115
verify(addedCallback1, timeout(
NOMINAL_VSYNC_PERIOD
* 30).times(4)).run();
141
SystemClock.sleep(
NOMINAL_VSYNC_PERIOD
* 3);
209
verify(addedFrameCallback1, timeout(
NOMINAL_VSYNC_PERIOD
* 10).times(1))
215
NOMINAL_VSYNC_PERIOD
* 10 * NANOS_PER_MS)
[
all
...]
Completed in 1292 milliseconds