Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
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()
/frameworks/base/core/java/com/android/internal/security/
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()
/frameworks/base/startop/scripts/app_startup/
Dparse_metrics45 -rfd, --reportfullydrawn wait for report fully drawn (default: off)
86 -rfd|--reportfullydrawn)
Drun_app_with_prefetch74 -rfd|--reportfullydrawn)
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp2768 ::android::base::unique_fd rfd(open(filePath.c_str(), O_RDONLY)); in installApkVerity()
2769 if (ioctl(rfd.get(), FS_IOC_ENABLE_VERITY, nullptr) < 0) { in installApkVerity()