1LIBANDROID {
2  global:
3    AActivityManager_addUidImportanceListener; # systemapi # introduced=31
4    AActivityManager_removeUidImportanceListener; # systemapi # introduced=31
5    AActivityManager_isUidActive; # systemapi # introduced=31
6    AActivityManager_getUidImportance; # systemapi # introduced=31
7    AAssetDir_close;
8    AAssetDir_getNextFileName;
9    AAssetDir_rewind;
10    AAssetManager_fromJava;
11    AAssetManager_open;
12    AAssetManager_openDir;
13    AAsset_close;
14    AAsset_getBuffer;
15    AAsset_getLength;
16    AAsset_getLength64; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
17    AAsset_getRemainingLength;
18    AAsset_getRemainingLength64; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
19    AAsset_isAllocated;
20    AAsset_openFileDescriptor;
21    AAsset_openFileDescriptor64; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
22    AAsset_read;
23    AAsset_seek;
24    AAsset_seek64; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
25    AChoreographer_getInstance; # introduced=24
26    AChoreographer_postFrameCallback; # introduced=24
27    AChoreographer_postFrameCallbackDelayed; # introduced=24
28    AChoreographer_postFrameCallback64; # introduced=29
29    AChoreographer_postFrameCallbackDelayed64; # introduced=29
30    AChoreographer_registerRefreshRateCallback; # introduced=30
31    AChoreographer_unregisterRefreshRateCallback; # introduced=30
32    AChoreographer_postVsyncCallback;  # introduced=33
33    AChoreographerFrameCallbackData_getFrameTimeNanos;  # introduced=33
34    AChoreographerFrameCallbackData_getFrameTimelinesLength;  # introduced=33
35    AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex;  # introduced=33
36    AChoreographerFrameCallbackData_getFrameTimelineVsyncId;  # introduced=33
37    AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentationTimeNanos;  # introduced=33
38    AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos;  # introduced=33
39    AConfiguration_copy;
40    AConfiguration_delete;
41    AConfiguration_diff;
42    AConfiguration_fromAssetManager;
43    AConfiguration_getCountry;
44    AConfiguration_getDensity;
45    AConfiguration_getGrammaticalGender; # introduced=UpsideDownCake
46    AConfiguration_getKeyboard;
47    AConfiguration_getKeysHidden;
48    AConfiguration_getLanguage;
49    AConfiguration_getLayoutDirection; # introduced-arm=17 introduced-arm64=21 introduced-mips=17 introduced-mips64=21 introduced-x86=17 introduced-x86_64=21
50    AConfiguration_getMcc;
51    AConfiguration_getMnc;
52    AConfiguration_getNavHidden;
53    AConfiguration_getNavigation;
54    AConfiguration_getOrientation;
55    AConfiguration_getScreenHeightDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
56    AConfiguration_getScreenLong;
57    AConfiguration_getScreenRound; # introduced=30
58    AConfiguration_getScreenSize;
59    AConfiguration_getScreenWidthDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
60    AConfiguration_getSdkVersion;
61    AConfiguration_getSmallestScreenWidthDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
62    AConfiguration_getTouchscreen;
63    AConfiguration_getUiModeNight;
64    AConfiguration_getUiModeType;
65    AConfiguration_isBetterThan;
66    AConfiguration_match;
67    AConfiguration_new;
68    AConfiguration_setCountry;
69    AConfiguration_setDensity;
70    AConfiguration_setGrammaticalGender; # introduced=UpsideDownCake
71    AConfiguration_setKeyboard;
72    AConfiguration_setKeysHidden;
73    AConfiguration_setLanguage;
74    AConfiguration_setLayoutDirection; # introduced-arm=17 introduced-arm64=21 introduced-mips=17 introduced-mips64=21 introduced-x86=17 introduced-x86_64=21
75    AConfiguration_setMcc;
76    AConfiguration_setMnc;
77    AConfiguration_setNavHidden;
78    AConfiguration_setNavigation;
79    AConfiguration_setOrientation;
80    AConfiguration_setScreenHeightDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
81    AConfiguration_setScreenLong;
82    AConfiguration_setScreenSize;
83    AConfiguration_setScreenWidthDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
84    AConfiguration_setSdkVersion;
85    AConfiguration_setSmallestScreenWidthDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
86    AConfiguration_setTouchscreen;
87    AConfiguration_setUiModeNight;
88    AConfiguration_setUiModeType;
89    AInputEvent_getDeviceId;
90    AInputEvent_getSource;
91    AInputEvent_getType;
92    AInputEvent_release; # introduced=31
93    AInputQueue_attachLooper;
94    AInputQueue_detachLooper;
95    AInputQueue_finishEvent;
96    AInputQueue_fromJava; # introduced=Tiramisu
97    AInputQueue_getEvent;
98    AInputQueue_hasEvents;
99    AInputQueue_preDispatchEvent;
100    AKeyEvent_getAction;
101    AKeyEvent_getDownTime;
102    AKeyEvent_getEventTime;
103    AKeyEvent_getFlags;
104    AKeyEvent_getKeyCode;
105    AKeyEvent_getMetaState;
106    AKeyEvent_getRepeatCount;
107    AKeyEvent_getScanCode;
108    AKeyEvent_fromJava; # introduced=31
109    ALooper_acquire;
110    ALooper_addFd;
111    ALooper_forThread;
112    ALooper_pollAll;
113    ALooper_pollOnce;
114    ALooper_prepare;
115    ALooper_release;
116    ALooper_removeFd;
117    ALooper_wake;
118    AMotionEvent_getAction;
119    AMotionEvent_getActionButton; # introduced=Tiramisu
120    AMotionEvent_getAxisValue; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
121    AMotionEvent_getButtonState; # introduced-arm=14 introduced-arm64=21 introduced-mips=14 introduced-mips64=21 introduced-x86=14 introduced-x86_64=21
122    AMotionEvent_getClassification; # introduced=Tiramisu
123    AMotionEvent_getDownTime;
124    AMotionEvent_getEdgeFlags;
125    AMotionEvent_getEventTime;
126    AMotionEvent_getFlags;
127    AMotionEvent_getHistoricalAxisValue; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
128    AMotionEvent_getHistoricalEventTime;
129    AMotionEvent_getHistoricalOrientation;
130    AMotionEvent_getHistoricalPressure;
131    AMotionEvent_getHistoricalRawX;
132    AMotionEvent_getHistoricalRawY;
133    AMotionEvent_getHistoricalSize;
134    AMotionEvent_getHistoricalToolMajor;
135    AMotionEvent_getHistoricalToolMinor;
136    AMotionEvent_getHistoricalTouchMajor;
137    AMotionEvent_getHistoricalTouchMinor;
138    AMotionEvent_getHistoricalX;
139    AMotionEvent_getHistoricalY;
140    AMotionEvent_getHistorySize;
141    AMotionEvent_getMetaState;
142    AMotionEvent_getOrientation;
143    AMotionEvent_getPointerCount;
144    AMotionEvent_getPointerId;
145    AMotionEvent_getPressure;
146    AMotionEvent_getRawX;
147    AMotionEvent_getRawY;
148    AMotionEvent_getSize;
149    AMotionEvent_getToolMajor;
150    AMotionEvent_getToolMinor;
151    AMotionEvent_getToolType; # introduced-arm=14 introduced-arm64=21 introduced-mips=14 introduced-mips64=21 introduced-x86=14 introduced-x86_64=21
152    AMotionEvent_getTouchMajor;
153    AMotionEvent_getTouchMinor;
154    AMotionEvent_getX;
155    AMotionEvent_getXOffset;
156    AMotionEvent_getXPrecision;
157    AMotionEvent_getY;
158    AMotionEvent_getYOffset;
159    AMotionEvent_getYPrecision;
160    AMotionEvent_fromJava; # introduced=31
161    ANativeActivity_finish;
162    ANativeActivity_hideSoftInput;
163    ANativeActivity_setWindowFlags;
164    ANativeActivity_setWindowFormat;
165    ANativeActivity_showSoftInput;
166    AHardwareBuffer_acquire; # introduced=26
167    AHardwareBuffer_allocate; # introduced=26
168    AHardwareBuffer_describe; # introduced=26
169    AHardwareBuffer_fromHardwareBuffer; # introduced=26
170    AHardwareBuffer_getId; # introduced=31
171    AHardwareBuffer_getNativeHandle; # introduced=26
172    AHardwareBuffer_isSupported; # introduced=29
173    AHardwareBuffer_lock; # introduced=26
174    AHardwareBuffer_lockAndGetInfo; # introduced=29
175    AHardwareBuffer_lockPlanes; # introduced=29
176    AHardwareBuffer_recvHandleFromUnixSocket; # introduced=26
177    AHardwareBuffer_release; # introduced=26
178    AHardwareBuffer_sendHandleToUnixSocket; # introduced=26
179    AHardwareBuffer_toHardwareBuffer; # introduced=26
180    AHardwareBuffer_unlock; # introduced=26
181    ANativeWindow_acquire;
182    ANativeWindow_fromSurface;
183    ANativeWindow_toSurface; # introduced=26
184    ANativeWindow_getFormat;
185    ANativeWindow_getHeight;
186    ANativeWindow_getWidth;
187    ANativeWindow_lock;
188    ANativeWindow_release;
189    ANativeWindow_setBuffersGeometry;
190    ANativeWindow_unlockAndPost;
191    AObbInfo_delete;
192    AObbInfo_getFlags;
193    AObbInfo_getPackageName;
194    AObbInfo_getVersion;
195    AObbScanner_getObbInfo;
196    APermissionManager_checkPermission; # introduced=31
197    ASensorEventQueue_disableSensor;
198    ASensorEventQueue_enableSensor;
199    ASensorEventQueue_getEvents;
200    ASensorEventQueue_hasEvents;
201    ASensorEventQueue_registerSensor; # introduced=26
202    ASensorEventQueue_setEventRate;
203    ASensorEventQueue_requestAdditionalInfoEvents; # introduced=29
204    ASensorManager_configureDirectReport; # introduced=26
205    ASensorManager_createEventQueue;
206    ASensorManager_createHardwareBufferDirectChannel; # introduced=26
207    ASensorManager_createSharedMemoryDirectChannel; # introduced=26
208    ASensorManager_destroyDirectChannel; # introduced=26
209    ASensorManager_destroyEventQueue;
210    ASensorManager_getDefaultSensor;
211    ASensorManager_getDefaultSensorEx; # introduced=21
212    ASensorManager_getDynamicSensorList; # introduced=33
213    ASensorManager_getInstance;
214    ASensorManager_getInstanceForPackage; # introduced=26
215    ASensorManager_getSensorList;
216    ASensor_getFifoMaxEventCount; # introduced=21
217    ASensor_getFifoReservedEventCount; # introduced=21
218    ASensor_getHandle; # introduced=29
219    ASensor_getHighestDirectReportRateLevel; # introduced=26
220    ASensor_getMinDelay;
221    ASensor_getName;
222    ASensor_getReportingMode; # introduced=21
223    ASensor_getResolution;
224    ASensor_getStringType; # introduced=21
225    ASensor_getType;
226    ASensor_getVendor;
227    ASensor_isDirectChannelTypeSupported; # introduced=26
228    ASensor_isWakeUpSensor; # introduced=21
229    ASharedMemory_create; # introduced=26
230    ASharedMemory_getSize; # introduced=26
231    ASharedMemory_setProt; # introduced=26
232    ASharedMemory_dupFromJava; # introduced=27
233    AStorageManager_delete;
234    AStorageManager_getMountedObbPath;
235    AStorageManager_isObbMounted;
236    AStorageManager_mountObb;
237    AStorageManager_new;
238    AStorageManager_unmountObb;
239    ASurfaceControl_create; # introduced=29
240    ASurfaceControl_createFromWindow; # introduced=29
241    ASurfaceControl_acquire; # introduced=31
242    ASurfaceControl_release; # introduced=29
243    ASurfaceControl_fromJava; # introduced=34
244    ASurfaceTexture_acquireANativeWindow; # introduced=28
245    ASurfaceTexture_attachToGLContext; # introduced=28
246    ASurfaceTexture_detachFromGLContext; # introduced=28
247    ASurfaceTexture_fromSurfaceTexture; # introduced=28
248    ASurfaceTexture_getTimestamp; # introduced=28
249    ASurfaceTexture_getTransformMatrix; # introduced=28
250    ASurfaceTexture_release; # introduced=28
251    ASurfaceTexture_updateTexImage; # introduced=28
252    ASurfaceTransactionStats_getAcquireTime; # introduced=29
253    ASurfaceTransactionStats_getASurfaceControls; # introduced=29
254    ASurfaceTransactionStats_getLatchTime; # introduced=29
255    ASurfaceTransactionStats_getPresentFenceFd; # introduced=29
256    ASurfaceTransactionStats_getPreviousReleaseFenceFd; # introduced=29
257    ASurfaceTransactionStats_releaseASurfaceControls; # introduced=29
258    ASurfaceTransaction_apply; # introduced=29
259    ASurfaceTransaction_create; # introduced=29
260    ASurfaceTransaction_delete; # introduced=29
261    ASurfaceTransaction_fromJava; # introduced=34
262    ASurfaceTransaction_reparent; # introduced=29
263    ASurfaceTransaction_setBuffer; # introduced=29
264    ASurfaceTransaction_setBufferAlpha; # introduced=29
265    ASurfaceTransaction_setBufferDataSpace; # introduced=29
266    ASurfaceTransaction_setBufferTransparency; # introduced=29
267    ASurfaceTransaction_setColor; # introduced=29
268    ASurfaceTransaction_setDamageRegion; # introduced=29
269    ASurfaceTransaction_setDesiredPresentTime; # introduced=29
270    ASurfaceTransaction_setEnableBackPressure; # introduced=31
271    ASurfaceTransaction_setFrameRate; # introduced=30
272    ASurfaceTransaction_setFrameRateWithChangeStrategy; # introduced=31
273    ASurfaceTransaction_clearFrameRate; # introduced=34
274    ASurfaceTransaction_setFrameTimeline; # introduced=Tiramisu
275    ASurfaceTransaction_setGeometry; # introduced=29
276    ASurfaceTransaction_setHdrMetadata_cta861_3; # introduced=29
277    ASurfaceTransaction_setHdrMetadata_smpte2086; # introduced=29
278    ASurfaceTransaction_setExtendedRangeBrightness; # introduced=UpsideDownCake
279    ASurfaceTransaction_setOnComplete; # introduced=29
280    ASurfaceTransaction_setOnCommit; # introduced=31
281    ASurfaceTransaction_setPosition; # introduced=31
282    ASurfaceTransaction_setCrop; # introduced=31
283    ASurfaceTransaction_setBufferTransform; # introduced=31
284    ASurfaceTransaction_setScale; # introduced=31
285    ASurfaceTransaction_setVisibility; # introduced=29
286    ASurfaceTransaction_setZOrder; # introduced=29
287    ASystemFontIterator_open; # introduced=29
288    ASystemFontIterator_close; # introduced=29
289    ASystemFontIterator_next; # introduced=29
290    AFont_close; # introduced=29
291    AFont_getFontFilePath; # introduced=29
292    AFont_getWeight; # introduced=29
293    AFont_isItalic; # introduced=29
294    AFont_getLocale; # introduced=29
295    AFont_getCollectionIndex; # introduced=29
296    AFont_getAxisCount; # introduced=29
297    AFont_getAxisTag; # introduced=29
298    AFont_getAxisValue; # introduced=29
299    AFontMatcher_create; # introduced=29
300    AFontMatcher_destroy; # introduced=29
301    AFontMatcher_setStyle; # introduced=29
302    AFontMatcher_setLocales; # introduced=29
303    AFontMatcher_setFamilyVariant; # introduced=29
304    AFontMatcher_match; # introduced=29
305    ATrace_beginSection; # introduced=23
306    ATrace_endSection; # introduced=23
307    ATrace_isEnabled; # introduced=23
308    ATrace_beginAsyncSection; # introduced=29
309    ATrace_endAsyncSection; # introduced=29
310    ATrace_setCounter; # introduced=29
311    android_getaddrinfofornetwork; # introduced=23
312    android_getprocnetwork; # introduced=31
313    android_setprocnetwork; # introduced=23
314    android_getprocdns; # introduced=31
315    android_setprocdns; # introduced=31
316    android_setsocknetwork; # introduced=23
317    android_res_cancel; # introduced=29
318    android_res_nquery; # introduced=29
319    android_res_nresult; # introduced=29
320    android_res_nsend; # introduced=29
321    android_tag_socket_with_uid; # introduced=Tiramisu
322    android_tag_socket; # introduced=Tiramisu
323    android_untag_socket; # introduced=Tiramisu
324    AThermal_acquireManager; # introduced=30
325    AThermal_releaseManager; # introduced=30
326    AThermal_getCurrentThermalStatus; # introduced=30
327    AThermal_registerThermalStatusListener; # introduced=30
328    AThermal_unregisterThermalStatusListener; # introduced=30
329    AThermal_getThermalHeadroom; # introduced=31
330    APerformanceHint_getManager; # introduced=Tiramisu
331    APerformanceHint_createSession; # introduced=Tiramisu
332    APerformanceHint_getPreferredUpdateRateNanos; # introduced=Tiramisu
333    APerformanceHint_updateTargetWorkDuration; # introduced=Tiramisu
334    APerformanceHint_reportActualWorkDuration; # introduced=Tiramisu
335    APerformanceHint_closeSession; # introduced=Tiramisu
336    APerformanceHint_setThreads; # introduced=UpsideDownCake
337  local:
338    *;
339};
340
341LIBANDROID_PLATFORM {
342  global:
343    APerformanceHint_setIHintManagerForTesting;
344    APerformanceHint_sendHint;
345    APerformanceHint_getThreadIds;
346    extern "C++" {
347        ASurfaceControl_registerSurfaceStatsListener*;
348        ASurfaceControl_unregisterSurfaceStatsListener*;
349        ASurfaceControl_getChoreographer*;
350        ASurfaceControlStats_getAcquireTime*;
351        ASurfaceControlStats_getFrameNumber*;
352    };
353} LIBANDROID;
354