Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/storage/
DDiskInfo.java41 public class DiskInfo implements Parcelable { class
65 public DiskInfo(String id, int flags) { in DiskInfo() method in DiskInfo
71 public DiskInfo(Parcel parcel) { in DiskInfo() method in DiskInfo
175 public DiskInfo clone() { in clone()
188 if (o instanceof DiskInfo) { in equals()
189 return Objects.equals(id, ((DiskInfo) o).id); in equals()
201 …public static final @android.annotation.NonNull Creator<DiskInfo> CREATOR = new Creator<DiskInfo>(…
203 public DiskInfo createFromParcel(Parcel in) {
204 return new DiskInfo(in);
208 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.java63 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned()
67 public void onDiskDestroyed(DiskInfo disk) { in onDiskDestroyed()
DDiskInfo.aidl19 parcelable DiskInfo;
DIStorageManager.aidl23 import android.os.storage.DiskInfo;
155 DiskInfo[] getDisks() = 44; in getDisks()
DVolumeInfo.java159 public final DiskInfo disk;
175 public VolumeInfo(String id, int type, DiskInfo disk, String partGuid) { in VolumeInfo()
187 disk = DiskInfo.CREATOR.createFromParcel(parcel); in VolumeInfo()
230 public @Nullable DiskInfo getDisk() { in getDisk()
DStorageManager.java340 mCallback.onDiskScanned((DiskInfo) args.arg1, args.argi2); in handleMessage()
344 mCallback.onDiskDestroyed((DiskInfo) args.arg1); in handleMessage()
390 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned()
398 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { in onDiskDestroyed()
715 public @NonNull List<DiskInfo> getDisks() { in getDisks()
725 public @Nullable DiskInfo findDiskById(String id) { in findDiskById()
728 for (DiskInfo disk : getDisks()) { in findDiskById()
1027 final List<DiskInfo> disks = getDisks(); in wipeAdoptableDisks()
1028 for (DiskInfo disk : disks) { in wipeAdoptableDisks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java34 import android.os.storage.DiskInfo;
98 public void onDiskScanned(DiskInfo disk, int volumeCount) {
103 public void onDiskDestroyed(DiskInfo disk) {
170 final List<DiskInfo> disks = mStorageManager.getDisks(); in start()
171 for (DiskInfo disk : disks) { in start()
230 private void onDiskScannedInternal(DiskInfo disk, int volumeCount) { in onDiskScannedInternal()
267 private void onDiskDestroyedInternal(@NonNull DiskInfo disk) { in onDiskDestroyedInternal()
339 final DiskInfo disk = vol.getDisk(); in onVolumeChecking()
353 final DiskInfo disk = vol.getDisk(); in onVolumeMounted()
407 final DiskInfo disk = vol.getDisk(); in onVolumeEjecting()
[all …]
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java23 import android.os.storage.DiskInfo;
117 final DiskInfo[] disks = mSm.getDisks(); in runListDisks()
118 for (DiskInfo disk : disks) { in runListDisks()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java100 import android.os.storage.DiskInfo;
328 private ArrayMap<String, DiskInfo> mDisks = new ArrayMap<>();
1116 flags |= DiskInfo.FLAG_ADOPTABLE;
1119 flags &= ~DiskInfo.FLAG_ADOPTABLE;
1122 mDisks.put(diskId, new DiskInfo(diskId, flags));
1129 final DiskInfo disk = mDisks.get(diskId);
1140 final DiskInfo disk = mDisks.get(diskId);
1152 final DiskInfo disk = mDisks.remove(diskId);
1162 final DiskInfo disk = mDisks.get(diskId);
1224 private void onDiskScannedLocked(DiskInfo disk) { in onDiskScannedLocked()
[all …]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java33 import android.os.storage.DiskInfo;
220 final DiskInfo disk = volume.getDisk(); in updateVolumesLocked()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java101 import android.os.storage.DiskInfo;
2197 final DiskInfo diskInfo = vol.getDisk(); in pullExternalStorageInfo()
2239 DiskInfo diskInfo = volumeInfo.getDisk(); in pullAppsOnExternalStorageInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java235 import android.os.storage.DiskInfo;
2231 DiskInfo disk = packageVolume.getDisk(); in getPackageExternalStorageType()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt52489 Landroid/os/storage/DiskInfo;-><init>(Ljava/lang/String;I)V
52490 Landroid/os/storage/DiskInfo;->ACTION_DISK_SCANNED:Ljava/lang/String;
52491 Landroid/os/storage/DiskInfo;->dump(Lcom/android/internal/util/IndentingPrintWriter;)V
52492 Landroid/os/storage/DiskInfo;->EXTRA_DISK_ID:Ljava/lang/String;
52493 Landroid/os/storage/DiskInfo;->EXTRA_VOLUME_COUNT:Ljava/lang/String;
52494 Landroid/os/storage/DiskInfo;->FLAG_ADOPTABLE:I
52495 Landroid/os/storage/DiskInfo;->FLAG_DEFAULT_PRIMARY:I
52496 Landroid/os/storage/DiskInfo;->FLAG_SD:I
52497 Landroid/os/storage/DiskInfo;->FLAG_USB:I
52498 Landroid/os/storage/DiskInfo;->getShortDescription()Ljava/lang/String;
[all …]
Dboot-image-profile.txt12624 HSPLandroid/os/storage/VolumeInfo;-><init>(Ljava/lang/String;ILandroid/os/storage/DiskInfo;Ljava/la…
35462 Landroid/os/storage/DiskInfo;
42348 HSPLandroid/os/storage/DiskInfo$1;->newArray(I)[Landroid/os/storage/DiskInfo;
42349 HSPLandroid/os/storage/DiskInfo$1;->newArray(I)[Ljava/lang/Object;
42351 HSPLandroid/os/storage/IStorageManager$Stub$Proxy;->getDisks()[Landroid/os/storage/DiskInfo;
/frameworks/base/services/
Dart-profile1774 HSPLcom/android/server/StorageManagerService;->getDisks()[Landroid/os/storage/DiskInfo;