Home
last modified time | relevance | path

Searched refs:DiskInfo (Results 1 – 15 of 15) 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.java399 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned()
406 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { in onDiskDestroyed()
792 public @NonNull List<DiskInfo> getDisks() { in getDisks()
802 public @Nullable DiskInfo findDiskById(String id) { in findDiskById()
805 for (DiskInfo disk : getDisks()) { in findDiskById()
1110 final List<DiskInfo> disks = getDisks(); in wipeAdoptableDisks()
1111 for (DiskInfo disk : disks) { in wipeAdoptableDisks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java34 import android.os.storage.DiskInfo;
102 public void onDiskScanned(DiskInfo disk, int volumeCount) {
107 public void onDiskDestroyed(DiskInfo disk) {
174 final List<DiskInfo> disks = mStorageManager.getDisks(); in start()
175 for (DiskInfo disk : disks) { in start()
235 private void onDiskScannedInternal(DiskInfo disk, int volumeCount) { in onDiskScannedInternal()
272 private void onDiskDestroyedInternal(@NonNull DiskInfo disk) { in onDiskDestroyedInternal()
354 final DiskInfo disk = vol.getDisk(); in onVolumeChecking()
368 final DiskInfo disk = vol.getDisk(); in onVolumeMounted()
430 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.java111 import android.os.storage.DiskInfo;
414 private ArrayMap<String, DiskInfo> mDisks = new ArrayMap<>();
1331 flags |= DiskInfo.FLAG_ADOPTABLE;
1334 flags &= ~DiskInfo.FLAG_ADOPTABLE;
1337 mDisks.put(diskId, new DiskInfo(diskId, flags));
1344 final DiskInfo disk = mDisks.get(diskId);
1355 final DiskInfo disk = mDisks.get(diskId);
1367 final DiskInfo disk = mDisks.remove(diskId);
1378 final DiskInfo disk = mDisks.get(diskId);
1458 private void onDiskScannedLocked(DiskInfo disk) { in onDiskScannedLocked()
[all …]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java34 import android.os.storage.DiskInfo;
231 final DiskInfo disk = volume.getDisk(); in updateVolumesLocked()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java115 import android.os.storage.DiskInfo;
3227 final DiskInfo diskInfo = vol.getDisk();
3288 DiskInfo diskInfo = volumeInfo.getDisk();
/frameworks/base/config/
Dpreloaded-classes4980 android.os.storage.DiskInfo$1
4981 android.os.storage.DiskInfo
Dboot-image-profile.txt16690 HSPLandroid/os/storage/DiskInfo$1;->newArray(I)[Landroid/os/storage/DiskInfo;
16691 HSPLandroid/os/storage/DiskInfo$1;->newArray(I)[Ljava/lang/Object;
16703 HSPLandroid/os/storage/IStorageManager$Stub$Proxy;->getDisks()[Landroid/os/storage/DiskInfo;
16797 HSPLandroid/os/storage/VolumeInfo;-><init>(Ljava/lang/String;ILandroid/os/storage/DiskInfo;Ljava/la…
16802 HSPLandroid/os/storage/VolumeInfo;->getDisk()Landroid/os/storage/DiskInfo;
45207 Landroid/os/storage/DiskInfo$1;
45208 Landroid/os/storage/DiskInfo;
/frameworks/base/services/
Dart-profile3383 PLcom/android/server/StorageManagerService;->getDisks()[Landroid/os/storage/DiskInfo;