Lines Matching refs:userId
46 EmulatedVolume::EmulatedVolume(const std::string& rawPath, int userId) in EmulatedVolume() argument
48 setId(StringPrintf("emulated;%u", userId)); in EmulatedVolume()
57 int userId) in EmulatedVolume() argument
59 setId(StringPrintf("emulated:%u,%u;%u", major(device), minor(device), userId)); in EmulatedVolume()
95 int userId = getMountUserId(); in mountFuseBindMounts() local
113 androidSource = StringPrintf("/mnt/runtime/default/%s/%d/Android", label.c_str(), userId); in mountFuseBindMounts()
115 androidSource = StringPrintf("/%s/%d/Android", mRawPath.c_str(), userId); in mountFuseBindMounts()
123 StringPrintf("/mnt/user/%d/%s/%d/Android/data", userId, label.c_str(), userId)); in mountFuseBindMounts()
131 StringPrintf("/mnt/user/%d/%s/%d/Android/obb", userId, label.c_str(), userId)); in mountFuseBindMounts()
143 label.c_str(), userId)); in mountFuseBindMounts()
145 userId, label.c_str(), userId)); in mountFuseBindMounts()
159 int userId = getMountUserId(); in unmountFuseBindMounts() local
163 StringPrintf("/mnt/installer/%d/%s/%d/Android/obb", userId, label.c_str(), userId)); in unmountFuseBindMounts()
173 userId, label.c_str(), userId)); in unmountFuseBindMounts()
181 userId, label.c_str(), userId)); in unmountFuseBindMounts()
193 std::string appObbDir(StringPrintf("%s/%d/Android/obb", getPath().c_str(), userId)); in unmountFuseBindMounts()
201 StringPrintf("/mnt/user/%d/%s/%d/Android/data", userId, label.c_str(), userId)); in unmountFuseBindMounts()
211 StringPrintf("/mnt/user/%d/%s/%d/Android/obb", userId, label.c_str(), userId)); in unmountFuseBindMounts()
400 int userId = getMountUserId(); in doUnmount() local
423 if (UnmountUserFuse(userId, getInternalPath(), label) != OK) { in doUnmount()