Home
last modified time | relevance | path

Searched refs:getAllocatableBytes (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageHelperTests.java96 Mockito.when(storageManager.getAllocatableBytes(Mockito.eq(internalFile), Mockito.anyInt())) in createStorageManagerMock()
98 Mockito.when(storageManager.getAllocatableBytes(Mockito.eq(adoptedFile), Mockito.anyInt())) in createStorageManagerMock()
100 Mockito.when(storageManager.getAllocatableBytes(Mockito.eq(publicFile), Mockito.anyInt())) in createStorageManagerMock()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1702 public @BytesLong long getAllocatableBytes(@NonNull UUID storageUuid) in getAllocatableBytes() method in StorageManager
1704 return getAllocatableBytes(storageUuid, 0); in getAllocatableBytes()
1711 public long getAllocatableBytes(@NonNull UUID storageUuid, in getAllocatableBytes() method in StorageManager
1714 return mStorageManager.getAllocatableBytes(convert(storageUuid), flags); in getAllocatableBytes()
1727 public long getAllocatableBytes(@NonNull File path, in getAllocatableBytes() method in StorageManager
1729 return getAllocatableBytes(getUuidForPath(path), flags); in getAllocatableBytes()
DIStorageManager.aidl296 long getAllocatableBytes(String volumeUuid, int flags) = 77; in getAllocatableBytes() method
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java362 return (params.sizeBytes <= storage.getAllocatableBytes(target, in fitsOnInternalStorage()
469 final long availBytes = storageManager.getAllocatableBytes(new File(vol.path), in resolveInstallVolume()
527 return (params.sizeBytes <= storage.getAllocatableBytes(target, in fitsOnInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMockStorageManager.java494 public long getAllocatableBytes(String path, int flags) { in getAllocatableBytes() method in MockStorageManager
/frameworks/base/api/
Dremoved.txt305 method public deprecated long getAllocatableBytes(java.io.File, int) throws java.io.IOException;
Dsystem-removed.txt299 method public deprecated long getAllocatableBytes(java.io.File, int) throws java.io.IOException;
Dtest-removed.txt305 method public deprecated long getAllocatableBytes(java.io.File, int) throws java.io.IOException;
Dsystem-current.txt34616 method public long getAllocatableBytes(java.util.UUID) throws java.io.IOException;
34617 method public long getAllocatableBytes(java.util.UUID, int) throws java.io.IOException;
Dcurrent.txt31766 method public long getAllocatableBytes(java.util.UUID) throws java.io.IOException;
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3295 public long getAllocatableBytes(String volumeUuid, int flags) { in getAllocatableBytes() method in StorageManagerService
3355 final long allocatableBytes = getAllocatableBytes(volumeUuid, flags); in allocateBytes()