blob: 4f02d2bf4dac897d9816d2d5b2f36e51fb593634 [file] [log] [blame]
Bob Badour07562132020-05-20 13:18:00 +00001//
2// Copyright (C) 2020 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17// clang-format off
18#include "native_bridge_support/vdso/interceptable_functions.h"
19
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -070020DEFINE_INTERCEPTABLE_STUB_FUNCTION(AActivityManager_addUidImportanceListener);
21DEFINE_INTERCEPTABLE_STUB_FUNCTION(AActivityManager_getUidImportance);
22DEFINE_INTERCEPTABLE_STUB_FUNCTION(AActivityManager_isUidActive);
23DEFINE_INTERCEPTABLE_STUB_FUNCTION(AActivityManager_removeUidImportanceListener);
Bob Badour07562132020-05-20 13:18:00 +000024DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetDir_close);
25DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetDir_getNextFileName);
26DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetDir_rewind);
27DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetManager_fromJava);
28DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetManager_open);
29DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetManager_openDir);
30DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_close);
31DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getBuffer);
32DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getLength);
33DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getLength64);
34DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getRemainingLength);
35DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getRemainingLength64);
36DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_isAllocated);
37DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_openFileDescriptor);
38DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_openFileDescriptor64);
39DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_read);
40DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_seek);
41DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_seek64);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -070042DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographerFrameCallbackData_getFrameTimeNanos);
dimitry06a88542022-04-06 09:09:41 +000043DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos);
44DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentationTimeNanos);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -070045DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographerFrameCallbackData_getFrameTimelineVsyncId);
46DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographerFrameCallbackData_getFrameTimelinesLength);
47DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex);
Bob Badour07562132020-05-20 13:18:00 +000048DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_getInstance);
49DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postFrameCallback);
50DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postFrameCallback64);
51DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postFrameCallbackDelayed);
52DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postFrameCallbackDelayed64);
dimitry06a88542022-04-06 09:09:41 +000053DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postVsyncCallback);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +020054DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_registerRefreshRateCallback);
55DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_unregisterRefreshRateCallback);
Bob Badour07562132020-05-20 13:18:00 +000056DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_copy);
57DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_delete);
58DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_diff);
59DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_fromAssetManager);
60DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getCountry);
61DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getDensity);
62DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getKeyboard);
63DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getKeysHidden);
64DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getLanguage);
65DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getLayoutDirection);
66DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getMcc);
67DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getMnc);
68DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getNavHidden);
69DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getNavigation);
70DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getOrientation);
71DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenHeightDp);
72DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenLong);
73DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenRound);
74DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenSize);
75DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenWidthDp);
76DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getSdkVersion);
77DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getSmallestScreenWidthDp);
78DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getTouchscreen);
79DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getUiModeNight);
80DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getUiModeType);
81DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_isBetterThan);
82DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_match);
83DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_new);
84DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setCountry);
85DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setDensity);
86DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setKeyboard);
87DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setKeysHidden);
88DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setLanguage);
89DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setLayoutDirection);
90DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setMcc);
91DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setMnc);
92DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setNavHidden);
93DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setNavigation);
94DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setOrientation);
95DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenHeightDp);
96DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenLong);
97DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenSize);
98DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenWidthDp);
99DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setSdkVersion);
100DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setSmallestScreenWidthDp);
101DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setTouchscreen);
102DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setUiModeNight);
103DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setUiModeType);
104DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_create);
105DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_destroy);
106DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_match);
107DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_setFamilyVariant);
108DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_setLocales);
109DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_setStyle);
110DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_close);
111DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getAxisCount);
112DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getAxisTag);
113DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getAxisValue);
114DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getCollectionIndex);
115DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getFontFilePath);
116DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getLocale);
117DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getWeight);
118DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_isItalic);
119DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_acquire);
120DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_allocate);
121DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_describe);
122DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_fromHardwareBuffer);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700123DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_getId);
Bob Badour07562132020-05-20 13:18:00 +0000124DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_getNativeHandle);
125DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_isSupported);
126DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_lock);
127DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_lockAndGetInfo);
128DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_lockPlanes);
129DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_recvHandleFromUnixSocket);
130DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_release);
131DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_sendHandleToUnixSocket);
132DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_toHardwareBuffer);
133DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_unlock);
134DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_getDeviceId);
135DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_getSource);
136DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_getType);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200137DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_release);
Bob Badour07562132020-05-20 13:18:00 +0000138DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_attachLooper);
139DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_detachLooper);
140DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_finishEvent);
Lev Rumyantsev57618c32021-12-15 18:27:11 -0800141DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_fromJava);
Bob Badour07562132020-05-20 13:18:00 +0000142DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_getEvent);
143DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_hasEvents);
144DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_preDispatchEvent);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200145DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_fromJava);
Bob Badour07562132020-05-20 13:18:00 +0000146DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getAction);
147DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getDownTime);
148DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getEventTime);
149DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getFlags);
150DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getKeyCode);
151DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getMetaState);
152DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getRepeatCount);
153DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getScanCode);
154DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_acquire);
155DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_addFd);
156DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_forThread);
157DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_pollAll);
158DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_pollOnce);
159DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_prepare);
160DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_release);
161DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_removeFd);
162DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_wake);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200163DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_fromJava);
Bob Badour07562132020-05-20 13:18:00 +0000164DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getAction);
dimitry06a88542022-04-06 09:09:41 +0000165DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getActionButton);
Bob Badour07562132020-05-20 13:18:00 +0000166DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getAxisValue);
167DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getButtonState);
dimitry06a88542022-04-06 09:09:41 +0000168DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getClassification);
Bob Badour07562132020-05-20 13:18:00 +0000169DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getDownTime);
170DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getEdgeFlags);
171DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getEventTime);
172DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getFlags);
173DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalAxisValue);
174DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalEventTime);
175DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalOrientation);
176DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalPressure);
177DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalRawX);
178DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalRawY);
179DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalSize);
180DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalToolMajor);
181DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalToolMinor);
182DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalTouchMajor);
183DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalTouchMinor);
184DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalX);
185DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalY);
186DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistorySize);
187DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getMetaState);
188DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getOrientation);
189DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getPointerCount);
190DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getPointerId);
191DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getPressure);
192DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getRawX);
193DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getRawY);
194DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getSize);
195DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getToolMajor);
196DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getToolMinor);
197DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getToolType);
198DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getTouchMajor);
199DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getTouchMinor);
200DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getX);
201DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getXOffset);
202DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getXPrecision);
203DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getY);
204DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getYOffset);
205DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getYPrecision);
206DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_finish);
207DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_hideSoftInput);
208DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_setWindowFlags);
209DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_setWindowFormat);
210DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_showSoftInput);
211DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_acquire);
212DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_fromSurface);
213DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_getFormat);
214DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_getHeight);
215DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_getWidth);
216DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_lock);
217DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_release);
218DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_setBuffersGeometry);
219DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_toSurface);
220DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_unlockAndPost);
221DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_delete);
222DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_getFlags);
223DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_getPackageName);
224DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_getVersion);
225DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbScanner_getObbInfo);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700226DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_closeSession);
227DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_createSession);
228DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_getManager);
229DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_getPreferredUpdateRateNanos);
230DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_reportActualWorkDuration);
231DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_setIHintManagerForTesting);
232DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_updateTargetWorkDuration);
233DEFINE_INTERCEPTABLE_STUB_FUNCTION(APermissionManager_checkPermission);
Bob Badour07562132020-05-20 13:18:00 +0000234DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_disableSensor);
235DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_enableSensor);
236DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_getEvents);
237DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_hasEvents);
238DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_registerSensor);
239DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_requestAdditionalInfoEvents);
240DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_setEventRate);
241DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_configureDirectReport);
242DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_createEventQueue);
243DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_createHardwareBufferDirectChannel);
244DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_createSharedMemoryDirectChannel);
245DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_destroyDirectChannel);
246DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_destroyEventQueue);
247DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getDefaultSensor);
248DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getDefaultSensorEx);
dimitry06a88542022-04-06 09:09:41 +0000249DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getDynamicSensorList);
Bob Badour07562132020-05-20 13:18:00 +0000250DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getInstance);
251DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getInstanceForPackage);
252DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getSensorList);
253DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getFifoMaxEventCount);
254DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getFifoReservedEventCount);
255DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getHandle);
256DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getHighestDirectReportRateLevel);
257DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getMinDelay);
258DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getName);
259DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getReportingMode);
260DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getResolution);
261DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getStringType);
262DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getType);
263DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getVendor);
264DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_isDirectChannelTypeSupported);
265DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_isWakeUpSensor);
266DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_create);
267DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_dupFromJava);
268DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_getSize);
269DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_setProt);
270DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_delete);
271DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_getMountedObbPath);
272DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_isObbMounted);
273DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_mountObb);
274DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_new);
275DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_unmountObb);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700276DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControlStats_getAcquireTime);
277DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControlStats_getFrameNumber);
278DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_acquire);
Bob Badour07562132020-05-20 13:18:00 +0000279DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_create);
280DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_createFromWindow);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700281DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_registerSurfaceStatsListener);
Bob Badour07562132020-05-20 13:18:00 +0000282DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_release);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700283DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_unregisterSurfaceStatsListener);
Bob Badour07562132020-05-20 13:18:00 +0000284DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_acquireANativeWindow);
285DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_attachToGLContext);
286DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_detachFromGLContext);
287DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_fromSurfaceTexture);
288DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_getTimestamp);
289DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_getTransformMatrix);
290DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_release);
291DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_updateTexImage);
292DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getASurfaceControls);
293DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getAcquireTime);
294DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getLatchTime);
295DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getPresentFenceFd);
296DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getPreviousReleaseFenceFd);
297DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_releaseASurfaceControls);
298DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_apply);
299DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_create);
300DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_delete);
301DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_reparent);
302DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBuffer);
303DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferAlpha);
304DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferDataSpace);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700305DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferTransform);
Bob Badour07562132020-05-20 13:18:00 +0000306DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferTransparency);
307DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setColor);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700308DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setCrop);
Bob Badour07562132020-05-20 13:18:00 +0000309DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setDamageRegion);
310DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setDesiredPresentTime);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700311DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setEnableBackPressure);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200312DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setFrameRate);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700313DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setFrameRateWithChangeStrategy);
dimitry06a88542022-04-06 09:09:41 +0000314DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setFrameTimeline);
Bob Badour07562132020-05-20 13:18:00 +0000315DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setGeometry);
316DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setHdrMetadata_cta861_3);
317DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setHdrMetadata_smpte2086);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700318DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setOnCommit);
Bob Badour07562132020-05-20 13:18:00 +0000319DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setOnComplete);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700320DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setPosition);
321DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setScale);
Bob Badour07562132020-05-20 13:18:00 +0000322DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setVisibility);
323DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setZOrder);
324DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASystemFontIterator_close);
325DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASystemFontIterator_next);
326DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASystemFontIterator_open);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200327DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_acquireManager);
328DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_getCurrentThermalStatus);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700329DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_getThermalHeadroom);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200330DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_registerThermalStatusListener);
331DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_releaseManager);
332DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_unregisterThermalStatusListener);
Bob Badour07562132020-05-20 13:18:00 +0000333DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_beginAsyncSection);
334DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_beginSection);
335DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_endAsyncSection);
336DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_endSection);
337DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_isEnabled);
338DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_setCounter);
339DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_getaddrinfofornetwork);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700340DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_getprocdns);
341DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_getprocnetwork);
Bob Badour07562132020-05-20 13:18:00 +0000342DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_cancel);
343DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_nquery);
344DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_nresult);
345DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_nsend);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700346DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_setprocdns);
Bob Badour07562132020-05-20 13:18:00 +0000347DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_setprocnetwork);
348DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_setsocknetwork);
dimitry06a88542022-04-06 09:09:41 +0000349DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_tag_socket);
350DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_tag_socket_with_uid);
351DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_untag_socket);
Bob Badour07562132020-05-20 13:18:00 +0000352
353static void __attribute__((constructor(0))) init_stub_library() {
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700354 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AActivityManager_addUidImportanceListener);
355 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AActivityManager_getUidImportance);
356 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AActivityManager_isUidActive);
357 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AActivityManager_removeUidImportanceListener);
Bob Badour07562132020-05-20 13:18:00 +0000358 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetDir_close);
359 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetDir_getNextFileName);
360 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetDir_rewind);
361 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetManager_fromJava);
362 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetManager_open);
363 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetManager_openDir);
364 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_close);
365 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getBuffer);
366 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getLength);
367 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getLength64);
368 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getRemainingLength);
369 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getRemainingLength64);
370 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_isAllocated);
371 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_openFileDescriptor);
372 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_openFileDescriptor64);
373 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_read);
374 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_seek);
375 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_seek64);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700376 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimeNanos);
dimitry06a88542022-04-06 09:09:41 +0000377 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos);
378 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentationTimeNanos);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700379 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimelineVsyncId);
380 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimelinesLength);
381 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex);
Bob Badour07562132020-05-20 13:18:00 +0000382 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_getInstance);
383 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallback);
384 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallback64);
385 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallbackDelayed);
386 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallbackDelayed64);
dimitry06a88542022-04-06 09:09:41 +0000387 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postVsyncCallback);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200388 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_registerRefreshRateCallback);
389 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_unregisterRefreshRateCallback);
Bob Badour07562132020-05-20 13:18:00 +0000390 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_copy);
391 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_delete);
392 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_diff);
393 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_fromAssetManager);
394 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getCountry);
395 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getDensity);
396 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getKeyboard);
397 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getKeysHidden);
398 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getLanguage);
399 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getLayoutDirection);
400 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getMcc);
401 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getMnc);
402 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getNavHidden);
403 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getNavigation);
404 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getOrientation);
405 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenHeightDp);
406 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenLong);
407 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenRound);
408 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenSize);
409 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenWidthDp);
410 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getSdkVersion);
411 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getSmallestScreenWidthDp);
412 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getTouchscreen);
413 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getUiModeNight);
414 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getUiModeType);
415 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_isBetterThan);
416 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_match);
417 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_new);
418 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setCountry);
419 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setDensity);
420 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setKeyboard);
421 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setKeysHidden);
422 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setLanguage);
423 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setLayoutDirection);
424 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setMcc);
425 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setMnc);
426 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setNavHidden);
427 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setNavigation);
428 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setOrientation);
429 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenHeightDp);
430 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenLong);
431 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenSize);
432 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenWidthDp);
433 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setSdkVersion);
434 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setSmallestScreenWidthDp);
435 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setTouchscreen);
436 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setUiModeNight);
437 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setUiModeType);
438 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_create);
439 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_destroy);
440 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_match);
441 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_setFamilyVariant);
442 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_setLocales);
443 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_setStyle);
444 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_close);
445 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getAxisCount);
446 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getAxisTag);
447 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getAxisValue);
448 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getCollectionIndex);
449 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getFontFilePath);
450 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getLocale);
451 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getWeight);
452 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_isItalic);
453 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_acquire);
454 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_allocate);
455 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_describe);
456 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_fromHardwareBuffer);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700457 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_getId);
Bob Badour07562132020-05-20 13:18:00 +0000458 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_getNativeHandle);
459 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_isSupported);
460 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_lock);
461 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_lockAndGetInfo);
462 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_lockPlanes);
463 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_recvHandleFromUnixSocket);
464 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_release);
465 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_sendHandleToUnixSocket);
466 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_toHardwareBuffer);
467 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_unlock);
468 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_getDeviceId);
469 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_getSource);
470 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_getType);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200471 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_release);
Bob Badour07562132020-05-20 13:18:00 +0000472 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_attachLooper);
473 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_detachLooper);
474 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_finishEvent);
Lev Rumyantsev57618c32021-12-15 18:27:11 -0800475 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_fromJava);
Bob Badour07562132020-05-20 13:18:00 +0000476 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_getEvent);
477 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_hasEvents);
478 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_preDispatchEvent);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200479 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_fromJava);
Bob Badour07562132020-05-20 13:18:00 +0000480 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getAction);
481 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getDownTime);
482 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getEventTime);
483 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getFlags);
484 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getKeyCode);
485 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getMetaState);
486 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getRepeatCount);
487 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getScanCode);
488 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_acquire);
489 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_addFd);
490 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_forThread);
491 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_pollAll);
492 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_pollOnce);
493 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_prepare);
494 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_release);
495 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_removeFd);
496 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_wake);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200497 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_fromJava);
Bob Badour07562132020-05-20 13:18:00 +0000498 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getAction);
dimitry06a88542022-04-06 09:09:41 +0000499 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getActionButton);
Bob Badour07562132020-05-20 13:18:00 +0000500 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getAxisValue);
501 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getButtonState);
dimitry06a88542022-04-06 09:09:41 +0000502 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getClassification);
Bob Badour07562132020-05-20 13:18:00 +0000503 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getDownTime);
504 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getEdgeFlags);
505 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getEventTime);
506 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getFlags);
507 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalAxisValue);
508 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalEventTime);
509 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalOrientation);
510 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalPressure);
511 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalRawX);
512 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalRawY);
513 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalSize);
514 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalToolMajor);
515 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalToolMinor);
516 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalTouchMajor);
517 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalTouchMinor);
518 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalX);
519 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalY);
520 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistorySize);
521 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getMetaState);
522 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getOrientation);
523 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getPointerCount);
524 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getPointerId);
525 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getPressure);
526 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getRawX);
527 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getRawY);
528 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getSize);
529 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getToolMajor);
530 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getToolMinor);
531 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getToolType);
532 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getTouchMajor);
533 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getTouchMinor);
534 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getX);
535 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getXOffset);
536 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getXPrecision);
537 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getY);
538 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getYOffset);
539 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getYPrecision);
540 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_finish);
541 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_hideSoftInput);
542 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_setWindowFlags);
543 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_setWindowFormat);
544 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_showSoftInput);
545 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_acquire);
546 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_fromSurface);
547 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_getFormat);
548 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_getHeight);
549 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_getWidth);
550 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_lock);
551 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_release);
552 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_setBuffersGeometry);
553 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_toSurface);
554 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_unlockAndPost);
555 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_delete);
556 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_getFlags);
557 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_getPackageName);
558 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_getVersion);
559 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbScanner_getObbInfo);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700560 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_closeSession);
561 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_createSession);
562 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_getManager);
563 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_getPreferredUpdateRateNanos);
564 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_reportActualWorkDuration);
565 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_setIHintManagerForTesting);
566 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_updateTargetWorkDuration);
567 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APermissionManager_checkPermission);
Bob Badour07562132020-05-20 13:18:00 +0000568 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_disableSensor);
569 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_enableSensor);
570 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_getEvents);
571 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_hasEvents);
572 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_registerSensor);
573 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_requestAdditionalInfoEvents);
574 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_setEventRate);
575 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_configureDirectReport);
576 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_createEventQueue);
577 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_createHardwareBufferDirectChannel);
578 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_createSharedMemoryDirectChannel);
579 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_destroyDirectChannel);
580 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_destroyEventQueue);
581 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getDefaultSensor);
582 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getDefaultSensorEx);
dimitry06a88542022-04-06 09:09:41 +0000583 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getDynamicSensorList);
Bob Badour07562132020-05-20 13:18:00 +0000584 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getInstance);
585 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getInstanceForPackage);
586 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getSensorList);
587 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getFifoMaxEventCount);
588 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getFifoReservedEventCount);
589 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getHandle);
590 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getHighestDirectReportRateLevel);
591 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getMinDelay);
592 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getName);
593 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getReportingMode);
594 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getResolution);
595 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getStringType);
596 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getType);
597 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getVendor);
598 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_isDirectChannelTypeSupported);
599 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_isWakeUpSensor);
600 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_create);
601 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_dupFromJava);
602 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_getSize);
603 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_setProt);
604 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_delete);
605 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_getMountedObbPath);
606 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_isObbMounted);
607 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_mountObb);
608 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_new);
609 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_unmountObb);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700610 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControlStats_getAcquireTime);
611 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControlStats_getFrameNumber);
612 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_acquire);
Bob Badour07562132020-05-20 13:18:00 +0000613 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_create);
614 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_createFromWindow);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700615 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_registerSurfaceStatsListener);
Bob Badour07562132020-05-20 13:18:00 +0000616 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_release);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700617 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_unregisterSurfaceStatsListener);
Bob Badour07562132020-05-20 13:18:00 +0000618 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_acquireANativeWindow);
619 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_attachToGLContext);
620 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_detachFromGLContext);
621 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_fromSurfaceTexture);
622 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_getTimestamp);
623 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_getTransformMatrix);
624 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_release);
625 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_updateTexImage);
626 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getASurfaceControls);
627 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getAcquireTime);
628 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getLatchTime);
629 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getPresentFenceFd);
630 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getPreviousReleaseFenceFd);
631 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_releaseASurfaceControls);
632 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_apply);
633 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_create);
634 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_delete);
635 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_reparent);
636 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBuffer);
637 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferAlpha);
638 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferDataSpace);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700639 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferTransform);
Bob Badour07562132020-05-20 13:18:00 +0000640 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferTransparency);
641 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setColor);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700642 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setCrop);
Bob Badour07562132020-05-20 13:18:00 +0000643 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setDamageRegion);
644 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setDesiredPresentTime);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700645 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setEnableBackPressure);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200646 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setFrameRate);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700647 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setFrameRateWithChangeStrategy);
dimitry06a88542022-04-06 09:09:41 +0000648 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setFrameTimeline);
Bob Badour07562132020-05-20 13:18:00 +0000649 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setGeometry);
650 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setHdrMetadata_cta861_3);
651 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setHdrMetadata_smpte2086);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700652 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setOnCommit);
Bob Badour07562132020-05-20 13:18:00 +0000653 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setOnComplete);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700654 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setPosition);
655 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setScale);
Bob Badour07562132020-05-20 13:18:00 +0000656 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setVisibility);
657 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setZOrder);
658 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASystemFontIterator_close);
659 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASystemFontIterator_next);
660 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASystemFontIterator_open);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200661 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_acquireManager);
662 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_getCurrentThermalStatus);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700663 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_getThermalHeadroom);
Evgeny Eltsin9c7d4622020-07-15 15:30:51 +0200664 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_registerThermalStatusListener);
665 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_releaseManager);
666 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_unregisterThermalStatusListener);
Bob Badour07562132020-05-20 13:18:00 +0000667 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_beginAsyncSection);
668 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_beginSection);
669 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_endAsyncSection);
670 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_endSection);
671 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_isEnabled);
672 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_setCounter);
673 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_getaddrinfofornetwork);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700674 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_getprocdns);
675 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_getprocnetwork);
Bob Badour07562132020-05-20 13:18:00 +0000676 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_cancel);
677 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_nquery);
678 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_nresult);
679 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_nsend);
Lev Rumyantsev5c2e31c2021-10-20 12:43:30 -0700680 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_setprocdns);
Bob Badour07562132020-05-20 13:18:00 +0000681 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_setprocnetwork);
682 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_setsocknetwork);
dimitry06a88542022-04-06 09:09:41 +0000683 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_tag_socket);
684 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_tag_socket_with_uid);
685 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_untag_socket);
Bob Badour07562132020-05-20 13:18:00 +0000686}
687// clang-format on