Searched refs:getStorageBytesUntilLow (Results 1 – 5 of 5) 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()
271 && params.sizeBytes <= storage.getStorageBytesUntilLow(primary.getPathFile()); in fitsOnExternal()
1219 public long getStorageBytesUntilLow(File path) { in getStorageBytesUntilLow() method in StorageManager
22982 if (sizeBytes > storage.getStorageBytesUntilLow(measurePath)) {
4253 Landroid/os/storage/StorageManager;->getStorageBytesUntilLow(Ljava/io/File;)J