Home
last modified time | relevance | path

Searched refs:disk (Results 1 – 18 of 18) 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.java159 public final DiskInfo disk; field in VolumeInfo
175 public VolumeInfo(String id, int type, DiskInfo disk, String partGuid) { in VolumeInfo() argument
178 this.disk = disk; in VolumeInfo()
187 disk = DiskInfo.CREATOR.createFromParcel(parcel); in VolumeInfo()
189 disk = null; in VolumeInfo()
231 return disk; in getDisk()
236 return (disk != null) ? disk.id : null; in getDiskId()
551 if (disk != null) { in writeToParcel()
553 disk.writeToParcel(parcel, flags); in writeToParcel()
DStorageEventListener.java63 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned() argument
67 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.java390 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned() argument
392 args.arg1 = disk; in onDiskScanned()
398 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { in onDiskDestroyed() argument
400 args.arg1 = disk; in onDiskDestroyed()
728 for (DiskInfo disk : getDisks()) { in findDiskById()
729 if (Objects.equals(disk.id, id)) { in findDiskById()
730 return disk; in findDiskById()
913 if (vol.disk != null) { in getBestVolumeDescription()
914 return vol.disk.getDescription(); in getBestVolumeDescription()
1028 for (DiskInfo disk : disks) { in wipeAdoptableDisks()
[all …]
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java1129 final DiskInfo disk = mDisks.get(diskId);
1130 if (disk != null) {
1131 onDiskScannedLocked(disk);
1140 final DiskInfo disk = mDisks.get(diskId);
1141 if (disk != null) {
1142 disk.size = sizeBytes;
1143 disk.label = label;
1144 disk.sysPath = sysPath;
1152 final DiskInfo disk = mDisks.remove(diskId);
1153 if (disk != null) {
[all …]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java220 final DiskInfo disk = volume.getDisk(); in updateVolumesLocked() local
221 if (DEBUG) Log.d(TAG, "Disk for root " + rootId + " is " + disk); in updateVolumesLocked()
222 if (disk != null && disk.isSd()) { in updateVolumesLocked()
224 } else if (disk != null && disk.isUsb()) { in updateVolumesLocked()
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java118 for (DiskInfo disk : disks) { in runListDisks()
119 if (!onlyAdoptable || disk.isAdoptable()) { in runListDisks()
120 System.out.println(disk.getId()); in runListDisks()
/frameworks/base/core/proto/android/service/
Ddiskstats.proto33 // Full disk encryption
46 // Is the device using file-based encryption, full disk encryption or other
/frameworks/base/cmds/incidentd/src/
Dreport_file.proto96 * recorded here and the size on disk mismatch, then we
/frameworks/av/media/extractors/fuzzers/
Dmp4_extractor_fuzzer.dict123 kw122="disk"
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dbugdroid.rscript96 static short disk(float3 center, float circleRadius, float3 normal, float rad,
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java189 return FileUtils.roundStorageSize(vol.disk.size); in getTotalBytes()
/frameworks/native/cmds/atrace/
Datrace.rc133 # disk
/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
/frameworks/base/cmds/statsd/src/
Datoms.proto4018 // Total time for mounting of disk devices during bootup.
4021 // Total time for early stage mounting of disk devices during bootup.
4024 // Total time for late stage mounting of disk devices during bootup.
4656 * Pulls free disk space, for data, system partition and temporary directory.
4886 * Pulls disk information, such as write speed and latency.
4895 // Recent disk write speed in kB/s.
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java2231 DiskInfo disk = packageVolume.getDisk(); in getPackageExternalStorageType() local
2232 if (disk != null) { in getPackageExternalStorageType()
2233 if (disk.isSd()) { in getPackageExternalStorageType()
2236 if (disk.isUsb()) { in getPackageExternalStorageType()