OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DELAY_PERIOD
(Results
1 - 2
of
2
) sorted by null
/cts/tests/tests/view/src/android/view/cts/
ChoreographerTest.java
44
private static final long
DELAY_PERIOD
= NOMINAL_VSYNC_PERIOD * 5;
134
Choreographer.CALLBACK_ANIMATION, addedCallback, null,
DELAY_PERIOD
);
136
Choreographer.CALLBACK_ANIMATION, removedCallback, null,
DELAY_PERIOD
);
148
verify(addedCallback, timeout(
DELAY_PERIOD
* 3).times(1)).run();
153
Choreographer.CALLBACK_ANIMATION, addedCallback, null,
DELAY_PERIOD
);
155
Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN,
DELAY_PERIOD
);
158
verify(addedCallback, timeout(
DELAY_PERIOD
* 3).times(2)).run();
164
Choreographer.CALLBACK_ANIMATION, addedCallback, TOKEN,
DELAY_PERIOD
);
166
Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN,
DELAY_PERIOD
);
169
verify(addedCallback, timeout(
DELAY_PERIOD
* 3).times(3)).run()
[
all
...]
/cts/tests/tests/view/jni/
android_view_cts_ChoreographerNativeTest.cpp
42
static constexpr std::chrono::nanoseconds
DELAY_PERIOD
{NOMINAL_VSYNC_PERIOD * 5};
140
auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(
DELAY_PERIOD
).count();
146
std::this_thread::sleep_for(
DELAY_PERIOD
);
147
verifyCallback(env, cb1, 1, start,
DELAY_PERIOD
+ NOMINAL_VSYNC_PERIOD * 3);
196
auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(
DELAY_PERIOD
).count();
202
std::this_thread::sleep_for(
DELAY_PERIOD
);
204
sizeof(long) == sizeof(int64_t) ?
DELAY_PERIOD
+ NOMINAL_VSYNC_PERIOD * 3 : ZERO;
245
auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(
DELAY_PERIOD
).count();
253
std::this_thread::sleep_for(
DELAY_PERIOD
);
254
verifyCallback(env, cb64, 1, start,
DELAY_PERIOD
+ NOMINAL_VSYNC_PERIOD * 3)
[
all
...]
Completed in 171 milliseconds