/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 | IStorageEventListener.aidl | 54 void onVolumeForgotten(in String fsUuid) = 4;
|
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 | 335 public void onVolumeForgotten(String fsUuid) { argument 337 args.arg1 = fsUuid; 680 public @Nullable VolumeInfo findVolumeByUuid(String fsUuid) { argument 681 Preconditions.checkNotNull(fsUuid); 684 if (Objects.equals(vol.fsUuid, fsUuid)) { 692 public @Nullable VolumeRecord findRecordByUuid(String fsUuid) { argument 693 Preconditions.checkNotNull(fsUuid); 696 if (Objects.equals(rec.fsUuid, fsUuid)) { 927 setVolumeNickname(String fsUuid, String nickname) argument 936 setVolumeInited(String fsUuid, boolean inited) argument 946 setVolumeSnoozed(String fsUuid, boolean snoozed) argument 956 forgetVolume(String fsUuid) argument [all...] |
H A D | IStorageManager.aidl | 273 void setVolumeNickname(in String fsUuid, in String nickname) = 53; 274 void setVolumeUserFlags(in String fsUuid, int flags, int mask) = 54; 275 void forgetVolume(in String fsUuid) = 55;
|
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
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | ApplicationPackageManagerTest.java | 65 sInternalVol.fsUuid = sInternalVolUuid; 69 sAdoptedVol.fsUuid = sAdoptedVolUuid; 73 sPublicVol.fsUuid = sPublicVolUuid; 77 sPrivateUnmountedVol.fsUuid = sPrivateUnmountedVolUuid;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
H A D | StorageMeasurement.java | 162 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid); 163 details.availSize = mStats.getFreeBytes(mVolume.fsUuid); 180 stats = mStats.queryExternalStatsForUser(mSharedVolume.fsUuid, 207 stats = mStats.queryStatsForUser(mVolume.fsUuid, UserHandle.of(user.id));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
H A D | AppCollectorTest.java | 94 volume.fsUuid = "testuuid"; 104 volume.fsUuid = "testuuid"; 114 volume.fsUuid = "testuuid"; 131 volume.fsUuid = "testuuid";
|
/frameworks/base/cmds/sm/src/com/android/commands/sm/ |
H A D | Sm.java | 218 final String fsUuid = nextArg(); 219 if ("all".equals(fsUuid)) { 222 mSm.forgetVolume(fsUuid);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A 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(); 196 final VolumeInfo info = mStorageManager.findVolumeByUuid(fsUuid); 199 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, 220 .setDeleteIntent(buildSnoozeIntent(fsUuid)) 224 mNotificationManager.notifyAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, 676 private PendingIntent buildSnoozeIntent(String fsUuid) { argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | StorageManagerService.java | 300 private static final String ATTR_FS_UUID = "fsUuid"; 385 return mRecords.get(vol.fsUuid); 428 final VolumeRecord rec = mRecords.get(vol.fsUuid); 1169 vol.fsUuid = cooked[2]; 1302 } else if (Objects.equals(privateVol.fsUuid, mPrimaryStorageUuid)) { 1363 if (vol.isMountedReadable() && !TextUtils.isEmpty(vol.fsUuid)) { 1364 VolumeRecord rec = mRecords.get(vol.fsUuid); 1366 rec = new VolumeRecord(vol.type, vol.fsUuid); 1372 mRecords.put(rec.fsUuid, rec); 1391 intent.putExtra(VolumeRecord.EXTRA_FS_UUID, vol.fsUuid); 1887 setVolumeNickname(String fsUuid, String nickname) argument 1901 setVolumeUserFlags(String fsUuid, int flags, int mask) argument 1915 forgetVolume(String fsUuid) argument 3926 notifyVolumeForgotten(String fsUuid) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | MockStorageManager.java | 383 public void setVolumeNickname(String fsUuid, String nickname) throws RemoteException { argument 388 public void setVolumeUserFlags(String fsUuid, int flags, int mask) throws RemoteException { argument 393 public void forgetVolume(String fsUuid) throws RemoteException { argument
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageHelperTests.java | 68 internalVol.fsUuid = sInternalVolUuid; 74 adoptedVol.fsUuid = sAdoptedVolUuid; 80 publicVol.fsUuid = sPublicVolUuid;
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageHelper.java | 425 * @return the {@link VolumeInfo#fsUuid} to install onto, or {@code null} 472 allCandidates.add(vol.fsUuid); 517 return bestCandidate.fsUuid;
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 157 storageUuid = StorageManager.convert(privateVol.fsUuid);
|
/frameworks/base/core/java/android/app/ |
H A D | ApplicationPackageManager.java | 1901 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); 2012 volumeUuid = Preconditions.checkNotNull(vol.fsUuid);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | Settings.java | 1482 public void onVolumeForgotten(String fsUuid) { argument 1483 mVersion.remove(fsUuid); 4479 * given {@link VolumeInfo#fsUuid}.
|
H A D | PackageManagerService.java | 2148 public void onVolumeForgotten(String fsUuid) { 2149 if (TextUtils.isEmpty(fsUuid)) { 2156 final List<PackageSetting> packages = mSettings.getVolumePackagesLPr(fsUuid); 2169 mSettings.onVolumeForgotten(fsUuid); [all...] |