Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/storage/
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()
DStorageManager.java913 && vol.type != VolumeInfo.TYPE_PUBLIC && vol.type != VolumeInfo.TYPE_STUB) { in getUuidForPath()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java155 if (mVolume.getType() == VolumeInfo.TYPE_PUBLIC in measureExactStorage()
/frameworks/base/services/core/java/com/android/server/
DDynamicSystemService.java90 if (volume.getType() != volume.TYPE_PUBLIC) { in startInstallation()
DStorageManagerService.java1618 } else if (vol.type == VolumeInfo.TYPE_PUBLIC) { in onVolumeCreatedLocked()
1655 case VolumeInfo.TYPE_PUBLIC: in isBroadcastWorthy()
1814 if ((vol.type == VolumeInfo.TYPE_PUBLIC || vol.type == VolumeInfo.TYPE_STUB) in onVolumeStateChangedAsync()
1918 if (vol.type == VolumeInfo.TYPE_PUBLIC || vol.type == VolumeInfo.TYPE_PRIVATE in isMountDisallowed()
3906 case VolumeInfo.TYPE_PUBLIC: in getVolumeList()
3936 || (vol.getType() == VolumeInfo.TYPE_PUBLIC in getVolumeList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
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()
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java130 filterType = VolumeInfo.TYPE_PUBLIC; in runListVolumes()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java222 } else if (volume.getType() == VolumeInfo.TYPE_PUBLIC in updateVolumesLocked()
272 if (volume.getType() == VolumeInfo.TYPE_PUBLIC) { in updateVolumesLocked()
/frameworks/base/services/core/java/com/android/server/storage/
DStorageSessionController.java462 || (vol.type == VolumeInfo.TYPE_PUBLIC && vol.isVisible()); in isEmulatedOrPublic()
/frameworks/base/core/tests/coretests/src/android/app/
DApplicationPackageManagerTest.java75 VolumeInfo.TYPE_PUBLIC, null /*DiskInfo*/, null /*partGuid*/);
/frameworks/base/core/tests/coretests/src/android/content/pm/
DInstallLocationUtilsTests.java71 VolumeInfo.TYPE_PUBLIC, null /*DiskInfo*/, null /*partGuid*/); in createStorageManagerMock()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java164 case VolumeInfo.TYPE_PUBLIC: in StorageStatsService()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java45 import static android.os.storage.VolumeInfo.TYPE_PUBLIC;
3832 if (vol.getType() == TYPE_PUBLIC) {
/frameworks/proto_logging/stats/
Datoms.proto6794 // Type of the volume: TYPE_PUBLIC if portable and TYPE_PRIVATE if internal.