Home
last modified time | relevance | path

Searched refs:raw_handle (Results 1 – 11 of 11) sorted by relevance

/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp139 hidl_handle raw_handle = nullptr; in AllocateBuffer() local
147 raw_handle = _buffers[0]; in AllocateBuffer()
155 mapper_V3_->importBuffer(raw_handle, [&](const auto &_error, const auto &_buffer) { in AllocateBuffer()
192 hidl_handle raw_handle = nullptr; in AllocateBuffer() local
200 raw_handle = _buffers[0]; in AllocateBuffer()
208 mapper_V2_->importBuffer(raw_handle, [&](const auto &_error, const auto &_buffer) { in AllocateBuffer()
/hardware/qcom/sm8150/display/gralloc/
DQtiMapper.cpp94 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument
95 if (!raw_handle.getNativeHandle()) { in importBuffer()
101 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer()
DQtiMapper.h76 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp117 hidl_handle raw_handle = nullptr; in AllocateBuffer() local
123 raw_handle = _buffers[0]; in AllocateBuffer()
131 mapper_->importBuffer(raw_handle, [&](const auto &_error, const auto &_buffer) { in AllocateBuffer()
/hardware/qcom/sdm845/display/gralloc/
DQtiMapper.cpp94 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument
95 if (!raw_handle.getNativeHandle()) { in importBuffer()
101 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer()
DQtiMapper.h74 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_device_impl.cpp543 …loc1_error_t GrallocImpl::importBuffer(gralloc1_device_t *device, const buffer_handle_t raw_handle, in importBuffer() argument
545 if (!raw_handle) { in importBuffer()
551 native_handle_t *buffer_handle = native_handle_clone(raw_handle); in importBuffer()
Dgr_device_impl.h129 static gralloc1_error_t importBuffer(gralloc1_device_t *device, buffer_handle_t raw_handle,
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_device_impl.cpp562 …loc1_error_t GrallocImpl::importBuffer(gralloc1_device_t *device, const buffer_handle_t raw_handle, in importBuffer() argument
564 if (!raw_handle) { in importBuffer()
570 native_handle_t *buffer_handle = native_handle_clone(raw_handle); in importBuffer()
Dgr_device_impl.h129 static gralloc1_error_t importBuffer(gralloc1_device_t *device, buffer_handle_t raw_handle,
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp2953 native_handle_t* raw_handle = native_handle_create(1, 0); in TEST_P() local
2954 raw_handle->data[0] = open(kDumpOutput, O_RDWR); in TEST_P()
2955 ASSERT_GE(raw_handle->data[0], 0); in TEST_P()
2956 hidl_handle handle = raw_handle; in TEST_P()
2959 close(raw_handle->data[0]); in TEST_P()
2960 native_handle_delete(raw_handle); in TEST_P()
2975 native_handle_t* raw_handle = native_handle_create(1, 0); in TEST_P() local
2976 raw_handle->data[0] = open(kDumpOutput, O_RDWR); in TEST_P()
2977 ASSERT_GE(raw_handle->data[0], 0); in TEST_P()
2978 hidl_handle handle = raw_handle; in TEST_P()
[all …]