Home
last modified time | relevance | path

Searched refs:filterProxyFd (Results 1 - 1 of 1) sorted by relevance

/foundation/multimedia/media_library/frameworks/utils/src/
H A Dmedia_privacy_manager.cpp215 * Read to the returned @filterProxyFd will redirect to the file specified by @path, but the privacy ranges(@ranges) in
218 * Caller is responsible to close the returned @filterProxyFd.
236 int32_t filterProxyFd = open(EPFS_MOUNT_POINT.c_str(), O_TMPFILE | O_RDWR, epfsFileMode); in OpenFilterProxyFd() local
237 if (filterProxyFd < 0) { in OpenFilterProxyFd()
240 return filterProxyFd; in OpenFilterProxyFd()
242 int32_t ret = BindFilterProxyFdToOrigin(originFd, filterProxyFd); in OpenFilterProxyFd()
245 close(filterProxyFd); in OpenFilterProxyFd()
248 ret = SendRangesToIoctl(originFd, filterProxyFd, ranges); in OpenFilterProxyFd()
251 close(filterProxyFd); in OpenFilterProxyFd()
255 MEDIA_INFO_LOG("FilterProxyFd will be returned: %{private}d", filterProxyFd); in OpenFilterProxyFd()
[all...]

Completed in 1 milliseconds