Searched refs:getMountUserId (Results 1 – 9 of 9) sorted by relevance
/aosp12/system/vold/model/ |
H A D | EmulatedVolume.cpp | 95 int userId = getMountUserId(); in mountFuseBindMounts() 159 int userId = getMountUserId(); in unmountFuseBindMounts() 223 if (!mUseSdcardFs || getMountUserId() != 0) { in unmountSdcardFs() 271 if (mUseSdcardFs && getMountUserId() == 0) { in doMount() 326 int user_id = getMountUserId(); in doMount() 400 int userId = getMountUserId(); in doUnmount() 409 std::string user_path(StringPrintf("%s/%d", getPath().c_str(), getMountUserId())); in doUnmount() 435 int user_id = getMountUserId(); in getRootPath()
|
H A D | PublicVolume.cpp | 184 "-U", std::to_string(getMountUserId()).c_str(), in doMount() 197 "-U", std::to_string(getMountUserId()).c_str(), in doMount() 234 int user_id = getMountUserId(); in doMount() 277 if (UnmountUserFuse(getMountUserId(), getInternalPath(), stableName) != OK) { in doUnmount()
|
H A D | VolumeBase.h | 87 userid_t getMountUserId() const { return mMountUserId; } in getMountUserId() function
|
/aosp12/system/vold/ |
H A D | VolumeManager.cpp | 377 if (vol->getMountUserId() == userId) { in destroyEmulatedVolumesForUser() 393 if (vol->getMountUserId() == userId) { in destroyEmulatedVolumesForUser() 876 if (vol->getMountUserId() == userId && vol->getState() == VolumeBase::State::kMounted) { in handleAppStorageDirs() 1012 if (vol.getMountUserId() != USER_UNKNOWN && in setupAppDir() 1013 vol.getMountUserId() != multiuser_get_user_id(appUid)) { in setupAppDir()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | StorageNotification.java | 302 if (vol.getMountUserId() == UserHandle.USER_NULL) { in onPublicVolumeStateChangedInternal() 341 notif, UserHandle.of(vol.getMountUserId())); in onPublicVolumeStateChangedInternal() 344 UserHandle.of(vol.getMountUserId())); in onPublicVolumeStateChangedInternal() 693 final Intent intent = vol.buildBrowseIntentForUser(vol.getMountUserId()); in buildBrowsePendingIntent()
|
/aosp12/frameworks/base/services/core/java/com/android/server/storage/ |
H A D | StorageSessionController.java | 158 vol.buildStorageVolume(mContext, vol.getMountUserId(), false)); in notifyVolumeStateChanged()
|
/aosp12/frameworks/base/core/java/android/os/storage/ |
H A D | VolumeInfo.java | 280 public int getMountUserId() { in getMountUserId() method in VolumeInfo
|
/aosp12/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 170 if (!volume.isMountedReadable() || volume.getMountUserId() != userId) continue; in updateVolumesLocked()
|
/aosp12/frameworks/base/services/core/java/com/android/server/ |
H A D | StorageManagerService.java | 1283 && vol.getMountUserId() != mCurrentUserId) { in maybeRemountVolumes() 1636 mFuseMountedUser.remove(vol.getMountUserId()); in onVolumeStateChangedLocked() 1638 final int userId = vol.getMountUserId(); in onVolumeStateChangedLocked() 1661 .getProcessesWithPendingBindMounts(vol.getMountUserId()); in onVolumeStateChangedLocked() 3760 if (vol.getMountUserId() == userId) { in getVolumeList()
|