Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java98 public void onDiskScanned(DiskInfo disk, int volumeCount) {
99 onDiskScannedInternal(disk, volumeCount);
103 public void onDiskDestroyed(DiskInfo disk) {
104 onDiskDestroyedInternal(disk);
171 for (DiskInfo disk : disks) { in start()
172 onDiskScannedInternal(disk, disk.volumeCount); in start()
230 private void onDiskScannedInternal(DiskInfo disk, int volumeCount) { in onDiskScannedInternal() argument
231 if (volumeCount == 0 && disk.size > 0) { in onDiskScannedInternal()
234 R.string.ext_media_unsupported_notification_title, disk.getDescription()); in onDiskScannedInternal()
236 R.string.ext_media_unsupported_notification_message, disk.getDescription()); in onDiskScannedInternal()
[all …]
/frameworks/base/core/java/android/os/storage/
DVolumeInfo.java151 public final DiskInfo disk; field in VolumeInfo
162 public VolumeInfo(String id, int type, DiskInfo disk, String partGuid) { in VolumeInfo() argument
165 this.disk = disk; in VolumeInfo()
173 disk = DiskInfo.CREATOR.createFromParcel(parcel); in VolumeInfo()
175 disk = null; in VolumeInfo()
214 return disk; in getDisk()
218 return (disk != null) ? disk.id : null; in getDiskId()
522 if (disk != null) { in writeToParcel()
524 disk.writeToParcel(parcel, flags); in writeToParcel()
DStorageEventListener.java50 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned() argument
53 public void onDiskDestroyed(DiskInfo disk) { in onDiskDestroyed() argument
DIStorageEventListener.aidl56 void onDiskScanned(in DiskInfo disk, int volumeCount) = 5; in onDiskScanned() argument
58 void onDiskDestroyed(in DiskInfo disk) = 6; field
DStorageManager.java342 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned() argument
344 args.arg1 = disk; in onDiskScanned()
350 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { in onDiskDestroyed() argument
352 args.arg1 = disk; in onDiskDestroyed()
659 for (DiskInfo disk : getDisks()) { in findDiskById()
660 if (Objects.equals(disk.id, id)) { in findDiskById()
661 return disk; in findDiskById()
821 if (vol.disk != null) { in getBestVolumeDescription()
822 return vol.disk.getDescription(); in getBestVolumeDescription()
909 for (DiskInfo disk : disks) { in wipeAdoptableDisks()
[all …]
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java1092 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked() local
1093 if (disk != null) { in onEventLocked()
1094 disk.size = Long.parseLong(cooked[2]); in onEventLocked()
1099 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked() local
1100 if (disk != null) { in onEventLocked()
1105 disk.label = builder.toString().trim(); in onEventLocked()
1111 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked() local
1112 if (disk != null) { in onEventLocked()
1113 onDiskScannedLocked(disk); in onEventLocked()
1119 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked() local
[all …]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java188 final DiskInfo disk = volume.getDisk(); in updateVolumesLocked() local
189 if (DEBUG) Log.d(TAG, "Disk for root " + rootId + " is " + disk); in updateVolumesLocked()
190 if (disk != null && disk.isSd()) { in updateVolumesLocked()
192 } else if (disk != null && disk.isUsb()) { in updateVolumesLocked()
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java107 for (DiskInfo disk : disks) { in runListDisks()
108 if (!onlyAdoptable || disk.isAdoptable()) { in runListDisks()
109 System.out.println(disk.getId()); in runListDisks()
/frameworks/base/core/proto/android/service/
Ddiskstats.proto30 // Full disk encryption
43 // Is the device using file-based encryption, full disk encryption or other
/frameworks/native/cmds/atrace/
Datrace_userdebug.rc16 # disk
37 # disk
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java178 return FileUtils.roundStorageSize(vol.disk.size); in getTotalBytes()
/frameworks/native/vulkan/doc/implementors_guide/
Dimplementors_guide.adoc30 …tc. This includes a prohibition on saving core dumps, API traces, etc. to disk for later inspectio…
/frameworks/wilhelm/doc/
DDoxyfile277 # determine which symbols to keep in memory and which to flush to disk.
278 # When the cache is full, less often used symbols will be written to disk.
281 # doxygen to be busy swapping symbols to and from disk most of the time
/frameworks/native/docs/
DDoxyfile343 # determine which symbols to keep in memory and which to flush to disk.
344 # When the cache is full, less often used symbols will be written to disk.
347 # doxygen to be busy swapping symbols to and from disk most of the time