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