Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DEnvironment.java659 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in getExternalStorageState()
691 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageRemovable()
722 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageEmulated()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java812 public @Nullable StorageVolume getStorageVolume(File file) { in getStorageVolume() method in StorageManager
813 return getStorageVolume(getVolumeList(), file); in getStorageVolume()
817 public static @Nullable StorageVolume getStorageVolume(File file, int userId) { in getStorageVolume() method in StorageManager
818 return getStorageVolume(getVolumeList(userId, 0), file); in getStorageVolume()
822 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { in getStorageVolume() method in StorageManager
848 final StorageVolume vol = getStorageVolume(new File(mountPoint)); in getVolumeState()