Searched refs:getStorageBytesUntilLow (Results 1 – 4 of 4) sorted by relevance
89 … Mockito.when(storageManager.getStorageBytesUntilLow(internalFile)).thenReturn(sInternalSize); in createStorageManagerMock()90 Mockito.when(storageManager.getStorageBytesUntilLow(adoptedFile)).thenReturn(sAdoptedSize); in createStorageManagerMock()91 Mockito.when(storageManager.getStorageBytesUntilLow(publicFile)).thenReturn(sPublicSize); in createStorageManagerMock()
273 && params.sizeBytes <= storage.getStorageBytesUntilLow(primary.getPathFile()); in fitsOnExternal()
1319 public long getStorageBytesUntilLow(File path) { in getStorageBytesUntilLow() method in StorageManager
22935 if (sizeBytes > storage.getStorageBytesUntilLow(measurePath)) {