Home
last modified time | relevance | path

Searched refs:rfd (Results 1 – 9 of 9) sorted by relevance

/aosp12/frameworks/base/core/jni/
H A Dcom_android_internal_security_VerityUtils.cpp47 ::android::base::unique_fd rfd(open(path.c_str(), O_RDONLY | O_CLOEXEC)); in enableFsverity()
48 if (rfd.get() < 0) { in enableFsverity()
65 if (ioctl(rfd.get(), FS_IOC_ENABLE_VERITY, &arg) < 0) { in enableFsverity()
99 ::android::base::unique_fd rfd(open(path.c_str(), O_RDONLY | O_CLOEXEC)); in measureFsverity()
100 if (rfd.get() < 0) { in measureFsverity()
101 return rfd.get(); in measureFsverity()
103 if (auto err = ioctl(rfd.get(), FS_IOC_MEASURE_VERITY, data); err < 0) { in measureFsverity()
/aosp12/hardware/qcom/wlan/qcwcn/wcnss-service/
H A Dwcnss_service.c272 int rfd; in setup_wlan_config_file() local
294 rfd = open(WLAN_INI_FILE_SOURCE, O_RDONLY); in setup_wlan_config_file()
295 if (rfd < 0) { in setup_wlan_config_file()
303 close(rfd); in setup_wlan_config_file()
307 rc = sendfile(wfd, rfd, 0, st_src.st_size); in setup_wlan_config_file()
332 close(rfd); in setup_wlan_config_file()
/aosp12/frameworks/base/core/java/com/android/internal/security/
H A DVerityUtils.java154 FileDescriptor rfd = shm.getFileDescriptor(); in generateApkVeritySetupData() local
155 if (rfd == null || !rfd.valid()) { in generateApkVeritySetupData()
158 return SetupResult.ok(Os.dup(rfd), contentSize); in generateApkVeritySetupData()
/aosp12/art/tools/
H A Ddt_fds_forward.py66 (rfd, lfd) = socket.socketpair(socket.AF_UNIX, socket.SOCK_SEQPACKET)
67 yield (rfd, lfd)
68 rfd.close()
/aosp12/frameworks/base/startop/scripts/app_startup/
H A Dparse_metrics45 -rfd, --reportfullydrawn wait for report fully drawn (default: off)
86 -rfd|--reportfullydrawn)
H A Drun_app_with_prefetch74 -rfd|--reportfullydrawn)
/aosp12/bionic/libc/bionic/
H A Dfts.c211 int rfd, error = 0; in fts_close() local
228 rfd = ISSET(FTS_NOCHDIR) ? -1 : sp->fts_rfd; in fts_close()
238 if (rfd != -1) { in fts_close()
240 error = fchdir(rfd); in fts_close()
242 (void)close(rfd); in fts_close()
/aosp12/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp2781 ::android::base::unique_fd rfd(open(filePath.c_str(), O_RDONLY)); in installApkVerity()
2782 if (ioctl(rfd.get(), FS_IOC_ENABLE_VERITY, nullptr) < 0) { in installApkVerity()
/aosp12/packages/inputmethods/LatinIME/dictionaries/
H A Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...