Searched refs:getStorageBytesUntilLow (Results 1 – 4 of 4) sorted by relevance
90 Mockito.when(storageManager.getStorageBytesUntilLow(internalFile)) in createStorageManagerMock()92 Mockito.when(storageManager.getStorageBytesUntilLow(adoptedFile)).thenReturn(sAdoptedSize); in createStorageManagerMock()93 Mockito.when(storageManager.getStorageBytesUntilLow(publicFile)).thenReturn(sPublicSize); in createStorageManagerMock()
330 && params.sizeBytes <= storage.getStorageBytesUntilLow(primary.getPathFile()); in fitsOnExternal()
232 if (sizeBytes > storage.getStorageBytesUntilLow(measurePath)) { in movePackageInternal()
1497 public long getStorageBytesUntilLow(File path) { in getStorageBytesUntilLow() method in StorageManager