blob: f00eef2f1b001e60bac6fb5a36731c28b0531c63 [file] [log] [blame]
Dan Albert2a8d9c22016-09-23 15:55:49 -07001LIBANDROID {
2 global:
Chong Zhang8af87922020-11-11 14:46:30 -08003 AActivityManager_addUidImportanceListener; # apex # introduced=31
4 AActivityManager_removeUidImportanceListener; # apex # introduced=31
5 AActivityManager_isUidActive; # apex # introduced=31
6 AActivityManager_getUidImportance; # apex # introduced=31
Dan Albert2a8d9c22016-09-23 15:55:49 -07007 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
Santos Cordon458d3df2019-02-20 18:09:00 +000028 AChoreographer_postFrameCallback64; # introduced=29
29 AChoreographer_postFrameCallbackDelayed64; # introduced=29
Alec Mouri26c5fbb2020-01-14 08:12:29 -080030 AChoreographer_registerRefreshRateCallback; # introduced=30
31 AChoreographer_unregisterRefreshRateCallback; # introduced=30
Rachel Lee6350ff02021-09-01 13:30:13 -070032 AChoreographer_postExtendedFrameCallback; # introduced=33
33 AChoreographerFrameCallbackData_getFrameTimeNanos; # introduced=33
34 AChoreographerFrameCallbackData_getFrameTimelinesLength; # introduced=33
35 AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex; # introduced=33
36 AChoreographerFrameCallbackData_getFrameTimelineVsyncId; # introduced=33
37 AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentTime; # introduced=33
38 AChoreographerFrameCallbackData_getFrameTimelineDeadline; # introduced=33
Dan Albert2a8d9c22016-09-23 15:55:49 -070039 AConfiguration_copy;
40 AConfiguration_delete;
41 AConfiguration_diff;
42 AConfiguration_fromAssetManager;
43 AConfiguration_getCountry;
44 AConfiguration_getDensity;
45 AConfiguration_getKeyboard;
46 AConfiguration_getKeysHidden;
47 AConfiguration_getLanguage;
48 AConfiguration_getLayoutDirection; # introduced-arm=17 introduced-arm64=21 introduced-mips=17 introduced-mips64=21 introduced-x86=17 introduced-x86_64=21
49 AConfiguration_getMcc;
50 AConfiguration_getMnc;
51 AConfiguration_getNavHidden;
52 AConfiguration_getNavigation;
53 AConfiguration_getOrientation;
54 AConfiguration_getScreenHeightDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
55 AConfiguration_getScreenLong;
Elliott Hughes241393a2019-12-18 14:29:04 -080056 AConfiguration_getScreenRound; # introduced=30
Dan Albert2a8d9c22016-09-23 15:55:49 -070057 AConfiguration_getScreenSize;
58 AConfiguration_getScreenWidthDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
59 AConfiguration_getSdkVersion;
60 AConfiguration_getSmallestScreenWidthDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
61 AConfiguration_getTouchscreen;
62 AConfiguration_getUiModeNight;
63 AConfiguration_getUiModeType;
64 AConfiguration_isBetterThan;
65 AConfiguration_match;
66 AConfiguration_new;
67 AConfiguration_setCountry;
68 AConfiguration_setDensity;
69 AConfiguration_setKeyboard;
70 AConfiguration_setKeysHidden;
71 AConfiguration_setLanguage;
72 AConfiguration_setLayoutDirection; # introduced-arm=17 introduced-arm64=21 introduced-mips=17 introduced-mips64=21 introduced-x86=17 introduced-x86_64=21
73 AConfiguration_setMcc;
74 AConfiguration_setMnc;
75 AConfiguration_setNavHidden;
76 AConfiguration_setNavigation;
77 AConfiguration_setOrientation;
78 AConfiguration_setScreenHeightDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
79 AConfiguration_setScreenLong;
80 AConfiguration_setScreenSize;
81 AConfiguration_setScreenWidthDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
82 AConfiguration_setSdkVersion;
83 AConfiguration_setSmallestScreenWidthDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
84 AConfiguration_setTouchscreen;
85 AConfiguration_setUiModeNight;
86 AConfiguration_setUiModeType;
87 AInputEvent_getDeviceId;
88 AInputEvent_getSource;
89 AInputEvent_getType;
Chris Ye3da1d202020-04-07 19:39:38 -070090 AInputEvent_release; # introduced=31
Dan Albert2a8d9c22016-09-23 15:55:49 -070091 AInputQueue_attachLooper;
92 AInputQueue_detachLooper;
93 AInputQueue_finishEvent;
Jim Blackler86df7e42021-09-01 16:24:23 +010094 AInputQueue_fromJava; # introduced=Tiramisu
Dan Albert2a8d9c22016-09-23 15:55:49 -070095 AInputQueue_getEvent;
96 AInputQueue_hasEvents;
97 AInputQueue_preDispatchEvent;
98 AKeyEvent_getAction;
99 AKeyEvent_getDownTime;
100 AKeyEvent_getEventTime;
101 AKeyEvent_getFlags;
102 AKeyEvent_getKeyCode;
103 AKeyEvent_getMetaState;
104 AKeyEvent_getRepeatCount;
105 AKeyEvent_getScanCode;
Chris Ye3da1d202020-04-07 19:39:38 -0700106 AKeyEvent_fromJava; # introduced=31
Dan Albert2a8d9c22016-09-23 15:55:49 -0700107 ALooper_acquire;
108 ALooper_addFd;
109 ALooper_forThread;
110 ALooper_pollAll;
111 ALooper_pollOnce;
112 ALooper_prepare;
113 ALooper_release;
114 ALooper_removeFd;
115 ALooper_wake;
116 AMotionEvent_getAction;
117 AMotionEvent_getAxisValue; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
118 AMotionEvent_getButtonState; # introduced-arm=14 introduced-arm64=21 introduced-mips=14 introduced-mips64=21 introduced-x86=14 introduced-x86_64=21
119 AMotionEvent_getDownTime;
120 AMotionEvent_getEdgeFlags;
121 AMotionEvent_getEventTime;
122 AMotionEvent_getFlags;
123 AMotionEvent_getHistoricalAxisValue; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21
124 AMotionEvent_getHistoricalEventTime;
125 AMotionEvent_getHistoricalOrientation;
126 AMotionEvent_getHistoricalPressure;
127 AMotionEvent_getHistoricalRawX;
128 AMotionEvent_getHistoricalRawY;
129 AMotionEvent_getHistoricalSize;
130 AMotionEvent_getHistoricalToolMajor;
131 AMotionEvent_getHistoricalToolMinor;
132 AMotionEvent_getHistoricalTouchMajor;
133 AMotionEvent_getHistoricalTouchMinor;
134 AMotionEvent_getHistoricalX;
135 AMotionEvent_getHistoricalY;
136 AMotionEvent_getHistorySize;
137 AMotionEvent_getMetaState;
138 AMotionEvent_getOrientation;
139 AMotionEvent_getPointerCount;
140 AMotionEvent_getPointerId;
141 AMotionEvent_getPressure;
142 AMotionEvent_getRawX;
143 AMotionEvent_getRawY;
144 AMotionEvent_getSize;
145 AMotionEvent_getToolMajor;
146 AMotionEvent_getToolMinor;
147 AMotionEvent_getToolType; # introduced-arm=14 introduced-arm64=21 introduced-mips=14 introduced-mips64=21 introduced-x86=14 introduced-x86_64=21
148 AMotionEvent_getTouchMajor;
149 AMotionEvent_getTouchMinor;
150 AMotionEvent_getX;
151 AMotionEvent_getXOffset;
152 AMotionEvent_getXPrecision;
153 AMotionEvent_getY;
154 AMotionEvent_getYOffset;
155 AMotionEvent_getYPrecision;
Chris Ye3da1d202020-04-07 19:39:38 -0700156 AMotionEvent_fromJava; # introduced=31
Dan Albert2a8d9c22016-09-23 15:55:49 -0700157 ANativeActivity_finish;
158 ANativeActivity_hideSoftInput;
159 ANativeActivity_setWindowFlags;
160 ANativeActivity_setWindowFormat;
161 ANativeActivity_showSoftInput;
Mathias Agopianbce1d3b2017-03-02 18:50:28 -0800162 AHardwareBuffer_acquire; # introduced=26
163 AHardwareBuffer_allocate; # introduced=26
164 AHardwareBuffer_describe; # introduced=26
165 AHardwareBuffer_fromHardwareBuffer; # introduced=26
Yiwei Zhang7d8bb8a2020-11-19 00:06:46 +0000166 AHardwareBuffer_getId; # introduced=31
Mathias Agopianbce1d3b2017-03-02 18:50:28 -0800167 AHardwareBuffer_getNativeHandle; # introduced=26
Krzysztof KosiƄskie463bb62018-11-21 21:41:35 -0800168 AHardwareBuffer_isSupported; # introduced=29
Mathias Agopianbce1d3b2017-03-02 18:50:28 -0800169 AHardwareBuffer_lock; # introduced=26
Valerie Hau5a9151e2019-03-21 12:39:04 -0700170 AHardwareBuffer_lockAndGetInfo; # introduced=29
renne9345522019-01-10 10:27:48 -0800171 AHardwareBuffer_lockPlanes; # introduced=29
Mathias Agopianbce1d3b2017-03-02 18:50:28 -0800172 AHardwareBuffer_recvHandleFromUnixSocket; # introduced=26
173 AHardwareBuffer_release; # introduced=26
174 AHardwareBuffer_sendHandleToUnixSocket; # introduced=26
175 AHardwareBuffer_toHardwareBuffer; # introduced=26
176 AHardwareBuffer_unlock; # introduced=26
177 ANativeWindow_acquire;
178 ANativeWindow_fromSurface;
Jiwen 'Steve' Caid28e8282017-03-31 11:19:50 -0700179 ANativeWindow_toSurface; # introduced=26
Mathias Agopianbce1d3b2017-03-02 18:50:28 -0800180 ANativeWindow_getFormat;
181 ANativeWindow_getHeight;
182 ANativeWindow_getWidth;
183 ANativeWindow_lock;
184 ANativeWindow_release;
185 ANativeWindow_setBuffersGeometry;
186 ANativeWindow_unlockAndPost;
Dan Albert2a8d9c22016-09-23 15:55:49 -0700187 AObbInfo_delete;
188 AObbInfo_getFlags;
189 AObbInfo_getPackageName;
190 AObbInfo_getVersion;
191 AObbScanner_getObbInfo;
Chong Zhang06dbe5b2020-11-02 16:02:07 -0800192 APermissionManager_checkPermission; # introduced=31
Dan Albert2a8d9c22016-09-23 15:55:49 -0700193 ASensorEventQueue_disableSensor;
194 ASensorEventQueue_enableSensor;
195 ASensorEventQueue_getEvents;
196 ASensorEventQueue_hasEvents;
Peng Xu63483ad2017-02-28 17:00:16 -0800197 ASensorEventQueue_registerSensor; # introduced=26
Dan Albert2a8d9c22016-09-23 15:55:49 -0700198 ASensorEventQueue_setEventRate;
Brian Stackea2cb0c2019-01-14 16:10:06 -0800199 ASensorEventQueue_requestAdditionalInfoEvents; # introduced=29
Peng Xu3b170172017-02-15 23:25:21 -0800200 ASensorManager_configureDirectReport; # introduced=26
Dan Albert2a8d9c22016-09-23 15:55:49 -0700201 ASensorManager_createEventQueue;
Peng Xu3b170172017-02-15 23:25:21 -0800202 ASensorManager_createHardwareBufferDirectChannel; # introduced=26
203 ASensorManager_createSharedMemoryDirectChannel; # introduced=26
204 ASensorManager_destroyDirectChannel; # introduced=26
Dan Albert2a8d9c22016-09-23 15:55:49 -0700205 ASensorManager_destroyEventQueue;
206 ASensorManager_getDefaultSensor;
207 ASensorManager_getDefaultSensorEx; # introduced=21
208 ASensorManager_getInstance;
Peng Xu3b170172017-02-15 23:25:21 -0800209 ASensorManager_getInstanceForPackage; # introduced=26
Dan Albert2a8d9c22016-09-23 15:55:49 -0700210 ASensorManager_getSensorList;
211 ASensor_getFifoMaxEventCount; # introduced=21
212 ASensor_getFifoReservedEventCount; # introduced=21
Brian Stack93c25982019-01-09 13:45:44 -0800213 ASensor_getHandle; # introduced=29
Peng Xu3b170172017-02-15 23:25:21 -0800214 ASensor_getHighestDirectReportRateLevel; # introduced=26
Dan Albert2a8d9c22016-09-23 15:55:49 -0700215 ASensor_getMinDelay;
216 ASensor_getName;
217 ASensor_getReportingMode; # introduced=21
218 ASensor_getResolution;
219 ASensor_getStringType; # introduced=21
220 ASensor_getType;
221 ASensor_getVendor;
Peng Xu3b170172017-02-15 23:25:21 -0800222 ASensor_isDirectChannelTypeSupported; # introduced=26
Dan Albert2a8d9c22016-09-23 15:55:49 -0700223 ASensor_isWakeUpSensor; # introduced=21
Peng Xu5f88ac52017-02-24 01:53:10 -0800224 ASharedMemory_create; # introduced=26
225 ASharedMemory_getSize; # introduced=26
226 ASharedMemory_setProt; # introduced=26
John Recke4f60cc2017-08-07 11:17:06 -0700227 ASharedMemory_dupFromJava; # introduced=27
Dan Albert2a8d9c22016-09-23 15:55:49 -0700228 AStorageManager_delete;
229 AStorageManager_getMountedObbPath;
230 AStorageManager_isObbMounted;
231 AStorageManager_mountObb;
232 AStorageManager_new;
233 AStorageManager_unmountObb;
Marissa Wallf6a73fa2018-12-10 10:41:08 -0800234 ASurfaceControl_create; # introduced=29
235 ASurfaceControl_createFromWindow; # introduced=29
Huihong Luo91697e12021-01-28 15:24:19 -0800236 ASurfaceControl_acquire; # introduced=31
Marissa Wall1be5a102019-01-18 16:14:04 -0800237 ASurfaceControl_release; # introduced=29
Mathias Agopianc3c8d422018-01-30 18:07:27 -0800238 ASurfaceTexture_acquireANativeWindow; # introduced=28
239 ASurfaceTexture_attachToGLContext; # introduced=28
240 ASurfaceTexture_detachFromGLContext; # introduced=28
241 ASurfaceTexture_fromSurfaceTexture; # introduced=28
242 ASurfaceTexture_getTimestamp; # introduced=28
243 ASurfaceTexture_getTransformMatrix; # introduced=28
244 ASurfaceTexture_release; # introduced=28
245 ASurfaceTexture_updateTexImage; # introduced=28
Marissa Wall1be5a102019-01-18 16:14:04 -0800246 ASurfaceTransactionStats_getAcquireTime; # introduced=29
247 ASurfaceTransactionStats_getASurfaceControls; # introduced=29
248 ASurfaceTransactionStats_getLatchTime; # introduced=29
249 ASurfaceTransactionStats_getPresentFenceFd; # introduced=29
250 ASurfaceTransactionStats_getPreviousReleaseFenceFd; # introduced=29
251 ASurfaceTransactionStats_releaseASurfaceControls; # introduced=29
Marissa Wallf6a73fa2018-12-10 10:41:08 -0800252 ASurfaceTransaction_apply; # introduced=29
253 ASurfaceTransaction_create; # introduced=29
254 ASurfaceTransaction_delete; # introduced=29
Marissa Wall1be5a102019-01-18 16:14:04 -0800255 ASurfaceTransaction_reparent; # introduced=29
Marissa Wallf6a73fa2018-12-10 10:41:08 -0800256 ASurfaceTransaction_setBuffer; # introduced=29
Marissa Wall1be5a102019-01-18 16:14:04 -0800257 ASurfaceTransaction_setBufferAlpha; # introduced=29
Marissa Wall7f24f792019-02-07 14:06:04 -0800258 ASurfaceTransaction_setBufferDataSpace; # introduced=29
Marissa Wallf6a73fa2018-12-10 10:41:08 -0800259 ASurfaceTransaction_setBufferTransparency; # introduced=29
Valerie Hau5bbfd512019-01-22 17:39:43 -0800260 ASurfaceTransaction_setColor; # introduced=29
Marissa Wallf6a73fa2018-12-10 10:41:08 -0800261 ASurfaceTransaction_setDamageRegion; # introduced=29
Marissa Wall1be5a102019-01-18 16:14:04 -0800262 ASurfaceTransaction_setDesiredPresentTime; # introduced=29
Robert Carrf57c0162021-03-24 15:48:25 -0700263 ASurfaceTransaction_setEnableBackPressure; # introduced=31
Steven Thomas6cf051e2020-01-14 11:37:21 -0800264 ASurfaceTransaction_setFrameRate; # introduced=30
Marin Shalamanov511f9142021-03-16 18:03:30 +0100265 ASurfaceTransaction_setFrameRateWithChangeStrategy; # introduced=31
Marissa Wallf6a73fa2018-12-10 10:41:08 -0800266 ASurfaceTransaction_setGeometry; # introduced=29
Marissa Wall1be5a102019-01-18 16:14:04 -0800267 ASurfaceTransaction_setHdrMetadata_cta861_3; # introduced=29
268 ASurfaceTransaction_setHdrMetadata_smpte2086; # introduced=29
Marissa Wallf6a73fa2018-12-10 10:41:08 -0800269 ASurfaceTransaction_setOnComplete; # introduced=29
Vishnu Nairbeb3b482021-04-21 08:31:27 -0700270 ASurfaceTransaction_setOnCommit; # introduced=31
Vasiliy Telezhnikov5ead3aa52021-03-13 19:55:00 -0500271 ASurfaceTransaction_setPosition; # introduced=31
chaviwccf3e8b2021-03-25 15:28:44 -0500272 ASurfaceTransaction_setCrop; # introduced=31
273 ASurfaceTransaction_setBufferTransform; # introduced=31
274 ASurfaceTransaction_setScale; # introduced=31
Marissa Wallf6a73fa2018-12-10 10:41:08 -0800275 ASurfaceTransaction_setVisibility; # introduced=29
276 ASurfaceTransaction_setZOrder; # introduced=29
Seigo Nonaka50692ca2018-08-31 12:27:15 -0700277 ASystemFontIterator_open; # introduced=29
278 ASystemFontIterator_close; # introduced=29
279 ASystemFontIterator_next; # introduced=29
Seigo Nonakab3a7bce2019-03-29 14:24:57 -0700280 AFont_close; # introduced=29
281 AFont_getFontFilePath; # introduced=29
282 AFont_getWeight; # introduced=29
283 AFont_isItalic; # introduced=29
284 AFont_getLocale; # introduced=29
285 AFont_getCollectionIndex; # introduced=29
286 AFont_getAxisCount; # introduced=29
287 AFont_getAxisTag; # introduced=29
288 AFont_getAxisValue; # introduced=29
289 AFontMatcher_create; # introduced=29
290 AFontMatcher_destroy; # introduced=29
291 AFontMatcher_setStyle; # introduced=29
292 AFontMatcher_setLocales; # introduced=29
293 AFontMatcher_setFamilyVariant; # introduced=29
294 AFontMatcher_match; # introduced=29
Dan Albert2a8d9c22016-09-23 15:55:49 -0700295 ATrace_beginSection; # introduced=23
296 ATrace_endSection; # introduced=23
297 ATrace_isEnabled; # introduced=23
John Reck77b31a52018-12-05 18:16:39 -0800298 ATrace_beginAsyncSection; # introduced=29
299 ATrace_endAsyncSection; # introduced=29
300 ATrace_setCounter; # introduced=29
Dan Albert2a8d9c22016-09-23 15:55:49 -0700301 android_getaddrinfofornetwork; # introduced=23
Remi NGUYEN VAN3d500592021-03-21 14:30:38 +0000302 android_getprocnetwork; # introduced=31
Dan Albert2a8d9c22016-09-23 15:55:49 -0700303 android_setprocnetwork; # introduced=23
Remi NGUYEN VAN86ae7252021-03-23 00:57:38 +0000304 android_getprocdns; # introduced=31
305 android_setprocdns; # introduced=31
Dan Albert2a8d9c22016-09-23 15:55:49 -0700306 android_setsocknetwork; # introduced=23
Luke Huangc17821c2018-11-20 11:38:23 +0800307 android_res_cancel; # introduced=29
308 android_res_nquery; # introduced=29
309 android_res_nresult; # introduced=29
310 android_res_nsend; # introduced=29
Chris Ye48dbcaa2020-02-10 13:29:01 -0800311 AThermal_acquireManager; # introduced=30
312 AThermal_releaseManager; # introduced=30
313 AThermal_getCurrentThermalStatus; # introduced=30
314 AThermal_registerThermalStatusListener; # introduced=30
315 AThermal_unregisterThermalStatusListener; # introduced=30
Chris Forbes1900bef2020-09-15 09:39:18 -0700316 AThermal_getThermalHeadroom; # introduced=31
Dan Albert2a8d9c22016-09-23 15:55:49 -0700317 local:
318 *;
319};
Jorim Jaggi71db8892021-02-03 23:19:29 +0100320
321LIBANDROID_PLATFORM {
322 global:
Bo Liu44267722021-07-16 17:03:20 -0400323 APerformanceHint_getManager;
324 APerformanceHint_createSession;
325 APerformanceHint_getPreferredUpdateRateNanos;
326 APerformanceHint_updateTargetWorkDuration;
327 APerformanceHint_reportActualWorkDuration;
328 APerformanceHint_closeSession;
329 APerformanceHint_setIHintManagerForTesting;
Jorim Jaggi71db8892021-02-03 23:19:29 +0100330 extern "C++" {
331 ASurfaceControl_registerSurfaceStatsListener*;
332 ASurfaceControl_unregisterSurfaceStatsListener*;
333 ASurfaceControlStats_getAcquireTime*;
334 ASurfaceControlStats_getFrameNumber*;
335 };
Remi NGUYEN VAN3d500592021-03-21 14:30:38 +0000336} LIBANDROID;