Home
last modified time | relevance | path

Searched refs:frameTimelines (Results 1 – 4 of 4) sorted by relevance

/cts/tests/surfacecontrol/src/android/view/cts/util/
DFrameCallbackData.java49 FrameTimeline[] frameTimelines, int preferredFrameTimelineIndex) { in FrameCallbackData() argument
50 mFrameTimelines = frameTimelines; in FrameCallbackData()
/cts/tests/surfacecontrol/jni/
Dandroid_view_surfacecontrol_cts_ChoreographerNativeTest.cpp200 std::vector<VsyncCallback::FrameTime> frameTimelines = cb1.getTimeline(); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture() local
203 for (auto [i, lastValue] = std::tuple{0, cb1.frameTime}; i < frameTimelines.size(); i++) { in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
204 auto deadline = std::chrono::nanoseconds{frameTimelines[i].deadline}; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
219 … auto lastDeadline = std::chrono::nanoseconds{frameTimelines[frameTimelines.size() - 1].deadline}; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DChoreographerTest.java369 Set<Choreographer.FrameTimeline> frameTimelines = Set.of(frameData.getFrameTimelines()); in testPostVsyncCallbackFrameDataPreferredFrameTimelineValid()
371 frameTimelines.contains(frameData.getPreferredFrameTimeline())); in testPostVsyncCallbackFrameDataPreferredFrameTimelineValid()
DASurfaceControlTest.java1979 FrameTimeline[] frameTimelines = frameCallbackData.getFrameTimelines(); in verifySetFrameTimeline() local
1983 if (frameTimelines.length == 1) { in verifySetFrameTimeline()
1989 if (timelineIndex == frameTimelines.length - 1) { in verifySetFrameTimeline()
1995 FrameTimeline frameTimeline = frameTimelines[timelineIndex]; in verifySetFrameTimeline()
2030 + frameTimelines[frameCallbackData.getPreferredFrameTimelineIndex()] in verifySetFrameTimeline()