/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 97 public void onDiskScanned(DiskInfo disk, int volumeCount) { 98 onDiskScannedInternal(disk, volumeCount); 164 for (DiskInfo disk : disks) { in start() 165 onDiskScannedInternal(disk, disk.volumeCount); in start() 213 private void onDiskScannedInternal(DiskInfo disk, int volumeCount) { in onDiskScannedInternal() argument 214 if (volumeCount == 0 && disk.size > 0) { in onDiskScannedInternal() 217 R.string.ext_media_unsupported_notification_title, disk.getDescription()); in onDiskScannedInternal() 219 R.string.ext_media_unsupported_notification_message, disk.getDescription()); in onDiskScannedInternal() 222 .setSmallIcon(getSmallIcon(disk, VolumeInfo.STATE_UNMOUNTABLE)) in onDiskScannedInternal() 226 .setContentIntent(buildInitPendingIntent(disk)) in onDiskScannedInternal() [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | IMountServiceListener.java | 110 final DiskInfo disk = (DiskInfo) data.readParcelable(null); in onTransact() local 112 onDiskScanned(disk, volumeCount); in onTransact() 118 final DiskInfo disk = (DiskInfo) data.readParcelable(null); in onTransact() local 119 onDiskDestroyed(disk); in onTransact() 241 public void onDiskScanned(DiskInfo disk, int volumeCount) throws RemoteException { in onDiskScanned() argument 246 _data.writeParcelable(disk, 0); in onDiskScanned() 258 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { in onDiskDestroyed() argument 263 _data.writeParcelable(disk, 0); in onDiskDestroyed() 306 public void onDiskScanned(DiskInfo disk, int volumeCount) throws RemoteException; in onDiskScanned() argument 308 public void onDiskDestroyed(DiskInfo disk) throws RemoteException; in onDiskDestroyed() argument
|
D | VolumeInfo.java | 151 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() 518 if (disk != null) { in writeToParcel() 520 disk.writeToParcel(parcel, flags); in writeToParcel()
|
D | StorageEventListener.java | 50 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned() argument 53 public void onDiskDestroyed(DiskInfo disk) { in onDiskDestroyed() argument
|
D | StorageManager.java | 190 public void onDiskScanned(DiskInfo disk, int volumeCount) { in onDiskScanned() argument 192 args.arg1 = disk; in onDiskScanned() 198 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { in onDiskDestroyed() argument 200 args.arg1 = disk; in onDiskDestroyed() 518 for (DiskInfo disk : getDisks()) { in findDiskById() 519 if (Objects.equals(disk.id, id)) { in findDiskById() 520 return disk; in findDiskById() 640 if (vol.disk != null) { in getBestVolumeDescription() 641 return vol.disk.getDescription(); in getBestVolumeDescription() 728 for (DiskInfo disk : disks) { in wipeAdoptableDisks() [all …]
|
/frameworks/base/docs/html/tools/help/ |
D | mksdcard.jd | 6 …<p>The <code>mksdcard</code> tool lets you quickly create a FAT32 disk image that you can load in … 29 <td>A volume label for the disk image to create.</td> 35 <td>An integer that specifies the size (in bytes) of disk image to create. You can also 43 <td>The path/filename of the disk image to create.</td> 47 <p>Once you have created the disk image file, you can load it in the emulator at startup using
|
D | emulator.jd | 165 <p>For more information on disk images, use <code>-help-disk-images</code>.</p> 169 <td>Use {@code <filepath>} as the working user-data disk image. </td> 177 <td>Search for the user-data disk image specified in <code>-data</code> in <dir></td> 182 on disk images, use <code>-help-disk-images</code>.</p> 196 …of this file to the new user-data disk image. By default, the emulator copies the <code><system… 198 <p>For more information on disk images, use <code>-help-disk-images</code>.</p></td> 210 For more information on disk images, use <code>-help-disk-images</code>.</p> 217 …e to the current working directory. For more information on disk images, use <code>-help-disk-imag… 230 …<td>Reset the current user-data disk image (that is, the file specified by <code>-datadir</code> a… 235 <p>For more information on disk images, use <code>-help-disk-images</code>.</p> [all …]
|
D | systrace.jd | 9 tool combines data from the Android kernel such as the CPU scheduler, disk activity, and 197 <li><code>disk</code> - Disk input and output</li> 254 $ python systrace.py --disk --time=10 -o mynewtrace.html 293 <td><code>-d, --disk</code></td> 295 <td>Trace disk input and output activity. This option requires root access on the device.</td>
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | cache-bitmap.jd | 15 <li><a href="#disk-cache">Use a Disk Cache</a></li> 44 and disk cache can often help here, allowing components to quickly reload processed images.</p> 46 <p>This lesson walks you through using a memory and disk bitmap cache to improve the responsiveness 173 <h2 id="disk-cache">Use a Disk Cache</h2> 181 <p>A disk cache can be used in these cases to persist processed bitmaps and help decrease loading 182 times where images are no longer available in a memory cache. Of course, fetching images from disk 183 is slower than loading from memory and should be done in a background thread, as disk read times can 192 Here’s updated example code that adds a disk cache in addition to the existing memory cache:</p> 206 // Initialize disk cache on background thread 232 // Check disk cache in background thread [all …]
|
D | process-bitmap.jd | 40 disk or a network location (or really any source other than memory). The time this data takes to 41 load is unpredictable and depends on a variety of factors (speed of reading from disk or network,
|
D | index.jd | 83 <dd>This lesson walks you through using a memory and disk bitmap cache to improve the
|
D | display-bitmap.jd | 185 directly from disk, it can also be beneficial to add a memory and/or disk cache as described in the
|
/frameworks/base/cmds/sm/src/com/android/commands/sm/ |
D | Sm.java | 96 for (DiskInfo disk : disks) { in runListDisks() 97 if (!onlyAdoptable || disk.isAdoptable()) { in runListDisks() 98 System.out.println(disk.getId()); in runListDisks()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountService.java | 960 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked() local 961 if (disk != null) { in onEventLocked() 962 disk.size = Long.parseLong(cooked[2]); in onEventLocked() 967 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked() local 968 if (disk != null) { in onEventLocked() 973 disk.label = builder.toString().trim(); in onEventLocked() 979 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked() local 980 if (disk != null) { in onEventLocked() 981 onDiskScannedLocked(disk); in onEventLocked() 987 final DiskInfo disk = mDisks.get(cooked[1]); in onEventLocked() local [all …]
|
D | EventLogTags.logtags | 41 # The disk space free on the /data partition, in bytes 43 # Device low memory notification and disk space free on the /data partition, in bytes at that time 45 # disk space free on the /data, /system, and /cache partitions in bytes
|
/frameworks/base/docs/html/sdk/installing/ |
D | studio-androidview.jd | 49 used files while developing Android applications. However, the project structure on disk differs
|
/frameworks/base/docs/html/tools/devices/ |
D | emulator.jd | 130 <li>Flash memory partitions (emulated through disk image files on the 220 in a user-data disk partition. To ensure that the application runs properly 542 <p>You can create a disk image and then load it to the emulator at startup, to 547 <p>The following sections describe how to create an SD card disk image, how to copy 550 <p>Note that you can only load a disk image at emulator startup. Similarly, you 574 <p>You can also use the mksdcard tool, included in the SDK, to create a FAT32 disk 576 the tools/ directory of the SDK and create a disk image like this: </p> 590 <p>Once you have created the disk image, you can copy files to it prior to 614 <p>The emulator uses mountable disk images stored on your development machine to 616 disk image containing an emulator-specific kernel, the Android system, a [all …]
|
D | managing-avds.jd | 255 <td>disk.cachePartition</td> 263 <td>disk.cachePartition.size</td>
|
D | managing-avds-cmdline.jd | 322 <td>disk.cachePartition</td> 328 <td>disk.cachePartition.size </td>
|
/frameworks/base/docs/html/training/volley/ |
D | index.jd | 44 <li>Transparent disk and memory response caching with standard HTTP
|
D | request.jd | 62 using disk I/O. {@code ImageLoader} also does response coalescing, without which almost 167 {@code DiskBasedCache} class. This class caches files directly onto the hard disk in the
|
/frameworks/base/docs/html/training/improving-layouts/ |
D | smooth-scrolling.jd | 33 thread (the UI thread) free from heavy processing. Ensure you do any disk access, network access, or
|
/frameworks/base/docs/html/tools/debugging/ |
D | systrace.jd | 69 system, and install your application. Some types of trace information, specifically disk activity 107 <li>Low level system information such as CPU, kernel and disk activity (selected using
|
/frameworks/base/docs/html/training/wearables/data-layer/ |
D | index.jd | 74 objects. The Channel API saves disk space unlike the
|
/frameworks/base/docs/html/sdk/ |
D | index.jd | 440 <li>400 MB hard disk space</li> 454 <li>400 MB hard disk space</li> 474 <li>400 MB hard disk space</li>
|