Searched refs:DiskInfo (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/core/java/android/os/storage/ |
D | DiskInfo.java | 38 public class DiskInfo implements Parcelable { class 59 public DiskInfo(String id, int flags) { in DiskInfo() method in DiskInfo 64 public DiskInfo(Parcel parcel) { in DiskInfo() method in DiskInfo 151 public DiskInfo clone() { in clone() 164 if (o instanceof DiskInfo) { in equals() 165 return Objects.equals(id, ((DiskInfo) o).id); in equals() 176 public static final Creator<DiskInfo> CREATOR = new Creator<DiskInfo>() { 178 public DiskInfo createFromParcel(Parcel in) { 179 return new DiskInfo(in); 183 public DiskInfo[] newArray(int size) { [all …]
|
D | IStorageEventListener.aidl | 19 import android.os.storage.DiskInfo; 56 void onDiskScanned(in DiskInfo disk, int volumeCount) = 5; in onDiskScanned() 58 void onDiskDestroyed(in DiskInfo disk) = 6;
|
D | StorageEventListener.java | 50 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned() 53 public void onDiskDestroyed(DiskInfo disk) { in onDiskDestroyed()
|
D | DiskInfo.aidl | 19 parcelable DiskInfo;
|
D | VolumeInfo.java | 151 public final DiskInfo disk; 162 public VolumeInfo(String id, int type, DiskInfo disk, String partGuid) { in VolumeInfo() 173 disk = DiskInfo.CREATOR.createFromParcel(parcel); in VolumeInfo() 213 public @Nullable DiskInfo getDisk() { in getDisk()
|
D | IStorageManager.aidl | 21 import android.os.storage.DiskInfo; 264 DiskInfo[] getDisks() = 44; in getDisks()
|
D | StorageManager.java | 292 mCallback.onDiskScanned((DiskInfo) args.arg1, args.argi2); in handleMessage() 296 mCallback.onDiskDestroyed((DiskInfo) args.arg1); in handleMessage() 342 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned() 350 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { in onDiskDestroyed() 647 public @NonNull List<DiskInfo> getDisks() { in getDisks() 656 public @Nullable DiskInfo findDiskById(String id) { in findDiskById() 659 for (DiskInfo disk : getDisks()) { in findDiskById() 908 final List<DiskInfo> disks = getDisks(); in wipeAdoptableDisks() 909 for (DiskInfo disk : disks) { in wipeAdoptableDisks()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 34 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/ |
D | Sm.java | 22 import android.os.storage.DiskInfo; 106 final DiskInfo[] disks = mSm.getDisks(); in runListDisks() 107 for (DiskInfo disk : disks) { in runListDisks()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 72 import android.os.storage.DiskInfo; 325 private ArrayMap<String, DiskInfo> mDisks = new ArrayMap<>(); 1081 flags |= DiskInfo.FLAG_ADOPTABLE; in onEventLocked() 1085 flags &= ~DiskInfo.FLAG_ADOPTABLE; in onEventLocked() 1087 mDisks.put(id, new DiskInfo(id, flags)); in onEventLocked() 1092 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked() 1099 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked() 1111 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked() 1119 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked() 1127 final DiskInfo disk = mDisks.remove(cooked[1]); in onEventLocked() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | MockStorageManager.java | 24 import android.os.storage.DiskInfo; 338 public DiskInfo[] getDisks() throws RemoteException { in getDisks()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 32 import android.os.storage.DiskInfo; 188 final DiskInfo disk = volume.getDisk(); in updateVolumesLocked()
|
/frameworks/base/ |
D | compiled-classes-phone | 3398 android.os.storage.DiskInfo 3399 android.os.storage.DiskInfo$1
|
/frameworks/base/services/ |
D | profile-classes | 2140 Landroid/os/storage/DiskInfo;
|