Searched refs:getStorageVolume (Results 1 – 2 of 2) sorted by relevance
659 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()
812 public @Nullable StorageVolume getStorageVolume(File file) { in getStorageVolume() method in StorageManager813 return getStorageVolume(getVolumeList(), file); in getStorageVolume()817 public static @Nullable StorageVolume getStorageVolume(File file, int userId) { in getStorageVolume() method in StorageManager818 return getStorageVolume(getVolumeList(userId, 0), file); in getStorageVolume()822 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { in getStorageVolume() method in StorageManager848 final StorageVolume vol = getStorageVolume(new File(mountPoint)); in getVolumeState()