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(AImageReader_acquireLatestImage);
21 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_acquireLatestImageAsync);
22 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_acquireNextImage);
23 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_acquireNextImageAsync);
24 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_delete);
25 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_getFormat);
26 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_getHeight);
27 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_getMaxImages);
28 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_getWidth);
29 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_getWindow);
30 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_getWindowNativeHandle);
31 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_new);
32 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_newWithUsage);
33 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_setBufferRemovedListener);
34 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImageReader_setImageListener);
35 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImage_delete);
36 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImage_deleteAsync);
37 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImage_getCropRect);
38 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImage_getFormat);
39 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImage_getHardwareBuffer);
40 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImage_getHeight);
41 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImage_getNumberOfPlanes);
42 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImage_getPlaneData);
43 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImage_getPlanePixelStride);
44 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImage_getPlaneRowStride);
45 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImage_getTimestamp);
46 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AImage_getWidth);
47 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodecActionCode_isRecoverable);
48 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodecActionCode_isTransient);
49 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodecCryptoInfo_delete);
50 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodecCryptoInfo_getClearBytes);
51 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodecCryptoInfo_getEncryptedBytes);
52 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodecCryptoInfo_getIV);
53 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodecCryptoInfo_getKey);
54 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodecCryptoInfo_getMode);
55 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodecCryptoInfo_getNumSubSamples);
56 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodecCryptoInfo_new);
57 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodecCryptoInfo_setPattern);
58 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_configure);
59 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_createCodecByName);
60 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_createCodecByNameForClient);
61 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_createDecoderByType);
62 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_createDecoderByTypeForClient);
63 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_createEncoderByType);
64 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_createEncoderByTypeForClient);
65 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_createInputSurface);
66 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_createPersistentInputSurface);
67 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_delete);
68 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_dequeueInputBuffer);
69 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_dequeueOutputBuffer);
70 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_flush);
71 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_getBufferFormat);
72 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_getInputBuffer);
73 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_getInputFormat);
74 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_getName);
75 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_getOutputBuffer);
76 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_getOutputFormat);
77 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_queueInputBuffer);
78 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_queueSecureInputBuffer);
79 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_releaseCrypto);
80 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_releaseName);
81 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_releaseOutputBuffer);
82 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_releaseOutputBufferAtTime);
83 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_setAsyncNotifyCallback);
84 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_setInputSurface);
85 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_setOnFrameRenderedCallback);
86 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_setOutputSurface);
87 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_setParameters);
88 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_signalEndOfInputStream);
89 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_start);
90 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCodec_stop);
91 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCrypto_delete);
92 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCrypto_isCryptoSchemeSupported);
93 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCrypto_new);
94 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaCrypto_requiresSecureDecoderComponent);
95 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDataSource_close);
96 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDataSource_delete);
97 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDataSource_new);
98 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDataSource_newUri);
99 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDataSource_setClose);
100 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDataSource_setGetAvailableSize);
101 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDataSource_setGetSize);
102 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDataSource_setReadAt);
103 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDataSource_setUserdata);
104 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_closeSession);
105 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_createByUUID);
106 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_decrypt);
107 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_encrypt);
108 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_getKeyRequest);
109 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_getKeyRequestWithDefaultUrlAndType);
110 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_getPropertyByteArray);
111 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_getPropertyString);
112 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_getProvisionRequest);
113 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_getSecureStops);
114 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_isCryptoSchemeSupported);
115 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_openSession);
116 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_provideKeyResponse);
117 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_provideProvisionResponse);
118 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_queryKeyStatus);
119 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_release);
120 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_releaseSecureStops);
121 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_removeKeys);
122 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_restoreKeys);
123 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_setOnEventListener);
124 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_setOnExpirationUpdateListener);
125 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_setOnKeysChangeListener);
126 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_setPropertyByteArray);
127 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_setPropertyString);
128 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_sign);
129 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaDrm_verify);
130 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_advance);
131 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_delete);
132 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_getCachedDuration);
133 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_getFileFormat);
134 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_getPsshInfo);
135 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_getSampleCryptoInfo);
136 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_getSampleFlags);
137 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_getSampleFormat);
138 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_getSampleSize);
139 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_getSampleTime);
140 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_getSampleTrackIndex);
141 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_getTrackCount);
142 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_getTrackFormat);
143 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_new);
144 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_readSampleData);
145 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_seekTo);
146 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_selectTrack);
147 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_setDataSource);
148 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_setDataSourceCustom);
149 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_setDataSourceFd);
150 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaExtractor_unselectTrack);
151 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_clear);
152 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_copy);
153 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_delete);
154 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_getBuffer);
155 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_getDouble);
156 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_getFloat);
157 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_getInt32);
158 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_getInt64);
159 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_getRect);
160 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_getSize);
161 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_getString);
162 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_new);
163 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setBuffer);
164 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setDouble);
165 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setFloat);
166 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setInt32);
167 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setInt64);
168 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setRect);
169 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setSize);
170 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setString);
171 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_toString);
172 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaMuxer_addTrack);
173 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaMuxer_append);
174 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaMuxer_delete);
175 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaMuxer_getTrackCount);
176 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaMuxer_getTrackFormat);
177 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaMuxer_new);
178 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaMuxer_setLocation);
179 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaMuxer_setOrientationHint);
180 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaMuxer_start);
181 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaMuxer_stop);
182 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaMuxer_writeSampleData);
183 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIACODEC_KEY_HDR10_PLUS_INFO);
184 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIACODEC_KEY_LOW_LATENCY);
185 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIACODEC_KEY_OFFSET_TIME);
186 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIACODEC_KEY_REQUEST_SYNC_FRAME);
187 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIACODEC_KEY_SUSPEND);
188 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIACODEC_KEY_SUSPEND_TIME);
189 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIACODEC_KEY_VIDEO_BITRATE);
190 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_AAC_DRC_ATTENUATION_FACTOR);
191 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_AAC_DRC_BOOST_FACTOR);
192 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_AAC_DRC_HEAVY_COMPRESSION);
193 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_AAC_DRC_TARGET_REFERENCE_LEVEL);
194 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_AAC_ENCODED_TARGET_LEVEL);
195 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT);
196 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_AAC_PROFILE);
197 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_AAC_SBR_MODE);
198 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_ALBUM);
199 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_ALBUMART);
200 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_ALBUMARTIST);
201 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_ARTIST);
202 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_AUDIO_PRESENTATION_INFO);
203 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_AUDIO_SESSION_ID);
204 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_AUTHOR);
205 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_BITRATE_MODE);
206 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_BITS_PER_SAMPLE);
207 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_BIT_RATE);
208 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CAPTURE_RATE);
209 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CDTRACKNUMBER);
210 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CHANNEL_COUNT);
211 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CHANNEL_MASK);
212 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_COLOR_FORMAT);
213 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_COLOR_RANGE);
214 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_COLOR_STANDARD);
215 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_COLOR_TRANSFER);
216 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_COMPILATION);
217 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_COMPLEXITY);
218 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_COMPOSER);
219 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CREATE_INPUT_SURFACE_SUSPENDED);
220 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CRYPTO_DEFAULT_IV_SIZE);
221 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_BYTE_BLOCK);
222 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES);
223 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CRYPTO_IV);
224 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CRYPTO_KEY);
225 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CRYPTO_MODE);
226 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES);
227 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CRYPTO_SKIP_BYTE_BLOCK);
228 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CSD);
229 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CSD_0);
230 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CSD_1);
231 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CSD_2);
232 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CSD_AVC);
233 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_CSD_HEVC);
234 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_D263);
235 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_DATE);
236 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_DISCNUMBER);
237 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_DISPLAY_CROP);
238 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_DISPLAY_HEIGHT);
239 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_DISPLAY_WIDTH);
240 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_DURATION);
241 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_ENCODER_DELAY);
242 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_ENCODER_PADDING);
243 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_ESDS);
244 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_EXIF_OFFSET);
245 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_EXIF_SIZE);
246 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_FLAC_COMPRESSION_LEVEL);
247 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_FRAME_COUNT);
248 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_FRAME_RATE);
249 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_GENRE);
250 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_GRID_COLUMNS);
251 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_GRID_ROWS);
252 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_HAPTIC_CHANNEL_COUNT);
253 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_HDR10_PLUS_INFO);
254 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_HDR_STATIC_INFO);
255 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_HEIGHT);
256 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_ICC_PROFILE);
257 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_INTRA_REFRESH_PERIOD);
258 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_IS_ADTS);
259 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_IS_AUTOSELECT);
260 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_IS_DEFAULT);
261 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_IS_FORCED_SUBTITLE);
262 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_IS_SYNC_FRAME);
263 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_I_FRAME_INTERVAL);
264 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_LANGUAGE);
265 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_LAST_SAMPLE_INDEX_IN_CHUNK);
266 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_LATENCY);
267 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_LEVEL);
268 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_LOCATION);
269 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_LOOP);
270 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_LOW_LATENCY);
271 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_LYRICIST);
272 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MANUFACTURER);
273 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MAX_BIT_RATE);
274 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MAX_FPS_TO_ENCODER);
275 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MAX_HEIGHT);
276 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MAX_INPUT_SIZE);
277 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MAX_PTS_GAP_TO_ENCODER);
278 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MAX_WIDTH);
279 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MIME);
280 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MPEG2_STREAM_HEADER);
281 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MPEGH_COMPATIBLE_SETS);
282 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MPEGH_PROFILE_LEVEL_INDICATION);
283 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MPEGH_REFERENCE_CHANNEL_LAYOUT);
284 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_MPEG_USER_DATA);
285 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_OPERATING_RATE);
286 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_PCM_BIG_ENDIAN);
287 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_PCM_ENCODING);
288 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_PRIORITY);
289 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_PROFILE);
290 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_PSSH);
291 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_PUSH_BLANK_BUFFERS_ON_STOP);
292 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_REPEAT_PREVIOUS_FRAME_AFTER);
293 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_ROTATION);
294 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SAMPLE_FILE_OFFSET);
295 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SAMPLE_RATE);
296 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SAMPLE_TIME_BEFORE_APPEND);
297 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SAR_HEIGHT);
298 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SAR_WIDTH);
299 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SEI);
300 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SLICE_HEIGHT);
301 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SLOW_MOTION_MARKERS);
302 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_STRIDE);
303 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_TARGET_TIME);
304 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_TEMPORAL_LAYERING);
305 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_TEMPORAL_LAYER_COUNT);
306 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_TEMPORAL_LAYER_ID);
307 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_TEXT_FORMAT_DATA);
308 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_THUMBNAIL_CSD_AV1C);
309 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_THUMBNAIL_CSD_HEVC);
310 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_THUMBNAIL_HEIGHT);
311 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_THUMBNAIL_TIME);
312 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_THUMBNAIL_WIDTH);
313 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_TILE_HEIGHT);
314 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_TILE_WIDTH);
315 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_TIME_US);
316 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_TITLE);
317 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_TRACK_ID);
318 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_TRACK_INDEX);
319 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_VALID_SAMPLES);
320 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_WIDTH);
321 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_XMP_OFFSET);
322 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_XMP_SIZE);
323 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_YEAR);
324
init_stub_library()325 static void __attribute__((constructor(0))) init_stub_library() {
326 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_acquireLatestImage);
327 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_acquireLatestImageAsync);
328 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_acquireNextImage);
329 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_acquireNextImageAsync);
330 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_delete);
331 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_getFormat);
332 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_getHeight);
333 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_getMaxImages);
334 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_getWidth);
335 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_getWindow);
336 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_getWindowNativeHandle);
337 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_new);
338 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_newWithUsage);
339 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_setBufferRemovedListener);
340 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImageReader_setImageListener);
341 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImage_delete);
342 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImage_deleteAsync);
343 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImage_getCropRect);
344 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImage_getFormat);
345 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImage_getHardwareBuffer);
346 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImage_getHeight);
347 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImage_getNumberOfPlanes);
348 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImage_getPlaneData);
349 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImage_getPlanePixelStride);
350 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImage_getPlaneRowStride);
351 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImage_getTimestamp);
352 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AImage_getWidth);
353 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodecActionCode_isRecoverable);
354 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodecActionCode_isTransient);
355 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodecCryptoInfo_delete);
356 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodecCryptoInfo_getClearBytes);
357 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodecCryptoInfo_getEncryptedBytes);
358 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodecCryptoInfo_getIV);
359 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodecCryptoInfo_getKey);
360 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodecCryptoInfo_getMode);
361 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodecCryptoInfo_getNumSubSamples);
362 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodecCryptoInfo_new);
363 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodecCryptoInfo_setPattern);
364 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_configure);
365 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_createCodecByName);
366 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_createCodecByNameForClient);
367 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_createDecoderByType);
368 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_createDecoderByTypeForClient);
369 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_createEncoderByType);
370 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_createEncoderByTypeForClient);
371 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_createInputSurface);
372 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_createPersistentInputSurface);
373 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_delete);
374 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_dequeueInputBuffer);
375 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_dequeueOutputBuffer);
376 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_flush);
377 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_getBufferFormat);
378 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_getInputBuffer);
379 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_getInputFormat);
380 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_getName);
381 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_getOutputBuffer);
382 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_getOutputFormat);
383 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_queueInputBuffer);
384 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_queueSecureInputBuffer);
385 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_releaseCrypto);
386 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_releaseName);
387 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_releaseOutputBuffer);
388 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_releaseOutputBufferAtTime);
389 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_setAsyncNotifyCallback);
390 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_setInputSurface);
391 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_setOnFrameRenderedCallback);
392 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_setOutputSurface);
393 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_setParameters);
394 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_signalEndOfInputStream);
395 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_start);
396 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCodec_stop);
397 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCrypto_delete);
398 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCrypto_isCryptoSchemeSupported);
399 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCrypto_new);
400 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaCrypto_requiresSecureDecoderComponent);
401 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDataSource_close);
402 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDataSource_delete);
403 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDataSource_new);
404 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDataSource_newUri);
405 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDataSource_setClose);
406 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDataSource_setGetAvailableSize);
407 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDataSource_setGetSize);
408 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDataSource_setReadAt);
409 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDataSource_setUserdata);
410 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_closeSession);
411 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_createByUUID);
412 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_decrypt);
413 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_encrypt);
414 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_getKeyRequest);
415 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_getKeyRequestWithDefaultUrlAndType);
416 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_getPropertyByteArray);
417 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_getPropertyString);
418 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_getProvisionRequest);
419 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_getSecureStops);
420 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_isCryptoSchemeSupported);
421 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_openSession);
422 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_provideKeyResponse);
423 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_provideProvisionResponse);
424 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_queryKeyStatus);
425 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_release);
426 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_releaseSecureStops);
427 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_removeKeys);
428 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_restoreKeys);
429 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_setOnEventListener);
430 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_setOnExpirationUpdateListener);
431 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_setOnKeysChangeListener);
432 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_setPropertyByteArray);
433 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_setPropertyString);
434 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_sign);
435 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaDrm_verify);
436 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_advance);
437 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_delete);
438 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_getCachedDuration);
439 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_getFileFormat);
440 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_getPsshInfo);
441 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_getSampleCryptoInfo);
442 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_getSampleFlags);
443 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_getSampleFormat);
444 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_getSampleSize);
445 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_getSampleTime);
446 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_getSampleTrackIndex);
447 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_getTrackCount);
448 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_getTrackFormat);
449 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_new);
450 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_readSampleData);
451 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_seekTo);
452 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_selectTrack);
453 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_setDataSource);
454 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_setDataSourceCustom);
455 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_setDataSourceFd);
456 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaExtractor_unselectTrack);
457 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_clear);
458 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_copy);
459 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_delete);
460 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_getBuffer);
461 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_getDouble);
462 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_getFloat);
463 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_getInt32);
464 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_getInt64);
465 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_getRect);
466 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_getSize);
467 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_getString);
468 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_new);
469 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setBuffer);
470 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setDouble);
471 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setFloat);
472 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setInt32);
473 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setInt64);
474 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setRect);
475 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setSize);
476 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setString);
477 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_toString);
478 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaMuxer_addTrack);
479 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaMuxer_append);
480 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaMuxer_delete);
481 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaMuxer_getTrackCount);
482 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaMuxer_getTrackFormat);
483 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaMuxer_new);
484 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaMuxer_setLocation);
485 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaMuxer_setOrientationHint);
486 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaMuxer_start);
487 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaMuxer_stop);
488 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaMuxer_writeSampleData);
489 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIACODEC_KEY_HDR10_PLUS_INFO);
490 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIACODEC_KEY_LOW_LATENCY);
491 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIACODEC_KEY_OFFSET_TIME);
492 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIACODEC_KEY_REQUEST_SYNC_FRAME);
493 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIACODEC_KEY_SUSPEND);
494 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIACODEC_KEY_SUSPEND_TIME);
495 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIACODEC_KEY_VIDEO_BITRATE);
496 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_AAC_DRC_ATTENUATION_FACTOR);
497 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_AAC_DRC_BOOST_FACTOR);
498 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_AAC_DRC_HEAVY_COMPRESSION);
499 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_AAC_DRC_TARGET_REFERENCE_LEVEL);
500 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_AAC_ENCODED_TARGET_LEVEL);
501 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT);
502 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_AAC_PROFILE);
503 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_AAC_SBR_MODE);
504 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_ALBUM);
505 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_ALBUMART);
506 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_ALBUMARTIST);
507 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_ARTIST);
508 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_AUDIO_PRESENTATION_INFO);
509 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_AUDIO_SESSION_ID);
510 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_AUTHOR);
511 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_BITRATE_MODE);
512 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_BITS_PER_SAMPLE);
513 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_BIT_RATE);
514 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CAPTURE_RATE);
515 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CDTRACKNUMBER);
516 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CHANNEL_COUNT);
517 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CHANNEL_MASK);
518 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_COLOR_FORMAT);
519 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_COLOR_RANGE);
520 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_COLOR_STANDARD);
521 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_COLOR_TRANSFER);
522 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_COMPILATION);
523 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_COMPLEXITY);
524 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_COMPOSER);
525 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CREATE_INPUT_SURFACE_SUSPENDED);
526 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CRYPTO_DEFAULT_IV_SIZE);
527 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_BYTE_BLOCK);
528 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES);
529 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CRYPTO_IV);
530 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CRYPTO_KEY);
531 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CRYPTO_MODE);
532 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES);
533 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CRYPTO_SKIP_BYTE_BLOCK);
534 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CSD);
535 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CSD_0);
536 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CSD_1);
537 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CSD_2);
538 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CSD_AVC);
539 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_CSD_HEVC);
540 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_D263);
541 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_DATE);
542 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_DISCNUMBER);
543 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_DISPLAY_CROP);
544 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_DISPLAY_HEIGHT);
545 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_DISPLAY_WIDTH);
546 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_DURATION);
547 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_ENCODER_DELAY);
548 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_ENCODER_PADDING);
549 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_ESDS);
550 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_EXIF_OFFSET);
551 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_EXIF_SIZE);
552 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_FLAC_COMPRESSION_LEVEL);
553 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_FRAME_COUNT);
554 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_FRAME_RATE);
555 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_GENRE);
556 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_GRID_COLUMNS);
557 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_GRID_ROWS);
558 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_HAPTIC_CHANNEL_COUNT);
559 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_HDR10_PLUS_INFO);
560 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_HDR_STATIC_INFO);
561 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_HEIGHT);
562 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_ICC_PROFILE);
563 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_INTRA_REFRESH_PERIOD);
564 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_IS_ADTS);
565 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_IS_AUTOSELECT);
566 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_IS_DEFAULT);
567 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_IS_FORCED_SUBTITLE);
568 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_IS_SYNC_FRAME);
569 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_I_FRAME_INTERVAL);
570 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_LANGUAGE);
571 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_LAST_SAMPLE_INDEX_IN_CHUNK);
572 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_LATENCY);
573 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_LEVEL);
574 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_LOCATION);
575 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_LOOP);
576 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_LOW_LATENCY);
577 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_LYRICIST);
578 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MANUFACTURER);
579 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MAX_BIT_RATE);
580 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MAX_FPS_TO_ENCODER);
581 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MAX_HEIGHT);
582 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MAX_INPUT_SIZE);
583 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MAX_PTS_GAP_TO_ENCODER);
584 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MAX_WIDTH);
585 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MIME);
586 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MPEG2_STREAM_HEADER);
587 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MPEGH_COMPATIBLE_SETS);
588 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MPEGH_PROFILE_LEVEL_INDICATION);
589 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MPEGH_REFERENCE_CHANNEL_LAYOUT);
590 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_MPEG_USER_DATA);
591 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_OPERATING_RATE);
592 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_PCM_BIG_ENDIAN);
593 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_PCM_ENCODING);
594 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_PRIORITY);
595 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_PROFILE);
596 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_PSSH);
597 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_PUSH_BLANK_BUFFERS_ON_STOP);
598 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_REPEAT_PREVIOUS_FRAME_AFTER);
599 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_ROTATION);
600 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SAMPLE_FILE_OFFSET);
601 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SAMPLE_RATE);
602 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SAMPLE_TIME_BEFORE_APPEND);
603 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SAR_HEIGHT);
604 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SAR_WIDTH);
605 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SEI);
606 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SLICE_HEIGHT);
607 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SLOW_MOTION_MARKERS);
608 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_STRIDE);
609 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_TARGET_TIME);
610 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_TEMPORAL_LAYERING);
611 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_TEMPORAL_LAYER_COUNT);
612 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_TEMPORAL_LAYER_ID);
613 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_TEXT_FORMAT_DATA);
614 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_THUMBNAIL_CSD_AV1C);
615 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_THUMBNAIL_CSD_HEVC);
616 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_THUMBNAIL_HEIGHT);
617 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_THUMBNAIL_TIME);
618 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_THUMBNAIL_WIDTH);
619 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_TILE_HEIGHT);
620 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_TILE_WIDTH);
621 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_TIME_US);
622 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_TITLE);
623 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_TRACK_ID);
624 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_TRACK_INDEX);
625 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_VALID_SAMPLES);
626 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_WIDTH);
627 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_XMP_OFFSET);
628 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_XMP_SIZE);
629 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_YEAR);
630 }
631 // clang-format on
632