Home
last modified time | relevance | path

Searched refs:BindMount (Results 1 – 2 of 2) sorted by relevance

/aosp14/system/core/init/
H A Dmount_namespace.cpp47 static bool BindMount(const std::string& source, const std::string& mount_point) { in BindMount() function
150 if (!(BindMount("/mnt/user", "/mnt/installer"))) return false; in SetupMountNamespaces()
151 if (!(BindMount("/mnt/user", "/mnt/androidwritable"))) return false; in SetupMountNamespaces()
/aosp14/frameworks/base/core/jni/
H A Dcom_android_internal_os_Zygote.cpp798 if (!BindMount(source_dir, target_dir)) { in BindMount()
853 BindMount(pass_through_source, "/storage", fail_fn); in MountEmulatedStorage()
856 BindMount(installer_source, "/storage", fail_fn); in MountEmulatedStorage()
859 BindMount(writable_source, "/storage", fail_fn); in MountEmulatedStorage()
861 BindMount(user_source, "/storage", fail_fn); in MountEmulatedStorage()
1045 BindMount(mirrorAppDataPath, actualAppDataPath, fail_fn); in createAndMountAppData()
1046 } else if(!BindMount(mirrorAppDataPath, actualAppDataPath)) { in createAndMountAppData()
1067 BindMount(mirrorAppDataPath, actualAppDataPath, fail_fn); in mountAppData()
1663 BindMount(mirrorCurPackageProfile, actualCurPackageProfile, fail_fn); in isolateJitProfile()
1665 BindMount(mirrorRefPackageProfile, actualRefPackageProfile, fail_fn); in isolateJitProfile()
[all …]