Home
last modified time | relevance | path

Searched refs:getStorageBytesUntilLow (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageHelperTests.java89 … 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()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java273 && params.sizeBytes <= storage.getStorageBytesUntilLow(primary.getPathFile()); in fitsOnExternal()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1319 public long getStorageBytesUntilLow(File path) { in getStorageBytesUntilLow() method in StorageManager
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java22935 if (sizeBytes > storage.getStorageBytesUntilLow(measurePath)) {