Home
last modified time | relevance | path

Searched refs:DiskInfo (Results 1 – 12 of 12) 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 …]
DIMountServiceListener.java110 final DiskInfo disk = (DiskInfo) data.readParcelable(null); in onTransact()
118 final DiskInfo disk = (DiskInfo) data.readParcelable(null); in onTransact()
241 public void onDiskScanned(DiskInfo disk, int volumeCount) throws RemoteException { in onDiskScanned()
258 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { in onDiskDestroyed()
306 public void onDiskScanned(DiskInfo disk, int volumeCount) throws RemoteException; in onDiskScanned()
308 public void onDiskDestroyed(DiskInfo disk) throws RemoteException; in onDiskDestroyed()
DStorageEventListener.java50 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned()
53 public void onDiskDestroyed(DiskInfo disk) { in onDiskDestroyed()
DStorageManager.java167 mCallback.onDiskScanned((DiskInfo) args.arg1, args.argi2); in handleMessage()
171 mCallback.onDiskDestroyed((DiskInfo) args.arg1); in handleMessage()
217 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned()
225 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { in onDiskDestroyed()
525 public @NonNull List<DiskInfo> getDisks() { in getDisks()
534 public @Nullable DiskInfo findDiskById(String id) { in findDiskById()
537 for (DiskInfo disk : getDisks()) { in findDiskById()
746 final List<DiskInfo> disks = getDisks(); in wipeAdoptableDisks()
747 for (DiskInfo disk : disks) { in wipeAdoptableDisks()
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()
DIMountService.java931 public DiskInfo[] getDisks() throws RemoteException { in getDisks()
934 DiskInfo[] _result; in getDisks()
939 _result = _reply.createTypedArray(DiskInfo.CREATOR); in getDisks()
1946 DiskInfo[] disks = getDisks(); in onTransact()
2451 public DiskInfo[] getDisks() throws RemoteException; in getDisks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java33 import android.os.storage.DiskInfo;
98 public void onDiskScanned(DiskInfo disk, int volumeCount) {
103 public void onDiskDestroyed(DiskInfo disk) {
169 final List<DiskInfo> disks = mStorageManager.getDisks(); in start()
170 for (DiskInfo disk : disks) { in start()
220 private void onDiskScannedInternal(DiskInfo disk, int volumeCount) { in onDiskScannedInternal()
254 private void onDiskDestroyedInternal(@NonNull DiskInfo disk) { in onDiskDestroyedInternal()
323 final DiskInfo disk = vol.getDisk(); in onVolumeChecking()
338 final DiskInfo disk = vol.getDisk(); in onVolumeMounted()
394 final DiskInfo disk = vol.getDisk(); in onVolumeEjecting()
[all …]
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java22 import android.os.storage.DiskInfo;
102 final DiskInfo[] disks = mSm.getDisks(); in runListDisks()
103 for (DiskInfo disk : disks) { in runListDisks()
/frameworks/base/services/core/java/com/android/server/
DMountService.java70 import android.os.storage.DiskInfo;
306 private ArrayMap<String, DiskInfo> mDisks = new ArrayMap<>();
1057 flags |= DiskInfo.FLAG_ADOPTABLE; in onEventLocked()
1059 mDisks.put(id, new DiskInfo(id, flags)); in onEventLocked()
1064 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked()
1071 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked()
1083 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked()
1091 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked()
1099 final DiskInfo disk = mDisks.remove(cooked[1]); in onEventLocked()
1112 final DiskInfo disk = mDisks.get(diskId); in onEventLocked()
[all …]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java37 import android.os.storage.DiskInfo;
188 final DiskInfo disk = volume.getDisk(); in updateVolumesLocked()
/frameworks/base/
Dcompiled-classes-phone3232 android.os.storage.DiskInfo
3233 android.os.storage.DiskInfo$1