Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java208 final boolean hasStorage = StorageManager.checkPermissionAndAppOp(getContext(), false, 0, in isSystemInternal()
216 return hasFull && hasStorage; in isSystemInternal()
221 final boolean hasStorage = StorageManager.checkPermissionAndAppOp(getContext(), false, 0, in isLegacyInternal()
225 return (hasLegacy && hasStorage); in isLegacyInternal()
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java298 boolean haveSdCard = hasStorage(false); in makeImageList()
465 public static boolean hasStorage() { in hasStorage() method in ImageManager
466 return hasStorage(true); in hasStorage()
469 public static boolean hasStorage(boolean requireWriteAccess) { in hasStorage() method in ImageManager
DGalleryPicker.java529 if (ImageManager.hasStorage()) { in checkLowStorage()
DMenuHelper.java912 if (!ImageManager.hasStorage()) {