1LIBNATIVEWINDOW { 2 global: 3 AHardwareBuffer_acquire; 4 AHardwareBuffer_allocate; 5 AHardwareBuffer_allocateWithOptions; # llndk systemapi 6 AHardwareBuffer_createFromHandle; # llndk systemapi 7 AHardwareBuffer_describe; 8 AHardwareBuffer_getId; # introduced=31 9 AHardwareBuffer_getNativeHandle; # llndk systemapi 10 AHardwareBuffer_isSupported; # introduced=29 11 AHardwareBuffer_lock; 12 AHardwareBuffer_lockAndGetInfo; # introduced=29 13 AHardwareBuffer_lockPlanes; # introduced=29 14 AHardwareBuffer_recvHandleFromUnixSocket; 15 AHardwareBuffer_release; 16 AHardwareBuffer_sendHandleToUnixSocket; 17 AHardwareBuffer_unlock; 18 AHardwareBuffer_readFromParcel; # introduced=34 19 AHardwareBuffer_writeToParcel; # introduced=34 20 AHardwareBuffer_getDataSpace; # llndk systemapi 21 AHardwareBuffer_setDataSpace; # llndk systemapi 22 ANativeWindowBuffer_getHardwareBuffer; # llndk 23 ANativeWindow_OemStorageGet; # llndk 24 ANativeWindow_OemStorageSet; # llndk 25 ANativeWindow_acquire; 26 ANativeWindow_cancelBuffer; # llndk 27 ANativeWindow_dequeueBuffer; # llndk 28 ANativeWindow_getBuffersDataSpace; # introduced=28 29 ANativeWindow_getBuffersDefaultDataSpace; # introduced=34 30 ANativeWindow_getFormat; 31 ANativeWindow_getHeight; 32 ANativeWindow_getLastDequeueDuration; # systemapi introduced=30 33 ANativeWindow_getLastDequeueStartTime; # systemapi introduced=30 34 ANativeWindow_getLastQueueDuration; # systemapi introduced=30 35 ANativeWindow_getWidth; 36 ANativeWindow_lock; 37 ANativeWindow_query; # llndk 38 ANativeWindow_queryf; # llndk 39 ANativeWindow_queueBuffer; # llndk 40 ANativeWindow_setCancelBufferInterceptor; # systemapi introduced=30 41 ANativeWindow_setDequeueBufferInterceptor; # systemapi introduced=30 42 ANativeWindow_setPerformInterceptor; # systemapi introduced=30 43 ANativeWindow_setQueueBufferInterceptor; # systemapi introduced=30 44 ANativeWindow_release; 45 ANativeWindow_setAutoPrerotation; # llndk 46 ANativeWindow_setAutoRefresh; # llndk 47 ANativeWindow_setBufferCount; # llndk 48 ANativeWindow_setBuffersDataSpace; # introduced=28 49 ANativeWindow_setBuffersDimensions; # llndk 50 ANativeWindow_setBuffersFormat; # llndk 51 ANativeWindow_setBuffersGeometry; 52 ANativeWindow_setBuffersTimestamp; # llndk 53 ANativeWindow_setBuffersTransform; 54 ANativeWindow_setDequeueTimeout; # systemapi introduced=30 55 ANativeWindow_setFrameRate; # introduced=30 56 ANativeWindow_setFrameRateWithChangeStrategy; # introduced=31 57 ANativeWindow_setSharedBufferMode; # llndk 58 ANativeWindow_setSwapInterval; # llndk 59 ANativeWindow_setUsage; # llndk 60 ANativeWindow_tryAllocateBuffers; # introduced=30 61 ANativeWindow_unlockAndPost; 62 ANativeWindow_readFromParcel; # introduced=UpsideDownCake 63 ANativeWindow_writeToParcel; # introduced=UpsideDownCake 64 local: 65 *; 66}; 67 68LIBNATIVEWINDOW_PLATFORM { 69 global: 70 extern "C++" { 71 android::AHardwareBuffer_convertFromPixelFormat*; 72 android::AHardwareBuffer_convertToPixelFormat*; 73 android::AHardwareBuffer_convertFromGrallocUsageBits*; 74 android::AHardwareBuffer_convertToGrallocUsageBits*; 75 android::AHardwareBuffer_getDataSpace*; 76 android::AHardwareBuffer_to_GraphicBuffer*; 77 android::AHardwareBuffer_to_ANativeWindowBuffer*; 78 android::AHardwareBuffer_from_GraphicBuffer*; 79 }; 80} LIBNATIVEWINDOW; 81