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