1LIBBINDER_NDK { # introduced=29
2  global:
3    AIBinder_associateClass;
4    AIBinder_Class_define;
5    AIBinder_Class_setOnDump;
6    AIBinder_DeathRecipient_delete;
7    AIBinder_DeathRecipient_new;
8    AIBinder_debugGetRefCount;
9    AIBinder_decStrong;
10    AIBinder_dump;
11    AIBinder_fromJavaBinder;
12    AIBinder_getCallingPid;
13    AIBinder_getCallingUid;
14    AIBinder_getClass;
15    AIBinder_getUserData;
16    AIBinder_incStrong;
17    AIBinder_isAlive;
18    AIBinder_isRemote;
19    AIBinder_linkToDeath;
20    AIBinder_new;
21    AIBinder_ping;
22    AIBinder_prepareTransaction;
23    AIBinder_toJavaBinder;
24    AIBinder_transact;
25    AIBinder_unlinkToDeath;
26    AIBinder_Weak_delete;
27    AIBinder_Weak_new;
28    AIBinder_Weak_promote;
29    AParcel_delete;
30    AParcel_getDataPosition;
31    AParcel_readBool;
32    AParcel_readBoolArray;
33    AParcel_readByte;
34    AParcel_readByteArray;
35    AParcel_readChar;
36    AParcel_readCharArray;
37    AParcel_readDouble;
38    AParcel_readDoubleArray;
39    AParcel_readFloat;
40    AParcel_readFloatArray;
41    AParcel_readInt32;
42    AParcel_readInt32Array;
43    AParcel_readInt64;
44    AParcel_readInt64Array;
45    AParcel_readParcelableArray;
46    AParcel_readParcelFileDescriptor;
47    AParcel_readStatusHeader;
48    AParcel_readString;
49    AParcel_readStringArray;
50    AParcel_readStrongBinder;
51    AParcel_readUint32;
52    AParcel_readUint32Array;
53    AParcel_readUint64;
54    AParcel_readUint64Array;
55    AParcel_setDataPosition;
56    AParcel_writeBool;
57    AParcel_writeBoolArray;
58    AParcel_writeByte;
59    AParcel_writeByteArray;
60    AParcel_writeChar;
61    AParcel_writeCharArray;
62    AParcel_writeDouble;
63    AParcel_writeDoubleArray;
64    AParcel_writeFloat;
65    AParcel_writeFloatArray;
66    AParcel_writeInt32;
67    AParcel_writeInt32Array;
68    AParcel_writeInt64;
69    AParcel_writeInt64Array;
70    AParcel_writeParcelableArray;
71    AParcel_writeParcelFileDescriptor;
72    AParcel_writeStatusHeader;
73    AParcel_writeString;
74    AParcel_writeStringArray;
75    AParcel_writeStrongBinder;
76    AParcel_writeUint32;
77    AParcel_writeUint32Array;
78    AParcel_writeUint64;
79    AParcel_writeUint64Array;
80    AStatus_delete;
81    AStatus_fromExceptionCode;
82    AStatus_fromExceptionCodeWithMessage;
83    AStatus_fromServiceSpecificError;
84    AStatus_fromServiceSpecificErrorWithMessage;
85    AStatus_fromStatus;
86    AStatus_getExceptionCode;
87    AStatus_getMessage;
88    AStatus_getServiceSpecificError;
89    AStatus_getStatus;
90    AStatus_isOk;
91    AStatus_newOk;
92    ABinderProcess_joinThreadPool; # systemapi llndk
93    ABinderProcess_setThreadPoolMaxThreadCount; # systemapi llndk
94    ABinderProcess_startThreadPool; # systemapi llndk
95    AServiceManager_addService; # systemapi llndk
96    AServiceManager_checkService; # systemapi llndk
97    AServiceManager_getService; # systemapi llndk
98};
99
100LIBBINDER_NDK30 { # introduced=30
101  global:
102    AIBinder_getExtension;
103    AIBinder_setExtension;
104    AStatus_getDescription;
105    AStatus_deleteDescription;
106    AParcel_fromJavaParcel;
107
108    AIBinder_markSystemStability; # systemapi
109    AIBinder_markVendorStability; # llndk
110    AIBinder_markVintfStability; # systemapi llndk
111    AIBinder_Class_setHandleShellCommand; # systemapi llndk
112};
113
114LIBBINDER_NDK31 { # introduced=31
115  global:
116    ABinderProcess_handlePolledCommands; # systemapi
117    ABinderProcess_setupPolling; # systemapi
118    AIBinder_getCallingSid; # systemapi
119    AIBinder_setRequestingSid; # systemapi
120    AParcel_markSensitive; # systemapi llndk
121    AServiceManager_forEachDeclaredInstance; # systemapi llndk
122    AServiceManager_forceLazyServicesPersist; # systemapi llndk
123    AServiceManager_isDeclared; # systemapi llndk
124    AServiceManager_isUpdatableViaApex; # systemapi
125    AServiceManager_reRegister; # llndk
126    AServiceManager_registerLazyService; # systemapi llndk
127    AServiceManager_setActiveServicesCallback; # llndk
128    AServiceManager_tryUnregister; # llndk
129    AServiceManager_waitForService; # systemapi llndk
130
131    AIBinder_forceDowngradeToSystemStability; # systemapi
132    AIBinder_forceDowngradeToVendorStability; # llndk
133
134    AIBinder_Class_getDescriptor;
135    AIBinder_Weak_clone;
136    AIBinder_Weak_lt;
137    AIBinder_lt;
138    AParcel_appendFrom;
139    AParcel_create;
140    AParcel_getDataSize;
141    AParcel_reset;
142};
143
144LIBBINDER_NDK33 { # introduced=33
145  global:
146    AIBinder_Class_disableInterfaceTokenHeader;
147    AIBinder_DeathRecipient_setOnUnlinked;
148    AIBinder_isHandlingTransaction;
149    AIBinder_setInheritRt; # systemapi llndk
150    AIBinder_setMinSchedulerPolicy; # systemapi llndk
151    AParcel_marshal;
152    AParcel_unmarshal;
153};
154
155LIBBINDER_NDK34 { # introduced=UpsideDownCake
156  global:
157    ABinderProcess_isThreadPoolStarted; # systemapi llndk
158    AServiceManager_getUpdatableApexName; # systemapi
159    AServiceManager_registerForServiceNotifications; # systemapi llndk
160    AServiceManager_NotificationRegistration_delete; # systemapi llndk
161    AServiceManager_addServiceWithFlags; # systemapi llndk
162};
163
164LIBBINDER_NDK35 { # introduced=VanillaIceCream
165  global:
166    APersistableBundle_readFromParcel;
167    APersistableBundle_readFromParcel; # llndk=202404
168    APersistableBundle_writeToParcel;
169    APersistableBundle_writeToParcel; # llndk=202404
170    APersistableBundle_new;
171    APersistableBundle_new; # llndk=202404
172    APersistableBundle_dup;
173    APersistableBundle_dup; # llndk=202404
174    APersistableBundle_delete;
175    APersistableBundle_delete; # llndk=202404
176    APersistableBundle_isEqual;
177    APersistableBundle_isEqual; # llndk=202404
178    APersistableBundle_size;
179    APersistableBundle_size; # llndk=202404
180    APersistableBundle_erase;
181    APersistableBundle_erase; # llndk=202404
182    APersistableBundle_putBoolean;
183    APersistableBundle_putBoolean; # llndk=202404
184    APersistableBundle_putInt;
185    APersistableBundle_putInt; # llndk=202404
186    APersistableBundle_putLong;
187    APersistableBundle_putLong; # llndk=202404
188    APersistableBundle_putDouble;
189    APersistableBundle_putDouble; # llndk=202404
190    APersistableBundle_putString;
191    APersistableBundle_putString; # llndk=202404
192    APersistableBundle_putBooleanVector;
193    APersistableBundle_putBooleanVector; # llndk=202404
194    APersistableBundle_putIntVector;
195    APersistableBundle_putIntVector; # llndk=202404
196    APersistableBundle_putLongVector;
197    APersistableBundle_putLongVector; # llndk=202404
198    APersistableBundle_putDoubleVector;
199    APersistableBundle_putDoubleVector; # llndk=202404
200    APersistableBundle_putStringVector;
201    APersistableBundle_putStringVector; # llndk=202404
202    APersistableBundle_putPersistableBundle;
203    APersistableBundle_putPersistableBundle; # llndk=202404
204    APersistableBundle_getBoolean;
205    APersistableBundle_getBoolean; # llndk=202404
206    APersistableBundle_getInt;
207    APersistableBundle_getInt; # llndk=202404
208    APersistableBundle_getLong;
209    APersistableBundle_getLong; # llndk=202404
210    APersistableBundle_getDouble;
211    APersistableBundle_getDouble; # llndk=202404
212    APersistableBundle_getString;
213    APersistableBundle_getString; # llndk=202404
214    APersistableBundle_getBooleanVector;
215    APersistableBundle_getBooleanVector; # llndk=202404
216    APersistableBundle_getIntVector;
217    APersistableBundle_getIntVector; # llndk=202404
218    APersistableBundle_getLongVector;
219    APersistableBundle_getLongVector; # llndk=202404
220    APersistableBundle_getDoubleVector;
221    APersistableBundle_getDoubleVector; # llndk=202404
222    APersistableBundle_getStringVector;
223    APersistableBundle_getStringVector; # llndk=202404
224    APersistableBundle_getPersistableBundle;
225    APersistableBundle_getPersistableBundle; # llndk=202404
226    APersistableBundle_getBooleanKeys;
227    APersistableBundle_getBooleanKeys; # llndk=202404
228    APersistableBundle_getIntKeys;
229    APersistableBundle_getIntKeys; # llndk=202404
230    APersistableBundle_getLongKeys;
231    APersistableBundle_getLongKeys; # llndk=202404
232    APersistableBundle_getDoubleKeys;
233    APersistableBundle_getDoubleKeys; # llndk=202404
234    APersistableBundle_getStringKeys;
235    APersistableBundle_getStringKeys; # llndk=202404
236    APersistableBundle_getBooleanVectorKeys;
237    APersistableBundle_getBooleanVectorKeys; # llndk=202404
238    APersistableBundle_getIntVectorKeys;
239    APersistableBundle_getIntVectorKeys; # llndk=202404
240    APersistableBundle_getLongVectorKeys;
241    APersistableBundle_getLongVectorKeys; # llndk=202404
242    APersistableBundle_getDoubleVectorKeys;
243    APersistableBundle_getDoubleVectorKeys; # llndk=202404
244    APersistableBundle_getStringVectorKeys;
245    APersistableBundle_getStringVectorKeys; # llndk=202404
246    APersistableBundle_getPersistableBundleKeys;
247    APersistableBundle_getPersistableBundleKeys; # llndk=202404
248    AServiceManager_openDeclaredPassthroughHal; # systemapi llndk=202404
249};
250
251LIBBINDER_NDK_PLATFORM {
252  global:
253    AParcel_getAllowFds;
254    extern "C++" {
255        AIBinder_fromPlatformBinder*;
256        AIBinder_toPlatformBinder*;
257        AParcel_viewPlatformParcel*;
258    };
259  local:
260    *;
261};
262