Home
last modified time | relevance | path

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

/aosp12/hardware/google/camera/common/sensor_listener/
H A Dgoog_gralloc_wrapper.cc78 const hidl_handle& raw_handle) { in CloneBuffer() argument
80 native_handle_clone(raw_handle.getNativeHandle()); in CloneBuffer()
151 const hidl_handle& raw_handle) { in ImportBuffer() argument
154 raw_handle, [&buffer_handle, &raw_handle](const auto& tmp_error, in ImportBuffer()
158 raw_handle.getNativeHandle()); in ImportBuffer()
H A Dgoog_gralloc_wrapper.h74 const ::android::hardware::hidl_handle& raw_handle);
92 const native_handle_t* CloneBuffer(const hardware::hidl_handle& raw_handle);
/aosp12/hardware/qcom/sm7250/display/composer/
H A Dhwc_buffer_allocator.cpp140 hidl_handle raw_handle = nullptr; in AllocateBuffer() local
148 raw_handle = _buffers[0]; in AllocateBuffer()
156 mapper_V3_->importBuffer(raw_handle, [&](const auto &_error, const auto &_buffer) { in AllocateBuffer()
193 hidl_handle raw_handle = nullptr; in AllocateBuffer() local
201 raw_handle = _buffers[0]; in AllocateBuffer()
209 mapper_V2_->importBuffer(raw_handle, [&](const auto &_error, const auto &_buffer) { in AllocateBuffer()
/aosp12/hardware/qcom/sm8150/display/sdm/libs/hwc2/
H A 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()
/aosp12/hardware/qcom/sm7250/display/gralloc/
H A DQtiMapper.cpp95 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument
96 if (!raw_handle.getNativeHandle()) { in importBuffer()
102 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer()
H A DQtiMapper4.cpp102 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument
103 if (!raw_handle.getNativeHandle()) { in importBuffer()
109 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer()
H A DQtiMapper.h80 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
H A DQtiMapper4.h85 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
/aosp12/hardware/qcom/sm8150/display/gralloc/
H A DQtiMapper.cpp95 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument
96 if (!raw_handle.getNativeHandle()) { in importBuffer()
102 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer()
H A DQtiMapper4.cpp102 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument
103 if (!raw_handle.getNativeHandle()) { in importBuffer()
109 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer()
H A DQtiMapper.h80 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
H A DQtiMapper4.h85 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
/aosp12/hardware/qcom/sdm845/display/sdm/libs/hwc2/
H A 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()
/aosp12/hardware/qcom/sdm845/display/gralloc/
H A 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()
H A DQtiMapper.h74 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
/aosp12/hardware/qcom/display/msm8996/libgralloc1/
H A 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()
H A Dgr_device_impl.h129 static gralloc1_error_t importBuffer(gralloc1_device_t *device, buffer_handle_t raw_handle,
/aosp12/hardware/qcom/display/msm8998/libgralloc1/
H A 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()
H A Dgr_device_impl.h129 static gralloc1_error_t importBuffer(gralloc1_device_t *device, buffer_handle_t raw_handle,
/aosp12/hardware/interfaces/camera/provider/2.4/vts/functional/
H A DVtsHalCameraProviderV2_4TargetTest.cpp3043 hidl_handle handle = raw_handle; in TEST_P()
3046 close(raw_handle->data[0]); in TEST_P()
3047 native_handle_delete(raw_handle); in TEST_P()
3065 hidl_handle handle = raw_handle; in TEST_P()
3069 close(raw_handle->data[0]); in TEST_P()
3070 native_handle_delete(raw_handle); in TEST_P()
3144 hidl_handle handle = raw_handle; in TEST_P()
3147 close(raw_handle->data[0]); in TEST_P()
3148 native_handle_delete(raw_handle); in TEST_P()
3164 hidl_handle handle = raw_handle; in TEST_P()
[all …]