Home
last modified time | relevance | path

Searched refs:fsUuid (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/os/storage/
DVolumeRecord.java44 public final String fsUuid; field in VolumeRecord
53 public VolumeRecord(int type, String fsUuid) { in VolumeRecord() argument
55 this.fsUuid = Preconditions.checkNotNull(fsUuid); in VolumeRecord()
61 fsUuid = parcel.readString(); in VolumeRecord()
76 return fsUuid; in getFsUuid()
80 return fsUuid != null ? fsUuid.toLowerCase(Locale.US) : null; in getNormalizedFsUuid()
99 pw.printPair("fsUuid", fsUuid); in dump()
129 return Objects.equals(fsUuid, ((VolumeRecord) o).fsUuid); in equals()
137 return fsUuid.hashCode(); in hashCode()
161 parcel.writeString(fsUuid); in writeToParcel()
DVolumeInfo.java167 public String fsUuid; field in VolumeInfo
196 fsUuid = parcel.readString(); in VolumeInfo()
255 return fsUuid; in getFsUuid()
259 return fsUuid != null ? fsUuid.toLowerCase(Locale.US) : null; in getNormalizedFsUuid()
381 String derivedFsUuid = fsUuid; in buildStorageVolume()
390 derivedFsUuid = privateVol.fsUuid; in buildStorageVolume()
423 public static int buildStableMtpStorageId(String fsUuid) { in buildStableMtpStorageId() argument
424 if (TextUtils.isEmpty(fsUuid)) { in buildStableMtpStorageId()
428 for (int i = 0; i < fsUuid.length(); ++i) { in buildStableMtpStorageId()
429 hash = 31 * hash + fsUuid.charAt(i); in buildStableMtpStorageId()
[all …]
DStorageVolume.java134 long maxFileSize, UserHandle owner, String fsUuid, String state) { in StorageVolume() argument
145 mFsUuid = fsUuid; in StorageVolume()
269 public static @Nullable String normalizeUuid(@Nullable String fsUuid) { in normalizeUuid() argument
270 return fsUuid != null ? fsUuid.toLowerCase(Locale.US) : null; in normalizeUuid()
DStorageManager.java383 public void onVolumeForgotten(String fsUuid) { in onVolumeForgotten() argument
385 args.arg1 = fsUuid; in onVolumeForgotten()
751 public @Nullable VolumeInfo findVolumeByUuid(String fsUuid) { in findVolumeByUuid() argument
752 Preconditions.checkNotNull(fsUuid); in findVolumeByUuid()
755 if (Objects.equals(vol.fsUuid, fsUuid)) { in findVolumeByUuid()
763 public @Nullable VolumeRecord findRecordByUuid(String fsUuid) { in findRecordByUuid() argument
764 Preconditions.checkNotNull(fsUuid); in findRecordByUuid()
767 if (Objects.equals(rec.fsUuid, fsUuid)) { in findRecordByUuid()
828 return convert(vol.fsUuid); in getUuidForPath()
902 if (!TextUtils.isEmpty(vol.fsUuid)) { in getBestVolumeDescription()
[all …]
DIStorageManager.aidl164 void setVolumeNickname(in String fsUuid, in String nickname) = 53; in setVolumeNickname() argument
165 void setVolumeUserFlags(in String fsUuid, int flags, int mask) = 54; in setVolumeUserFlags() argument
166 void forgetVolume(in String fsUuid) = 55; field
DStorageEventListener.java59 public void onVolumeForgotten(String fsUuid) { in onVolumeForgotten() argument
DIStorageEventListener.aidl54 void onVolumeForgotten(in String fsUuid) = 4; field
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DAppCollectorTest.java94 volume.fsUuid = "testuuid"; in testNoApps()
104 volume.fsUuid = "testuuid"; in testAppOnExternalVolume()
114 volume.fsUuid = "testuuid"; in testOneValidApp()
131 volume.fsUuid = "testuuid"; in testMultipleUsersOneApp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java163 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid); in measureExactStorage()
164 details.availSize = mStats.getFreeBytes(mVolume.fsUuid); in measureExactStorage()
181 stats = mStats.queryExternalStatsForUser(mSharedVolume.fsUuid, in measureExactStorage()
208 stats = mStats.queryStatsForUser(mVolume.fsUuid, UserHandle.of(user.id)); in measureExactStorage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java91 public void onVolumeForgotten(String fsUuid) {
93 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE,
112 final String fsUuid = intent.getStringExtra(VolumeRecord.EXTRA_FS_UUID);
113 mStorageManager.setVolumeSnoozed(fsUuid, true);
195 final String fsUuid = rec.getFsUuid(); in updateMissingPrivateVolumes() local
196 final VolumeInfo info = mStorageManager.findVolumeByUuid(fsUuid); in updateMissingPrivateVolumes()
199 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, in updateMissingPrivateVolumes()
220 .setDeleteIntent(buildSnoozeIntent(fsUuid)) in updateMissingPrivateVolumes()
224 mNotificationManager.notifyAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, in updateMissingPrivateVolumes()
689 private PendingIntent buildSnoozeIntent(String fsUuid) { in buildSnoozeIntent() argument
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DApplicationPackageManagerTest.java68 sInternalVol.fsUuid = sInternalVolUuid;
72 sAdoptedVol.fsUuid = sAdoptedVolUuid;
76 sPublicVol.fsUuid = sPublicVolUuid;
80 sPrivateUnmountedVol.fsUuid = sPrivateUnmountedVolUuid;
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java386 return mRecords.get(vol.fsUuid); in findRecordForPath()
429 final VolumeRecord rec = mRecords.get(vol.fsUuid); in shouldBenchmark()
685 forgetPartition(rec.partGuid, rec.fsUuid); in handleMessage()
1183 public void onVolumeMetadataChanged(String volId, String fsType, String fsUuid,
1189 vol.fsUuid = fsUuid;
1267 } else if (Objects.equals(privateVol.fsUuid, mPrimaryStorageUuid)) { in onVolumeCreatedLocked()
1333 if (!TextUtils.isEmpty(vol.fsUuid)) { in onVolumeStateChangedLocked()
1334 VolumeRecord rec = mRecords.get(vol.fsUuid); in onVolumeStateChangedLocked()
1336 rec = new VolumeRecord(vol.type, vol.fsUuid); in onVolumeStateChangedLocked()
1342 mRecords.put(rec.fsUuid, rec); in onVolumeStateChangedLocked()
[all …]
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java257 final String fsUuid = nextArg(); in runForget() local
258 if ("all".equals(fsUuid)) { in runForget()
261 mSm.forgetVolume(fsUuid); in runForget()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageHelperTests.java61 internalVol.fsUuid = sInternalVolUuid; in createStorageManagerMock()
67 adoptedVol.fsUuid = sAdoptedVolUuid; in createStorageManagerMock()
73 publicVol.fsUuid = sPublicVolUuid; in createStorageManagerMock()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java197 allCandidates.add(vol.fsUuid); in resolveInstallVolume()
254 return bestCandidate.fsUuid; in resolveInstallVolume()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java188 storageUuid = StorageManager.convert(privateVol.fsUuid); in updateVolumesLocked()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2106 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); in movePackage()
2216 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); in movePrimaryStorage()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java1338 public void onVolumeForgotten(String fsUuid) { in onVolumeForgotten() argument
1339 mVersion.remove(fsUuid); in onVolumeForgotten()
DPackageManagerService.java2272 public void onVolumeForgotten(String fsUuid) {
2273 if (TextUtils.isEmpty(fsUuid)) {
2280 final List<PackageSetting> packages = mSettings.getVolumePackagesLPr(fsUuid);
2293 mSettings.onVolumeForgotten(fsUuid);
22107 final String volumeUuid = vol.fsUuid;
22198 final String volumeUuid = vol.fsUuid;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt52929 Landroid/os/storage/VolumeRecord;->fsUuid:Ljava/lang/String;