Home
last modified time | relevance | path

Searched refs:rawHandle (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp96 status_t GraphicBufferMapper::importBuffer(const native_handle_t* rawHandle, uint32_t width, in importBuffer() argument
103 status_t error = mMapper->importBuffer(rawHandle, &bufferHandle); in importBuffer()
105 ALOGW("importBuffer(%p) failed: %d", rawHandle, error); in importBuffer()
112 ALOGE("validateBufferSize(%p) failed: %d", rawHandle, error); in importBuffer()
122 status_t GraphicBufferMapper::importBufferNoValidate(const native_handle_t* rawHandle, in importBufferNoValidate() argument
124 return mMapper->importBuffer(rawHandle, outHandle); in importBufferNoValidate()
DGralloc2.cpp164 status_t Gralloc2Mapper::importBuffer(const native_handle_t* rawHandle, in importBuffer() argument
167 auto ret = mMapper->importBuffer(rawHandle, in importBuffer()
DGralloc3.cpp141 status_t Gralloc3Mapper::importBuffer(const native_handle_t* rawHandle, in importBuffer() argument
144 auto ret = mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer()
DGralloc5.cpp522 status_t Gralloc5Mapper::importBuffer(const native_handle_t *rawHandle, in importBuffer() argument
524 return mMapper->v5.importBuffer(rawHandle, outBufferHandle); in importBuffer()
DGralloc4.cpp201 status_t Gralloc4Mapper::importBuffer(const native_handle_t* rawHandle, in importBuffer() argument
204 auto ret = mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer()
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferMapper.h66 status_t importBuffer(const native_handle_t* rawHandle, uint32_t width, uint32_t height,
70 status_t importBufferNoValidate(const native_handle_t* rawHandle, buffer_handle_t* outHandle);
/frameworks/native/libs/ui/include/ui/
DGraphicBufferMapper.h66 status_t importBuffer(const native_handle_t* rawHandle, uint32_t width, uint32_t height,
70 status_t importBufferNoValidate(const native_handle_t* rawHandle, buffer_handle_t* outHandle);
DGralloc2.h43 status_t importBuffer(const native_handle_t* rawHandle,
DGralloc3.h42 status_t importBuffer(const native_handle_t* rawHandle,
DGralloc.h47 virtual status_t importBuffer(const native_handle_t* rawHandle,
DGralloc5.h38 [[nodiscard]] status_t importBuffer(const native_handle_t *rawHandle,
DGralloc4.h47 status_t importBuffer(const native_handle_t* rawHandle,
/frameworks/native/libs/binder/tests/
DbinderSafeInterfaceTest.cpp433 native_handle* rawHandle = native_handle_create(1 /*numFds*/, 1 /*numInts*/); in increment() local
434 if (rawHandle == nullptr) return NO_MEMORY; in increment()
437 rawHandle->data[0] = dup(a->handle()->data[0]); in increment()
440 rawHandle->data[1] = a->handle()->data[1] + 1; in increment()
444 *aPlusOne = NativeHandle::create(rawHandle, true); in increment()