Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/storage/
DVolumeInfo.java78 public static final int TYPE_PUBLIC = 0; field in VolumeInfo
264 return isPrimary() && (getType() == TYPE_PUBLIC); in isPrimaryPhysical()
272 if (type == TYPE_PUBLIC) { in isVisibleForRead()
287 if (type == TYPE_PUBLIC && mountUserId == userId) { in isVisibleForWrite()
307 } else if (type == TYPE_PUBLIC) { in getPathForUser()
321 if (type == TYPE_PUBLIC) { in getInternalPathForUser()
370 } else if (type == TYPE_PUBLIC) { in buildStorageVolume()
429 if (type == VolumeInfo.TYPE_PUBLIC) { in buildBrowseIntent()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java155 if (mVolume.getType() == VolumeInfo.TYPE_PUBLIC) { in measureExactStorage()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java159 } else if (volume.getType() == VolumeInfo.TYPE_PUBLIC in updateVolumesLocked()
210 if (volume.getType() == VolumeInfo.TYPE_PUBLIC) { in updateVolumesLocked()
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java118 filterType = VolumeInfo.TYPE_PUBLIC; in runListVolumes()
/frameworks/base/core/tests/coretests/src/android/app/
DApplicationPackageManagerTest.java55 VolumeInfo.TYPE_PUBLIC, null /*DiskInfo*/, null /*partGuid*/);
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java277 case VolumeInfo.TYPE_PUBLIC: in onVolumeStateChangedInternal()
661 case VolumeInfo.TYPE_PUBLIC: in buildVolumeSettingsPendingIntent()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageHelperTests.java77 VolumeInfo.TYPE_PUBLIC, null /*DiskInfo*/, null /*partGuid*/); in createStorageManagerMock()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java1309 } else if (vol.type == VolumeInfo.TYPE_PUBLIC) { in onVolumeCreatedLocked()
1338 case VolumeInfo.TYPE_PUBLIC: in isBroadcastWorthy()
1415 if (vol.type == VolumeInfo.TYPE_PUBLIC && vol.state == VolumeInfo.STATE_EJECTING) { in onVolumeStateChangedLocked()
1473 if (vol.type == VolumeInfo.TYPE_PUBLIC || vol.type == VolumeInfo.TYPE_PRIVATE) { in isMountDisallowed()
3170 case VolumeInfo.TYPE_PUBLIC: in getVolumeList()