Choreographer: new libandroid for CTS.

Bug: 198191651
Test: make, atest ChoreographerNativeTest
Change-Id: I5fd1bbefc77b45ec953e06b0ed5da8521dc08732
diff --git a/native/android/choreographer.cpp b/native/android/choreographer.cpp
index 38641de..deee5b1 100644
--- a/native/android/choreographer.cpp
+++ b/native/android/choreographer.cpp
@@ -40,6 +40,11 @@
     return AChoreographer_routePostFrameCallbackDelayed64(choreographer, callback, data,
                                                           delayMillis);
 }
+void AChoreographer_postExtendedFrameCallback(AChoreographer* choreographer,
+                                              AChoreographer_extendedFrameCallback callback,
+                                              void* data) {
+    return AChoreographer_routePostExtendedFrameCallback(choreographer, callback, data);
+}
 void AChoreographer_registerRefreshRateCallback(AChoreographer* choreographer,
                                                 AChoreographer_refreshRateCallback callback,
                                                 void* data) {
@@ -50,3 +55,27 @@
                                                   void* data) {
     return AChoreographer_routeUnregisterRefreshRateCallback(choreographer, callback, data);
 }
+int64_t AChoreographerFrameCallbackData_getFrameTimeNanos(
+        const AChoreographerFrameCallbackData* data) {
+    return AChoreographerFrameCallbackData_routeGetFrameTimeNanos(data);
+}
+size_t AChoreographerFrameCallbackData_getFrameTimelinesLength(
+        const AChoreographerFrameCallbackData* data) {
+    return AChoreographerFrameCallbackData_routeGetFrameTimelinesLength(data);
+}
+size_t AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex(
+        const AChoreographerFrameCallbackData* data) {
+    return AChoreographerFrameCallbackData_routeGetPreferredFrameTimelineIndex(data);
+}
+int64_t AChoreographerFrameCallbackData_getFrameTimelineVsyncId(
+        const AChoreographerFrameCallbackData* data, size_t index) {
+    return AChoreographerFrameCallbackData_routeGetFrameTimelineVsyncId(data, index);
+}
+int64_t AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentTime(
+        const AChoreographerFrameCallbackData* data, size_t index) {
+    return AChoreographerFrameCallbackData_routeGetFrameTimelineExpectedPresentTime(data, index);
+}
+int64_t AChoreographerFrameCallbackData_getFrameTimelineDeadline(
+        const AChoreographerFrameCallbackData* data, size_t index) {
+    return AChoreographerFrameCallbackData_routeGetFrameTimelineDeadline(data, index);
+}
diff --git a/native/android/libandroid.map.txt b/native/android/libandroid.map.txt
index f33e118..29c1d8c 100644
--- a/native/android/libandroid.map.txt
+++ b/native/android/libandroid.map.txt
@@ -29,6 +29,13 @@
     AChoreographer_postFrameCallbackDelayed64; # introduced=29
     AChoreographer_registerRefreshRateCallback; # introduced=30
     AChoreographer_unregisterRefreshRateCallback; # introduced=30
+    AChoreographer_postExtendedFrameCallback;  # introduced=33
+    AChoreographerFrameCallbackData_getFrameTimeNanos;  # introduced=33
+    AChoreographerFrameCallbackData_getFrameTimelinesLength;  # introduced=33
+    AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex;  # introduced=33
+    AChoreographerFrameCallbackData_getFrameTimelineVsyncId;  # introduced=33
+    AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentTime;  # introduced=33
+    AChoreographerFrameCallbackData_getFrameTimelineDeadline;  # introduced=33
     AConfiguration_copy;
     AConfiguration_delete;
     AConfiguration_diff;