Searched refs:TYPE_PUBLIC (Results 1 – 18 of 18) sorted by relevance
39 public static final int TYPE_PUBLIC = IVold.VOLUME_TYPE_PUBLIC; field in VolumeInfoCompat
62 volume.getType() == VolumeInfo.TYPE_PUBLIC) && in onCreate()
149 if (info.getType() != VolumeInfo.TYPE_PUBLIC || TextUtils.isEmpty(uuid)) { in handleSetupComplete()
287 volume.getType() == VolumeInfo.TYPE_PUBLIC) && in onRequestFormatAsPrivate()
246 return mVolumeInfo == null ? false : mVolumeInfo.getType() == VolumeInfo.TYPE_PUBLIC; in isPublic()
82 case VolumeInfo.TYPE_PUBLIC: in isStorageSettingsInterestedVolume()
300 && (mVolume.getType() == VolumeInfo.TYPE_PUBLIC in isValidPublicVolume()
156 if (mVolume.getType() == VolumeInfo.TYPE_PUBLIC in measureExactStorage()
142 && vol.getType() == VolumeInfo.TYPE_PUBLIC in showMountedVolumes()
92 return (mVolume != null) && (mVolume.getType() == VolumeInfo.TYPE_PUBLIC) in isVolumeValid()
193 new VolumeRecord(VolumeInfo.TYPE_PUBLIC, fsUuid));
102 doReturn(VolumeInfo.TYPE_PUBLIC).when(volumeInfo).getType(); in testFormatAsPublic_success_fromNonPrivate()
155 new VolumeRecord(VolumeInfo.TYPE_PUBLIC, fsUuid));
170 when(mExternalVolumeInfo.getType()).thenReturn(VolumeInfo.TYPE_PUBLIC); in onPrepareOptionsMenu_publicStorage_someMenusArcVisible()
147 } else if (vol.getType() == VolumeInfo.TYPE_PUBLIC) { in refresh()
217 when(publicVolumeInfo.getType()).thenReturn(VolumeInfo.TYPE_PUBLIC); in isPublic_prublicVolume_shouldReturnTrue()
226 when(nonPrivateVolume.getType()).thenReturn(VolumeInfo.TYPE_PUBLIC); in testNonPrivateDrivesIgnoredForFreeSpaceCalculation()
474 when(mVolume.getType()).thenReturn(VolumeInfo.TYPE_PUBLIC); in setVolume_publicStorage_showFilePreference()