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_getGrammaticalGender);
63 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getKeyboard);
64 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getKeysHidden);
65 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getLanguage);
66 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getLayoutDirection);
67 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getMcc);
68 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getMnc);
69 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getNavHidden);
70 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getNavigation);
71 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getOrientation);
72 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenHeightDp);
73 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenLong);
74 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenRound);
75 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenSize);
76 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenWidthDp);
77 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getSdkVersion);
78 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getSmallestScreenWidthDp);
79 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getTouchscreen);
80 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getUiModeNight);
81 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getUiModeType);
82 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_isBetterThan);
83 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_match);
84 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_new);
85 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setCountry);
86 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setDensity);
87 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setGrammaticalGender);
88 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setKeyboard);
89 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setKeysHidden);
90 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setLanguage);
91 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setLayoutDirection);
92 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setMcc);
93 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setMnc);
94 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setNavHidden);
95 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setNavigation);
96 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setOrientation);
97 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenHeightDp);
98 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenLong);
99 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenSize);
100 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenWidthDp);
101 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setSdkVersion);
102 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setSmallestScreenWidthDp);
103 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setTouchscreen);
104 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setUiModeNight);
105 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setUiModeType);
106 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_create);
107 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_destroy);
108 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_match);
109 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_setFamilyVariant);
110 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_setLocales);
111 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_setStyle);
112 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_close);
113 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getAxisCount);
114 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getAxisTag);
115 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getAxisValue);
116 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getCollectionIndex);
117 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getFontFilePath);
118 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getLocale);
119 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getWeight);
120 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_isItalic);
121 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_acquire);
122 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_allocate);
123 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_describe);
124 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_fromHardwareBuffer);
125 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_getId);
126 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_getNativeHandle);
127 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_isSupported);
128 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_lock);
129 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_lockAndGetInfo);
130 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_lockPlanes);
131 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_recvHandleFromUnixSocket);
132 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_release);
133 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_sendHandleToUnixSocket);
134 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_toHardwareBuffer);
135 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_unlock);
136 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_getDeviceId);
137 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_getSource);
138 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_getType);
139 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_release);
140 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_attachLooper);
141 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_detachLooper);
142 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_finishEvent);
143 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_fromJava);
144 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_getEvent);
145 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_hasEvents);
146 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_preDispatchEvent);
147 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_fromJava);
148 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getAction);
149 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getDownTime);
150 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getEventTime);
151 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getFlags);
152 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getKeyCode);
153 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getMetaState);
154 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getRepeatCount);
155 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getScanCode);
156 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_acquire);
157 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_addFd);
158 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_forThread);
159 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_pollAll);
160 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_pollOnce);
161 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_prepare);
162 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_release);
163 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_removeFd);
164 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_wake);
165 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_fromJava);
166 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getAction);
167 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getActionButton);
168 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getAxisValue);
169 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getButtonState);
170 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getClassification);
171 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getDownTime);
172 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getEdgeFlags);
173 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getEventTime);
174 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getFlags);
175 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalAxisValue);
176 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalEventTime);
177 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalOrientation);
178 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalPressure);
179 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalRawX);
180 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalRawY);
181 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalSize);
182 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalToolMajor);
183 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalToolMinor);
184 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalTouchMajor);
185 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalTouchMinor);
186 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalX);
187 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalY);
188 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistorySize);
189 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getMetaState);
190 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getOrientation);
191 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getPointerCount);
192 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getPointerId);
193 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getPressure);
194 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getRawX);
195 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getRawY);
196 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getSize);
197 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getToolMajor);
198 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getToolMinor);
199 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getToolType);
200 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getTouchMajor);
201 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getTouchMinor);
202 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getX);
203 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getXOffset);
204 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getXPrecision);
205 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getY);
206 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getYOffset);
207 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getYPrecision);
208 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_finish);
209 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_hideSoftInput);
210 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_setWindowFlags);
211 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_setWindowFormat);
212 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_showSoftInput);
213 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_acquire);
214 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_fromSurface);
215 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_getFormat);
216 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_getHeight);
217 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_getWidth);
218 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_lock);
219 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_release);
220 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_setBuffersGeometry);
221 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_toSurface);
222 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_unlockAndPost);
223 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_delete);
224 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_getFlags);
225 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_getPackageName);
226 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_getVersion);
227 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbScanner_getObbInfo);
228 DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_closeSession);
229 DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_createSession);
230 DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_getManager);
231 DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_getPreferredUpdateRateNanos);
232 DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_getThreadIds);
233 DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_reportActualWorkDuration);
234 DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_sendHint);
235 DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_setIHintManagerForTesting);
236 DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_setThreads);
237 DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_updateTargetWorkDuration);
238 DEFINE_INTERCEPTABLE_STUB_FUNCTION(APermissionManager_checkPermission);
239 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_disableSensor);
240 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_enableSensor);
241 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_getEvents);
242 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_hasEvents);
243 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_registerSensor);
244 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_requestAdditionalInfoEvents);
245 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_setEventRate);
246 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_configureDirectReport);
247 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_createEventQueue);
248 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_createHardwareBufferDirectChannel);
249 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_createSharedMemoryDirectChannel);
250 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_destroyDirectChannel);
251 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_destroyEventQueue);
252 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getDefaultSensor);
253 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getDefaultSensorEx);
254 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getDynamicSensorList);
255 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getInstance);
256 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getInstanceForPackage);
257 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getSensorList);
258 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getFifoMaxEventCount);
259 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getFifoReservedEventCount);
260 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getHandle);
261 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getHighestDirectReportRateLevel);
262 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getMinDelay);
263 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getName);
264 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getReportingMode);
265 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getResolution);
266 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getStringType);
267 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getType);
268 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getVendor);
269 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_isDirectChannelTypeSupported);
270 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_isWakeUpSensor);
271 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_create);
272 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_dupFromJava);
273 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_getSize);
274 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_setProt);
275 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_delete);
276 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_getMountedObbPath);
277 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_isObbMounted);
278 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_mountObb);
279 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_new);
280 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_unmountObb);
281 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControlStats_getAcquireTime);
282 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControlStats_getFrameNumber);
283 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_acquire);
284 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_create);
285 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_createFromWindow);
286 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_fromJava);
287 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_getChoreographer);
288 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_registerSurfaceStatsListener);
289 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_release);
290 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_unregisterSurfaceStatsListener);
291 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_acquireANativeWindow);
292 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_attachToGLContext);
293 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_detachFromGLContext);
294 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_fromSurfaceTexture);
295 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_getTimestamp);
296 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_getTransformMatrix);
297 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_release);
298 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_updateTexImage);
299 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getASurfaceControls);
300 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getAcquireTime);
301 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getLatchTime);
302 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getPresentFenceFd);
303 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getPreviousReleaseFenceFd);
304 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_releaseASurfaceControls);
305 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_apply);
306 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_clearFrameRate);
307 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_create);
308 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_delete);
309 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_fromJava);
310 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_reparent);
311 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBuffer);
312 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferAlpha);
313 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferDataSpace);
314 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferTransform);
315 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferTransparency);
316 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setColor);
317 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setCrop);
318 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setDamageRegion);
319 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setDesiredPresentTime);
320 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setEnableBackPressure);
321 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setExtendedRangeBrightness);
322 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setFrameRate);
323 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setFrameRateWithChangeStrategy);
324 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setFrameTimeline);
325 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setGeometry);
326 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setHdrMetadata_cta861_3);
327 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setHdrMetadata_smpte2086);
328 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setOnCommit);
329 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setOnComplete);
330 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setPosition);
331 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setScale);
332 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setVisibility);
333 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setZOrder);
334 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASystemFontIterator_close);
335 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASystemFontIterator_next);
336 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASystemFontIterator_open);
337 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_acquireManager);
338 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_getCurrentThermalStatus);
339 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_getThermalHeadroom);
340 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_registerThermalStatusListener);
341 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_releaseManager);
342 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_unregisterThermalStatusListener);
343 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_beginAsyncSection);
344 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_beginSection);
345 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_endAsyncSection);
346 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_endSection);
347 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_isEnabled);
348 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_setCounter);
349 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_getaddrinfofornetwork);
350 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_getprocdns);
351 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_getprocnetwork);
352 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_cancel);
353 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_nquery);
354 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_nresult);
355 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_nsend);
356 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_setprocdns);
357 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_setprocnetwork);
358 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_setsocknetwork);
359 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_tag_socket);
360 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_tag_socket_with_uid);
361 DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_untag_socket);
362
init_stub_library()363 static void __attribute__((constructor(0))) init_stub_library() {
364 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AActivityManager_addUidImportanceListener);
365 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AActivityManager_getUidImportance);
366 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AActivityManager_isUidActive);
367 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AActivityManager_removeUidImportanceListener);
368 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetDir_close);
369 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetDir_getNextFileName);
370 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetDir_rewind);
371 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetManager_fromJava);
372 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetManager_open);
373 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetManager_openDir);
374 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_close);
375 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getBuffer);
376 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getLength);
377 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getLength64);
378 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getRemainingLength);
379 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getRemainingLength64);
380 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_isAllocated);
381 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_openFileDescriptor);
382 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_openFileDescriptor64);
383 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_read);
384 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_seek);
385 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_seek64);
386 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimeNanos);
387 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos);
388 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentationTimeNanos);
389 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimelineVsyncId);
390 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimelinesLength);
391 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex);
392 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_getInstance);
393 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallback);
394 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallback64);
395 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallbackDelayed);
396 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallbackDelayed64);
397 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postVsyncCallback);
398 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_registerRefreshRateCallback);
399 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_unregisterRefreshRateCallback);
400 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_copy);
401 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_delete);
402 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_diff);
403 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_fromAssetManager);
404 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getCountry);
405 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getDensity);
406 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getGrammaticalGender);
407 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getKeyboard);
408 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getKeysHidden);
409 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getLanguage);
410 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getLayoutDirection);
411 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getMcc);
412 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getMnc);
413 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getNavHidden);
414 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getNavigation);
415 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getOrientation);
416 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenHeightDp);
417 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenLong);
418 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenRound);
419 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenSize);
420 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenWidthDp);
421 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getSdkVersion);
422 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getSmallestScreenWidthDp);
423 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getTouchscreen);
424 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getUiModeNight);
425 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getUiModeType);
426 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_isBetterThan);
427 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_match);
428 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_new);
429 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setCountry);
430 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setDensity);
431 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setGrammaticalGender);
432 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setKeyboard);
433 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setKeysHidden);
434 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setLanguage);
435 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setLayoutDirection);
436 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setMcc);
437 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setMnc);
438 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setNavHidden);
439 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setNavigation);
440 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setOrientation);
441 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenHeightDp);
442 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenLong);
443 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenSize);
444 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenWidthDp);
445 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setSdkVersion);
446 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setSmallestScreenWidthDp);
447 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setTouchscreen);
448 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setUiModeNight);
449 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setUiModeType);
450 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_create);
451 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_destroy);
452 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_match);
453 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_setFamilyVariant);
454 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_setLocales);
455 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_setStyle);
456 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_close);
457 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getAxisCount);
458 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getAxisTag);
459 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getAxisValue);
460 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getCollectionIndex);
461 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getFontFilePath);
462 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getLocale);
463 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getWeight);
464 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_isItalic);
465 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_acquire);
466 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_allocate);
467 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_describe);
468 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_fromHardwareBuffer);
469 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_getId);
470 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_getNativeHandle);
471 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_isSupported);
472 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_lock);
473 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_lockAndGetInfo);
474 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_lockPlanes);
475 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_recvHandleFromUnixSocket);
476 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_release);
477 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_sendHandleToUnixSocket);
478 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_toHardwareBuffer);
479 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_unlock);
480 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_getDeviceId);
481 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_getSource);
482 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_getType);
483 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_release);
484 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_attachLooper);
485 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_detachLooper);
486 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_finishEvent);
487 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_fromJava);
488 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_getEvent);
489 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_hasEvents);
490 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_preDispatchEvent);
491 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_fromJava);
492 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getAction);
493 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getDownTime);
494 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getEventTime);
495 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getFlags);
496 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getKeyCode);
497 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getMetaState);
498 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getRepeatCount);
499 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getScanCode);
500 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_acquire);
501 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_addFd);
502 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_forThread);
503 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_pollAll);
504 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_pollOnce);
505 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_prepare);
506 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_release);
507 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_removeFd);
508 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_wake);
509 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_fromJava);
510 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getAction);
511 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getActionButton);
512 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getAxisValue);
513 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getButtonState);
514 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getClassification);
515 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getDownTime);
516 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getEdgeFlags);
517 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getEventTime);
518 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getFlags);
519 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalAxisValue);
520 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalEventTime);
521 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalOrientation);
522 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalPressure);
523 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalRawX);
524 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalRawY);
525 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalSize);
526 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalToolMajor);
527 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalToolMinor);
528 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalTouchMajor);
529 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalTouchMinor);
530 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalX);
531 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalY);
532 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistorySize);
533 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getMetaState);
534 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getOrientation);
535 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getPointerCount);
536 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getPointerId);
537 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getPressure);
538 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getRawX);
539 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getRawY);
540 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getSize);
541 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getToolMajor);
542 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getToolMinor);
543 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getToolType);
544 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getTouchMajor);
545 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getTouchMinor);
546 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getX);
547 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getXOffset);
548 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getXPrecision);
549 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getY);
550 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getYOffset);
551 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getYPrecision);
552 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_finish);
553 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_hideSoftInput);
554 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_setWindowFlags);
555 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_setWindowFormat);
556 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_showSoftInput);
557 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_acquire);
558 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_fromSurface);
559 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_getFormat);
560 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_getHeight);
561 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_getWidth);
562 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_lock);
563 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_release);
564 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_setBuffersGeometry);
565 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_toSurface);
566 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_unlockAndPost);
567 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_delete);
568 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_getFlags);
569 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_getPackageName);
570 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_getVersion);
571 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbScanner_getObbInfo);
572 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_closeSession);
573 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_createSession);
574 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_getManager);
575 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_getPreferredUpdateRateNanos);
576 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_getThreadIds);
577 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_reportActualWorkDuration);
578 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_sendHint);
579 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_setIHintManagerForTesting);
580 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_setThreads);
581 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_updateTargetWorkDuration);
582 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APermissionManager_checkPermission);
583 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_disableSensor);
584 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_enableSensor);
585 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_getEvents);
586 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_hasEvents);
587 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_registerSensor);
588 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_requestAdditionalInfoEvents);
589 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_setEventRate);
590 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_configureDirectReport);
591 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_createEventQueue);
592 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_createHardwareBufferDirectChannel);
593 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_createSharedMemoryDirectChannel);
594 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_destroyDirectChannel);
595 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_destroyEventQueue);
596 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getDefaultSensor);
597 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getDefaultSensorEx);
598 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getDynamicSensorList);
599 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getInstance);
600 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getInstanceForPackage);
601 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getSensorList);
602 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getFifoMaxEventCount);
603 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getFifoReservedEventCount);
604 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getHandle);
605 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getHighestDirectReportRateLevel);
606 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getMinDelay);
607 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getName);
608 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getReportingMode);
609 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getResolution);
610 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getStringType);
611 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getType);
612 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getVendor);
613 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_isDirectChannelTypeSupported);
614 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_isWakeUpSensor);
615 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_create);
616 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_dupFromJava);
617 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_getSize);
618 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_setProt);
619 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_delete);
620 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_getMountedObbPath);
621 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_isObbMounted);
622 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_mountObb);
623 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_new);
624 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_unmountObb);
625 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControlStats_getAcquireTime);
626 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControlStats_getFrameNumber);
627 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_acquire);
628 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_create);
629 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_createFromWindow);
630 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_fromJava);
631 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_getChoreographer);
632 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_registerSurfaceStatsListener);
633 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_release);
634 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_unregisterSurfaceStatsListener);
635 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_acquireANativeWindow);
636 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_attachToGLContext);
637 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_detachFromGLContext);
638 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_fromSurfaceTexture);
639 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_getTimestamp);
640 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_getTransformMatrix);
641 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_release);
642 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_updateTexImage);
643 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getASurfaceControls);
644 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getAcquireTime);
645 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getLatchTime);
646 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getPresentFenceFd);
647 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getPreviousReleaseFenceFd);
648 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_releaseASurfaceControls);
649 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_apply);
650 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_clearFrameRate);
651 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_create);
652 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_delete);
653 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_fromJava);
654 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_reparent);
655 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBuffer);
656 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferAlpha);
657 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferDataSpace);
658 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferTransform);
659 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferTransparency);
660 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setColor);
661 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setCrop);
662 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setDamageRegion);
663 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setDesiredPresentTime);
664 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setEnableBackPressure);
665 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setExtendedRangeBrightness);
666 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setFrameRate);
667 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setFrameRateWithChangeStrategy);
668 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setFrameTimeline);
669 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setGeometry);
670 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setHdrMetadata_cta861_3);
671 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setHdrMetadata_smpte2086);
672 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setOnCommit);
673 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setOnComplete);
674 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setPosition);
675 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setScale);
676 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setVisibility);
677 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setZOrder);
678 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASystemFontIterator_close);
679 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASystemFontIterator_next);
680 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASystemFontIterator_open);
681 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_acquireManager);
682 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_getCurrentThermalStatus);
683 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_getThermalHeadroom);
684 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_registerThermalStatusListener);
685 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_releaseManager);
686 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_unregisterThermalStatusListener);
687 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_beginAsyncSection);
688 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_beginSection);
689 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_endAsyncSection);
690 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_endSection);
691 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_isEnabled);
692 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_setCounter);
693 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_getaddrinfofornetwork);
694 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_getprocdns);
695 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_getprocnetwork);
696 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_cancel);
697 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_nquery);
698 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_nresult);
699 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_nsend);
700 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_setprocdns);
701 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_setprocnetwork);
702 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_setsocknetwork);
703 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_tag_socket);
704 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_tag_socket_with_uid);
705 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_untag_socket);
706 }
707 // clang-format on
708