Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java102 public void onDiskScanned(DiskInfo disk, int volumeCount) {
103 onDiskScannedInternal(disk, volumeCount);
107 public void onDiskDestroyed(DiskInfo disk) {
108 onDiskDestroyedInternal(disk);
175 for (DiskInfo disk : disks) { in start()
176 onDiskScannedInternal(disk, disk.volumeCount); in start()
235 private void onDiskScannedInternal(DiskInfo disk, int volumeCount) { in onDiskScannedInternal() argument
236 if (volumeCount == 0 && disk.size > 0) { in onDiskScannedInternal()
239 R.string.ext_media_unsupported_notification_title, disk.getDescription()); in onDiskScannedInternal()
241 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()
558 if (disk != null) { in writeToParcel()
560 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.java399 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned() argument
401 mListener.onDiskScanned(disk, volumeCount); in onDiskScanned()
406 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { in onDiskDestroyed() argument
408 mListener.onDiskDestroyed(disk); in onDiskDestroyed()
805 for (DiskInfo disk : getDisks()) { in findDiskById()
806 if (Objects.equals(disk.id, id)) { in findDiskById()
807 return disk; in findDiskById()
996 if (vol.disk != null) { in getBestVolumeDescription()
997 return vol.disk.getDescription(); in getBestVolumeDescription()
1111 for (DiskInfo disk : disks) { in wipeAdoptableDisks()
[all …]
/frameworks/base/core/proto/android/server/
Dpeopleservice.proto26 // On disk data of conversation infos for a user and app package.
59 // On disk data of events.
77 // On disk data of event indexes.
Dnotificationhistory.proto24 // On disk data store for historical notifications
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java1344 final DiskInfo disk = mDisks.get(diskId);
1345 if (disk != null) {
1346 onDiskScannedLocked(disk);
1355 final DiskInfo disk = mDisks.get(diskId);
1356 if (disk != null) {
1357 disk.size = sizeBytes;
1358 disk.label = label;
1359 disk.sysPath = sysPath;
1367 final DiskInfo disk = mDisks.remove(diskId);
1368 if (disk != null) {
[all …]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java231 final DiskInfo disk = volume.getDisk(); in updateVolumesLocked() local
232 if (DEBUG) Log.d(TAG, "Disk for root " + rootId + " is " + disk); in updateVolumesLocked()
233 if (disk != null && disk.isSd()) { in updateVolumesLocked()
235 } 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/tests/ApkVerityTest/testdata/
DREADME.md5 tests also tries to tamper with the file at absolute disk offset to verify
/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/core/proto/android/content/
Dlocusid.proto25 // On disk representation of android.content.LocusId. Currently used by
/frameworks/base/cmds/incidentd/src/
Dreport_file.proto101 * recorded here and the size on disk mismatch, then we
/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.java228 return FileUtils.roundStorageSize(vol.disk.size); in getTotalBytes()
/frameworks/native/cmds/atrace/
Datrace.rc131 # 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.proto4732 // Total time for mounting of disk devices during bootup.
4735 // Total time for early stage mounting of disk devices during bootup.
4738 // Total time for late stage mounting of disk devices during bootup.
5534 * Pulls free disk space, for data, system partition and temporary directory.
5764 * Pulls disk information, such as write speed and latency.
5773 // Recent disk write speed in kB/s.