Searched refs:disk (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageEventListener.java | 50 public void onDiskScanned(DiskInfo disk, int volumeCount) { argument 53 public void onDiskDestroyed(DiskInfo disk) { argument
|
H A D | IMountServiceListener.java | 110 final DiskInfo disk = (DiskInfo) data.readParcelable(null); 112 onDiskScanned(disk, volumeCount); 118 final DiskInfo disk = (DiskInfo) data.readParcelable(null); 119 onDiskDestroyed(disk); 241 public void onDiskScanned(DiskInfo disk, int volumeCount) throws RemoteException { argument 246 _data.writeParcelable(disk, 0); 258 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { argument 263 _data.writeParcelable(disk, 0); 306 public void onDiskScanned(DiskInfo disk, int volumeCount) throws RemoteException; argument 308 public void onDiskDestroyed(DiskInfo disk) throw argument [all...] |
H A D | VolumeInfo.java | 151 public final DiskInfo disk; field in class:VolumeInfo 162 public VolumeInfo(String id, int type, DiskInfo disk, String partGuid) { argument 165 this.disk = disk; 173 disk = DiskInfo.CREATOR.createFromParcel(parcel); 175 disk = null; 214 return disk; 218 return (disk != null) ? disk.id : null; 524 if (disk ! [all...] |
H A D | StorageManager.java | 63 * OBBs contain a filesystem that maybe be encrypted on disk and mounted 217 public void onDiskScanned(DiskInfo disk, int volumeCount) { argument 219 args.arg1 = disk; 225 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { argument 227 args.arg1 = disk; 537 for (DiskInfo disk : getDisks()) { 538 if (Objects.equals(disk.id, id)) { 539 return disk; 659 if (vol.disk != null) { 660 return vol.disk [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | StorageNotification.java | 98 public void onDiskScanned(DiskInfo disk, int volumeCount) { 99 onDiskScannedInternal(disk, volumeCount); 103 public void onDiskDestroyed(DiskInfo disk) { 104 onDiskDestroyedInternal(disk); 170 for (DiskInfo disk : disks) { 171 onDiskScannedInternal(disk, disk.volumeCount); 220 private void onDiskScannedInternal(DiskInfo disk, int volumeCount) { argument 221 if (volumeCount == 0 && disk.size > 0) { 224 R.string.ext_media_unsupported_notification_title, disk 254 onDiskDestroyedInternal(@onNull DiskInfo disk) argument 544 getSmallIcon(DiskInfo disk, int state) argument 574 buildInitPendingIntent(DiskInfo disk) argument 680 buildWizardReadyPendingIntent(DiskInfo disk) argument [all...] |
/frameworks/base/cmds/sm/src/com/android/commands/sm/ |
H A D | Sm.java | 103 for (DiskInfo disk : disks) { 104 if (!onlyAdoptable || disk.isAdoptable()) { 105 System.out.println(disk.getId());
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | MountService.java | 304 /** Map from disk ID to disk */ 307 /** Map from volume ID to disk */ 319 /** Map from disk ID to latches */ 1064 final DiskInfo disk = mDisks.get(cooked[1]); 1065 if (disk != null) { 1066 disk.size = Long.parseLong(cooked[2]); 1071 final DiskInfo disk = mDisks.get(cooked[1]); 1072 if (disk != null) { 1077 disk 1232 onDiskScannedLocked(DiskInfo disk) argument 3674 notifyDiskScanned(DiskInfo disk, int volumeCount) argument 3681 notifyDiskDestroyed(DiskInfo disk) argument [all...] |
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 188 final DiskInfo disk = volume.getDisk(); 189 if (DEBUG) Log.d(TAG, "Disk for root " + rootId + " is " + disk); 190 if (disk != null && disk.isSd()) { 192 } else if (disk != null && disk.isUsb()) { 241 // Create the "Documents" directory on disk (don't use the localized title).
|
Completed in 360 milliseconds