Home
last modified time | relevance | path

Searched refs:mountpoint (Results 1 – 17 of 17) sorted by relevance

/system/extras/cppreopts/
Dcppreopts.sh44 mountpoint=$1
46 if ! test -f ${mountpoint}/system-other-odex-marker ; then
51 log -p i -t cppreopts "cppreopts from ${mountpoint}"
55 …for file in $(find ${mountpoint} -type f -name "*.odex" -o -type f -name "*.vdex" -o -type f -name…
56 real_name=${file/${mountpoint}/}
Dpreloads_copy.sh24 mountpoint=$1
26 log -p i -t preloads_copy "Copying from $mountpoint/preloads"
28 for file in $(find ${mountpoint}/preloads -mindepth 1 -maxdepth 1); do
/system/vold/
DKeyUtil.cpp242 static bool installFsKeyringKey(const std::string& mountpoint, const EncryptionOptions& options, in installFsKeyringKey() argument
246 android::base::unique_fd fd(open(mountpoint.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in installFsKeyringKey()
248 PLOG(ERROR) << "Failed to open " << mountpoint << " to install key"; in installFsKeyringKey()
253 PLOG(ERROR) << "Failed to install fscrypt key to " << mountpoint; in installFsKeyringKey()
260 bool installKey(const std::string& mountpoint, const EncryptionOptions& options, in installKey() argument
298 if (!installFsKeyringKey(mountpoint, options, arg)) return false; in installKey()
306 LOG(DEBUG) << "Installed fscrypt key with ref " << ref << " to " << mountpoint; in installKey()
355 bool evictKey(const std::string& mountpoint, const EncryptionPolicy& policy) { in evictKey() argument
360 android::base::unique_fd fd(open(mountpoint.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in evictKey()
362 PLOG(ERROR) << "Failed to open " << mountpoint << " to evict key"; in evictKey()
[all …]
DKeyUtil.h66 bool installKey(const std::string& mountpoint, const EncryptionOptions& options,
75 bool evictKey(const std::string& mountpoint, const EncryptionPolicy& policy);
83 bool reloadKeyFromSessionKeyring(const std::string& mountpoint, const EncryptionPolicy& policy);
Dcryptfs.cpp258 static int wait_and_unmount(const char* mountpoint, bool kill);
1420 static int wait_and_unmount(const char* mountpoint, bool kill) { in wait_and_unmount() argument
1424 ensure_subdirectory_unmounted(mountpoint); in wait_and_unmount()
1429 if (umount(mountpoint) == 0) { in wait_and_unmount()
1446 android::vold::KillProcessesWithOpenFiles(mountpoint, SIGTERM); in wait_and_unmount()
1449 android::vold::KillProcessesWithOpenFiles(mountpoint, SIGKILL); in wait_and_unmount()
1457 SLOGD("unmounting %s succeeded\n", mountpoint); in wait_and_unmount()
1460 android::vold::KillProcessesWithOpenFiles(mountpoint, 0); in wait_and_unmount()
1461 SLOGE("unmounting %s failed: %s\n", mountpoint, strerror(err)); in wait_and_unmount()
DFsCrypt.cpp248 static bool install_storage_key(const std::string& mountpoint, const EncryptionOptions& options, in install_storage_key() argument
257 return installKey(mountpoint, options, options.use_hw_wrapped_key ? ephemeral_wrapped_key : key, in install_storage_key()
/system/update_engine/common/
Dutils.cc543 const string& mountpoint, in MountFilesystem() argument
555 mountpoint.c_str(), in MountFilesystem()
563 << mountpoint << " as " << fstype; in MountFilesystem()
571 bool UnmountFilesystem(const string& mountpoint) { in UnmountFilesystem() argument
574 if (umount(mountpoint.c_str()) == 0) in UnmountFilesystem()
581 LOG(INFO) << "Not a mountpoint: " << mountpoint; in UnmountFilesystem()
584 PLOG(WARNING) << "Error unmounting " << mountpoint << " after " << num_retries in UnmountFilesystem()
586 if (umount2(mountpoint.c_str(), MNT_DETACH) != 0) { in UnmountFilesystem()
593 bool IsMountpoint(const std::string& mountpoint) { in IsMountpoint() argument
602 if (lstat(mountpoint.c_str(), &stdir) != 0) { in IsMountpoint()
[all …]
Dutils.h170 const std::string& mountpoint,
174 bool UnmountFilesystem(const std::string& mountpoint);
180 bool IsMountpoint(const std::string& mountpoint);
Dtest_utils.h89 explicit ScopedFilesystemUnmounter(const std::string& mountpoint) in ScopedFilesystemUnmounter() argument
90 : mountpoint_(mountpoint), should_unmount_(true) {} in ScopedFilesystemUnmounter()
/system/core/shell_and_utilities/
DREADME.md106 more mountpoint mv netstat nice nl nohup od paste patch pgrep pidof
127 mountpoint mv netstat nice nl nohup od paste patch pgrep pidof pkill
149 mkswap mktemp modinfo modprobe more mount mountpoint mv netstat nice
175 modinfo modprobe more mount mountpoint mv netstat nice nl nohup od paste
203 mkdir mkfifo mknod mkswap mktemp modinfo modprobe more mount mountpoint
235 mkdir mkfifo mknod mkswap mktemp modinfo modprobe more mount mountpoint
/system/update_engine/sample_images/
Dgenerate_images.sh31 if mountpoint -q "${path}"; then
/system/sepolicy/prebuilts/api/26.0/public/
Dfile.te176 # Files inside the /postinstall mountpoint are all labeled as postinstall_file.
/system/sepolicy/prebuilts/api/27.0/public/
Dfile.te178 # Files inside the /postinstall mountpoint are all labeled as postinstall_file.
/system/sepolicy/prebuilts/api/28.0/public/
Dfile.te235 # Files inside the /postinstall mountpoint are all labeled as postinstall_file.
/system/sepolicy/prebuilts/api/29.0/public/
Dfile.te311 # Files inside the /postinstall mountpoint are all labeled as postinstall_file.
/system/sepolicy/public/
Dfile.te348 # Files inside the /postinstall mountpoint are all labeled as postinstall_file.
/system/sepolicy/prebuilts/api/30.0/public/
Dfile.te344 # Files inside the /postinstall mountpoint are all labeled as postinstall_file.