1LIBANDROID { 2 global: 3 AActivityManager_addUidImportanceListener; # systemapi introduced=31 4 AActivityManager_removeUidImportanceListener; # systemapi introduced=31 5 AActivityManager_isUidActive; # systemapi introduced=31 6 AActivityManager_getUidImportance; # systemapi introduced=31 7 AAssetDir_close; 8 AAssetDir_getNextFileName; 9 AAssetDir_rewind; 10 AAssetManager_fromJava; 11 AAssetManager_open; 12 AAssetManager_openDir; 13 AAsset_close; 14 AAsset_getBuffer; 15 AAsset_getLength; 16 AAsset_getLength64; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21 17 AAsset_getRemainingLength; 18 AAsset_getRemainingLength64; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21 19 AAsset_isAllocated; 20 AAsset_openFileDescriptor; 21 AAsset_openFileDescriptor64; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21 22 AAsset_read; 23 AAsset_seek; 24 AAsset_seek64; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21 25 AChoreographer_getInstance; # introduced=24 26 AChoreographer_postFrameCallback; # introduced=24 27 AChoreographer_postFrameCallbackDelayed; # introduced=24 28 AChoreographer_postFrameCallback64; # introduced=29 29 AChoreographer_postFrameCallbackDelayed64; # introduced=29 30 AChoreographer_registerRefreshRateCallback; # introduced=30 31 AChoreographer_unregisterRefreshRateCallback; # introduced=30 32 AChoreographer_postVsyncCallback; # introduced=33 33 AChoreographerFrameCallbackData_getFrameTimeNanos; # introduced=33 34 AChoreographerFrameCallbackData_getFrameTimelinesLength; # introduced=33 35 AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex; # introduced=33 36 AChoreographerFrameCallbackData_getFrameTimelineVsyncId; # introduced=33 37 AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentationTimeNanos; # introduced=33 38 AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos; # introduced=33 39 AConfiguration_copy; 40 AConfiguration_delete; 41 AConfiguration_diff; 42 AConfiguration_fromAssetManager; 43 AConfiguration_getCountry; 44 AConfiguration_getDensity; 45 AConfiguration_getGrammaticalGender; # introduced=UpsideDownCake 46 AConfiguration_getKeyboard; 47 AConfiguration_getKeysHidden; 48 AConfiguration_getLanguage; 49 AConfiguration_getLayoutDirection; # introduced-arm=17 introduced-arm64=21 introduced-mips=17 introduced-mips64=21 introduced-x86=17 introduced-x86_64=21 50 AConfiguration_getMcc; 51 AConfiguration_getMnc; 52 AConfiguration_getNavHidden; 53 AConfiguration_getNavigation; 54 AConfiguration_getOrientation; 55 AConfiguration_getScreenHeightDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21 56 AConfiguration_getScreenLong; 57 AConfiguration_getScreenRound; # introduced=30 58 AConfiguration_getScreenSize; 59 AConfiguration_getScreenWidthDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21 60 AConfiguration_getSdkVersion; 61 AConfiguration_getSmallestScreenWidthDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21 62 AConfiguration_getTouchscreen; 63 AConfiguration_getUiModeNight; 64 AConfiguration_getUiModeType; 65 AConfiguration_isBetterThan; 66 AConfiguration_match; 67 AConfiguration_new; 68 AConfiguration_setCountry; 69 AConfiguration_setDensity; 70 AConfiguration_setGrammaticalGender; # introduced=UpsideDownCake 71 AConfiguration_setKeyboard; 72 AConfiguration_setKeysHidden; 73 AConfiguration_setLanguage; 74 AConfiguration_setLayoutDirection; # introduced-arm=17 introduced-arm64=21 introduced-mips=17 introduced-mips64=21 introduced-x86=17 introduced-x86_64=21 75 AConfiguration_setMcc; 76 AConfiguration_setMnc; 77 AConfiguration_setNavHidden; 78 AConfiguration_setNavigation; 79 AConfiguration_setOrientation; 80 AConfiguration_setScreenHeightDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21 81 AConfiguration_setScreenLong; 82 AConfiguration_setScreenSize; 83 AConfiguration_setScreenWidthDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21 84 AConfiguration_setSdkVersion; 85 AConfiguration_setSmallestScreenWidthDp; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21 86 AConfiguration_setTouchscreen; 87 AConfiguration_setUiModeNight; 88 AConfiguration_setUiModeType; 89 AInputEvent_getDeviceId; 90 AInputEvent_getSource; 91 AInputEvent_getType; 92 AInputEvent_release; # introduced=31 93 AInputEvent_toJava; # introduced=35 94 AInputQueue_attachLooper; 95 AInputQueue_detachLooper; 96 AInputQueue_finishEvent; 97 AInputQueue_fromJava; # introduced=Tiramisu 98 AInputQueue_getEvent; 99 AInputQueue_hasEvents; 100 AInputQueue_preDispatchEvent; 101 AInputReceiver_createBatchedInputReceiver; # introduced=35 102 AInputReceiver_createUnbatchedInputReceiver; # introduced=35 103 AInputReceiver_release; # introduced=35 104 AInputReceiver_getInputTransferToken; # introduced=35 105 AInputReceiverCallbacks_create; # introduced=35 106 AInputReceiverCallbacks_release; # introduced=35 107 AInputReceiverCallbacks_setKeyEventCallback; # introduced=35 108 AInputReceiverCallbacks_setMotionEventCallback; # introduced=35 109 AInputTransferToken_fromJava; # introduced=35 110 AInputTransferToken_release; # introduced=35 111 AInputTransferToken_toJava; # introduced=35 112 AKeyEvent_getAction; 113 AKeyEvent_getDownTime; 114 AKeyEvent_getEventTime; 115 AKeyEvent_getFlags; 116 AKeyEvent_getKeyCode; 117 AKeyEvent_getMetaState; 118 AKeyEvent_getRepeatCount; 119 AKeyEvent_getScanCode; 120 AKeyEvent_fromJava; # introduced=31 121 ALooper_acquire; 122 ALooper_addFd; 123 ALooper_forThread; 124 ALooper_pollAll; 125 ALooper_pollOnce; 126 ALooper_prepare; 127 ALooper_release; 128 ALooper_removeFd; 129 ALooper_wake; 130 AMotionEvent_getAction; 131 AMotionEvent_getActionButton; # introduced=Tiramisu 132 AMotionEvent_getAxisValue; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21 133 AMotionEvent_getButtonState; # introduced-arm=14 introduced-arm64=21 introduced-mips=14 introduced-mips64=21 introduced-x86=14 introduced-x86_64=21 134 AMotionEvent_getClassification; # introduced=Tiramisu 135 AMotionEvent_getDownTime; 136 AMotionEvent_getEdgeFlags; 137 AMotionEvent_getEventTime; 138 AMotionEvent_getFlags; 139 AMotionEvent_getHistoricalAxisValue; # introduced-arm=13 introduced-arm64=21 introduced-mips=13 introduced-mips64=21 introduced-x86=13 introduced-x86_64=21 140 AMotionEvent_getHistoricalEventTime; 141 AMotionEvent_getHistoricalOrientation; 142 AMotionEvent_getHistoricalPressure; 143 AMotionEvent_getHistoricalRawX; 144 AMotionEvent_getHistoricalRawY; 145 AMotionEvent_getHistoricalSize; 146 AMotionEvent_getHistoricalToolMajor; 147 AMotionEvent_getHistoricalToolMinor; 148 AMotionEvent_getHistoricalTouchMajor; 149 AMotionEvent_getHistoricalTouchMinor; 150 AMotionEvent_getHistoricalX; 151 AMotionEvent_getHistoricalY; 152 AMotionEvent_getHistorySize; 153 AMotionEvent_getMetaState; 154 AMotionEvent_getOrientation; 155 AMotionEvent_getPointerCount; 156 AMotionEvent_getPointerId; 157 AMotionEvent_getPressure; 158 AMotionEvent_getRawX; 159 AMotionEvent_getRawY; 160 AMotionEvent_getSize; 161 AMotionEvent_getToolMajor; 162 AMotionEvent_getToolMinor; 163 AMotionEvent_getToolType; # introduced-arm=14 introduced-arm64=21 introduced-mips=14 introduced-mips64=21 introduced-x86=14 introduced-x86_64=21 164 AMotionEvent_getTouchMajor; 165 AMotionEvent_getTouchMinor; 166 AMotionEvent_getX; 167 AMotionEvent_getXOffset; 168 AMotionEvent_getXPrecision; 169 AMotionEvent_getY; 170 AMotionEvent_getYOffset; 171 AMotionEvent_getYPrecision; 172 AMotionEvent_fromJava; # introduced=31 173 ANativeActivity_finish; 174 ANativeActivity_hideSoftInput; 175 ANativeActivity_setWindowFlags; 176 ANativeActivity_setWindowFormat; 177 ANativeActivity_showSoftInput; 178 AHardwareBuffer_acquire; # introduced=26 179 AHardwareBuffer_allocate; # introduced=26 180 AHardwareBuffer_describe; # introduced=26 181 AHardwareBuffer_fromHardwareBuffer; # introduced=26 182 AHardwareBuffer_getId; # introduced=31 183 AHardwareBuffer_getNativeHandle; # introduced=26 184 AHardwareBuffer_isSupported; # introduced=29 185 AHardwareBuffer_lock; # introduced=26 186 AHardwareBuffer_lockAndGetInfo; # introduced=29 187 AHardwareBuffer_lockPlanes; # introduced=29 188 AHardwareBuffer_recvHandleFromUnixSocket; # introduced=26 189 AHardwareBuffer_release; # introduced=26 190 AHardwareBuffer_sendHandleToUnixSocket; # introduced=26 191 AHardwareBuffer_toHardwareBuffer; # introduced=26 192 AHardwareBuffer_unlock; # introduced=26 193 ANativeWindow_acquire; 194 ANativeWindow_fromSurface; 195 ANativeWindow_toSurface; # introduced=26 196 ANativeWindow_getFormat; 197 ANativeWindow_getHeight; 198 ANativeWindow_getWidth; 199 ANativeWindow_lock; 200 ANativeWindow_release; 201 ANativeWindow_setBuffersGeometry; 202 ANativeWindow_unlockAndPost; 203 AObbInfo_delete; 204 AObbInfo_getFlags; 205 AObbInfo_getPackageName; 206 AObbInfo_getVersion; 207 AObbScanner_getObbInfo; 208 APermissionManager_checkPermission; # introduced=31 209 ASensorEventQueue_disableSensor; 210 ASensorEventQueue_enableSensor; 211 ASensorEventQueue_getEvents; 212 ASensorEventQueue_hasEvents; 213 ASensorEventQueue_registerSensor; # introduced=26 214 ASensorEventQueue_setEventRate; 215 ASensorEventQueue_requestAdditionalInfoEvents; # introduced=29 216 ASensorManager_configureDirectReport; # introduced=26 217 ASensorManager_createEventQueue; 218 ASensorManager_createHardwareBufferDirectChannel; # introduced=26 219 ASensorManager_createSharedMemoryDirectChannel; # introduced=26 220 ASensorManager_destroyDirectChannel; # introduced=26 221 ASensorManager_destroyEventQueue; 222 ASensorManager_getDefaultSensor; 223 ASensorManager_getDefaultSensorEx; # introduced=21 224 ASensorManager_getDynamicSensorList; # introduced=33 225 ASensorManager_getInstance; 226 ASensorManager_getInstanceForPackage; # introduced=26 227 ASensorManager_getSensorList; 228 ASensor_getFifoMaxEventCount; # introduced=21 229 ASensor_getFifoReservedEventCount; # introduced=21 230 ASensor_getHandle; # introduced=29 231 ASensor_getHighestDirectReportRateLevel; # introduced=26 232 ASensor_getMinDelay; 233 ASensor_getName; 234 ASensor_getReportingMode; # introduced=21 235 ASensor_getResolution; 236 ASensor_getStringType; # introduced=21 237 ASensor_getType; 238 ASensor_getVendor; 239 ASensor_isDirectChannelTypeSupported; # introduced=26 240 ASensor_isWakeUpSensor; # introduced=21 241 ASharedMemory_create; # introduced=26 242 ASharedMemory_getSize; # introduced=26 243 ASharedMemory_setProt; # introduced=26 244 ASharedMemory_dupFromJava; # introduced=27 245 AStorageManager_delete; 246 AStorageManager_getMountedObbPath; 247 AStorageManager_isObbMounted; 248 AStorageManager_mountObb; 249 AStorageManager_new; 250 AStorageManager_unmountObb; 251 ASurfaceControl_create; # introduced=29 252 ASurfaceControl_createFromWindow; # introduced=29 253 ASurfaceControl_acquire; # introduced=31 254 ASurfaceControl_release; # introduced=29 255 ASurfaceControl_fromJava; # introduced=34 256 ASurfaceTexture_acquireANativeWindow; # introduced=28 257 ASurfaceTexture_attachToGLContext; # introduced=28 258 ASurfaceTexture_detachFromGLContext; # introduced=28 259 ASurfaceTexture_fromSurfaceTexture; # introduced=28 260 ASurfaceTexture_getTimestamp; # introduced=28 261 ASurfaceTexture_getTransformMatrix; # introduced=28 262 ASurfaceTexture_release; # introduced=28 263 ASurfaceTexture_updateTexImage; # introduced=28 264 ASurfaceTransactionStats_getAcquireTime; # introduced=29 265 ASurfaceTransactionStats_getASurfaceControls; # introduced=29 266 ASurfaceTransactionStats_getLatchTime; # introduced=29 267 ASurfaceTransactionStats_getPresentFenceFd; # introduced=29 268 ASurfaceTransactionStats_getPreviousReleaseFenceFd; # introduced=29 269 ASurfaceTransactionStats_releaseASurfaceControls; # introduced=29 270 ASurfaceTransaction_apply; # introduced=29 271 ASurfaceTransaction_create; # introduced=29 272 ASurfaceTransaction_delete; # introduced=29 273 ASurfaceTransaction_fromJava; # introduced=34 274 ASurfaceTransaction_reparent; # introduced=29 275 ASurfaceTransaction_setBuffer; # introduced=29 276 ASurfaceTransaction_setBufferAlpha; # introduced=29 277 ASurfaceTransaction_setBufferDataSpace; # introduced=29 278 ASurfaceTransaction_setBufferTransparency; # introduced=29 279 ASurfaceTransaction_setColor; # introduced=29 280 ASurfaceTransaction_setDamageRegion; # introduced=29 281 ASurfaceTransaction_setDesiredPresentTime; # introduced=29 282 ASurfaceTransaction_setEnableBackPressure; # introduced=31 283 ASurfaceTransaction_setFrameRate; # introduced=30 284 ASurfaceTransaction_setFrameRateWithChangeStrategy; # introduced=31 285 ASurfaceTransaction_clearFrameRate; # introduced=34 286 ASurfaceTransaction_setFrameTimeline; # introduced=Tiramisu 287 ASurfaceTransaction_setGeometry; # introduced=29 288 ASurfaceTransaction_setHdrMetadata_cta861_3; # introduced=29 289 ASurfaceTransaction_setHdrMetadata_smpte2086; # introduced=29 290 ASurfaceTransaction_setExtendedRangeBrightness; # introduced=UpsideDownCake 291 ASurfaceTransaction_setDesiredHdrHeadroom; # introduced=VanillaIceCream 292 ASurfaceTransaction_setOnComplete; # introduced=29 293 ASurfaceTransaction_setOnCommit; # introduced=31 294 ASurfaceTransaction_setPosition; # introduced=31 295 ASurfaceTransaction_setCrop; # introduced=31 296 ASurfaceTransaction_setBufferTransform; # introduced=31 297 ASurfaceTransaction_setScale; # introduced=31 298 ASurfaceTransaction_setVisibility; # introduced=29 299 ASurfaceTransaction_setZOrder; # introduced=29 300 ASystemFontIterator_open; # introduced=29 301 ASystemFontIterator_close; # introduced=29 302 ASystemFontIterator_next; # introduced=29 303 AFont_close; # introduced=29 304 AFont_getFontFilePath; # introduced=29 305 AFont_getWeight; # introduced=29 306 AFont_isItalic; # introduced=29 307 AFont_getLocale; # introduced=29 308 AFont_getCollectionIndex; # introduced=29 309 AFont_getAxisCount; # introduced=29 310 AFont_getAxisTag; # introduced=29 311 AFont_getAxisValue; # introduced=29 312 AFontMatcher_create; # introduced=29 313 AFontMatcher_destroy; # introduced=29 314 AFontMatcher_setStyle; # introduced=29 315 AFontMatcher_setLocales; # introduced=29 316 AFontMatcher_setFamilyVariant; # introduced=29 317 AFontMatcher_match; # introduced=29 318 ATrace_beginSection; # introduced=23 319 ATrace_endSection; # introduced=23 320 ATrace_isEnabled; # introduced=23 321 ATrace_beginAsyncSection; # introduced=29 322 ATrace_endAsyncSection; # introduced=29 323 ATrace_setCounter; # introduced=29 324 android_getaddrinfofornetwork; # introduced=23 325 android_getprocnetwork; # introduced=31 326 android_setprocnetwork; # introduced=23 327 android_getprocdns; # introduced=31 328 android_setprocdns; # introduced=31 329 android_setsocknetwork; # introduced=23 330 android_res_cancel; # introduced=29 331 android_res_nquery; # introduced=29 332 android_res_nresult; # introduced=29 333 android_res_nsend; # introduced=29 334 android_tag_socket_with_uid; # introduced=Tiramisu 335 android_tag_socket; # introduced=Tiramisu 336 android_untag_socket; # introduced=Tiramisu 337 AThermal_acquireManager; # introduced=30 338 AThermal_releaseManager; # introduced=30 339 AThermal_getCurrentThermalStatus; # introduced=30 340 AThermal_registerThermalStatusListener; # introduced=30 341 AThermal_unregisterThermalStatusListener; # introduced=30 342 AThermal_getThermalHeadroom; # introduced=31 343 AThermal_getThermalHeadroomThresholds; # introduced=VanillaIceCream 344 APerformanceHint_getManager; # introduced=Tiramisu 345 APerformanceHint_createSession; # introduced=Tiramisu 346 APerformanceHint_getPreferredUpdateRateNanos; # introduced=Tiramisu 347 APerformanceHint_updateTargetWorkDuration; # introduced=Tiramisu 348 APerformanceHint_reportActualWorkDuration; # introduced=Tiramisu 349 APerformanceHint_closeSession; # introduced=Tiramisu 350 APerformanceHint_setThreads; # introduced=UpsideDownCake 351 APerformanceHint_setPreferPowerEfficiency; # introduced=VanillaIceCream 352 APerformanceHint_reportActualWorkDuration2; # introduced=VanillaIceCream 353 AWorkDuration_create; # introduced=VanillaIceCream 354 AWorkDuration_release; # introduced=VanillaIceCream 355 AWorkDuration_setWorkPeriodStartTimestampNanos; # introduced=VanillaIceCream 356 AWorkDuration_setActualTotalDurationNanos; # introduced=VanillaIceCream 357 AWorkDuration_setActualCpuDurationNanos; # introduced=VanillaIceCream 358 AWorkDuration_setActualGpuDurationNanos; # introduced=VanillaIceCream 359 local: 360 *; 361}; 362 363LIBANDROID_PLATFORM { 364 global: 365 AThermal_setIThermalServiceForTesting; 366 APerformanceHint_setIHintManagerForTesting; 367 APerformanceHint_sendHint; 368 APerformanceHint_getThreadIds; 369 APerformanceHint_createSessionInternal; 370 extern "C++" { 371 ASurfaceControl_registerSurfaceStatsListener*; 372 ASurfaceControl_unregisterSurfaceStatsListener*; 373 ASurfaceControl_getChoreographer*; 374 ASurfaceControlStats_getAcquireTime*; 375 ASurfaceControlStats_getFrameNumber*; 376 }; 377} LIBANDROID; 378