Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DEnvironment.java822 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in getExternalStorageState()
855 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageRemovable()
899 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageEmulated()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java995 public @Nullable StorageVolume getStorageVolume(File file) { in getStorageVolume() method in StorageManager
996 return getStorageVolume(getVolumeList(), file); in getStorageVolume()
1000 public static @Nullable StorageVolume getStorageVolume(File file, int userId) { in getStorageVolume() method in StorageManager
1001 return getStorageVolume(getVolumeList(userId, 0), file); in getStorageVolume()
1005 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { in getStorageVolume() method in StorageManager
1035 final StorageVolume vol = getStorageVolume(new File(mountPoint)); in getVolumeState()
/frameworks/base/api/
Dcurrent.txt31771 method public android.os.storage.StorageVolume getStorageVolume(java.io.File);
Dsystem-current.txt34622 method public android.os.storage.StorageVolume getStorageVolume(java.io.File);