Home
last modified time | relevance | path

Searched refs:StorageVolume (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/os/storage/
DStorageVolume.java26 public class StorageVolume implements Parcelable { class
45 public StorageVolume(String path, String description, boolean removable, in StorageVolume() method in StorageVolume
57 private StorageVolume(String path, String description, boolean removable, in StorageVolume() method in StorageVolume
161 if (obj instanceof StorageVolume && mPath != null) { in equals()
162 StorageVolume volume = (StorageVolume)obj; in equals()
181 public static final Parcelable.Creator<StorageVolume> CREATOR =
182 new Parcelable.Creator<StorageVolume>() {
183 public StorageVolume createFromParcel(Parcel in) {
192 return new StorageVolume(path, description,
197 public StorageVolume[] newArray(int size) {
[all …]
DStorageManager.java549 public StorageVolume[] getVolumeList() { in getVolumeList()
552 if (list == null) return new StorageVolume[0]; in getVolumeList()
554 StorageVolume[] result = new StorageVolume[length]; in getVolumeList()
556 result[i] = (StorageVolume)list[i]; in getVolumeList()
570 StorageVolume[] volumes = getVolumeList(); in getVolumePaths()
DStorageVolume.aidl19 parcelable StorageVolume;
DIMountService.java25 import android.os.storage.StorageVolume;
687 _result = _reply.readParcelableArray(StorageVolume.class.getClassLoader()); in getVolumeList()
/frameworks/base/core/java/android/os/
DEnvironment.java21 import android.os.storage.StorageVolume;
39 private volatile static StorageVolume mPrimaryVolume = null;
41 private static StorageVolume getPrimaryVolume() { in getPrimaryVolume()
49 mPrimaryVolume = (StorageVolume)volumes[0]; in getPrimaryVolume()
438 StorageVolume volume = getPrimaryVolume(); in isExternalStorageRemovable()
456 StorageVolume volume = getPrimaryVolume(); in isExternalStorageEmulated()
/frameworks/base/media/java/android/mtp/
DMtpStorage.java19 import android.os.storage.StorageVolume;
37 public MtpStorage(StorageVolume volume) { in MtpStorage()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DSharedStorageAgent.java12 import android.os.storage.StorageVolume;
22 StorageVolume[] mVolumes;
44 StorageVolume v = mVolumes[i]; in onFullBackup()
/frameworks/base/core/java/com/android/internal/os/storage/
DExternalStorageFormatter.java17 import android.os.storage.StorageVolume;
37 private StorageVolume mStorageVolume;
87 mStorageVolume = intent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME); in onStartCommand()
/frameworks/base/services/java/com/android/server/
DMountService.java56 import android.os.storage.StorageVolume;
167 private final ArrayList<StorageVolume> mVolumes = new ArrayList<StorageVolume>();
168 private StorageVolume mPrimaryVolume;
170 private final HashMap<String, StorageVolume> mVolumeMap = new HashMap<String, StorageVolume>();
1038 intent.putExtra(StorageVolume.EXTRA_STORAGE_VOLUME, mVolumeMap.get(path)); in sendStorageIntent()
1102 StorageVolume volume = new StorageVolume(pathString, in readStorageList()
2474 final StorageVolume v = mVolumes.get(i); in dump()
/frameworks/base/services/java/com/android/server/usb/
DUsbDeviceManager.java45 import android.os.storage.StorageVolume;
164 StorageVolume[] volumes = storageManager.getVolumeList(); in systemReady()