• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LIBNATIVEWINDOW {
2  global:
3    AHardwareBuffer_acquire;
4    AHardwareBuffer_allocate;
5    AHardwareBuffer_createFromHandle; # vndk
6    AHardwareBuffer_describe;
7    AHardwareBuffer_getNativeHandle; # vndk
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; # vndk
17    ANativeWindow_OemStorageGet; # vndk
18    ANativeWindow_OemStorageSet; # vndk
19    ANativeWindow_acquire;
20    ANativeWindow_cancelBuffer; # vndk
21    ANativeWindow_dequeueBuffer; # vndk
22    ANativeWindow_getBuffersDataSpace; # introduced=28
23    ANativeWindow_getFormat;
24    ANativeWindow_getHeight;
25    ANativeWindow_getWidth;
26    ANativeWindow_lock;
27    ANativeWindow_query; # vndk
28    ANativeWindow_queryf; # vndk
29    ANativeWindow_queueBuffer; # vndk
30    ANativeWindow_release;
31    ANativeWindow_setAutoRefresh; # vndk
32    ANativeWindow_setBufferCount; # vndk
33    ANativeWindow_setBuffersDataSpace; # introduced=28
34    ANativeWindow_setBuffersDimensions; # vndk
35    ANativeWindow_setBuffersFormat; # vndk
36    ANativeWindow_setBuffersGeometry;
37    ANativeWindow_setBuffersTimestamp; # vndk
38    ANativeWindow_setBuffersTransform;
39    ANativeWindow_setSharedBufferMode; # vndk
40    ANativeWindow_setSwapInterval; # vndk
41    ANativeWindow_setUsage; # vndk
42    ANativeWindow_unlockAndPost;
43  local:
44    *;
45};
46
47LIBNATIVEWINDOW_PLATFORM {
48  global:
49    extern "C++" {
50      android::AHardwareBuffer_isValidPixelFormat*;
51      android::AHardwareBuffer_convertFromPixelFormat*;
52      android::AHardwareBuffer_convertToPixelFormat*;
53      android::AHardwareBuffer_convertFromGrallocUsageBits*;
54      android::AHardwareBuffer_convertToGrallocUsageBits*;
55      android::AHardwareBuffer_to_GraphicBuffer*;
56      android::AHardwareBuffer_to_ANativeWindowBuffer*;
57      android::AHardwareBuffer_from_GraphicBuffer*;
58    };
59} LIBNATIVEWINDOW;
60