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