Home
last modified time | relevance | path

Searched refs:VsyncCallback (Results 1 – 7 of 7) sorted by relevance

/cts/tests/surfacecontrol/jni/
DChoreographerTestUtils.h64 struct VsyncCallback : Callback { struct
65 VsyncCallback(const char* name, JNIEnv* env) : Callback(name), env(env) {} in VsyncCallback() argument
116 VsyncCallback* cb = static_cast<VsyncCallback*>(data); in vsyncCallback() argument
Dandroid_view_surfacecontrol_cts_ChoreographerNativeTest.cpp143 VsyncCallback cb1("cb1", env); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostVsyncCallbackWithoutDelayEventuallyRunsCallback()
144 VsyncCallback cb2("cb2", env); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostVsyncCallbackWithoutDelayEventuallyRunsCallback()
170 VsyncCallback cb1("cb1", env); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataVsyncIdValid()
178 for (const VsyncCallback::FrameTime& frameTime : cb1.getTimeline()) { in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataVsyncIdValid()
182 [vsyncId](const VsyncCallback::FrameTime& ft) { in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataVsyncIdValid()
192 VsyncCallback cb1("cb1", env); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
200 std::vector<VsyncCallback::FrameTime> frameTimelines = cb1.getTimeline(); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
232 VsyncCallback cb1("cb1", env); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataExpectedPresentTimeInFuture()
Dandroid_view_cts_ASurfaceControlTest.cpp831 VsyncCallback cb1("cb1", env); in SurfaceControlTest_getFrameTimelines()
856 VsyncCallback::FrameTime frameTimeline = cb1.getTimeline()[i]; in SurfaceControlTest_getFrameTimelines()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DChoreographerTest.java305 private class BasicVsyncCallback implements Choreographer.VsyncCallback {
345 final Choreographer.VsyncCallback removedCallback = mock( in testPostVsyncCallbackWithoutDelay()
346 Choreographer.VsyncCallback.class); in testPostVsyncCallbackWithoutDelay()
563 private class BadVsyncCallback implements Choreographer.VsyncCallback {
DSurfaceControlTest.java1602 Choreographer.VsyncCallback vsyncCallback = new Choreographer.VsyncCallback() { in testSurfaceTransaction_setFrameTimeline_preferredIndex()
1653 Choreographer.VsyncCallback vsyncCallback = new Choreographer.VsyncCallback() { in testSurfaceTransaction_setFrameTimeline_nonPreferredIndex()
/cts/tests/tests/view/src/android/view/cts/
DSurfaceOOMTestActivity.java48 Choreographer.VsyncCallback {
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt51858 method public void postVsyncCallback(@NonNull android.view.Choreographer.VsyncCallback);
51860 method public void removeVsyncCallback(@Nullable android.view.Choreographer.VsyncCallback);
51879 public static interface Choreographer.VsyncCallback {