Home
last modified time | relevance | path

Searched refs:TYPE_PUBLIC (Results 1 – 13 of 13) sorted by relevance

/aosp14/frameworks/base/core/java/android/os/storage/
H A DVolumeInfo.java85 public static final int TYPE_PUBLIC = IVold.VOLUME_TYPE_PUBLIC; field in VolumeInfo
314 return isPrimary() && (getType() == TYPE_PUBLIC); in isPrimaryPhysical()
334 return type == TYPE_PUBLIC || type == TYPE_STUB || type == TYPE_EMULATED; in isVolumeSupportedForUser()
376 } else if (type == TYPE_PUBLIC || type == TYPE_STUB) { in getPathForUser()
393 } else if (type == TYPE_PUBLIC || type == TYPE_STUB) { in getInternalPathForUser()
444 } else if (type == TYPE_PUBLIC || type == TYPE_STUB) { in buildStorageVolume()
501 if ((type == VolumeInfo.TYPE_PUBLIC || type == VolumeInfo.TYPE_STUB) in buildBrowseIntentForUser()
H A DStorageManager.java909 && vol.type != VolumeInfo.TYPE_PUBLIC && vol.type != VolumeInfo.TYPE_STUB) { in getUuidForPath()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
H A DStorageMeasurement.java155 if (mVolume.getType() == VolumeInfo.TYPE_PUBLIC in measureExactStorage()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java309 case VolumeInfo.TYPE_PUBLIC: in onVolumeStateChangedInternal()
402 if (disk.isAdoptable() && !rec.isInited() && rec.getType() != VolumeInfo.TYPE_PUBLIC in onVolumeMounted()
745 case VolumeInfo.TYPE_PUBLIC: in buildVolumeSettingsPendingIntent()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DDynamicSystemService.java90 if (volume.getType() != volume.TYPE_PUBLIC) { in startInstallation()
H A DStorageManagerService.java1525 } else if (vol.type == VolumeInfo.TYPE_PUBLIC) { in onVolumeCreatedLocked()
1562 case VolumeInfo.TYPE_PUBLIC: in isBroadcastWorthy()
1721 if ((vol.type == VolumeInfo.TYPE_PUBLIC || vol.type == VolumeInfo.TYPE_STUB) in onVolumeStateChangedAsync()
1824 if (vol.type == VolumeInfo.TYPE_PUBLIC || vol.type == VolumeInfo.TYPE_PRIVATE in isMountDisallowed()
3759 case VolumeInfo.TYPE_PUBLIC: in getVolumeList()
3789 || (vol.getType() == VolumeInfo.TYPE_PUBLIC in getVolumeList()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DApplicationPackageManagerTest.java63 VolumeInfo.TYPE_PUBLIC, null /*DiskInfo*/, null /*partGuid*/);
/aosp14/frameworks/base/cmds/sm/src/com/android/commands/sm/
H A DSm.java130 filterType = VolumeInfo.TYPE_PUBLIC; in runListVolumes()
/aosp14/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java222 } else if (volume.getType() == VolumeInfo.TYPE_PUBLIC in updateVolumesLocked()
272 if (volume.getType() == VolumeInfo.TYPE_PUBLIC) { in updateVolumesLocked()
/aosp14/frameworks/base/services/core/java/com/android/server/storage/
H A DStorageSessionController.java460 || (vol.type == VolumeInfo.TYPE_PUBLIC && vol.isVisible()); in isEmulatedOrPublic()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DInstallLocationUtilsTests.java71 VolumeInfo.TYPE_PUBLIC, null /*DiskInfo*/, null /*partGuid*/); in createStorageManagerMock()
/aosp14/frameworks/base/services/usage/java/com/android/server/usage/
H A DStorageStatsService.java158 case VolumeInfo.TYPE_PUBLIC: in StorageStatsService()
/aosp14/frameworks/base/services/core/java/com/android/server/stats/pull/
H A DStatsPullAtomService.java42 import static android.os.storage.VolumeInfo.TYPE_PUBLIC;
3666 if (vol.getType() == TYPE_PUBLIC) {