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

/frameworks/base/core/java/android/os/storage/
H A DVolumeRecord.java42 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 DStorageEventListener.java47 public void onVolumeForgotten(String fsUuid) { argument
H A DIStorageEventListener.aidl54 void onVolumeForgotten(in String fsUuid) = 4;
H A DVolumeInfo.java157 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 DStorageManager.java335 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 DIStorageManager.aidl273 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 DStorageVolume.java126 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 DApplicationPackageManagerTest.java65 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 DStorageMeasurement.java162 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 DAppCollectorTest.java94 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 DSm.java218 final String fsUuid = nextArg();
219 if ("all".equals(fsUuid)) {
222 mSm.forgetVolume(fsUuid);
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A 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();
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 DStorageManagerService.java300 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 DMockStorageManager.java383 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 DPackageHelperTests.java68 internalVol.fsUuid = sInternalVolUuid;
74 adoptedVol.fsUuid = sAdoptedVolUuid;
80 publicVol.fsUuid = sPublicVolUuid;
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java425 * @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 DExternalStorageProvider.java157 storageUuid = StorageManager.convert(privateVol.fsUuid);
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java1901 volumeUuid = Preconditions.checkNotNull(vol.fsUuid);
2012 volumeUuid = Preconditions.checkNotNull(vol.fsUuid);
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java1482 public void onVolumeForgotten(String fsUuid) { argument
1483 mVersion.remove(fsUuid);
4479 * given {@link VolumeInfo#fsUuid}.
H A DPackageManagerService.java2148 public void onVolumeForgotten(String fsUuid) {
2149 if (TextUtils.isEmpty(fsUuid)) {
2156 final List<PackageSetting> packages = mSettings.getVolumePackagesLPr(fsUuid);
2169 mSettings.onVolumeForgotten(fsUuid);
[all...]

Completed in 713 milliseconds