Home
last modified time | relevance | path

Searched refs:disk (Results 1 – 23 of 23) 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.java161 public final DiskInfo disk; field in VolumeInfo
177 public VolumeInfo(String id, int type, DiskInfo disk, String partGuid) { in VolumeInfo() argument
180 this.disk = disk; in VolumeInfo()
189 disk = DiskInfo.CREATOR.createFromParcel(parcel); in VolumeInfo()
191 disk = null; in VolumeInfo()
207 this.disk = volumeInfo.disk; in VolumeInfo()
248 return disk; in getDisk()
253 return (disk != null) ? disk.id : null; in getDiskId()
579 if (disk != null) { in writeToParcel()
581 disk.writeToParcel(parcel, flags); in writeToParcel()
DIStorageEventListener.aidl56 void onDiskScanned(in DiskInfo disk, int volumeCount) = 5; in onDiskScanned() argument
58 void onDiskDestroyed(in DiskInfo disk) = 6; field
DStorageEventListener.java64 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned() argument
68 public void onDiskDestroyed(DiskInfo disk) { in onDiskDestroyed() argument
DStorageManager.java391 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned() argument
393 mListener.onDiskScanned(disk, volumeCount); in onDiskScanned()
398 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { in onDiskDestroyed() argument
400 mListener.onDiskDestroyed(disk); in onDiskDestroyed()
824 for (DiskInfo disk : getDisks()) { in findDiskById()
825 if (Objects.equals(disk.id, id)) { in findDiskById()
826 return disk; in findDiskById()
1015 if (vol.disk != null) { in getBestVolumeDescription()
1016 return vol.disk.getDescription(); in getBestVolumeDescription()
1130 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.
68 // On disk data of events.
86 // On disk data of event indexes.
Dnotificationhistory.proto24 // On disk data store for historical notifications
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java1398 final DiskInfo disk = mDisks.get(diskId);
1399 if (disk != null) {
1400 onDiskScannedLocked(disk);
1409 final DiskInfo disk = mDisks.get(diskId);
1410 if (disk != null) {
1411 disk.size = sizeBytes;
1412 disk.label = label;
1413 disk.sysPath = sysPath;
1421 final DiskInfo disk = mDisks.remove(diskId);
1422 if (disk != null) {
[all …]
DDynamicSystemService.java100 DiskInfo disk = volume.getDisk(); in startInstallation() local
101 long mega = disk.size >> 20; in startInstallation()
/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/tests/ApkVerityTest/testdata/
DREADME.md5 tests also tries to tamper with the file at absolute disk offset to verify
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java121 for (DiskInfo disk : disks) { in runListDisks()
122 if (!onlyAdoptable || disk.isAdoptable()) { in runListDisks()
123 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/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/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.java229 return FileUtils.roundStorageSize(vol.disk.size); in getTotalBytes()
/frameworks/native/cmds/atrace/
Datrace.rc181 # 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/proto_logging/stats/
Datoms.proto5583 // Total time for mounting of disk devices during bootup.
5586 // Total time for early stage mounting of disk devices during bootup.
5589 // Total time for late stage mounting of disk devices during bootup.
6598 * Pulls free disk space, for data, system partition and temporary directory.
6828 * Pulls disk information, such as write speed and latency.
6837 // Recent disk write speed in kB/s.
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java6565 DiskInfo disk = packageVolume.getDisk(); in getPackageExternalStorageType() local
6566 if (disk != null) { in getPackageExternalStorageType()
6567 if (disk.isSd()) { in getPackageExternalStorageType()
6570 if (disk.isUsb()) { in getPackageExternalStorageType()