/system/core/libnativebridge/tests/ |
H A D | PreInitializeNativeBridgeFail1_test.cpp | 23 #include <sys/mount.h>
|
H A D | PreInitializeNativeBridgeFail2_test.cpp | 21 #include <sys/mount.h>
|
H A D | PreInitializeNativeBridge_test.cpp | 21 #include <sys/mount.h> 35 #if !defined(__APPLE__) // Mac OS does not support bind-mount. 39 // Try to create our mount namespace. 60 // Ending the test will tear down the mount namespace. 62 GTEST_LOG_(WARNING) << "Could not create mount namespace. Are you running this as root?";
|
/system/vold/fs/ |
H A D | Exfat.cpp | 17 #include <sys/mount.h> 63 if (mount(source.c_str(), target.c_str(), "exfat", mountFlags, mountData.c_str()) == 0) { 69 if (mount(source.c_str(), target.c_str(), "exfat", mountFlags, mountData.c_str()) == 0) {
|
H A D | F2fs.cpp | 28 #include <sys/mount.h> 60 int res = mount(c_source, c_target, "f2fs", flags, NULL); 62 PLOG(ERROR) << "Failed to mount " << source; 64 res = mount(c_source, c_target, "f2fs", flags | MS_RDONLY, NULL); 66 PLOG(ERROR) << "Failed to mount read-only " << source;
|
H A D | Ext4.cpp | 33 #include <sys/mount.h> 83 * First try to mount and unmount the filesystem. We do this because 91 * check. Otherwise, it does nothing. If the kernel cannot mount the 95 ret = mount(c_source, c_target, "ext4", tmpmnt_flags, tmpmnt_opts); 146 rc = mount(c_source, c_target, "ext4", flags, NULL); 149 LOG(ERROR) << source << " appears to be a read only filesystem - retrying mount RO"; 151 rc = mount(c_source, c_target, "ext4", flags, NULL);
|
H A D | Vfat.cpp | 31 #include <sys/mount.h> 135 rc = mount(c_source, c_target, "vfat", flags, mountData.c_str()); 138 LOG(ERROR) << source << " appears to be a read only filesystem - retrying mount RO"; 140 rc = mount(c_source, c_target, "vfat", flags, mountData.c_str());
|
/system/libvintf/ |
H A D | VintfObjectRecovery.cpp | 19 #include <sys/mount.h> 35 int result = mount(rec->blk_device, mount_point, rec->fs_type, rec->flags, rec->fs_options); 84 return details::checkCompatibility(xmls, true /* mount */, mounter, error);
|
H A D | VintfObject.cpp | 384 static status_t getMissing(const std::shared_ptr<T>& pkg, bool mount, argument 391 if (mount) { 392 (void)mountFunction(); // ignore mount errors 426 int32_t checkCompatibility(const std::vector<std::string>& xmls, bool mount, argument 461 pkg.fwk.manifest, mount, mountSystem, &updated.fwk.manifest, 466 pkg.dev.manifest, mount, mountVendor, &updated.dev.manifest, 471 pkg.fwk.matrix, mount, mountSystem, &updated.fwk.matrix, 477 pkg.dev.matrix, mount, mountVendor, &updated.dev.matrix, 482 if (mount) { 574 return details::checkCompatibility(xmls, false /* mount */, *detail [all...] |
/system/core/adb/ |
H A D | remount_service.cpp | 27 #include <sys/mount.h> 39 // Returns the device used to mount a directory in /proc/mounts. 55 // Returns the device used to mount a directory in the fstab. 103 if (mount(dev.c_str(), dir, "none", MS_REMOUNT | MS_BIND, nullptr) == -1) { 105 // read-write, but the mount itself is read-only, such as containers 107 WriteFdFmt(fd, "remount of the %s mount failed: %s.\n", dir, strerror(errno)); 110 if (mount(dev.c_str(), dir, "none", MS_REMOUNT, nullptr) == -1) {
|
/system/core/libcutils/ |
H A D | partition_utils.cpp | 21 #include <sys/mount.h> /* for BLKGETSIZE */
|
/system/core/sdcard/ |
H A D | sdcard.cpp | 25 #include <sys/mount.h> 84 // NOTE: This is a vestigial program that simply exists to mount the in-kernel 113 if (mount(source_path.c_str(), dest_path.c_str(), use_esdfs ? "esdfs" : "sdcardfs", 115 PLOG(WARNING) << "Failed to mount sdcardfs with options " << opts; 128 if (mount(source_path.c_str(), dest_path.c_str(), nullptr, 130 PLOG(ERROR) << "failed to bind mount sdcardfs filesystem"; 134 if (mount(source_path.c_str(), dest_path.c_str(), "none", 136 PLOG(ERROR) << "failed to mount sdcardfs filesystem"; 211 << " -w: runtime write mount has full write access"
|
/system/extras/ext4_utils/ |
H A D | ext4_crypt_init_extensions.cpp | 21 #include <sys/mount.h>
|
/system/core/init/ |
H A D | init.cpp | 28 #include <sys/mount.h> 576 mount("tmpfs", "/dev", "tmpfs", MS_NOSUID, "mode=0755"); 579 mount("devpts", "/dev/pts", "devpts", 0, NULL); 581 mount("proc", "/proc", "proc", 0, "hidepid=2,gid=" MAKE_STR(AID_READPROC)); 586 mount("sysfs", "/sys", "sysfs", 0, NULL); 587 mount("selinuxfs", "/sys/fs/selinux", "selinuxfs", 0, NULL); 600 mount("tmpfs", "/mnt", "tmpfs", MS_NOEXEC | MS_NOSUID | MS_NODEV, 602 // /mnt/vendor is used to mount vendor-specific partitions that can not be 613 LOG(FATAL) << "Failed to mount required partitions early ..."; 738 // Don't mount filesystem [all...] |
/system/core/fs_mgr/ |
H A D | fs_mgr_format.cpp | 25 #include <sys/mount.h>
|
/system/vold/model/ |
H A D | EmulatedVolume.cpp | 28 #include <sys/mount.h> 76 PLOG(ERROR) << getId() << " failed to create mount points";
|
H A D | ObbVolume.cpp | 32 #include <sys/mount.h> 108 PLOG(ERROR) << getId() << " failed to create mount point"; 113 PLOG(ERROR) << getId() << " failed to mount";
|
H A D | VolumeBase.h | 101 status_t mount();
|
H A D | VolumeBase.cpp | 26 #include <sys/mount.h> 205 status_t VolumeBase::mount() { function in class:android::vold::VolumeBase 207 LOG(WARNING) << getId() << " mount requires state unmounted or unmountable";
|
H A D | PrivateVolume.cpp | 32 #include <sys/mount.h> 109 PLOG(ERROR) << getId() << " failed to create mount point " << mPath; 123 PLOG(ERROR) << getId() << " failed to mount"; 137 PLOG(ERROR) << getId() << " failed to mount"; 175 PLOG(ERROR) << getId() << " failed to rmdir mount point " << mPath;
|
/system/bt/vendor_libs/test_vendor_lib/scripts/ |
H A D | build_and_run.sh | 99 adb shell mount -o remount,rw /
|
/system/vold/binder/android/os/ |
H A D | IVold.aidl | 40 void mount(@utf8InCpp String volId, int mountFlags, int mountUserId);
|
/system/libvintf/include/vintf/ |
H A D | VintfObject.h | 107 * < 0 if any error (mount partition fails, illformed XML, etc.) 136 * < 0 if any error (mount partition fails, illformed XML, etc.) 147 * < 0 if any error (mount partition fails, illformed XML, etc.) 183 int32_t checkCompatibility(const std::vector<std::string>& xmls, bool mount,
|
/system/vold/ |
H A D | Loop.cpp | 27 #include <sys/mount.h>
|
/system/core/libnativebridge/ |
H A D | native_bridge.cc | 25 #include <sys/mount.h> 278 // Bind-mount /system/lib{,64}/<isa>/cpuinfo to /proc/cpuinfo. 296 // If the file does not exist, the mount command will fail, 311 // Bind-mount. 312 if (TEMP_FAILURE_RETRY(mount(cpuinfo_path, // Source. 315 MS_BIND, // Mount flags: bind mount. 317 ALOGW("Failed to bind-mount %s as /proc/cpuinfo: %s", cpuinfo_path, strerror(errno));
|