/frameworks/native/libs/nativewindow/include/android/ |
D | hardware_buffer.h | 333 typedef struct AHardwareBuffer AHardwareBuffer; typedef 351 AHardwareBuffer** outBuffer) __INTRODUCED_IN(26); 360 void AHardwareBuffer_acquire(AHardwareBuffer* buffer) __INTRODUCED_IN(26); 368 void AHardwareBuffer_release(AHardwareBuffer* buffer) __INTRODUCED_IN(26); 376 void AHardwareBuffer_describe(const AHardwareBuffer* buffer, 431 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, 461 int AHardwareBuffer_lockPlanes(AHardwareBuffer* buffer, uint64_t usage, 482 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence) __INTRODUCED_IN(26); 492 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd) __INTRODUCE… 502 int AHardwareBuffer_recvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer) __INTRODUCE… [all …]
|
/frameworks/native/libs/nativewindow/include-private/private/android/ |
D | AHardwareBufferHelpers.h | 30 struct AHardwareBuffer; 62 const GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(const AHardwareBuffer* buffer); 63 GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(AHardwareBuffer* buffer); 65 const ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(const AHardwareBuffer* buffer); 66 ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(AHardwareBuffer* buffer); 68 AHardwareBuffer* AHardwareBuffer_from_GraphicBuffer(GraphicBuffer* buffer);
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_buffer.h | 14 typedef struct AHardwareBuffer AHardwareBuffer; typedef 29 AHardwareBuffer** hardware_buffer); 43 AHardwareBuffer** hardware_buffer); 51 AHardwareBuffer** hardware_buffer);
|
D | dvr_hardware_composer_client.h | 11 typedef struct AHardwareBuffer AHardwareBuffer; typedef 96 AHardwareBuffer* dvrHwcFrameGetLayerBuffer(DvrHwcFrame* frame,
|
D | dvr_api.h | 40 typedef struct AHardwareBuffer AHardwareBuffer; typedef 143 DvrWriteBuffer* write_buffer, AHardwareBuffer** hardware_buffer); 159 DvrReadBuffer* read_buffer, AHardwareBuffer** hardware_buffer); 171 DvrBuffer* buffer, AHardwareBuffer** hardware_buffer); 329 typedef AHardwareBuffer* (*DvrHwcFrameGetLayerBufferPtr)(DvrHwcFrame* frame,
|
/frameworks/native/libs/vr/libdvr/ |
D | dvr_buffer.cpp | 29 AHardwareBuffer** hardware_buffer) { in ConvertToAHardwareBuffer() 33 *hardware_buffer = reinterpret_cast<AHardwareBuffer*>(graphic_buffer); in ConvertToAHardwareBuffer() 65 AHardwareBuffer** hardware_buffer) { in dvrWriteBufferGetAHardwareBuffer() 96 AHardwareBuffer** hardware_buffer) { in dvrReadBufferGetAHardwareBuffer() 107 AHardwareBuffer** hardware_buffer) { in dvrBufferGetAHardwareBuffer()
|
/frameworks/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 43 int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* desc, AHardwareBuffer** outBuffer) { in AHardwareBuffer_allocate() 70 void AHardwareBuffer_acquire(AHardwareBuffer* buffer) { in AHardwareBuffer_acquire() 75 void AHardwareBuffer_release(AHardwareBuffer* buffer) { in AHardwareBuffer_release() 80 void AHardwareBuffer_describe(const AHardwareBuffer* buffer, in AHardwareBuffer_describe() 96 int AHardwareBuffer_lockAndGetInfo(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lockAndGetInfo() 151 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lock() 183 int AHardwareBuffer_lockPlanes(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lockPlanes() 231 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence) { in AHardwareBuffer_unlock() 241 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd) { in AHardwareBuffer_sendHandleToUnixSocket() 297 int AHardwareBuffer_recvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer) { in AHardwareBuffer_recvHandleFromUnixSocket() [all …]
|
/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 struct AHardwareBuffer *buffer) 65 const struct 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/tests/ |
D | dvr_named_buffer-test.cpp | 27 AHardwareBuffer* hardware_buffer1 = nullptr; in TEST() 32 AHardwareBuffer* hardware_buffer2 = nullptr; in TEST() 60 AHardwareBuffer* hardware_buffer3 = nullptr; in TEST() 123 AHardwareBuffer* hardware_buffer = nullptr; in TEST() 151 AHardwareBuffer* hardware_buffer = nullptr; in TEST() 184 AHardwareBuffer* hardware_buffer = nullptr; in TEST() 225 AHardwareBuffer* hardware_buffer = nullptr; in TEST()
|
D | dvr_buffer_queue-test.cpp | 257 AHardwareBuffer* ahb1 = nullptr; in TEST_F() 258 AHardwareBuffer* ahb2 = nullptr; in TEST_F() 259 AHardwareBuffer* ahb3 = nullptr; in TEST_F() 398 std::unordered_map<int, AHardwareBuffer*> rhbs; in TEST_F() 400 std::unordered_map<int, AHardwareBuffer*> whbs; in TEST_F() 415 AHardwareBuffer* hb = nullptr; in TEST_F() 450 AHardwareBuffer* hb = nullptr; in TEST_F()
|
/frameworks/native/include/android/ |
D | hardware_buffer_jni.h | 48 AHardwareBuffer* AHardwareBuffer_fromHardwareBuffer(JNIEnv* env, 58 AHardwareBuffer* hardwareBuffer) __INTRODUCED_IN(26);
|
D | sensor.h | 62 typedef struct AHardwareBuffer AHardwareBuffer; typedef 647 ASensorManager* manager, AHardwareBuffer const * buffer, size_t size) __INTRODUCED_IN(26);
|
/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/native/libs/nativewindow/include/vndk/ |
D | hardware_buffer.h | 27 const native_handle_t* AHardwareBuffer_getNativeHandle(const AHardwareBuffer* buffer); 50 AHardwareBuffer** outBuffer);
|
/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 647 ASensorManager* manager, AHardwareBuffer const * buffer, size_t size) __INTRODUCED_IN(26);
|
/frameworks/base/libs/hwui/renderthread/ |
D | ReliableSurface.h | 53 std::unique_ptr<AHardwareBuffer, void (*)(AHardwareBuffer*)> mScratchBuffer{
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBuffer.h | 87 static GraphicBuffer* fromAHardwareBuffer(AHardwareBuffer*); 88 static GraphicBuffer const* fromAHardwareBuffer(AHardwareBuffer const*); 89 AHardwareBuffer* toAHardwareBuffer(); 90 AHardwareBuffer const* toAHardwareBuffer() const;
|
/frameworks/native/libs/ui/include/ui/ |
D | GraphicBuffer.h | 87 static GraphicBuffer* fromAHardwareBuffer(AHardwareBuffer*); 88 static GraphicBuffer const* fromAHardwareBuffer(AHardwareBuffer const*); 89 AHardwareBuffer* toAHardwareBuffer(); 90 AHardwareBuffer const* toAHardwareBuffer() const;
|
/frameworks/ml/nn/runtime/test/ |
D | GeneratedTestUtils.cpp | 62 AHardwareBuffer* ahwb = nullptr; in create() 81 MemoryAHWB(AHardwareBuffer* ahwb, void* buffer) : Memory(ahwb), mAhwb(ahwb), mBuffer(buffer) {} in MemoryAHWB() 83 AHardwareBuffer* mAhwb;
|
/frameworks/native/libs/nativewindow/tests/ |
D | AHardwareBufferTest.cpp | 121 AHardwareBuffer* buffer = nullptr; in TEST() 126 AHardwareBuffer* otherBuffer = nullptr; in TEST()
|
/frameworks/native/libs/ui/ |
D | GraphicBuffer.cpp | 52 GraphicBuffer* GraphicBuffer::fromAHardwareBuffer(AHardwareBuffer* buffer) { in fromAHardwareBuffer() 56 GraphicBuffer const* GraphicBuffer::fromAHardwareBuffer(AHardwareBuffer const* buffer) { in fromAHardwareBuffer() 60 AHardwareBuffer* GraphicBuffer::toAHardwareBuffer() { in toAHardwareBuffer() 61 return reinterpret_cast<AHardwareBuffer*>(this); in toAHardwareBuffer() 64 AHardwareBuffer const* GraphicBuffer::toAHardwareBuffer() const { in toAHardwareBuffer() 65 return reinterpret_cast<AHardwareBuffer const*>(this); in toAHardwareBuffer()
|
/frameworks/ml/nn/runtime/ |
D | Memory.h | 323 static std::pair<int, std::unique_ptr<MemoryAHWB>> create(const AHardwareBuffer& ahwb); 350 MemoryRuntimeAHWB(hal::hidl_memory memory, AHardwareBuffer* ahwb, uint8_t* buffer); 354 AHardwareBuffer* const mAhwb;
|
/frameworks/av/media/ndk/tests/ |
D | AImageReaderWindowHandleTest.cpp | 89 AHardwareBuffer *hardwareBuffer = nullptr; in HandleImageAvailable() 107 static void onBufferRemoved(void *, AImageReader *, AHardwareBuffer *) { in onBufferRemoved() argument
|
/frameworks/base/core/jni/ |
D | android_hardware_HardwareBuffer.cpp | 200 AHardwareBuffer* android_hardware_HardwareBuffer_getNativeHardwareBuffer( in android_hardware_HardwareBuffer_getNativeHardwareBuffer() 213 JNIEnv* env, AHardwareBuffer* hardwareBuffer) { in android_hardware_HardwareBuffer_createFromAHardwareBuffer()
|