Searched refs:getAllocatableBytes (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageHelperTests.java | 96 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/ |
D | StorageManager.java | 1702 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()
|
D | IStorageManager.aidl | 296 long getAllocatableBytes(String volumeUuid, int flags) = 77; in getAllocatableBytes() method
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 362 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/ |
D | MockStorageManager.java | 494 public long getAllocatableBytes(String path, int flags) { in getAllocatableBytes() method in MockStorageManager
|
/frameworks/base/api/ |
D | removed.txt | 305 method public deprecated long getAllocatableBytes(java.io.File, int) throws java.io.IOException;
|
D | system-removed.txt | 299 method public deprecated long getAllocatableBytes(java.io.File, int) throws java.io.IOException;
|
D | test-removed.txt | 305 method public deprecated long getAllocatableBytes(java.io.File, int) throws java.io.IOException;
|
D | system-current.txt | 34616 method public long getAllocatableBytes(java.util.UUID) throws java.io.IOException; 34617 method public long getAllocatableBytes(java.util.UUID, int) throws java.io.IOException;
|
D | current.txt | 31766 method public long getAllocatableBytes(java.util.UUID) throws java.io.IOException;
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 3295 public long getAllocatableBytes(String volumeUuid, int flags) { in getAllocatableBytes() method in StorageManagerService 3355 final long allocatableBytes = getAllocatableBytes(volumeUuid, flags); in allocateBytes()
|