Home
last modified time | relevance | path

Searched refs:DiskInfo (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/os/storage/
DDiskInfo.java41 public class DiskInfo implements Parcelable { class
67 public DiskInfo(String id, int flags) { in DiskInfo() method in DiskInfo
73 public DiskInfo(Parcel parcel) { in DiskInfo() method in DiskInfo
181 public DiskInfo clone() { in clone()
194 if (o instanceof DiskInfo) { in equals()
195 return Objects.equals(id, ((DiskInfo) o).id); in equals()
207 …public static final @android.annotation.NonNull Creator<DiskInfo> CREATOR = new Creator<DiskInfo>(…
209 public DiskInfo createFromParcel(Parcel in) {
210 return new DiskInfo(in);
214 public DiskInfo[] newArray(int size) {
[all …]
DIStorageEventListener.aidl19 import android.os.storage.DiskInfo;
56 void onDiskScanned(in DiskInfo disk, int volumeCount) = 5; in onDiskScanned()
58 void onDiskDestroyed(in DiskInfo disk) = 6;
DStorageEventListener.java64 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned()
68 public void onDiskDestroyed(DiskInfo disk) { in onDiskDestroyed()
DDiskInfo.aidl19 parcelable DiskInfo;
DIStorageManager.aidl23 import android.os.storage.DiskInfo;
106 DiskInfo[] getDisks() = 44; in getDisks()
DVolumeInfo.java163 public final DiskInfo disk;
179 public VolumeInfo(String id, int type, DiskInfo disk, String partGuid) { in VolumeInfo()
191 disk = DiskInfo.CREATOR.createFromParcel(parcel); in VolumeInfo()
249 public @Nullable DiskInfo getDisk() { in getDisk()
DStorageManager.java377 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned()
384 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { in onDiskDestroyed()
798 public @NonNull List<DiskInfo> getDisks() { in getDisks()
808 public @Nullable DiskInfo findDiskById(String id) { in findDiskById()
811 for (DiskInfo disk : getDisks()) { in findDiskById()
1116 final List<DiskInfo> disks = getDisks(); in wipeAdoptableDisks()
1117 for (DiskInfo disk : disks) { in wipeAdoptableDisks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java34 import android.os.storage.DiskInfo;
120 public void onDiskScanned(DiskInfo disk, int volumeCount) {
125 public void onDiskDestroyed(DiskInfo disk) {
199 final List<DiskInfo> disks = mStorageManager.getDisks(); in start()
200 for (DiskInfo disk : disks) { in start()
262 private void onDiskScannedInternal(DiskInfo disk, int volumeCount) { in onDiskScannedInternal()
299 private void onDiskDestroyedInternal(@NonNull DiskInfo disk) { in onDiskDestroyedInternal()
381 final DiskInfo disk = vol.getDisk(); in onVolumeChecking()
395 final DiskInfo disk = vol.getDisk(); in onVolumeMounted()
457 final DiskInfo disk = vol.getDisk(); in onVolumeEjecting()
[all …]
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java24 import android.os.storage.DiskInfo;
118 final DiskInfo[] disks = mSm.getDisks(); in runListDisks()
119 for (DiskInfo disk : disks) { in runListDisks()
/frameworks/base/services/core/java/com/android/server/
DDynamicSystemService.java32 import android.os.storage.DiskInfo;
100 DiskInfo disk = volume.getDisk(); in startInstallation()
DStorageManagerService.java109 import android.os.storage.DiskInfo;
444 private ArrayMap<String, DiskInfo> mDisks = new ArrayMap<>();
1423 flags |= DiskInfo.FLAG_ADOPTABLE;
1426 flags &= ~DiskInfo.FLAG_ADOPTABLE;
1429 mDisks.put(diskId, new DiskInfo(diskId, flags));
1436 final DiskInfo disk = mDisks.get(diskId);
1447 final DiskInfo disk = mDisks.get(diskId);
1459 final DiskInfo disk = mDisks.remove(diskId);
1470 final DiskInfo disk = mDisks.get(diskId);
1551 private void onDiskScannedLocked(DiskInfo disk) { in onDiskScannedLocked()
[all …]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java36 import android.os.storage.DiskInfo;
251 final DiskInfo disk = volume.getDisk(); in updateVolumesLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java79 import android.os.storage.DiskInfo;
1258 DiskInfo disk = packageVolume.getDisk(); in getPackageExternalStorageType()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java150 import android.os.storage.DiskInfo;
3828 final DiskInfo diskInfo = vol.getDisk();
3884 DiskInfo diskInfo = volumeInfo.getDisk();
/frameworks/base/config/
Ddirty-image-objects1667 Landroid/os/storage/DiskInfo; 453
Dpreloaded-classes6432 android.os.storage.DiskInfo$1
6433 android.os.storage.DiskInfo
17376 [Landroid.os.storage.DiskInfo;
Dboot-image-profile.txt38962 Landroid/os/storage/DiskInfo$1;
38963 Landroid/os/storage/DiskInfo;
49967 [Landroid/os/storage/DiskInfo;
/frameworks/base/boot/
Dpreloaded-classes6428 android.os.storage.DiskInfo$1
6429 android.os.storage.DiskInfo
14353 [Landroid.os.storage.DiskInfo;
Dboot-image-profile.txt28828 Landroid/os/storage/DiskInfo$1;
28829 Landroid/os/storage/DiskInfo;
36800 [Landroid/os/storage/DiskInfo;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37961 Landroid/os/storage/DiskInfo;-><init>(Ljava/lang/String;I)V
37962 Landroid/os/storage/DiskInfo;->ACTION_DISK_SCANNED:Ljava/lang/String;
37963 Landroid/os/storage/DiskInfo;->dump(Lcom/android/internal/util/IndentingPrintWriter;)V
37964 Landroid/os/storage/DiskInfo;->EXTRA_DISK_ID:Ljava/lang/String;
37965 Landroid/os/storage/DiskInfo;->EXTRA_VOLUME_COUNT:Ljava/lang/String;
37966 Landroid/os/storage/DiskInfo;->FLAG_ADOPTABLE:I
37967 Landroid/os/storage/DiskInfo;->FLAG_DEFAULT_PRIMARY:I
37968 Landroid/os/storage/DiskInfo;->FLAG_SD:I
37969 Landroid/os/storage/DiskInfo;->FLAG_USB:I
37970 Landroid/os/storage/DiskInfo;->getShortDescription()Ljava/lang/String;
[all …]