Home
last modified time | relevance | path

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

/hardware/google/camera/common/sensor_listener/
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()
Dgoog_gralloc_wrapper.h74 const ::android::hardware::hidl_handle& raw_handle);
92 const native_handle_t* CloneBuffer(const hardware::hidl_handle& raw_handle);
/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/sm7250/display/composer/
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()
/hardware/qcom/sm7250/display/gralloc/
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()
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()
DQtiMapper.h80 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
DQtiMapper4.h85 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
/hardware/qcom/sm8150/display/gralloc/
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()
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()
DQtiMapper.h80 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
DQtiMapper4.h85 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.cpp3097 native_handle_t* raw_handle = native_handle_create(1, 0); in TEST_P() local
3098 raw_handle->data[0] = open(kDumpOutput, O_RDWR); in TEST_P()
3099 ASSERT_GE(raw_handle->data[0], 0); in TEST_P()
3100 hidl_handle handle = raw_handle; in TEST_P()
3103 close(raw_handle->data[0]); in TEST_P()
3104 native_handle_delete(raw_handle); in TEST_P()
3119 native_handle_t* raw_handle = native_handle_create(1, 0); in TEST_P() local
3120 raw_handle->data[0] = open(kDumpOutput, O_RDWR); in TEST_P()
3121 ASSERT_GE(raw_handle->data[0], 0); in TEST_P()
3122 hidl_handle handle = raw_handle; in TEST_P()
[all …]
/hardware/interfaces/camera/provider/aidl/vts/
DVtsAidlHalCameraProvider_TargetTest.cpp524 int raw_handle = open(kDumpOutput, O_RDWR); in TEST_P() local
525 ASSERT_GE(raw_handle, 0); in TEST_P()
527 auto retStatus = device->dump(raw_handle, nullptr, 0); in TEST_P()
529 close(raw_handle); in TEST_P()
553 int raw_handle = open(kDumpOutput, O_RDWR); in TEST_P() local
554 ASSERT_GE(raw_handle, 0); in TEST_P()
556 auto retStatus = device->dump(raw_handle, nullptr, 0); in TEST_P()
558 close(raw_handle); in TEST_P()