/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 | 210 public void onVolumeForgotten(String fsUuid) { in onVolumeForgotten() argument 212 args.arg1 = fsUuid; in onVolumeForgotten() 558 public @Nullable VolumeInfo findVolumeByUuid(String fsUuid) { in findVolumeByUuid() argument 559 Preconditions.checkNotNull(fsUuid); in findVolumeByUuid() 562 if (Objects.equals(vol.fsUuid, fsUuid)) { in findVolumeByUuid() 570 public @Nullable VolumeRecord findRecordByUuid(String fsUuid) { in findRecordByUuid() argument 571 Preconditions.checkNotNull(fsUuid); in findRecordByUuid() 574 if (Objects.equals(rec.fsUuid, fsUuid)) { in findRecordByUuid() 648 if (!TextUtils.isEmpty(vol.fsUuid)) { in getBestVolumeDescription() 649 final VolumeRecord rec = findRecordByUuid(vol.fsUuid); in getBestVolumeDescription() [all …]
|
D | IMountServiceListener.java | 103 final String fsUuid = data.readString(); in onTransact() local 104 onVolumeForgotten(fsUuid); in onTransact() 225 public void onVolumeForgotten(String fsUuid) throws RemoteException { in onVolumeForgotten() argument 230 _data.writeString(fsUuid); in onVolumeForgotten() 304 public void onVolumeForgotten(String fsUuid) throws RemoteException; in onVolumeForgotten() argument
|
D | StorageEventListener.java | 47 public void onVolumeForgotten(String fsUuid) { in onVolumeForgotten() argument
|
D | StorageVolume.java | 126 long maxFileSize, UserHandle owner, String fsUuid, String state) { in StorageVolume() argument 138 mFsUuid = fsUuid; in StorageVolume()
|
D | IMountService.java | 1091 public void setVolumeNickname(String fsUuid, String nickname) throws RemoteException { in setVolumeNickname() argument 1096 _data.writeString(fsUuid); in setVolumeNickname() 1107 … public void setVolumeUserFlags(String fsUuid, int flags, int mask) throws RemoteException { in setVolumeUserFlags() argument 1112 _data.writeString(fsUuid); in setVolumeUserFlags() 1124 public void forgetVolume(String fsUuid) throws RemoteException { in forgetVolume() argument 1129 _data.writeString(fsUuid); in forgetVolume() 2037 String fsUuid = data.readString(); in onTransact() local 2038 forgetVolume(fsUuid); in onTransact() 2464 public void setVolumeNickname(String fsUuid, String nickname) throws RemoteException; in setVolumeNickname() argument 2465 public void setVolumeUserFlags(String fsUuid, int flags, int mask) throws RemoteException; in setVolumeUserFlags() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 92 public void onVolumeForgotten(String fsUuid) { 94 mNotificationManager.cancelAsUser(fsUuid, PRIVATE_ID, UserHandle.ALL); 112 final String fsUuid = intent.getStringExtra(VolumeRecord.EXTRA_FS_UUID); 113 mStorageManager.setVolumeSnoozed(fsUuid, true); 189 final String fsUuid = rec.getFsUuid(); in updateMissingPrivateVolumes() local 190 final VolumeInfo info = mStorageManager.findVolumeByUuid(fsUuid); in updateMissingPrivateVolumes() 193 mNotificationManager.cancelAsUser(fsUuid, PRIVATE_ID, UserHandle.ALL); in updateMissingPrivateVolumes() 211 .setDeleteIntent(buildSnoozeIntent(fsUuid)); in updateMissingPrivateVolumes() 214 mNotificationManager.notifyAsUser(fsUuid, PRIVATE_ID, builder in updateMissingPrivateVolumes() 636 private PendingIntent buildSnoozeIntent(String fsUuid) { in buildSnoozeIntent() argument [all …]
|
/frameworks/base/cmds/sm/src/com/android/commands/sm/ |
D | Sm.java | 214 final String fsUuid = nextArg(); in runForget() local 215 if ("all".equals(fsUuid)) { in runForget() 218 mSm.forgetVolume(fsUuid); in runForget()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountService.java | 357 return mRecords.get(vol.fsUuid); in findRecordForPath() 400 final VolumeRecord rec = mRecords.get(vol.fsUuid); in shouldBenchmark() 1141 vol.fsUuid = cooked[2]; in onEventLocked() 1274 } else if (Objects.equals(privateVol.fsUuid, mPrimaryStorageUuid)) { in onVolumeCreatedLocked() 1335 if (vol.isMountedReadable() && !TextUtils.isEmpty(vol.fsUuid)) { in onVolumeStateChangedLocked() 1336 VolumeRecord rec = mRecords.get(vol.fsUuid); in onVolumeStateChangedLocked() 1338 rec = new VolumeRecord(vol.type, vol.fsUuid); in onVolumeStateChangedLocked() 1344 mRecords.put(rec.fsUuid, rec); in onVolumeStateChangedLocked() 1363 intent.putExtra(VolumeRecord.EXTRA_FS_UUID, vol.fsUuid); in onVolumeStateChangedLocked() 1591 mRecords.put(rec.fsUuid, rec); in readSettingsLocked() [all …]
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 372 allCandidates.add(vol.fsUuid); in resolveInstallVolume() 417 return bestCandidate.fsUuid; in resolveInstallVolume()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 1765 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); in movePackage() 1852 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); in movePrimaryStorage()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 1427 public void onVolumeForgotten(String fsUuid) { in onVolumeForgotten() argument 1428 mVersion.remove(fsUuid); in onVolumeForgotten()
|
D | PackageManagerService.java | 2041 public void onVolumeForgotten(String fsUuid) { 2042 if (TextUtils.isEmpty(fsUuid)) { 2049 final List<PackageSetting> packages = mSettings.getVolumePackagesLPr(fsUuid); 2056 mSettings.onVolumeForgotten(fsUuid); 19198 final String volumeUuid = vol.fsUuid; 19293 final String volumeUuid = vol.fsUuid;
|