Home
last modified time | relevance | path

Searched refs:mapfd (Results 1 – 10 of 10) sorted by relevance

/aosp12/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp52 if (mapfd(fd, true, size) == NO_ERROR) { in MemoryHeapBase()
73 if (mapfd(fd, false, size) == NO_ERROR) { in MemoryHeapBase()
85 mapfd(fcntl(fd, F_DUPFD_CLOEXEC, 0), false, size, offset); in MemoryHeapBase()
101 status_t MemoryHeapBase::mapfd(int fd, bool writeableByCaller, size_t size, off_t offset) in mapfd() function in android::MemoryHeapBase
/aosp12/bootable/recovery/uncrypt/
H A Duncrypt.cpp251 android::base::unique_fd mapfd(open(tmp_map_file.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR)); in ProductBlockMap() local
252 if (mapfd == -1) { in ProductBlockMap()
279 if (!android::base::WriteStringToFd(s, mapfd)) { in ProductBlockMap()
415 android::base::StringPrintf("%zu\n", ranges.size() / 2), mapfd)) { in ProductBlockMap()
421 android::base::StringPrintf("%d %d\n", ranges[i], ranges[i+1]), mapfd)) { in ProductBlockMap()
427 if (fsync(mapfd) == -1) { in ProductBlockMap()
431 if (close(mapfd.release()) == -1) { in ProductBlockMap()
/aosp12/frameworks/native/include/binder/
H A DMemoryHeapBase.h82 status_t mapfd(int fd, bool writeableByCaller, size_t size, off_t offset = 0);
/aosp12/frameworks/native/libs/binder/include/binder/
H A DMemoryHeapBase.h82 status_t mapfd(int fd, bool writeableByCaller, size_t size, off_t offset = 0);
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
H A Domx_vdec.h129 VideoHeap(int devicefd, size_t size, void* base,struct ion_handle *handle,int mapfd);
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
H A Domx_vdec_hevc.h115 VideoHeap(int devicefd, size_t size, void* base,struct ion_handle *handle,int mapfd);
H A Domx_vdec.h123 VideoHeap(int devicefd, size_t size, void* base,ion_user_handle_t handle,int mapfd);
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
H A Domx_vdec_hevc.h116 VideoHeap(int devicefd, size_t size, void* base,ion_user_handle_t handle,int mapfd);
H A Domx_vdec_hevc_swvdec.h129 VideoHeap(int devicefd, size_t size, void* base,ion_user_handle_t handle,int mapfd);
H A Domx_vdec.h126 VideoHeap(int devicefd, size_t size, void* base,ion_user_handle_t handle,int mapfd);