• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
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 
20 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetDir_close);
21 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetDir_getNextFileName);
22 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetDir_rewind);
23 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetManager_fromJava);
24 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetManager_open);
25 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetManager_openDir);
26 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_close);
27 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getBuffer);
28 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getLength);
29 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getLength64);
30 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getRemainingLength);
31 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getRemainingLength64);
32 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_isAllocated);
33 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_openFileDescriptor);
34 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_openFileDescriptor64);
35 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_read);
36 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_seek);
37 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_seek64);
38 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_getInstance);
39 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postFrameCallback);
40 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postFrameCallback64);
41 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postFrameCallbackDelayed);
42 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postFrameCallbackDelayed64);
43 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_registerRefreshRateCallback);
44 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_unregisterRefreshRateCallback);
45 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_copy);
46 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_delete);
47 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_diff);
48 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_fromAssetManager);
49 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getCountry);
50 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getDensity);
51 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getKeyboard);
52 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getKeysHidden);
53 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getLanguage);
54 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getLayoutDirection);
55 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getMcc);
56 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getMnc);
57 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getNavHidden);
58 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getNavigation);
59 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getOrientation);
60 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenHeightDp);
61 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenLong);
62 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenRound);
63 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenSize);
64 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenWidthDp);
65 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getSdkVersion);
66 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getSmallestScreenWidthDp);
67 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getTouchscreen);
68 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getUiModeNight);
69 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getUiModeType);
70 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_isBetterThan);
71 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_match);
72 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_new);
73 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setCountry);
74 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setDensity);
75 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setKeyboard);
76 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setKeysHidden);
77 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setLanguage);
78 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setLayoutDirection);
79 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setMcc);
80 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setMnc);
81 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setNavHidden);
82 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setNavigation);
83 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setOrientation);
84 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenHeightDp);
85 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenLong);
86 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenSize);
87 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenWidthDp);
88 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setSdkVersion);
89 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setSmallestScreenWidthDp);
90 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setTouchscreen);
91 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setUiModeNight);
92 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setUiModeType);
93 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_create);
94 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_destroy);
95 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_match);
96 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_setFamilyVariant);
97 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_setLocales);
98 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_setStyle);
99 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_close);
100 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getAxisCount);
101 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getAxisTag);
102 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getAxisValue);
103 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getCollectionIndex);
104 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getFontFilePath);
105 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getLocale);
106 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getWeight);
107 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_isItalic);
108 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_acquire);
109 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_allocate);
110 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_describe);
111 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_fromHardwareBuffer);
112 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_getNativeHandle);
113 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_isSupported);
114 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_lock);
115 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_lockAndGetInfo);
116 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_lockPlanes);
117 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_recvHandleFromUnixSocket);
118 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_release);
119 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_sendHandleToUnixSocket);
120 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_toHardwareBuffer);
121 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_unlock);
122 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_getDeviceId);
123 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_getSource);
124 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_getType);
125 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_release);
126 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_attachLooper);
127 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_detachLooper);
128 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_finishEvent);
129 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_getEvent);
130 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_hasEvents);
131 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_preDispatchEvent);
132 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_fromJava);
133 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getAction);
134 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getDownTime);
135 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getEventTime);
136 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getFlags);
137 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getKeyCode);
138 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getMetaState);
139 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getRepeatCount);
140 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getScanCode);
141 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_acquire);
142 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_addFd);
143 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_forThread);
144 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_pollAll);
145 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_pollOnce);
146 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_prepare);
147 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_release);
148 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_removeFd);
149 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_wake);
150 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_fromJava);
151 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getAction);
152 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getAxisValue);
153 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getButtonState);
154 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getDownTime);
155 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getEdgeFlags);
156 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getEventTime);
157 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getFlags);
158 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalAxisValue);
159 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalEventTime);
160 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalOrientation);
161 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalPressure);
162 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalRawX);
163 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalRawY);
164 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalSize);
165 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalToolMajor);
166 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalToolMinor);
167 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalTouchMajor);
168 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalTouchMinor);
169 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalX);
170 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalY);
171 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistorySize);
172 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getMetaState);
173 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getOrientation);
174 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getPointerCount);
175 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getPointerId);
176 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getPressure);
177 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getRawX);
178 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getRawY);
179 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getSize);
180 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getToolMajor);
181 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getToolMinor);
182 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getToolType);
183 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getTouchMajor);
184 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getTouchMinor);
185 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getX);
186 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getXOffset);
187 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getXPrecision);
188 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getY);
189 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getYOffset);
190 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getYPrecision);
191 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_finish);
192 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_hideSoftInput);
193 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_setWindowFlags);
194 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_setWindowFormat);
195 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_showSoftInput);
196 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_acquire);
197 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_fromSurface);
198 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_getFormat);
199 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_getHeight);
200 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_getWidth);
201 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_lock);
202 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_release);
203 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_setBuffersGeometry);
204 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_toSurface);
205 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_unlockAndPost);
206 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_delete);
207 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_getFlags);
208 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_getPackageName);
209 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_getVersion);
210 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbScanner_getObbInfo);
211 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_disableSensor);
212 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_enableSensor);
213 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_getEvents);
214 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_hasEvents);
215 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_registerSensor);
216 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_requestAdditionalInfoEvents);
217 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_setEventRate);
218 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_configureDirectReport);
219 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_createEventQueue);
220 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_createHardwareBufferDirectChannel);
221 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_createSharedMemoryDirectChannel);
222 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_destroyDirectChannel);
223 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_destroyEventQueue);
224 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getDefaultSensor);
225 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getDefaultSensorEx);
226 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getInstance);
227 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getInstanceForPackage);
228 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getSensorList);
229 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getFifoMaxEventCount);
230 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getFifoReservedEventCount);
231 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getHandle);
232 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getHighestDirectReportRateLevel);
233 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getMinDelay);
234 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getName);
235 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getReportingMode);
236 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getResolution);
237 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getStringType);
238 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getType);
239 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getVendor);
240 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_isDirectChannelTypeSupported);
241 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_isWakeUpSensor);
242 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_create);
243 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_dupFromJava);
244 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_getSize);
245 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_setProt);
246 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_delete);
247 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_getMountedObbPath);
248 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_isObbMounted);
249 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_mountObb);
250 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_new);
251 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_unmountObb);
252 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_create);
253 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_createFromWindow);
254 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_release);
255 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_acquireANativeWindow);
256 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_attachToGLContext);
257 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_detachFromGLContext);
258 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_fromSurfaceTexture);
259 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_getTimestamp);
260 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_getTransformMatrix);
261 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_release);
262 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_updateTexImage);
263 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getASurfaceControls);
264 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getAcquireTime);
265 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getLatchTime);
266 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getPresentFenceFd);
267 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getPreviousReleaseFenceFd);
268 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_releaseASurfaceControls);
269 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_apply);
270 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_create);
271 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_delete);
272 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_reparent);
273 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBuffer);
274 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferAlpha);
275 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferDataSpace);
276 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferTransparency);
277 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setColor);
278 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setDamageRegion);
279 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setDesiredPresentTime);
280 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setFrameRate);
281 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setGeometry);
282 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setHdrMetadata_cta861_3);
283 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setHdrMetadata_smpte2086);
284 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setOnComplete);
285 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setVisibility);
286 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setZOrder);
287 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASystemFontIterator_close);
288 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASystemFontIterator_next);
289 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASystemFontIterator_open);
290 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_acquireManager);
291 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_getCurrentThermalStatus);
292 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_registerThermalStatusListener);
293 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_releaseManager);
294 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_unregisterThermalStatusListener);
295 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_beginAsyncSection);
296 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_beginSection);
297 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_endAsyncSection);
298 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_endSection);
299 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_isEnabled);
300 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_setCounter);
301 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_getaddrinfofornetwork);
302 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_cancel);
303 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_nquery);
304 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_nresult);
305 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_nsend);
306 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_setprocnetwork);
307 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_setsocknetwork);
308 
init_stub_library()309 static void __attribute__((constructor(0))) init_stub_library() {
310   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetDir_close);
311   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetDir_getNextFileName);
312   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetDir_rewind);
313   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetManager_fromJava);
314   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetManager_open);
315   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetManager_openDir);
316   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_close);
317   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getBuffer);
318   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getLength);
319   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getLength64);
320   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getRemainingLength);
321   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getRemainingLength64);
322   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_isAllocated);
323   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_openFileDescriptor);
324   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_openFileDescriptor64);
325   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_read);
326   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_seek);
327   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_seek64);
328   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_getInstance);
329   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallback);
330   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallback64);
331   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallbackDelayed);
332   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallbackDelayed64);
333   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_registerRefreshRateCallback);
334   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_unregisterRefreshRateCallback);
335   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_copy);
336   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_delete);
337   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_diff);
338   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_fromAssetManager);
339   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getCountry);
340   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getDensity);
341   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getKeyboard);
342   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getKeysHidden);
343   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getLanguage);
344   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getLayoutDirection);
345   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getMcc);
346   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getMnc);
347   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getNavHidden);
348   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getNavigation);
349   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getOrientation);
350   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenHeightDp);
351   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenLong);
352   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenRound);
353   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenSize);
354   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenWidthDp);
355   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getSdkVersion);
356   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getSmallestScreenWidthDp);
357   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getTouchscreen);
358   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getUiModeNight);
359   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getUiModeType);
360   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_isBetterThan);
361   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_match);
362   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_new);
363   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setCountry);
364   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setDensity);
365   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setKeyboard);
366   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setKeysHidden);
367   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setLanguage);
368   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setLayoutDirection);
369   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setMcc);
370   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setMnc);
371   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setNavHidden);
372   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setNavigation);
373   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setOrientation);
374   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenHeightDp);
375   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenLong);
376   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenSize);
377   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenWidthDp);
378   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setSdkVersion);
379   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setSmallestScreenWidthDp);
380   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setTouchscreen);
381   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setUiModeNight);
382   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setUiModeType);
383   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_create);
384   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_destroy);
385   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_match);
386   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_setFamilyVariant);
387   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_setLocales);
388   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_setStyle);
389   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_close);
390   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getAxisCount);
391   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getAxisTag);
392   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getAxisValue);
393   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getCollectionIndex);
394   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getFontFilePath);
395   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getLocale);
396   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getWeight);
397   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_isItalic);
398   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_acquire);
399   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_allocate);
400   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_describe);
401   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_fromHardwareBuffer);
402   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_getNativeHandle);
403   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_isSupported);
404   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_lock);
405   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_lockAndGetInfo);
406   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_lockPlanes);
407   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_recvHandleFromUnixSocket);
408   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_release);
409   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_sendHandleToUnixSocket);
410   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_toHardwareBuffer);
411   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_unlock);
412   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_getDeviceId);
413   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_getSource);
414   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_getType);
415   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_release);
416   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_attachLooper);
417   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_detachLooper);
418   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_finishEvent);
419   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_getEvent);
420   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_hasEvents);
421   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_preDispatchEvent);
422   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_fromJava);
423   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getAction);
424   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getDownTime);
425   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getEventTime);
426   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getFlags);
427   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getKeyCode);
428   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getMetaState);
429   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getRepeatCount);
430   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getScanCode);
431   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_acquire);
432   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_addFd);
433   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_forThread);
434   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_pollAll);
435   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_pollOnce);
436   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_prepare);
437   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_release);
438   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_removeFd);
439   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_wake);
440   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_fromJava);
441   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getAction);
442   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getAxisValue);
443   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getButtonState);
444   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getDownTime);
445   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getEdgeFlags);
446   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getEventTime);
447   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getFlags);
448   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalAxisValue);
449   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalEventTime);
450   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalOrientation);
451   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalPressure);
452   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalRawX);
453   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalRawY);
454   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalSize);
455   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalToolMajor);
456   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalToolMinor);
457   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalTouchMajor);
458   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalTouchMinor);
459   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalX);
460   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalY);
461   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistorySize);
462   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getMetaState);
463   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getOrientation);
464   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getPointerCount);
465   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getPointerId);
466   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getPressure);
467   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getRawX);
468   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getRawY);
469   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getSize);
470   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getToolMajor);
471   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getToolMinor);
472   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getToolType);
473   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getTouchMajor);
474   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getTouchMinor);
475   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getX);
476   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getXOffset);
477   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getXPrecision);
478   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getY);
479   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getYOffset);
480   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getYPrecision);
481   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_finish);
482   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_hideSoftInput);
483   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_setWindowFlags);
484   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_setWindowFormat);
485   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_showSoftInput);
486   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_acquire);
487   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_fromSurface);
488   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_getFormat);
489   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_getHeight);
490   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_getWidth);
491   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_lock);
492   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_release);
493   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_setBuffersGeometry);
494   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_toSurface);
495   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_unlockAndPost);
496   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_delete);
497   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_getFlags);
498   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_getPackageName);
499   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_getVersion);
500   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbScanner_getObbInfo);
501   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_disableSensor);
502   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_enableSensor);
503   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_getEvents);
504   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_hasEvents);
505   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_registerSensor);
506   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_requestAdditionalInfoEvents);
507   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_setEventRate);
508   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_configureDirectReport);
509   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_createEventQueue);
510   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_createHardwareBufferDirectChannel);
511   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_createSharedMemoryDirectChannel);
512   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_destroyDirectChannel);
513   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_destroyEventQueue);
514   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getDefaultSensor);
515   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getDefaultSensorEx);
516   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getInstance);
517   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getInstanceForPackage);
518   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getSensorList);
519   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getFifoMaxEventCount);
520   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getFifoReservedEventCount);
521   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getHandle);
522   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getHighestDirectReportRateLevel);
523   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getMinDelay);
524   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getName);
525   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getReportingMode);
526   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getResolution);
527   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getStringType);
528   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getType);
529   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getVendor);
530   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_isDirectChannelTypeSupported);
531   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_isWakeUpSensor);
532   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_create);
533   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_dupFromJava);
534   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_getSize);
535   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_setProt);
536   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_delete);
537   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_getMountedObbPath);
538   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_isObbMounted);
539   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_mountObb);
540   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_new);
541   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_unmountObb);
542   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_create);
543   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_createFromWindow);
544   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_release);
545   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_acquireANativeWindow);
546   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_attachToGLContext);
547   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_detachFromGLContext);
548   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_fromSurfaceTexture);
549   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_getTimestamp);
550   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_getTransformMatrix);
551   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_release);
552   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_updateTexImage);
553   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getASurfaceControls);
554   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getAcquireTime);
555   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getLatchTime);
556   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getPresentFenceFd);
557   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getPreviousReleaseFenceFd);
558   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_releaseASurfaceControls);
559   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_apply);
560   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_create);
561   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_delete);
562   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_reparent);
563   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBuffer);
564   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferAlpha);
565   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferDataSpace);
566   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferTransparency);
567   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setColor);
568   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setDamageRegion);
569   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setDesiredPresentTime);
570   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setFrameRate);
571   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setGeometry);
572   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setHdrMetadata_cta861_3);
573   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setHdrMetadata_smpte2086);
574   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setOnComplete);
575   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setVisibility);
576   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setZOrder);
577   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASystemFontIterator_close);
578   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASystemFontIterator_next);
579   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASystemFontIterator_open);
580   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_acquireManager);
581   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_getCurrentThermalStatus);
582   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_registerThermalStatusListener);
583   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_releaseManager);
584   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_unregisterThermalStatusListener);
585   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_beginAsyncSection);
586   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_beginSection);
587   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_endAsyncSection);
588   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_endSection);
589   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_isEnabled);
590   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_setCounter);
591   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_getaddrinfofornetwork);
592   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_cancel);
593   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_nquery);
594   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_nresult);
595   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_nsend);
596   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_setprocnetwork);
597   INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_setsocknetwork);
598 }
599 // clang-format on
600