Home
last modified time | relevance | path

Searched refs:mountpoint (Results 1 – 18 of 18) 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.cpp244 static bool installFsKeyringKey(const std::string& mountpoint, const EncryptionOptions& options, in installFsKeyringKey() argument
248 android::base::unique_fd fd(open(mountpoint.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in installFsKeyringKey()
250 PLOG(ERROR) << "Failed to open " << mountpoint << " to install key"; in installFsKeyringKey()
255 PLOG(ERROR) << "Failed to install fscrypt key to " << mountpoint; in installFsKeyringKey()
262 bool installKey(const std::string& mountpoint, const EncryptionOptions& options, in installKey() argument
300 if (!installFsKeyringKey(mountpoint, options, arg)) return false; in installKey()
308 LOG(DEBUG) << "Installed fscrypt key with ref " << ref << " to " << mountpoint; in installKey()
357 bool evictKey(const std::string& mountpoint, const EncryptionPolicy& policy) { in evictKey() argument
362 android::base::unique_fd fd(open(mountpoint.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in evictKey()
364 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);
85 bool reloadKeyFromSessionKeyring(const std::string& mountpoint, const EncryptionPolicy& policy);
Dcryptfs.cpp1516 static int wait_and_unmount(const char* mountpoint) { in wait_and_unmount() argument
1520 ensure_subdirectory_unmounted(mountpoint); in wait_and_unmount()
1525 if (umount(mountpoint) == 0) { in wait_and_unmount()
1547 android::vold::KillProcessesWithOpenFiles(mountpoint, SIGTERM); in wait_and_unmount()
1550 android::vold::KillProcessesWithOpenFiles(mountpoint, SIGKILL); in wait_and_unmount()
1557 SLOGD("unmounting %s succeeded\n", mountpoint); in wait_and_unmount()
1560 android::vold::KillProcessesWithOpenFiles(mountpoint, 0); in wait_and_unmount()
1561 SLOGE("unmounting %s failed: %s\n", mountpoint, strerror(err)); in wait_and_unmount()
DFsCrypt.cpp255 static bool install_storage_key(const std::string& mountpoint, const EncryptionOptions& options, in install_storage_key() argument
264 return installKey(mountpoint, options, options.use_hw_wrapped_key ? ephemeral_wrapped_key : key, in install_storage_key()
/system/update_engine/common/
Dutils.cc552 const string& mountpoint, in MountFilesystem() argument
564 mountpoint.c_str(), in MountFilesystem()
572 << mountpoint << " as " << fstype; in MountFilesystem()
580 bool UnmountFilesystem(const string& mountpoint) { in UnmountFilesystem() argument
583 if (umount(mountpoint.c_str()) == 0) in UnmountFilesystem()
590 LOG(INFO) << "Not a mountpoint: " << mountpoint; in UnmountFilesystem()
593 PLOG(WARNING) << "Error unmounting " << mountpoint << " after " << num_retries in UnmountFilesystem()
595 if (umount2(mountpoint.c_str(), MNT_DETACH) != 0) { in UnmountFilesystem()
602 bool IsMountpoint(const std::string& mountpoint) { in IsMountpoint() argument
611 if (lstat(mountpoint.c_str(), &stdir) != 0) { in IsMountpoint()
[all …]
Dtest_utils.h89 explicit ScopedFilesystemUnmounter(const std::string& mountpoint) in ScopedFilesystemUnmounter() argument
90 : mountpoint_(mountpoint), should_unmount_(true) {} in ScopedFilesystemUnmounter()
Dutils.h189 const std::string& mountpoint,
193 bool UnmountFilesystem(const std::string& mountpoint);
199 bool IsMountpoint(const std::string& mountpoint);
/system/core/shell_and_utilities/
DREADME.md107 more mountpoint mv netstat nice nl nohup od paste patch pgrep pidof
128 mountpoint mv netstat nice nl nohup od paste patch pgrep pidof pkill
150 mkswap mktemp modinfo **modprobe** more mount mountpoint mv netstat nice
176 modinfo modprobe more mount mountpoint mv netstat nice nl nohup od paste
204 mkdir mkfifo mknod mkswap mktemp modinfo modprobe more mount mountpoint
236 mkdir mkfifo mknod mkswap mktemp modinfo modprobe more mount mountpoint
269 mountpoint mv nbd-client nc netcat netstat nice nl nohup nproc nsenter
/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/prebuilts/api/30.0/public/
Dfile.te345 # Files inside the /postinstall mountpoint are all labeled as postinstall_file.
/system/sepolicy/prebuilts/api/31.0/public/
Dfile.te384 # Files inside the /postinstall mountpoint are all labeled as postinstall_file.
/system/sepolicy/public/
Dfile.te384 # Files inside the /postinstall mountpoint are all labeled as postinstall_file.