1#include <vndk/window.h>
2
3extern "C" {
4
5AHardwareBuffer *
6ANativeWindowBuffer_getHardwareBuffer(ANativeWindowBuffer *anwb)
7{
8   return nullptr;
9}
10
11void
12AHardwareBuffer_acquire(AHardwareBuffer *buffer)
13{
14}
15
16void
17AHardwareBuffer_release(AHardwareBuffer *buffer)
18{
19}
20
21void
22AHardwareBuffer_describe(const AHardwareBuffer *buffer,
23                         AHardwareBuffer_Desc *outDesc)
24{
25}
26
27int
28AHardwareBuffer_allocate(const AHardwareBuffer_Desc *desc,
29                         AHardwareBuffer **outBuffer)
30{
31   return 0;
32}
33
34const native_handle_t *
35AHardwareBuffer_getNativeHandle(const AHardwareBuffer *buffer)
36{
37   return NULL;
38}
39
40void
41ANativeWindow_acquire(ANativeWindow *window)
42{
43}
44
45void
46ANativeWindow_release(ANativeWindow *window)
47{
48}
49
50int32_t
51ANativeWindow_getFormat(ANativeWindow *window)
52{
53   return 0;
54}
55
56int
57ANativeWindow_setSwapInterval(ANativeWindow *window, int interval)
58{
59   return 0;
60}
61
62int
63ANativeWindow_query(const ANativeWindow *window,
64                    ANativeWindowQuery query,
65                    int *value)
66{
67   return 0;
68}
69
70int
71ANativeWindow_dequeueBuffer(ANativeWindow *window,
72                            ANativeWindowBuffer **buffer,
73                            int *fenceFd)
74{
75   return 0;
76}
77
78int
79ANativeWindow_queueBuffer(ANativeWindow *window,
80                          ANativeWindowBuffer *buffer,
81                          int fenceFd)
82{
83   return 0;
84}
85
86int ANativeWindow_cancelBuffer(ANativeWindow* window,
87                               ANativeWindowBuffer* buffer,
88                               int fenceFd) {
89   return 0;
90}
91
92int
93ANativeWindow_setUsage(ANativeWindow *window, uint64_t usage)
94{
95   return 0;
96}
97
98int
99ANativeWindow_setSharedBufferMode(ANativeWindow *window,
100                                  bool sharedBufferMode)
101{
102   return 0;
103}
104}
105