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