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.cpp303 mHidlHandle = native_handle_create(1,0); in CameraHeapMemory()
304 mHidlHandle->data[0] = fcntl(fd, F_DUPFD_CLOEXEC, 0); in CameraHeapMemory()
307 mHidlHeap = hidl_memory("ashmem", mHidlHandle, size); in CameraHeapMemory()
325 mHidlHandle = native_handle_clone(mem.handle()); in CameraHeapMemory()
326 mHidlHeap = hidl_memory("ashmem", mHidlHandle, size); in CameraHeapMemory()
336 native_handle_close(mHidlHandle); // close FD for the shared memory in commonInitialization()
337 native_handle_delete(mHidlHandle); in commonInitialization()
339 mHidlHandle = nullptr; in commonInitialization()
355 if (mHidlHandle) { in ~CameraHeapMemory()
356 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()