Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/storage/
DDiskInfo.java38 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 …]
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.java50 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned()
53 public void onDiskDestroyed(DiskInfo disk) { in onDiskDestroyed()
DDiskInfo.aidl19 parcelable DiskInfo;
DVolumeInfo.java151 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()
DIStorageManager.aidl21 import android.os.storage.DiskInfo;
264 DiskInfo[] getDisks() = 44; in getDisks()
DStorageManager.java292 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/
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.java22 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/
DStorageManagerService.java72 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/
DMockStorageManager.java24 import android.os.storage.DiskInfo;
338 public DiskInfo[] getDisks() throws RemoteException { in getDisks()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java32 import android.os.storage.DiskInfo;
188 final DiskInfo disk = volume.getDisk(); in updateVolumesLocked()
/frameworks/base/
Dcompiled-classes-phone3398 android.os.storage.DiskInfo
3399 android.os.storage.DiskInfo$1
/frameworks/base/services/
Dprofile-classes2140 Landroid/os/storage/DiskInfo;