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(ABinderProcess_handlePolledCommands);
21 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ABinderProcess_isThreadPoolStarted);
22 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ABinderProcess_joinThreadPool);
23 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ABinderProcess_setThreadPoolMaxThreadCount);
24 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ABinderProcess_setupPolling);
25 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ABinderProcess_startThreadPool);
26 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Class_define);
27 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Class_disableInterfaceTokenHeader);
28 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Class_getDescriptor);
29 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Class_setHandleShellCommand);
30 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Class_setOnDump);
31 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_DeathRecipient_delete);
32 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_DeathRecipient_new);
33 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_DeathRecipient_setOnUnlinked);
34 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Weak_clone);
35 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Weak_delete);
36 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Weak_lt);
37 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Weak_new);
38 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Weak_promote);
39 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_associateClass);
40 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_debugGetRefCount);
41 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_decStrong);
42 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_dump);
43 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_forceDowngradeToSystemStability);
44 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_forceDowngradeToVendorStability);
45 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_fromJavaBinder);
46 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_getCallingPid);
47 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_getCallingSid);
48 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_getCallingUid);
49 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_getClass);
50 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_getExtension);
51 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_getUserData);
52 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_incStrong);
53 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_isAlive);
54 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_isHandlingTransaction);
55 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_isRemote);
56 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_linkToDeath);
57 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_lt);
58 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_markSystemStability);
59 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_markVendorStability);
60 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_markVintfStability);
61 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_new);
62 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_ping);
63 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_prepareTransaction);
64 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_setExtension);
65 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_setInheritRt);
66 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_setMinSchedulerPolicy);
67 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_setRequestingSid);
68 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_toJavaBinder);
69 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_transact);
70 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_unlinkToDeath);
71 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_appendFrom);
72 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_create);
73 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_delete);
74 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_fromJavaParcel);
75 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_getAllowFds);
76 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_getDataPosition);
77 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_getDataSize);
78 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_markSensitive);
79 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_marshal);
80 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readBool);
81 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readBoolArray);
82 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readByte);
83 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readByteArray);
84 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readChar);
85 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readCharArray);
86 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readDouble);
87 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readDoubleArray);
88 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readFloat);
89 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readFloatArray);
90 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readInt32);
91 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readInt32Array);
92 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readInt64);
93 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readInt64Array);
94 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readParcelFileDescriptor);
95 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readParcelableArray);
96 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readStatusHeader);
97 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readString);
98 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readStringArray);
99 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readStrongBinder);
100 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readUint32);
101 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readUint32Array);
102 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readUint64);
103 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readUint64Array);
104 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_reset);
105 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_setDataPosition);
106 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_unmarshal);
107 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeBool);
108 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeBoolArray);
109 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeByte);
110 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeByteArray);
111 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeChar);
112 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeCharArray);
113 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeDouble);
114 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeDoubleArray);
115 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeFloat);
116 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeFloatArray);
117 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeInt32);
118 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeInt32Array);
119 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeInt64);
120 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeInt64Array);
121 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeParcelFileDescriptor);
122 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeParcelableArray);
123 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeStatusHeader);
124 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeString);
125 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeStringArray);
126 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeStrongBinder);
127 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeUint32);
128 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeUint32Array);
129 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeUint64);
130 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeUint64Array);
131 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_NotificationRegistration_delete);
132 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_addService);
133 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_addServiceWithFlags);
134 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_checkService);
135 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_forEachDeclaredInstance);
136 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_forceLazyServicesPersist);
137 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_getService);
138 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_getUpdatableApexName);
139 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_isDeclared);
140 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_isUpdatableViaApex);
141 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_reRegister);
142 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_registerForServiceNotifications);
143 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_registerLazyService);
144 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_setActiveServicesCallback);
145 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_tryUnregister);
146 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_waitForService);
147 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_delete);
148 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_deleteDescription);
149 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_fromExceptionCode);
150 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_fromExceptionCodeWithMessage);
151 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_fromServiceSpecificError);
152 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_fromServiceSpecificErrorWithMessage);
153 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_fromStatus);
154 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_getDescription);
155 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_getExceptionCode);
156 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_getMessage);
157 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_getServiceSpecificError);
158 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_getStatus);
159 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_isOk);
160 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_newOk);
161 DEFINE_INTERCEPTABLE_STUB_FUNCTION(_Z25AIBinder_toPlatformBinderP8AIBinder);
162 DEFINE_INTERCEPTABLE_STUB_FUNCTION(_Z26AParcel_viewPlatformParcelP7AParcel);
163 DEFINE_INTERCEPTABLE_STUB_FUNCTION(_Z26AParcel_viewPlatformParcelPK7AParcel);
164 DEFINE_INTERCEPTABLE_STUB_FUNCTION(_Z27AIBinder_fromPlatformBinderRKN7android2spINS_7IBinderEEE);
165
init_stub_library()166 static void __attribute__((constructor(0))) init_stub_library() {
167 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", ABinderProcess_handlePolledCommands);
168 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", ABinderProcess_isThreadPoolStarted);
169 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", ABinderProcess_joinThreadPool);
170 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", ABinderProcess_setThreadPoolMaxThreadCount);
171 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", ABinderProcess_setupPolling);
172 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", ABinderProcess_startThreadPool);
173 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Class_define);
174 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Class_disableInterfaceTokenHeader);
175 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Class_getDescriptor);
176 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Class_setHandleShellCommand);
177 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Class_setOnDump);
178 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_DeathRecipient_delete);
179 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_DeathRecipient_new);
180 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_DeathRecipient_setOnUnlinked);
181 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Weak_clone);
182 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Weak_delete);
183 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Weak_lt);
184 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Weak_new);
185 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Weak_promote);
186 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_associateClass);
187 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_debugGetRefCount);
188 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_decStrong);
189 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_dump);
190 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_forceDowngradeToSystemStability);
191 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_forceDowngradeToVendorStability);
192 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_fromJavaBinder);
193 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_getCallingPid);
194 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_getCallingSid);
195 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_getCallingUid);
196 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_getClass);
197 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_getExtension);
198 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_getUserData);
199 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_incStrong);
200 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_isAlive);
201 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_isHandlingTransaction);
202 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_isRemote);
203 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_linkToDeath);
204 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_lt);
205 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_markSystemStability);
206 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_markVendorStability);
207 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_markVintfStability);
208 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_new);
209 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_ping);
210 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_prepareTransaction);
211 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_setExtension);
212 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_setInheritRt);
213 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_setMinSchedulerPolicy);
214 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_setRequestingSid);
215 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_toJavaBinder);
216 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_transact);
217 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_unlinkToDeath);
218 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_appendFrom);
219 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_create);
220 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_delete);
221 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_fromJavaParcel);
222 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_getAllowFds);
223 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_getDataPosition);
224 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_getDataSize);
225 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_markSensitive);
226 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_marshal);
227 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readBool);
228 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readBoolArray);
229 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readByte);
230 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readByteArray);
231 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readChar);
232 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readCharArray);
233 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readDouble);
234 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readDoubleArray);
235 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readFloat);
236 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readFloatArray);
237 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readInt32);
238 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readInt32Array);
239 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readInt64);
240 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readInt64Array);
241 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readParcelFileDescriptor);
242 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readParcelableArray);
243 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readStatusHeader);
244 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readString);
245 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readStringArray);
246 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readStrongBinder);
247 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readUint32);
248 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readUint32Array);
249 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readUint64);
250 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readUint64Array);
251 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_reset);
252 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_setDataPosition);
253 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_unmarshal);
254 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeBool);
255 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeBoolArray);
256 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeByte);
257 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeByteArray);
258 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeChar);
259 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeCharArray);
260 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeDouble);
261 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeDoubleArray);
262 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeFloat);
263 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeFloatArray);
264 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeInt32);
265 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeInt32Array);
266 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeInt64);
267 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeInt64Array);
268 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeParcelFileDescriptor);
269 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeParcelableArray);
270 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeStatusHeader);
271 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeString);
272 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeStringArray);
273 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeStrongBinder);
274 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeUint32);
275 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeUint32Array);
276 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeUint64);
277 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeUint64Array);
278 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_NotificationRegistration_delete);
279 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_addService);
280 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_addServiceWithFlags);
281 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_checkService);
282 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_forEachDeclaredInstance);
283 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_forceLazyServicesPersist);
284 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_getService);
285 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_getUpdatableApexName);
286 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_isDeclared);
287 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_isUpdatableViaApex);
288 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_reRegister);
289 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_registerForServiceNotifications);
290 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_registerLazyService);
291 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_setActiveServicesCallback);
292 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_tryUnregister);
293 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_waitForService);
294 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_delete);
295 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_deleteDescription);
296 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_fromExceptionCode);
297 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_fromExceptionCodeWithMessage);
298 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_fromServiceSpecificError);
299 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_fromServiceSpecificErrorWithMessage);
300 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_fromStatus);
301 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_getDescription);
302 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_getExceptionCode);
303 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_getMessage);
304 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_getServiceSpecificError);
305 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_getStatus);
306 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_isOk);
307 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_newOk);
308 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", _Z25AIBinder_toPlatformBinderP8AIBinder);
309 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", _Z26AParcel_viewPlatformParcelP7AParcel);
310 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", _Z26AParcel_viewPlatformParcelPK7AParcel);
311 INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", _Z27AIBinder_fromPlatformBinderRKN7android2spINS_7IBinderEEE);
312 }
313 // clang-format on
314