/frameworks/base/core/java/android/os/storage/ |
H A D | VolumeRecord.java | 42 public final String fsUuid; field in class:VolumeRecord 50 public VolumeRecord(int type, String fsUuid) { argument 52 this.fsUuid = Preconditions.checkNotNull(fsUuid); 57 fsUuid = parcel.readString(); 71 return fsUuid; 90 pw.printPair("fsUuid", fsUuid); 119 return Objects.equals(fsUuid, ((VolumeRecord) o).fsUuid); [all...] |
H A D | StorageEventListener.java | 47 public void onVolumeForgotten(String fsUuid) { argument
|
H A D | VolumeInfo.java | 157 public String fsUuid; field in class:VolumeInfo 182 fsUuid = parcel.readString(); 234 return fsUuid; 344 String derivedFsUuid = fsUuid; 355 derivedFsUuid = privateVol.fsUuid; 381 mtpStorageId = buildStableMtpStorageId(fsUuid); 401 public static int buildStableMtpStorageId(String fsUuid) { argument 402 if (TextUtils.isEmpty(fsUuid)) { 406 for (int i = 0; i < fsUuid.length(); ++i) { 407 hash = 31 * hash + fsUuid [all...] |
H A D | StorageManager.java | 210 public void onVolumeForgotten(String fsUuid) { argument 212 args.arg1 = fsUuid; 558 public @Nullable VolumeInfo findVolumeByUuid(String fsUuid) { argument 559 Preconditions.checkNotNull(fsUuid); 562 if (Objects.equals(vol.fsUuid, fsUuid)) { 570 public @Nullable VolumeRecord findRecordByUuid(String fsUuid) { argument 571 Preconditions.checkNotNull(fsUuid); 574 if (Objects.equals(rec.fsUuid, fsUuid)) { 765 setVolumeNickname(String fsUuid, String nickname) argument 774 setVolumeInited(String fsUuid, boolean inited) argument 784 setVolumeSnoozed(String fsUuid, boolean snoozed) argument 794 forgetVolume(String fsUuid) argument [all...] |
H A D | IMountServiceListener.java | 103 final String fsUuid = data.readString(); 104 onVolumeForgotten(fsUuid); 225 public void onVolumeForgotten(String fsUuid) throws RemoteException { argument 230 _data.writeString(fsUuid); 304 public void onVolumeForgotten(String fsUuid) throws RemoteException; argument
|
H A D | StorageVolume.java | 126 long maxFileSize, UserHandle owner, String fsUuid, String state) { 138 mFsUuid = fsUuid; 124 StorageVolume(String id, int storageId, File path, String description, boolean primary, boolean removable, boolean emulated, long mtpReserveSize, boolean allowMassStorage, long maxFileSize, UserHandle owner, String fsUuid, String state) argument
|
H A D | IMountService.java | 1091 public void setVolumeNickname(String fsUuid, String nickname) throws RemoteException { argument 1096 _data.writeString(fsUuid); 1107 public void setVolumeUserFlags(String fsUuid, int flags, int mask) throws RemoteException { argument 1112 _data.writeString(fsUuid); 1124 public void forgetVolume(String fsUuid) throws RemoteException { argument 1129 _data.writeString(fsUuid); 2037 String fsUuid = data.readString(); 2038 forgetVolume(fsUuid); 2464 public void setVolumeNickname(String fsUuid, String nickname) throws RemoteException; argument 2465 public void setVolumeUserFlags(String fsUuid, in argument 2466 forgetVolume(String fsUuid) argument [all...] |
/frameworks/base/cmds/sm/src/com/android/commands/sm/ |
H A D | Sm.java | 214 final String fsUuid = nextArg(); 215 if ("all".equals(fsUuid)) { 218 mSm.forgetVolume(fsUuid);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A 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(); 190 final VolumeInfo info = mStorageManager.findVolumeByUuid(fsUuid); 193 mNotificationManager.cancelAsUser(fsUuid, PRIVATE_ID, UserHandle.ALL); 211 .setDeleteIntent(buildSnoozeIntent(fsUuid)); 214 mNotificationManager.notifyAsUser(fsUuid, PRIVATE_ID, builder 636 private PendingIntent buildSnoozeIntent(String fsUuid) { argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | MountService.java | 281 private static final String ATTR_FS_UUID = "fsUuid"; 357 return mRecords.get(vol.fsUuid); 400 final VolumeRecord rec = mRecords.get(vol.fsUuid); 1141 vol.fsUuid = cooked[2]; 1274 } else if (Objects.equals(privateVol.fsUuid, mPrimaryStorageUuid)) { 1335 if (vol.isMountedReadable() && !TextUtils.isEmpty(vol.fsUuid)) { 1336 VolumeRecord rec = mRecords.get(vol.fsUuid); 1338 rec = new VolumeRecord(vol.type, vol.fsUuid); 1344 mRecords.put(rec.fsUuid, rec); 1363 intent.putExtra(VolumeRecord.EXTRA_FS_UUID, vol.fsUuid); 1850 setVolumeNickname(String fsUuid, String nickname) argument 1864 setVolumeUserFlags(String fsUuid, int flags, int mask) argument 1878 forgetVolume(String fsUuid) argument 3668 notifyVolumeForgotten(String fsUuid) argument [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageHelper.java | 346 * @return the {@link VolumeInfo#fsUuid} to install onto, or {@code null} 372 allCandidates.add(vol.fsUuid); 417 return bestCandidate.fsUuid;
|
/frameworks/base/core/java/android/app/ |
H A D | ApplicationPackageManager.java | 1765 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); 1852 volumeUuid = Preconditions.checkNotNull(vol.fsUuid);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A 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;
|
H A D | Settings.java | 1427 public void onVolumeForgotten(String fsUuid) { argument 1428 mVersion.remove(fsUuid); 4205 * given {@link VolumeInfo#fsUuid}.
|