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