/frameworks/native/libs/nativewindow/include/android/ |
D | hardware_buffer.h | 150 typedef struct AHardwareBuffer AHardwareBuffer; typedef 160 AHardwareBuffer** outBuffer); 165 void AHardwareBuffer_acquire(AHardwareBuffer* buffer); 171 void AHardwareBuffer_release(AHardwareBuffer* buffer); 177 void AHardwareBuffer_describe(const AHardwareBuffer* buffer, 213 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, 226 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence); 234 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd); 242 int AHardwareBuffer_recvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer);
|
/frameworks/native/libs/nativewindow/include/private/android/ |
D | AHardwareBufferHelpers.h | 30 struct AHardwareBuffer; 51 const GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(const AHardwareBuffer* buffer); 52 GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(AHardwareBuffer* buffer); 54 const ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(const AHardwareBuffer* buffer); 55 ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(AHardwareBuffer* buffer); 57 AHardwareBuffer* AHardwareBuffer_from_GraphicBuffer(GraphicBuffer* buffer);
|
/frameworks/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 43 int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* desc, AHardwareBuffer** outBuffer) { in AHardwareBuffer_allocate() 85 void AHardwareBuffer_acquire(AHardwareBuffer* buffer) { in AHardwareBuffer_acquire() 90 void AHardwareBuffer_release(AHardwareBuffer* buffer) { in AHardwareBuffer_release() 95 void AHardwareBuffer_describe(const AHardwareBuffer* buffer, in AHardwareBuffer_describe() 111 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lock() 133 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence) { in AHardwareBuffer_unlock() 143 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd) { in AHardwareBuffer_sendHandleToUnixSocket() 199 int AHardwareBuffer_recvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer) { in AHardwareBuffer_recvHandleFromUnixSocket() 276 const AHardwareBuffer* buffer) { in AHardwareBuffer_getNativeHandle() 423 const GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(const AHardwareBuffer* buffer) { in AHardwareBuffer_to_GraphicBuffer() [all …]
|
D | Android.bp | 42 "AHardwareBuffer.cpp",
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_buffer.h | 14 typedef struct AHardwareBuffer AHardwareBuffer; typedef 37 AHardwareBuffer** hardware_buffer); 73 AHardwareBuffer** hardware_buffer); 96 AHardwareBuffer** hardware_buffer);
|
D | dvr_hardware_composer_client.h | 11 typedef struct AHardwareBuffer AHardwareBuffer; typedef 96 AHardwareBuffer* dvrHwcFrameGetLayerBuffer(DvrHwcFrame* frame,
|
D | dvr_api.h | 39 typedef struct AHardwareBuffer AHardwareBuffer; typedef 136 DvrWriteBuffer* write_buffer, AHardwareBuffer** hardware_buffer); 152 DvrReadBuffer* read_buffer, AHardwareBuffer** hardware_buffer); 164 DvrBuffer* buffer, AHardwareBuffer** hardware_buffer); 322 typedef AHardwareBuffer* (*DvrHwcFrameGetLayerBufferPtr)(DvrHwcFrame* frame,
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_get_native_client_buffer.txt | 42 AHardwareBuffer object which can be later used to create an EGLImage. 46 struct AHardwareBuffer 50 EGLClientBuffer eglGetNativeClientBufferANDROID(const AHardwareBuffer *buffer) 65 AHardwareBuffer *buffer) 67 may be used to create an EGLClientBuffer from an AHardwareBuffer object. 84 1. Should this extension define what particular AHardwareBuffer formats EGL
|
/frameworks/native/libs/vr/libdvr/ |
D | dvr_buffer.cpp | 28 AHardwareBuffer** hardware_buffer) { in ConvertToAHardwareBuffer() 32 *hardware_buffer = reinterpret_cast<AHardwareBuffer*>(graphic_buffer); in ConvertToAHardwareBuffer() 76 AHardwareBuffer** hardware_buffer) { in dvrWriteBufferGetAHardwareBuffer() 146 AHardwareBuffer** hardware_buffer) { in dvrReadBufferGetAHardwareBuffer() 185 AHardwareBuffer** hardware_buffer) { in dvrBufferGetAHardwareBuffer()
|
D | dvr_hardware_composer_client.cpp | 164 AHardwareBuffer* dvrHwcFrameGetLayerBuffer(DvrHwcFrame* frame, in dvrHwcFrameGetLayerBuffer() 166 AHardwareBuffer* buffer = android::AHardwareBuffer_from_GraphicBuffer( in dvrHwcFrameGetLayerBuffer()
|
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_named_buffer-test.cpp | 28 AHardwareBuffer* hardware_buffer1 = nullptr; in TEST() 33 AHardwareBuffer* hardware_buffer2 = nullptr; in TEST() 61 AHardwareBuffer* hardware_buffer3 = nullptr; in TEST() 124 AHardwareBuffer* hardware_buffer = nullptr; in TEST() 152 AHardwareBuffer* hardware_buffer = nullptr; in TEST() 185 AHardwareBuffer* hardware_buffer = nullptr; in TEST() 226 AHardwareBuffer* hardware_buffer = nullptr; in TEST()
|
D | dvr_buffer_queue-test.cpp | 253 AHardwareBuffer* ahb1 = nullptr; in TEST_F() 254 AHardwareBuffer* ahb2 = nullptr; in TEST_F() 255 AHardwareBuffer* ahb3 = nullptr; in TEST_F() 394 std::unordered_map<int, AHardwareBuffer*> rhbs; in TEST_F() 396 std::unordered_map<int, AHardwareBuffer*> whbs; in TEST_F() 411 AHardwareBuffer* hb = nullptr; in TEST_F() 446 AHardwareBuffer* hb = nullptr; in TEST_F()
|
/frameworks/native/include/android/ |
D | hardware_buffer_jni.h | 38 AHardwareBuffer* AHardwareBuffer_fromHardwareBuffer(JNIEnv* env, 46 AHardwareBuffer* hardwareBuffer);
|
D | sensor.h | 62 typedef struct AHardwareBuffer AHardwareBuffer; typedef 472 ASensorManager* manager, AHardwareBuffer const * buffer, size_t size);
|
/frameworks/base/native/android/ |
D | hardware_buffer_jni.cpp | 25 AHardwareBuffer* AHardwareBuffer_fromHardwareBuffer(JNIEnv* env, jobject hardwareBufferObj) { in AHardwareBuffer_fromHardwareBuffer() 29 jobject AHardwareBuffer_toHardwareBuffer(JNIEnv* env, AHardwareBuffer* hardwareBuffer) { in AHardwareBuffer_toHardwareBuffer()
|
/frameworks/base/core/jni/include/android_runtime/ |
D | android_hardware_HardwareBuffer.h | 27 extern AHardwareBuffer* android_hardware_HardwareBuffer_getNativeHardwareBuffer( 32 JNIEnv* env, AHardwareBuffer* hardwareBuffer);
|
/frameworks/native/include_sensor/android/ |
D | sensor.h | 62 typedef struct AHardwareBuffer AHardwareBuffer; typedef 472 ASensorManager* manager, AHardwareBuffer const * buffer, size_t size);
|
/frameworks/native/libs/nativewindow/include/vndk/ |
D | hardware_buffer.h | 27 const native_handle_t* AHardwareBuffer_getNativeHandle(const AHardwareBuffer* buffer);
|
D | window.h | 31 AHardwareBuffer* ANativeWindowBuffer_getHardwareBuffer(ANativeWindowBuffer* anwb);
|
/frameworks/base/core/jni/ |
D | android_hardware_HardwareBuffer.cpp | 178 AHardwareBuffer* android_hardware_HardwareBuffer_getNativeHardwareBuffer( in android_hardware_HardwareBuffer_getNativeHardwareBuffer() 191 JNIEnv* env, AHardwareBuffer* hardwareBuffer) { in android_hardware_HardwareBuffer_createFromAHardwareBuffer()
|
/frameworks/av/media/ndk/include/media/ |
D | NdkImage.h | 763 media_status_t AImage_getHardwareBuffer(const AImage* image, /*out*/AHardwareBuffer** buffer);
|
D | NdkImageReader.h | 420 AHardwareBuffer* buffer);
|
/frameworks/av/media/ndk/ |
D | NdkImagePriv.h | 64 media_status_t getHardwareBuffer(/*out*/AHardwareBuffer** buffer) const;
|
D | NdkImage.cpp | 601 AImage::getHardwareBuffer(/*out*/AHardwareBuffer** buffer) const { in getHardwareBuffer() 608 *buffer = reinterpret_cast<AHardwareBuffer*>(mBuffer->mGraphicBuffer.get()); in getHardwareBuffer() 772 const AImage* image, /*out*/AHardwareBuffer** buffer) { in AImage_getHardwareBuffer()
|
/frameworks/rs/ |
D | rsAllocation.h | 24 struct AHardwareBuffer; 70 AHardwareBuffer *nativeBuffer;
|