/frameworks/base/core/java/android/os/storage/ |
D | VolumeRecord.java | 42 public final String fsUuid; field in VolumeRecord 50 public VolumeRecord(int type, String fsUuid) { in VolumeRecord() argument 52 this.fsUuid = Preconditions.checkNotNull(fsUuid); in VolumeRecord() 57 fsUuid = parcel.readString(); in VolumeRecord() 71 return fsUuid; in getFsUuid() 90 pw.printPair("fsUuid", fsUuid); in dump() 119 return Objects.equals(fsUuid, ((VolumeRecord) o).fsUuid); in equals() 127 return fsUuid.hashCode(); in hashCode() 150 parcel.writeString(fsUuid); in writeToParcel()
|
D | VolumeInfo.java | 157 public String fsUuid; field in VolumeInfo 182 fsUuid = parcel.readString(); in VolumeInfo() 234 return fsUuid; in getFsUuid() 344 String derivedFsUuid = fsUuid; in buildStorageVolume() 355 derivedFsUuid = privateVol.fsUuid; in buildStorageVolume() 381 mtpStorageId = buildStableMtpStorageId(fsUuid); in buildStorageVolume() 401 public static int buildStableMtpStorageId(String fsUuid) { in buildStableMtpStorageId() argument 402 if (TextUtils.isEmpty(fsUuid)) { in buildStableMtpStorageId() 406 for (int i = 0; i < fsUuid.length(); ++i) { in buildStableMtpStorageId() 407 hash = 31 * hash + fsUuid.charAt(i); in buildStableMtpStorageId() [all …]
|
D | StorageManager.java | 335 public void onVolumeForgotten(String fsUuid) { in onVolumeForgotten() argument 337 args.arg1 = fsUuid; in onVolumeForgotten() 680 public @Nullable VolumeInfo findVolumeByUuid(String fsUuid) { in findVolumeByUuid() argument 681 Preconditions.checkNotNull(fsUuid); in findVolumeByUuid() 684 if (Objects.equals(vol.fsUuid, fsUuid)) { in findVolumeByUuid() 692 public @Nullable VolumeRecord findRecordByUuid(String fsUuid) { in findRecordByUuid() argument 693 Preconditions.checkNotNull(fsUuid); in findRecordByUuid() 696 if (Objects.equals(rec.fsUuid, fsUuid)) { in findRecordByUuid() 754 return convert(vol.fsUuid); in getUuidForPath() 810 if (!TextUtils.isEmpty(vol.fsUuid)) { in getBestVolumeDescription() [all …]
|
D | IStorageManager.aidl | 273 void setVolumeNickname(in String fsUuid, in String nickname) = 53; in setVolumeNickname() argument 274 void setVolumeUserFlags(in String fsUuid, int flags, int mask) = 54; in setVolumeUserFlags() argument 275 void forgetVolume(in String fsUuid) = 55; field
|
D | StorageEventListener.java | 47 public void onVolumeForgotten(String fsUuid) { in onVolumeForgotten() argument
|
D | IStorageEventListener.aidl | 54 void onVolumeForgotten(in String fsUuid) = 4; field
|
D | StorageVolume.java | 126 long maxFileSize, UserHandle owner, String fsUuid, String state) { in StorageVolume() argument 138 mFsUuid = fsUuid; in StorageVolume()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | StorageMeasurement.java | 162 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid); in measureExactStorage() 163 details.availSize = mStats.getFreeBytes(mVolume.fsUuid); in measureExactStorage() 180 stats = mStats.queryExternalStatsForUser(mSharedVolume.fsUuid, in measureExactStorage() 207 stats = mStats.queryStatsForUser(mVolume.fsUuid, UserHandle.of(user.id)); in measureExactStorage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 91 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() 676 private PendingIntent buildSnoozeIntent(String fsUuid) { in buildSnoozeIntent() argument [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | AppCollectorTest.java | 94 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/core/tests/coretests/src/android/app/ |
D | ApplicationPackageManagerTest.java | 65 sInternalVol.fsUuid = sInternalVolUuid; 69 sAdoptedVol.fsUuid = sAdoptedVolUuid; 73 sPublicVol.fsUuid = sPublicVolUuid; 77 sPrivateUnmountedVol.fsUuid = sPrivateUnmountedVolUuid;
|
/frameworks/base/cmds/sm/src/com/android/commands/sm/ |
D | Sm.java | 218 final String fsUuid = nextArg(); in runForget() local 219 if ("all".equals(fsUuid)) { in runForget() 222 mSm.forgetVolume(fsUuid); in runForget()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 385 return mRecords.get(vol.fsUuid); in findRecordForPath() 428 final VolumeRecord rec = mRecords.get(vol.fsUuid); in shouldBenchmark() 1169 vol.fsUuid = cooked[2]; in onEventLocked() 1302 } else if (Objects.equals(privateVol.fsUuid, mPrimaryStorageUuid)) { in onVolumeCreatedLocked() 1363 if (vol.isMountedReadable() && !TextUtils.isEmpty(vol.fsUuid)) { in onVolumeStateChangedLocked() 1364 VolumeRecord rec = mRecords.get(vol.fsUuid); in onVolumeStateChangedLocked() 1366 rec = new VolumeRecord(vol.type, vol.fsUuid); in onVolumeStateChangedLocked() 1372 mRecords.put(rec.fsUuid, rec); in onVolumeStateChangedLocked() 1391 intent.putExtra(VolumeRecord.EXTRA_FS_UUID, vol.fsUuid); in onVolumeStateChangedLocked() 1628 mRecords.put(rec.fsUuid, rec); in readSettingsLocked() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | MockStorageManager.java | 383 public void setVolumeNickname(String fsUuid, String nickname) throws RemoteException { in setVolumeNickname() argument 388 public void setVolumeUserFlags(String fsUuid, int flags, int mask) throws RemoteException { in setVolumeUserFlags() argument 393 public void forgetVolume(String fsUuid) throws RemoteException { in forgetVolume() argument
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageHelperTests.java | 68 internalVol.fsUuid = sInternalVolUuid; in createStorageManagerMock() 74 adoptedVol.fsUuid = sAdoptedVolUuid; in createStorageManagerMock() 80 publicVol.fsUuid = sPublicVolUuid; in createStorageManagerMock()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 472 allCandidates.add(vol.fsUuid); in resolveInstallVolume() 517 return bestCandidate.fsUuid; in resolveInstallVolume()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 157 storageUuid = StorageManager.convert(privateVol.fsUuid); in updateVolumesLocked()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 1901 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); in movePackage() 2012 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); in movePrimaryStorage()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 1482 public void onVolumeForgotten(String fsUuid) { in onVolumeForgotten() argument 1483 mVersion.remove(fsUuid); in onVolumeForgotten()
|