Home
last modified time | relevance | path

Searched refs:mHidlHandle (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/camera/device/1.0/default/
DCameraDevice.cpp306 mHidlHandle = native_handle_create(1,0); in CameraHeapMemory()
307 mHidlHandle->data[0] = fcntl(fd, F_DUPFD_CLOEXEC, 0); in CameraHeapMemory()
310 mHidlHeap = hidl_memory("ashmem", mHidlHandle, size); in CameraHeapMemory()
328 mHidlHandle = native_handle_clone(mem.handle()); in CameraHeapMemory()
329 mHidlHeap = hidl_memory("ashmem", mHidlHandle, size); in CameraHeapMemory()
339 native_handle_close(mHidlHandle); // close FD for the shared memory in commonInitialization()
340 native_handle_delete(mHidlHandle); in commonInitialization()
342 mHidlHandle = nullptr; in commonInitialization()
358 if (mHidlHandle) { in ~CameraHeapMemory()
359 native_handle_close(mHidlHandle); // close FD for the shared memory in ~CameraHeapMemory()
[all …]
DCameraDevice_1_0.h128 native_handle_t* mHidlHandle; // contains one shared memory FD member
/hardware/google/av/codec2/vndk/
DC2AllocatorGralloc.cpp300 const hidl_handle mHidlHandle; member in android::C2AllocationGralloc
318 mHidlHandle(std::move(hidlHandle)), in C2AllocationGralloc()
369 mHidlHandle, [&err, this](const auto &maperr, const auto &buffer) { in map()