Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 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 | |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 20 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AActivityManager_addUidImportanceListener); |
| 21 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AActivityManager_getUidImportance); |
| 22 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AActivityManager_isUidActive); |
| 23 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AActivityManager_removeUidImportanceListener); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 24 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetDir_close); |
| 25 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetDir_getNextFileName); |
| 26 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetDir_rewind); |
| 27 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetManager_fromJava); |
| 28 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetManager_open); |
| 29 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAssetManager_openDir); |
| 30 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_close); |
| 31 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getBuffer); |
| 32 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getLength); |
| 33 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getLength64); |
| 34 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getRemainingLength); |
| 35 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_getRemainingLength64); |
| 36 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_isAllocated); |
| 37 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_openFileDescriptor); |
| 38 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_openFileDescriptor64); |
| 39 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_read); |
| 40 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_seek); |
| 41 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AAsset_seek64); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 42 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographerFrameCallbackData_getFrameTimeNanos); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 43 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos); |
| 44 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentationTimeNanos); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 45 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographerFrameCallbackData_getFrameTimelineVsyncId); |
| 46 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographerFrameCallbackData_getFrameTimelinesLength); |
| 47 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 48 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_getInstance); |
| 49 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postFrameCallback); |
| 50 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postFrameCallback64); |
| 51 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postFrameCallbackDelayed); |
| 52 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postFrameCallbackDelayed64); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 53 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_postVsyncCallback); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 54 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_registerRefreshRateCallback); |
| 55 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AChoreographer_unregisterRefreshRateCallback); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 56 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_copy); |
| 57 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_delete); |
| 58 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_diff); |
| 59 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_fromAssetManager); |
| 60 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getCountry); |
| 61 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getDensity); |
| 62 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getKeyboard); |
| 63 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getKeysHidden); |
| 64 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getLanguage); |
| 65 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getLayoutDirection); |
| 66 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getMcc); |
| 67 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getMnc); |
| 68 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getNavHidden); |
| 69 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getNavigation); |
| 70 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getOrientation); |
| 71 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenHeightDp); |
| 72 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenLong); |
| 73 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenRound); |
| 74 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenSize); |
| 75 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getScreenWidthDp); |
| 76 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getSdkVersion); |
| 77 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getSmallestScreenWidthDp); |
| 78 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getTouchscreen); |
| 79 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getUiModeNight); |
| 80 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_getUiModeType); |
| 81 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_isBetterThan); |
| 82 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_match); |
| 83 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_new); |
| 84 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setCountry); |
| 85 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setDensity); |
| 86 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setKeyboard); |
| 87 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setKeysHidden); |
| 88 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setLanguage); |
| 89 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setLayoutDirection); |
| 90 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setMcc); |
| 91 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setMnc); |
| 92 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setNavHidden); |
| 93 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setNavigation); |
| 94 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setOrientation); |
| 95 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenHeightDp); |
| 96 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenLong); |
| 97 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenSize); |
| 98 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setScreenWidthDp); |
| 99 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setSdkVersion); |
| 100 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setSmallestScreenWidthDp); |
| 101 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setTouchscreen); |
| 102 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setUiModeNight); |
| 103 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AConfiguration_setUiModeType); |
| 104 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_create); |
| 105 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_destroy); |
| 106 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_match); |
| 107 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_setFamilyVariant); |
| 108 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_setLocales); |
| 109 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFontMatcher_setStyle); |
| 110 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_close); |
| 111 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getAxisCount); |
| 112 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getAxisTag); |
| 113 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getAxisValue); |
| 114 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getCollectionIndex); |
| 115 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getFontFilePath); |
| 116 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getLocale); |
| 117 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_getWeight); |
| 118 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AFont_isItalic); |
| 119 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_acquire); |
| 120 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_allocate); |
| 121 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_describe); |
| 122 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_fromHardwareBuffer); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 123 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_getId); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 124 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_getNativeHandle); |
| 125 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_isSupported); |
| 126 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_lock); |
| 127 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_lockAndGetInfo); |
| 128 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_lockPlanes); |
| 129 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_recvHandleFromUnixSocket); |
| 130 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_release); |
| 131 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_sendHandleToUnixSocket); |
| 132 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_toHardwareBuffer); |
| 133 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_unlock); |
| 134 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_getDeviceId); |
| 135 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_getSource); |
| 136 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_getType); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 137 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputEvent_release); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 138 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_attachLooper); |
| 139 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_detachLooper); |
| 140 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_finishEvent); |
Lev Rumyantsev | 57618c3 | 2021-12-15 18:27:11 -0800 | [diff] [blame] | 141 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_fromJava); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 142 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_getEvent); |
| 143 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_hasEvents); |
| 144 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AInputQueue_preDispatchEvent); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 145 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_fromJava); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 146 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getAction); |
| 147 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getDownTime); |
| 148 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getEventTime); |
| 149 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getFlags); |
| 150 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getKeyCode); |
| 151 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getMetaState); |
| 152 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getRepeatCount); |
| 153 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AKeyEvent_getScanCode); |
| 154 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_acquire); |
| 155 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_addFd); |
| 156 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_forThread); |
| 157 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_pollAll); |
| 158 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_pollOnce); |
| 159 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_prepare); |
| 160 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_release); |
| 161 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_removeFd); |
| 162 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ALooper_wake); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 163 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_fromJava); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 164 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getAction); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 165 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getActionButton); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 166 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getAxisValue); |
| 167 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getButtonState); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 168 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getClassification); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 169 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getDownTime); |
| 170 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getEdgeFlags); |
| 171 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getEventTime); |
| 172 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getFlags); |
| 173 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalAxisValue); |
| 174 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalEventTime); |
| 175 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalOrientation); |
| 176 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalPressure); |
| 177 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalRawX); |
| 178 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalRawY); |
| 179 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalSize); |
| 180 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalToolMajor); |
| 181 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalToolMinor); |
| 182 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalTouchMajor); |
| 183 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalTouchMinor); |
| 184 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalX); |
| 185 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistoricalY); |
| 186 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getHistorySize); |
| 187 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getMetaState); |
| 188 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getOrientation); |
| 189 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getPointerCount); |
| 190 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getPointerId); |
| 191 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getPressure); |
| 192 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getRawX); |
| 193 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getRawY); |
| 194 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getSize); |
| 195 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getToolMajor); |
| 196 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getToolMinor); |
| 197 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getToolType); |
| 198 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getTouchMajor); |
| 199 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getTouchMinor); |
| 200 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getX); |
| 201 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getXOffset); |
| 202 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getXPrecision); |
| 203 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getY); |
| 204 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getYOffset); |
| 205 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMotionEvent_getYPrecision); |
| 206 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_finish); |
| 207 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_hideSoftInput); |
| 208 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_setWindowFlags); |
| 209 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_setWindowFormat); |
| 210 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeActivity_showSoftInput); |
| 211 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_acquire); |
| 212 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_fromSurface); |
| 213 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_getFormat); |
| 214 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_getHeight); |
| 215 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_getWidth); |
| 216 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_lock); |
| 217 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_release); |
| 218 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_setBuffersGeometry); |
| 219 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_toSurface); |
| 220 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANativeWindow_unlockAndPost); |
| 221 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_delete); |
| 222 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_getFlags); |
| 223 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_getPackageName); |
| 224 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbInfo_getVersion); |
| 225 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AObbScanner_getObbInfo); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 226 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_closeSession); |
| 227 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_createSession); |
| 228 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_getManager); |
| 229 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_getPreferredUpdateRateNanos); |
| 230 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_reportActualWorkDuration); |
| 231 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_setIHintManagerForTesting); |
| 232 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(APerformanceHint_updateTargetWorkDuration); |
| 233 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(APermissionManager_checkPermission); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 234 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_disableSensor); |
| 235 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_enableSensor); |
| 236 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_getEvents); |
| 237 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_hasEvents); |
| 238 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_registerSensor); |
| 239 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_requestAdditionalInfoEvents); |
| 240 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorEventQueue_setEventRate); |
| 241 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_configureDirectReport); |
| 242 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_createEventQueue); |
| 243 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_createHardwareBufferDirectChannel); |
| 244 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_createSharedMemoryDirectChannel); |
| 245 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_destroyDirectChannel); |
| 246 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_destroyEventQueue); |
| 247 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getDefaultSensor); |
| 248 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getDefaultSensorEx); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 249 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getDynamicSensorList); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 250 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getInstance); |
| 251 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getInstanceForPackage); |
| 252 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensorManager_getSensorList); |
| 253 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getFifoMaxEventCount); |
| 254 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getFifoReservedEventCount); |
| 255 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getHandle); |
| 256 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getHighestDirectReportRateLevel); |
| 257 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getMinDelay); |
| 258 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getName); |
| 259 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getReportingMode); |
| 260 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getResolution); |
| 261 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getStringType); |
| 262 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getType); |
| 263 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_getVendor); |
| 264 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_isDirectChannelTypeSupported); |
| 265 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASensor_isWakeUpSensor); |
| 266 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_create); |
| 267 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_dupFromJava); |
| 268 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_getSize); |
| 269 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASharedMemory_setProt); |
| 270 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_delete); |
| 271 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_getMountedObbPath); |
| 272 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_isObbMounted); |
| 273 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_mountObb); |
| 274 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_new); |
| 275 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AStorageManager_unmountObb); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 276 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControlStats_getAcquireTime); |
| 277 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControlStats_getFrameNumber); |
| 278 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_acquire); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 279 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_create); |
| 280 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_createFromWindow); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 281 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_registerSurfaceStatsListener); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 282 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_release); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 283 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceControl_unregisterSurfaceStatsListener); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 284 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_acquireANativeWindow); |
| 285 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_attachToGLContext); |
| 286 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_detachFromGLContext); |
| 287 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_fromSurfaceTexture); |
| 288 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_getTimestamp); |
| 289 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_getTransformMatrix); |
| 290 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_release); |
| 291 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTexture_updateTexImage); |
| 292 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getASurfaceControls); |
| 293 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getAcquireTime); |
| 294 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getLatchTime); |
| 295 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getPresentFenceFd); |
| 296 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_getPreviousReleaseFenceFd); |
| 297 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransactionStats_releaseASurfaceControls); |
| 298 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_apply); |
| 299 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_create); |
| 300 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_delete); |
| 301 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_reparent); |
| 302 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBuffer); |
| 303 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferAlpha); |
| 304 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferDataSpace); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 305 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferTransform); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 306 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setBufferTransparency); |
| 307 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setColor); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 308 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setCrop); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 309 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setDamageRegion); |
| 310 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setDesiredPresentTime); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 311 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setEnableBackPressure); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 312 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setFrameRate); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 313 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setFrameRateWithChangeStrategy); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 314 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setFrameTimeline); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 315 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setGeometry); |
| 316 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setHdrMetadata_cta861_3); |
| 317 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setHdrMetadata_smpte2086); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 318 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setOnCommit); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 319 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setOnComplete); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 320 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setPosition); |
| 321 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setScale); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 322 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setVisibility); |
| 323 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASurfaceTransaction_setZOrder); |
| 324 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASystemFontIterator_close); |
| 325 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASystemFontIterator_next); |
| 326 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ASystemFontIterator_open); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 327 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_acquireManager); |
| 328 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_getCurrentThermalStatus); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 329 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_getThermalHeadroom); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 330 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_registerThermalStatusListener); |
| 331 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_releaseManager); |
| 332 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(AThermal_unregisterThermalStatusListener); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 333 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_beginAsyncSection); |
| 334 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_beginSection); |
| 335 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_endAsyncSection); |
| 336 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_endSection); |
| 337 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_isEnabled); |
| 338 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(ATrace_setCounter); |
| 339 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_getaddrinfofornetwork); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 340 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_getprocdns); |
| 341 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_getprocnetwork); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 342 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_cancel); |
| 343 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_nquery); |
| 344 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_nresult); |
| 345 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_res_nsend); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 346 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_setprocdns); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 347 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_setprocnetwork); |
| 348 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_setsocknetwork); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 349 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_tag_socket); |
| 350 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_tag_socket_with_uid); |
| 351 | DEFINE_INTERCEPTABLE_STUB_FUNCTION(android_untag_socket); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 352 | |
| 353 | static void __attribute__((constructor(0))) init_stub_library() { |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 354 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AActivityManager_addUidImportanceListener); |
| 355 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AActivityManager_getUidImportance); |
| 356 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AActivityManager_isUidActive); |
| 357 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AActivityManager_removeUidImportanceListener); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 358 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetDir_close); |
| 359 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetDir_getNextFileName); |
| 360 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetDir_rewind); |
| 361 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetManager_fromJava); |
| 362 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetManager_open); |
| 363 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAssetManager_openDir); |
| 364 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_close); |
| 365 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getBuffer); |
| 366 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getLength); |
| 367 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getLength64); |
| 368 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getRemainingLength); |
| 369 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_getRemainingLength64); |
| 370 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_isAllocated); |
| 371 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_openFileDescriptor); |
| 372 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_openFileDescriptor64); |
| 373 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_read); |
| 374 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_seek); |
| 375 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AAsset_seek64); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 376 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimeNanos); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 377 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos); |
| 378 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentationTimeNanos); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 379 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimelineVsyncId); |
| 380 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getFrameTimelinesLength); |
| 381 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 382 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_getInstance); |
| 383 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallback); |
| 384 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallback64); |
| 385 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallbackDelayed); |
| 386 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postFrameCallbackDelayed64); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 387 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_postVsyncCallback); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 388 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_registerRefreshRateCallback); |
| 389 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AChoreographer_unregisterRefreshRateCallback); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 390 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_copy); |
| 391 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_delete); |
| 392 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_diff); |
| 393 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_fromAssetManager); |
| 394 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getCountry); |
| 395 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getDensity); |
| 396 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getKeyboard); |
| 397 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getKeysHidden); |
| 398 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getLanguage); |
| 399 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getLayoutDirection); |
| 400 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getMcc); |
| 401 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getMnc); |
| 402 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getNavHidden); |
| 403 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getNavigation); |
| 404 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getOrientation); |
| 405 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenHeightDp); |
| 406 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenLong); |
| 407 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenRound); |
| 408 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenSize); |
| 409 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getScreenWidthDp); |
| 410 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getSdkVersion); |
| 411 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getSmallestScreenWidthDp); |
| 412 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getTouchscreen); |
| 413 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getUiModeNight); |
| 414 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_getUiModeType); |
| 415 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_isBetterThan); |
| 416 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_match); |
| 417 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_new); |
| 418 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setCountry); |
| 419 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setDensity); |
| 420 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setKeyboard); |
| 421 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setKeysHidden); |
| 422 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setLanguage); |
| 423 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setLayoutDirection); |
| 424 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setMcc); |
| 425 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setMnc); |
| 426 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setNavHidden); |
| 427 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setNavigation); |
| 428 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setOrientation); |
| 429 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenHeightDp); |
| 430 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenLong); |
| 431 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenSize); |
| 432 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setScreenWidthDp); |
| 433 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setSdkVersion); |
| 434 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setSmallestScreenWidthDp); |
| 435 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setTouchscreen); |
| 436 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setUiModeNight); |
| 437 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AConfiguration_setUiModeType); |
| 438 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_create); |
| 439 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_destroy); |
| 440 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_match); |
| 441 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_setFamilyVariant); |
| 442 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_setLocales); |
| 443 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFontMatcher_setStyle); |
| 444 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_close); |
| 445 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getAxisCount); |
| 446 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getAxisTag); |
| 447 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getAxisValue); |
| 448 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getCollectionIndex); |
| 449 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getFontFilePath); |
| 450 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getLocale); |
| 451 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_getWeight); |
| 452 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AFont_isItalic); |
| 453 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_acquire); |
| 454 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_allocate); |
| 455 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_describe); |
| 456 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_fromHardwareBuffer); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 457 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_getId); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 458 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_getNativeHandle); |
| 459 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_isSupported); |
| 460 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_lock); |
| 461 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_lockAndGetInfo); |
| 462 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_lockPlanes); |
| 463 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_recvHandleFromUnixSocket); |
| 464 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_release); |
| 465 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_sendHandleToUnixSocket); |
| 466 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_toHardwareBuffer); |
| 467 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_unlock); |
| 468 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_getDeviceId); |
| 469 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_getSource); |
| 470 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_getType); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 471 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputEvent_release); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 472 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_attachLooper); |
| 473 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_detachLooper); |
| 474 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_finishEvent); |
Lev Rumyantsev | 57618c3 | 2021-12-15 18:27:11 -0800 | [diff] [blame] | 475 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_fromJava); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 476 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_getEvent); |
| 477 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_hasEvents); |
| 478 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AInputQueue_preDispatchEvent); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 479 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_fromJava); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 480 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getAction); |
| 481 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getDownTime); |
| 482 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getEventTime); |
| 483 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getFlags); |
| 484 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getKeyCode); |
| 485 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getMetaState); |
| 486 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getRepeatCount); |
| 487 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AKeyEvent_getScanCode); |
| 488 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_acquire); |
| 489 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_addFd); |
| 490 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_forThread); |
| 491 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_pollAll); |
| 492 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_pollOnce); |
| 493 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_prepare); |
| 494 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_release); |
| 495 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_removeFd); |
| 496 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ALooper_wake); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 497 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_fromJava); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 498 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getAction); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 499 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getActionButton); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 500 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getAxisValue); |
| 501 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getButtonState); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 502 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getClassification); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 503 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getDownTime); |
| 504 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getEdgeFlags); |
| 505 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getEventTime); |
| 506 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getFlags); |
| 507 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalAxisValue); |
| 508 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalEventTime); |
| 509 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalOrientation); |
| 510 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalPressure); |
| 511 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalRawX); |
| 512 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalRawY); |
| 513 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalSize); |
| 514 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalToolMajor); |
| 515 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalToolMinor); |
| 516 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalTouchMajor); |
| 517 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalTouchMinor); |
| 518 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalX); |
| 519 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistoricalY); |
| 520 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getHistorySize); |
| 521 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getMetaState); |
| 522 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getOrientation); |
| 523 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getPointerCount); |
| 524 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getPointerId); |
| 525 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getPressure); |
| 526 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getRawX); |
| 527 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getRawY); |
| 528 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getSize); |
| 529 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getToolMajor); |
| 530 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getToolMinor); |
| 531 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getToolType); |
| 532 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getTouchMajor); |
| 533 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getTouchMinor); |
| 534 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getX); |
| 535 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getXOffset); |
| 536 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getXPrecision); |
| 537 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getY); |
| 538 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getYOffset); |
| 539 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AMotionEvent_getYPrecision); |
| 540 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_finish); |
| 541 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_hideSoftInput); |
| 542 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_setWindowFlags); |
| 543 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_setWindowFormat); |
| 544 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeActivity_showSoftInput); |
| 545 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_acquire); |
| 546 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_fromSurface); |
| 547 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_getFormat); |
| 548 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_getHeight); |
| 549 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_getWidth); |
| 550 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_lock); |
| 551 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_release); |
| 552 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_setBuffersGeometry); |
| 553 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_toSurface); |
| 554 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ANativeWindow_unlockAndPost); |
| 555 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_delete); |
| 556 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_getFlags); |
| 557 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_getPackageName); |
| 558 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbInfo_getVersion); |
| 559 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AObbScanner_getObbInfo); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 560 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_closeSession); |
| 561 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_createSession); |
| 562 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_getManager); |
| 563 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_getPreferredUpdateRateNanos); |
| 564 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_reportActualWorkDuration); |
| 565 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_setIHintManagerForTesting); |
| 566 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APerformanceHint_updateTargetWorkDuration); |
| 567 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", APermissionManager_checkPermission); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 568 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_disableSensor); |
| 569 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_enableSensor); |
| 570 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_getEvents); |
| 571 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_hasEvents); |
| 572 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_registerSensor); |
| 573 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_requestAdditionalInfoEvents); |
| 574 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorEventQueue_setEventRate); |
| 575 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_configureDirectReport); |
| 576 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_createEventQueue); |
| 577 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_createHardwareBufferDirectChannel); |
| 578 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_createSharedMemoryDirectChannel); |
| 579 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_destroyDirectChannel); |
| 580 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_destroyEventQueue); |
| 581 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getDefaultSensor); |
| 582 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getDefaultSensorEx); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 583 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getDynamicSensorList); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 584 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getInstance); |
| 585 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getInstanceForPackage); |
| 586 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensorManager_getSensorList); |
| 587 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getFifoMaxEventCount); |
| 588 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getFifoReservedEventCount); |
| 589 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getHandle); |
| 590 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getHighestDirectReportRateLevel); |
| 591 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getMinDelay); |
| 592 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getName); |
| 593 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getReportingMode); |
| 594 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getResolution); |
| 595 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getStringType); |
| 596 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getType); |
| 597 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_getVendor); |
| 598 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_isDirectChannelTypeSupported); |
| 599 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASensor_isWakeUpSensor); |
| 600 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_create); |
| 601 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_dupFromJava); |
| 602 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_getSize); |
| 603 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASharedMemory_setProt); |
| 604 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_delete); |
| 605 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_getMountedObbPath); |
| 606 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_isObbMounted); |
| 607 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_mountObb); |
| 608 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_new); |
| 609 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AStorageManager_unmountObb); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 610 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControlStats_getAcquireTime); |
| 611 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControlStats_getFrameNumber); |
| 612 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_acquire); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 613 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_create); |
| 614 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_createFromWindow); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 615 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_registerSurfaceStatsListener); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 616 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_release); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 617 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceControl_unregisterSurfaceStatsListener); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 618 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_acquireANativeWindow); |
| 619 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_attachToGLContext); |
| 620 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_detachFromGLContext); |
| 621 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_fromSurfaceTexture); |
| 622 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_getTimestamp); |
| 623 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_getTransformMatrix); |
| 624 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_release); |
| 625 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTexture_updateTexImage); |
| 626 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getASurfaceControls); |
| 627 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getAcquireTime); |
| 628 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getLatchTime); |
| 629 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getPresentFenceFd); |
| 630 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_getPreviousReleaseFenceFd); |
| 631 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransactionStats_releaseASurfaceControls); |
| 632 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_apply); |
| 633 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_create); |
| 634 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_delete); |
| 635 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_reparent); |
| 636 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBuffer); |
| 637 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferAlpha); |
| 638 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferDataSpace); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 639 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferTransform); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 640 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setBufferTransparency); |
| 641 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setColor); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 642 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setCrop); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 643 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setDamageRegion); |
| 644 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setDesiredPresentTime); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 645 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setEnableBackPressure); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 646 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setFrameRate); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 647 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setFrameRateWithChangeStrategy); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 648 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setFrameTimeline); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 649 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setGeometry); |
| 650 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setHdrMetadata_cta861_3); |
| 651 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setHdrMetadata_smpte2086); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 652 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setOnCommit); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 653 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setOnComplete); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 654 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setPosition); |
| 655 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setScale); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 656 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setVisibility); |
| 657 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASurfaceTransaction_setZOrder); |
| 658 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASystemFontIterator_close); |
| 659 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASystemFontIterator_next); |
| 660 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ASystemFontIterator_open); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 661 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_acquireManager); |
| 662 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_getCurrentThermalStatus); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 663 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_getThermalHeadroom); |
Evgeny Eltsin | 9c7d462 | 2020-07-15 15:30:51 +0200 | [diff] [blame] | 664 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_registerThermalStatusListener); |
| 665 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_releaseManager); |
| 666 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AThermal_unregisterThermalStatusListener); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 667 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_beginAsyncSection); |
| 668 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_beginSection); |
| 669 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_endAsyncSection); |
| 670 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_endSection); |
| 671 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_isEnabled); |
| 672 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", ATrace_setCounter); |
| 673 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_getaddrinfofornetwork); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 674 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_getprocdns); |
| 675 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_getprocnetwork); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 676 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_cancel); |
| 677 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_nquery); |
| 678 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_nresult); |
| 679 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_res_nsend); |
Lev Rumyantsev | 5c2e31c | 2021-10-20 12:43:30 -0700 | [diff] [blame] | 680 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_setprocdns); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 681 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_setprocnetwork); |
| 682 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_setsocknetwork); |
dimitry | 06a8854 | 2022-04-06 09:09:41 +0000 | [diff] [blame] | 683 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_tag_socket); |
| 684 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_tag_socket_with_uid); |
| 685 | INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", android_untag_socket); |
Bob Badour | 0756213 | 2020-05-20 13:18:00 +0000 | [diff] [blame] | 686 | } |
| 687 | // clang-format on |