• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright (C) 2020 The Android Open Source Project
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //      http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 
17 // clang-format off
18 #include "native_bridge_support/vdso/interceptable_functions.h"
19 
20 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ABinderProcess_handlePolledCommands);
21 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ABinderProcess_joinThreadPool);
22 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ABinderProcess_setThreadPoolMaxThreadCount);
23 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ABinderProcess_setupPolling);
24 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ABinderProcess_startThreadPool);
25 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Class_define);
26 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Class_disableInterfaceTokenHeader);
27 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Class_getDescriptor);
28 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Class_setHandleShellCommand);
29 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Class_setOnDump);
30 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_DeathRecipient_delete);
31 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_DeathRecipient_new);
32 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_DeathRecipient_setOnUnlinked);
33 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Weak_clone);
34 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Weak_delete);
35 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Weak_lt);
36 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Weak_new);
37 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_Weak_promote);
38 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_associateClass);
39 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_debugGetRefCount);
40 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_decStrong);
41 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_dump);
42 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_forceDowngradeToSystemStability);
43 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_forceDowngradeToVendorStability);
44 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_fromJavaBinder);
45 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_getCallingPid);
46 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_getCallingSid);
47 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_getCallingUid);
48 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_getClass);
49 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_getExtension);
50 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_getUserData);
51 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_incStrong);
52 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_isAlive);
53 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_isHandlingTransaction);
54 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_isRemote);
55 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_linkToDeath);
56 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_lt);
57 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_markSystemStability);
58 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_markVendorStability);
59 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_markVintfStability);
60 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_new);
61 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_ping);
62 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_prepareTransaction);
63 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_setExtension);
64 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_setInheritRt);
65 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_setMinSchedulerPolicy);
66 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_setRequestingSid);
67 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_toJavaBinder);
68 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_transact);
69 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AIBinder_unlinkToDeath);
70 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_appendFrom);
71 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_create);
72 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_delete);
73 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_fromJavaParcel);
74 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_getAllowFds);
75 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_getDataPosition);
76 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_getDataSize);
77 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_markSensitive);
78 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_marshal);
79 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readBool);
80 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readBoolArray);
81 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readByte);
82 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readByteArray);
83 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readChar);
84 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readCharArray);
85 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readDouble);
86 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readDoubleArray);
87 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readFloat);
88 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readFloatArray);
89 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readInt32);
90 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readInt32Array);
91 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readInt64);
92 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readInt64Array);
93 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readParcelFileDescriptor);
94 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readParcelableArray);
95 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readStatusHeader);
96 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readString);
97 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readStringArray);
98 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readStrongBinder);
99 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readUint32);
100 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readUint32Array);
101 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readUint64);
102 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_readUint64Array);
103 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_reset);
104 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_setDataPosition);
105 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_unmarshal);
106 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeBool);
107 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeBoolArray);
108 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeByte);
109 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeByteArray);
110 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeChar);
111 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeCharArray);
112 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeDouble);
113 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeDoubleArray);
114 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeFloat);
115 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeFloatArray);
116 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeInt32);
117 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeInt32Array);
118 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeInt64);
119 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeInt64Array);
120 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeParcelFileDescriptor);
121 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeParcelableArray);
122 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeStatusHeader);
123 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeString);
124 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeStringArray);
125 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeStrongBinder);
126 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeUint32);
127 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeUint32Array);
128 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeUint64);
129 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AParcel_writeUint64Array);
130 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_addService);
131 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_checkService);
132 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_forEachDeclaredInstance);
133 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_forceLazyServicesPersist);
134 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_getService);
135 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_isDeclared);
136 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_isUpdatableViaApex);
137 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_reRegister);
138 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_registerLazyService);
139 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_setActiveServicesCallback);
140 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_tryUnregister);
141 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AServiceManager_waitForService);
142 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_delete);
143 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_deleteDescription);
144 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_fromExceptionCode);
145 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_fromExceptionCodeWithMessage);
146 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_fromServiceSpecificError);
147 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_fromServiceSpecificErrorWithMessage);
148 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_fromStatus);
149 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_getDescription);
150 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_getExceptionCode);
151 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_getMessage);
152 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_getServiceSpecificError);
153 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_getStatus);
154 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_isOk);
155 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStatus_newOk);
156 DEFINE_INTERCEPTABLE_STUB_FUNCTION(_Z25AIBinder_toPlatformBinderP8AIBinder);
157 DEFINE_INTERCEPTABLE_STUB_FUNCTION(_Z27AIBinder_fromPlatformBinderRKN7android2spINS_7IBinderEEE);
158 
init_stub_library()159 static void __attribute__((constructor(0))) init_stub_library() {
160   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", ABinderProcess_handlePolledCommands);
161   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", ABinderProcess_joinThreadPool);
162   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", ABinderProcess_setThreadPoolMaxThreadCount);
163   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", ABinderProcess_setupPolling);
164   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", ABinderProcess_startThreadPool);
165   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Class_define);
166   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Class_disableInterfaceTokenHeader);
167   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Class_getDescriptor);
168   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Class_setHandleShellCommand);
169   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Class_setOnDump);
170   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_DeathRecipient_delete);
171   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_DeathRecipient_new);
172   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_DeathRecipient_setOnUnlinked);
173   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Weak_clone);
174   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Weak_delete);
175   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Weak_lt);
176   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Weak_new);
177   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_Weak_promote);
178   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_associateClass);
179   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_debugGetRefCount);
180   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_decStrong);
181   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_dump);
182   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_forceDowngradeToSystemStability);
183   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_forceDowngradeToVendorStability);
184   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_fromJavaBinder);
185   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_getCallingPid);
186   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_getCallingSid);
187   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_getCallingUid);
188   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_getClass);
189   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_getExtension);
190   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_getUserData);
191   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_incStrong);
192   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_isAlive);
193   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_isHandlingTransaction);
194   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_isRemote);
195   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_linkToDeath);
196   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_lt);
197   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_markSystemStability);
198   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_markVendorStability);
199   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_markVintfStability);
200   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_new);
201   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_ping);
202   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_prepareTransaction);
203   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_setExtension);
204   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_setInheritRt);
205   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_setMinSchedulerPolicy);
206   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_setRequestingSid);
207   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_toJavaBinder);
208   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_transact);
209   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AIBinder_unlinkToDeath);
210   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_appendFrom);
211   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_create);
212   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_delete);
213   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_fromJavaParcel);
214   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_getAllowFds);
215   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_getDataPosition);
216   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_getDataSize);
217   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_markSensitive);
218   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_marshal);
219   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readBool);
220   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readBoolArray);
221   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readByte);
222   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readByteArray);
223   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readChar);
224   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readCharArray);
225   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readDouble);
226   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readDoubleArray);
227   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readFloat);
228   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readFloatArray);
229   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readInt32);
230   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readInt32Array);
231   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readInt64);
232   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readInt64Array);
233   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readParcelFileDescriptor);
234   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readParcelableArray);
235   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readStatusHeader);
236   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readString);
237   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readStringArray);
238   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readStrongBinder);
239   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readUint32);
240   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readUint32Array);
241   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readUint64);
242   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_readUint64Array);
243   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_reset);
244   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_setDataPosition);
245   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_unmarshal);
246   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeBool);
247   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeBoolArray);
248   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeByte);
249   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeByteArray);
250   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeChar);
251   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeCharArray);
252   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeDouble);
253   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeDoubleArray);
254   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeFloat);
255   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeFloatArray);
256   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeInt32);
257   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeInt32Array);
258   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeInt64);
259   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeInt64Array);
260   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeParcelFileDescriptor);
261   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeParcelableArray);
262   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeStatusHeader);
263   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeString);
264   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeStringArray);
265   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeStrongBinder);
266   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeUint32);
267   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeUint32Array);
268   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeUint64);
269   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AParcel_writeUint64Array);
270   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_addService);
271   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_checkService);
272   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_forEachDeclaredInstance);
273   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_forceLazyServicesPersist);
274   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_getService);
275   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_isDeclared);
276   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_isUpdatableViaApex);
277   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_reRegister);
278   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_registerLazyService);
279   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_setActiveServicesCallback);
280   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_tryUnregister);
281   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AServiceManager_waitForService);
282   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_delete);
283   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_deleteDescription);
284   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_fromExceptionCode);
285   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_fromExceptionCodeWithMessage);
286   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_fromServiceSpecificError);
287   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_fromServiceSpecificErrorWithMessage);
288   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_fromStatus);
289   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_getDescription);
290   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_getExceptionCode);
291   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_getMessage);
292   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_getServiceSpecificError);
293   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_getStatus);
294   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_isOk);
295   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", AStatus_newOk);
296   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", _Z25AIBinder_toPlatformBinderP8AIBinder);
297   INIT_INTERCEPTABLE_STUB_FUNCTION("libbinder_ndk.so", _Z27AIBinder_fromPlatformBinderRKN7android2spINS_7IBinderEEE);
298 }
299 // clang-format on
300