Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java97 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/
DIMountServiceListener.java110 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
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()
518 if (disk != null) { in writeToParcel()
520 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
DStorageManager.java190 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/
Dmksdcard.jd6 …<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
Demulator.jd165 <p>For more information on disk images, use <code>-help-disk-images</code>.</p>
169 <td>Use {@code &lt;filepath&gt;} as the working user-data disk image. </td>
177 <td>Search for the user-data disk image specified in <code>-data</code> in &lt;dir&gt;</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>&lt;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 …]
Dsystrace.jd9 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/
Dcache-bitmap.jd15 <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 …]
Dprocess-bitmap.jd40 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,
Dindex.jd83 <dd>This lesson walks you through using a memory and disk bitmap cache to improve the
Ddisplay-bitmap.jd185 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/
DSm.java96 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/
DMountService.java960 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 …]
DEventLogTags.logtags41 # 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/
Dstudio-androidview.jd49 used files while developing Android applications. However, the project structure on disk differs
/frameworks/base/docs/html/tools/devices/
Demulator.jd130 <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 …]
Dmanaging-avds.jd255 <td>disk.cachePartition</td>
263 <td>disk.cachePartition.size</td>
Dmanaging-avds-cmdline.jd322 <td>disk.cachePartition</td>
328 <td>disk.cachePartition.size </td>
/frameworks/base/docs/html/training/volley/
Dindex.jd44 <li>Transparent disk and memory response caching with standard HTTP
Drequest.jd62 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/
Dsmooth-scrolling.jd33 thread (the UI thread) free from heavy processing. Ensure you do any disk access, network access, or
/frameworks/base/docs/html/tools/debugging/
Dsystrace.jd69 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/
Dindex.jd74 objects. The Channel API saves disk space unlike the
/frameworks/base/docs/html/sdk/
Dindex.jd440 <li>400 MB hard disk space</li>
454 <li>400 MB hard disk space</li>
474 <li>400 MB hard disk space</li>

12