LIBNATIVEWINDOW {
  global:
    AHardwareBuffer_acquire;
    AHardwareBuffer_allocate;
    AHardwareBuffer_describe;
    AHardwareBuffer_fromHardwareBuffer;
    AHardwareBuffer_getNativeHandle; # vndk
    AHardwareBuffer_lock;
    AHardwareBuffer_recvHandleFromUnixSocket;
    AHardwareBuffer_release;
    AHardwareBuffer_sendHandleToUnixSocket;
    AHardwareBuffer_toHardwareBuffer;
    AHardwareBuffer_unlock;
    ANativeWindowBuffer_getHardwareBuffer; # vndk
    ANativeWindow_OemStorageGet; # vndk
    ANativeWindow_OemStorageSet; # vndk
    ANativeWindow_acquire;
    ANativeWindow_cancelBuffer; # vndk
    ANativeWindow_dequeueBuffer; # vndk
    ANativeWindow_fromSurface;
    ANativeWindow_fromSurfaceTexture;
    ANativeWindow_getFormat;
    ANativeWindow_getHeight;
    ANativeWindow_getWidth;
    ANativeWindow_lock;
    ANativeWindow_query; # vndk
    ANativeWindow_queryf; # vndk
    ANativeWindow_queueBuffer; # vndk
    ANativeWindow_release;
    ANativeWindow_setAutoRefresh; # vndk
    ANativeWindow_setBufferCount; # vndk
    ANativeWindow_setBufferDataSpace; # vndk
    ANativeWindow_setBuffersDimensions; # vndk
    ANativeWindow_setBuffersFormat; # vndk
    ANativeWindow_setBuffersGeometry;
    ANativeWindow_setBuffersTimestamp; # vndk
    ANativeWindow_setBuffersTransform;
    ANativeWindow_setSharedBufferMode; # vndk
    ANativeWindow_setSwapInterval; # vndk
    ANativeWindow_setUsage; # vndk
    ANativeWindow_unlockAndPost;
  local:
    *;
};
