HomeSort by relevance Sort by last modified time
    Searched refs:StorageVolume (Results 1 - 19 of 19) sorted by null

  /frameworks/base/core/java/android/os/storage/
StorageVolume.aidl 19 parcelable StorageVolume;
StorageVolume.java 35 public class StorageVolume implements Parcelable {
56 // StorageVolume extra for ACTION_MEDIA_REMOVED, ACTION_MEDIA_UNMOUNTED, ACTION_MEDIA_CHECKING,
61 public StorageVolume(File path, int descriptionId, boolean primary, boolean removable,
75 private StorageVolume(Parcel in) {
91 public static StorageVolume fromTemplate(StorageVolume template, File path, UserHandle owner) {
92 return new StorageVolume(path, template.mDescriptionId, template.mPrimary,
243 if (obj instanceof StorageVolume && mPath != null) {
244 StorageVolume volume = (StorageVolume)obj
    [all...]
StorageManager.java 569 public StorageVolume[] getVolumeList() {
570 if (mMountService == null) return new StorageVolume[0];
573 if (list == null) return new StorageVolume[0];
575 StorageVolume[] result = new StorageVolume[length];
577 result[i] = (StorageVolume)list[i];
591 StorageVolume[] volumes = getVolumeList();
602 public StorageVolume getPrimaryVolume() {
607 public static StorageVolume getPrimaryVolume(StorageVolume[] volumes)
    [all...]
IMountService.java 680 public StorageVolume[] getVolumeList() throws RemoteException {
683 StorageVolume[] _result;
688 _result = _reply.createTypedArray(StorageVolume.CREATOR);
    [all...]
  /frameworks/base/media/java/android/mtp/
MtpStorage.java 20 import android.os.storage.StorageVolume;
38 public MtpStorage(StorageVolume volume, Context context) {
  /packages/providers/MediaProvider/src/com/android/providers/media/
MtpService.java 35 import android.os.storage.StorageVolume;
54 final StorageVolume primary = StorageManager.getPrimaryVolume(mVolumes);
63 for (StorageVolume volume : mVolumeMap.values()) {
103 StorageVolume volume = mVolumeMap.remove(path);
118 private final HashMap<String, StorageVolume> mVolumeMap = new HashMap<String, StorageVolume>();
120 private StorageVolume[] mVolumes;
130 StorageVolume[] volumes = mStorageManager.getVolumeList();
160 final StorageVolume primary = StorageManager.getPrimaryVolume(mVolumes);
233 StorageVolume volume = mVolumes[i]
    [all...]
MediaScannerService.java 41 import android.os.storage.StorageVolume;
MediaProvider.java 71 import android.os.storage.StorageVolume;
243 StorageVolume storage = (StorageVolume)intent.getParcelableExtra(
244 StorageVolume.EXTRA_STORAGE_VOLUME);
    [all...]
  /packages/apps/Settings/src/com/android/settings/
MediaFormat.java 22 import android.os.storage.StorageVolume;
62 final StorageVolume storageVolume = getIntent().getParcelableExtra(
63 StorageVolume.EXTRA_STORAGE_VOLUME);
64 intent.putExtra(StorageVolume.EXTRA_STORAGE_VOLUME, storageVolume);
  /frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
SharedStorageAgent.java 10 import android.os.storage.StorageVolume;
21 StorageVolume[] mVolumes;
51 StorageVolume v = mVolumes[i];
  /frameworks/base/core/java/android/os/
Environment.java 22 import android.os.storage.StorageVolume;
72 private static volatile StorageVolume sPrimaryVolume;
74 private static StorageVolume getPrimaryVolume() {
85 final StorageVolume[] volumes = mountService.getVolumeList();
715 final StorageVolume[] volumes = mountService.getVolumeList();
716 for (StorageVolume volume : volumes) {
736 final StorageVolume primary = getPrimaryVolume();
754 final StorageVolume primary = getPrimaryVolume();
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
Memory.java 41 import android.os.storage.StorageVolume;
60 * Panel showing storage usage on disk for known {@link StorageVolume} returned
99 final StorageVolume[] storageVolumes = mStorageManager.getVolumeList();
100 for (StorageVolume volume : storageVolumes) {
117 final StorageVolume[] volumes = mStorageManager.getVolumeList();
118 final StorageVolume primary = StorageManager.getPrimaryVolume(volumes);
145 final StorageVolume volume = category.getStorageVolume();
236 final StorageVolume volume = category.getStorageVolume();
StorageMeasurement.java 38 import android.os.storage.StorageVolume;
58 * {@link StorageVolume}. Connects with a remote {@link IMediaContainerService}
81 private static HashMap<StorageVolume, StorageMeasurement> sInstances = Maps.newHashMap();
85 * {@link StorageVolume}, or internal storage if {@code null}.
87 public static StorageMeasurement getInstance(Context context, StorageVolume volume) {
111 * When measuring a physical {@link StorageVolume}, this value includes
128 * When measuring a physical {@link StorageVolume}, this reflects media
154 private final StorageVolume mVolume;
166 private StorageMeasurement(Context context, StorageVolume volume) {
StorageVolumePreferenceCategory.java 34 import android.os.storage.StorageVolume;
56 private final StorageVolume mVolume;
106 * {@link StorageVolume}.
113 * Build category to summarize specific physical {@link StorageVolume}.
116 Context context, StorageVolume volume) {
120 private StorageVolumePreferenceCategory(Context context, StorageVolume volume) {
232 public StorageVolume getStorageVolume() {
425 intent.putExtra(StorageVolume.EXTRA_STORAGE_VOLUME, mVolume);
444 intent.putExtra(StorageVolume.EXTRA_STORAGE_VOLUME, mVolume);
MiscFilesHandler.java 23 import android.os.storage.StorageVolume;
194 final StorageVolume storageVolume = activity.getIntent().getParcelableExtra(
195 StorageVolume.EXTRA_STORAGE_VOLUME);
197 activity, storageVolume);
  /frameworks/base/services/java/com/android/server/
MountService.java 56 import android.os.storage.StorageVolume;
194 /** When defined, base template for user-specific {@link StorageVolume}. */
195 private StorageVolume mEmulatedTemplate;
200 private final ArrayList<StorageVolume> mVolumes = Lists.newArrayList();
201 /** Map from path to {@link StorageVolume} */
203 private final HashMap<String, StorageVolume> mVolumesByPath = Maps.newHashMap();
556 for (StorageVolume volume : mVolumes) {
588 final List<StorageVolume> toRemove = Lists.newArrayList();
589 for (StorageVolume volume : mVolumes) {
594 for (StorageVolume volume : toRemove)
    [all...]
  /frameworks/base/core/java/com/android/internal/os/storage/
ExternalStorageFormatter.java 17 import android.os.storage.StorageVolume;
37 private StorageVolume mStorageVolume;
87 mStorageVolume = intent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME);
  /frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
ExternalStorageProvider.java 32 import android.os.storage.StorageVolume;
118 final StorageVolume[] volumes = mStorageManager.getVolumeList();
119 for (StorageVolume volume : volumes) {
  /frameworks/base/services/java/com/android/server/usb/
UsbDeviceManager.java 43 import android.os.storage.StorageVolume;
204 final StorageVolume primary = storageManager.getPrimaryVolume();
    [all...]

Completed in 531 milliseconds