Searched refs:getAllocatableBytes (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageHelper.java | 362 return (params.sizeBytes <= storage.getAllocatableBytes(target, 469 final long availBytes = storageManager.getAllocatableBytes(new File(vol.path), 527 return (params.sizeBytes <= storage.getAllocatableBytes(target,
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageHelperTests.java | 96 Mockito.when(storageManager.getAllocatableBytes(Mockito.eq(internalFile), Mockito.anyInt())) 98 Mockito.when(storageManager.getAllocatableBytes(Mockito.eq(adoptedFile), Mockito.anyInt())) 100 Mockito.when(storageManager.getAllocatableBytes(Mockito.eq(publicFile), Mockito.anyInt()))
|
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 1638 * @see #getAllocatableBytes(UUID, int) 1702 public @BytesLong long getAllocatableBytes(@NonNull UUID storageUuid) method in class:StorageManager 1704 return getAllocatableBytes(storageUuid, 0); 1711 public long getAllocatableBytes(@NonNull UUID storageUuid, method in class:StorageManager 1714 return mStorageManager.getAllocatableBytes(convert(storageUuid), flags); 1727 public long getAllocatableBytes(@NonNull File path, method in class:StorageManager 1729 return getAllocatableBytes(getUuidForPath(path), flags); 1738 * {@link #getAllocatableBytes(UUID, int)} will fail. 1756 * @see #getAllocatableBytes(UUID, int) 1794 * {@link #getAllocatableBytes(UUI [all...] |
H A D | IStorageManager.aidl | 296 long getAllocatableBytes(String volumeUuid, int flags) = 77;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | MockStorageManager.java | 494 public long getAllocatableBytes(String path, int flags) { method in class:MockStorageManager
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | StorageManagerService.java | 3295 public long getAllocatableBytes(String volumeUuid, int flags) { method in class:StorageManagerService 3355 final long allocatableBytes = getAllocatableBytes(volumeUuid, flags);
|
Completed in 110 milliseconds