Searched refs:fsUuid (Results 1 - 19 of 19) 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.java158 public String fsUuid; field in class:VolumeInfo
183 fsUuid = parcel.readString();
235 return fsUuid;
342 String derivedFsUuid = fsUuid;
351 derivedFsUuid = privateVol.fsUuid;
383 public static int buildStableMtpStorageId(String fsUuid) { argument
384 if (TextUtils.isEmpty(fsUuid)) {
388 for (int i = 0; i < fsUuid.length(); ++i) {
389 hash = 31 * hash + fsUuid.charAt(i);
416 uri = DocumentsContract.buildRootUri(DOCUMENT_AUTHORITY, fsUuid);
[all...]
H A DIStorageManager.aidl163 void setVolumeNickname(in String fsUuid, in String nickname) = 53;
164 void setVolumeUserFlags(in String fsUuid, int flags, int mask) = 54;
165 void forgetVolume(in String fsUuid) = 55;
H A DStorageManager.java345 public void onVolumeForgotten(String fsUuid) { argument
347 args.arg1 = fsUuid;
690 public @Nullable VolumeInfo findVolumeByUuid(String fsUuid) { argument
691 Preconditions.checkNotNull(fsUuid);
694 if (Objects.equals(vol.fsUuid, fsUuid)) {
702 public @Nullable VolumeRecord findRecordByUuid(String fsUuid) { argument
703 Preconditions.checkNotNull(fsUuid);
706 if (Objects.equals(rec.fsUuid, fsUuid)) {
978 setVolumeNickname(String fsUuid, String nickname) argument
987 setVolumeInited(String fsUuid, boolean inited) argument
997 setVolumeSnoozed(String fsUuid, boolean snoozed) argument
1007 forgetVolume(String fsUuid) argument
[all...]
H A DStorageVolume.java124 long maxFileSize, UserHandle owner, String fsUuid, String state) {
135 mFsUuid = fsUuid;
122 StorageVolume(String id, File path, File internalPath, String description, boolean primary, boolean removable, boolean emulated, boolean allowMassStorage, long maxFileSize, UserHandle owner, String fsUuid, String state) argument
/frameworks/base/core/tests/coretests/src/android/app/
H A DApplicationPackageManagerTest.java67 sInternalVol.fsUuid = sInternalVolUuid;
71 sAdoptedVol.fsUuid = sAdoptedVolUuid;
75 sPublicVol.fsUuid = sPublicVolUuid;
79 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/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/cmds/sm/src/com/android/commands/sm/
H A DSm.java249 final String fsUuid = nextArg();
250 if ("all".equals(fsUuid)) {
253 mSm.forgetVolume(fsUuid);
/frameworks/base/services/core/java/com/android/server/
H A DStorageManagerService.java252 private static final String ATTR_FS_UUID = "fsUuid";
335 return mRecords.get(vol.fsUuid);
378 final VolumeRecord rec = mRecords.get(vol.fsUuid);
659 forgetPartition(rec.partGuid, rec.fsUuid);
1079 public void onVolumeMetadataChanged(String volId, String fsType, String fsUuid,
1085 vol.fsUuid = fsUuid;
1163 } else if (Objects.equals(privateVol.fsUuid, mPrimaryStorageUuid)) {
1225 if (vol.isMountedReadable() && !TextUtils.isEmpty(vol.fsUuid)) {
1226 VolumeRecord rec = mRecords.get(vol.fsUuid);
1768 setVolumeNickname(String fsUuid, String nickname) argument
1781 setVolumeUserFlags(String fsUuid, int flags, int mask) argument
1794 forgetVolume(String fsUuid) argument
1841 forgetPartition(String partGuid, String fsUuid) argument
3506 notifyVolumeForgotten(String fsUuid) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageHelperTests.java61 internalVol.fsUuid = sInternalVolUuid;
67 adoptedVol.fsUuid = sAdoptedVolUuid;
73 publicVol.fsUuid = sPublicVolUuid;
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java157 * @return the {@link VolumeInfo#fsUuid} to install onto, or {@code null}
195 allCandidates.add(vol.fsUuid);
252 return bestCandidate.fsUuid;
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java185 storageUuid = StorageManager.convert(privateVol.fsUuid);
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java1928 volumeUuid = Preconditions.checkNotNull(vol.fsUuid);
2039 volumeUuid = Preconditions.checkNotNull(vol.fsUuid);
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java1424 public void onVolumeForgotten(String fsUuid) { argument
1425 mVersion.remove(fsUuid);
4383 * given {@link VolumeInfo#fsUuid}.
H A DPackageManagerService.java2226 public void onVolumeForgotten(String fsUuid) {
2227 if (TextUtils.isEmpty(fsUuid)) {
2234 final List<PackageSetting> packages = mSettings.getVolumePackagesLPr(fsUuid);
2247 mSettings.onVolumeForgotten(fsUuid);
22126 final String volumeUuid = vol.fsUuid;
22222 final String volumeUuid = vol.fsUuid;
[all...]

Completed in 509 milliseconds