Home
last modified time | relevance | path

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

/aosp12/hardware/interfaces/camera/device/1.0/default/
H A 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()
360 native_handle_delete(mHidlHandle); in ~CameraHeapMemory()
[all …]
H A DCameraDevice_1_0.h128 native_handle_t* mHidlHandle; // contains one shared memory FD member
/aosp12/frameworks/av/media/codec2/vndk/
H A DC2AllocatorGralloc.cpp287 const hidl_handle mHidlHandle; member in android::C2AllocationGralloc
310 mHidlHandle(std::move(hidlHandle)), in C2AllocationGralloc()
367 mHidlHandle.getNativeHandle(), mWidth, mHeight, mLayerCount, in map()