Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/storage/
DStorageVolume.java78 public final class StorageVolume implements Parcelable { class
124 public StorageVolume(String id, int storageId, File path, String description, boolean primary, in StorageVolume() method in StorageVolume
142 private StorageVolume(Parcel in) { in StorageVolume() method in StorageVolume
354 if (obj instanceof StorageVolume && mPath != null) { in equals()
355 StorageVolume volume = (StorageVolume)obj; in equals()
403 public static final Creator<StorageVolume> CREATOR = new Creator<StorageVolume>() {
405 public StorageVolume createFromParcel(Parcel in) {
406 return new StorageVolume(in);
410 public StorageVolume[] newArray(int size) {
411 return new StorageVolume[size];
DStorageManager.java995 public @Nullable StorageVolume getStorageVolume(File file) { in getStorageVolume()
1000 public static @Nullable StorageVolume getStorageVolume(File file, int userId) { in getStorageVolume()
1005 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { in getStorageVolume()
1015 for (StorageVolume volume : volumes) { in getStorageVolume()
1035 final StorageVolume vol = getStorageVolume(new File(mountPoint)); in getVolumeState()
1051 public @NonNull List<StorageVolume> getStorageVolumes() { in getStorageVolumes()
1052 final ArrayList<StorageVolume> res = new ArrayList<>(); in getStorageVolumes()
1064 public @NonNull StorageVolume getPrimaryStorageVolume() { in getPrimaryStorageVolume()
1080 public @NonNull StorageVolume[] getVolumeList() { in getVolumeList()
1085 public static @NonNull StorageVolume[] getVolumeList(int userId, int flags) { in getVolumeList()
[all …]
DVolumeInfo.java329 public StorageVolume buildStorageVolume(Context context, int userId, boolean reportUnmounted) { in buildStorageVolume()
347 int mtpStorageId = StorageVolume.STORAGE_ID_INVALID; in buildStorageVolume()
359 mtpStorageId = StorageVolume.STORAGE_ID_PRIMARY; in buildStorageVolume()
377 mtpStorageId = StorageVolume.STORAGE_ID_PRIMARY; in buildStorageVolume()
396 return new StorageVolume(id, mtpStorageId, userPath, description, isPrimary(), removable, in buildStorageVolume()
403 return StorageVolume.STORAGE_ID_INVALID; in buildStableMtpStorageId()
DStorageVolume.aidl19 parcelable StorageVolume;
DIStorageManager.aidl25 import android.os.storage.StorageVolume;
187 StorageVolume[] getVolumeList(int uid, in String packageName, int flags) = 29; in getVolumeList()
/frameworks/base/media/java/android/mtp/
DMtpStorage.java20 import android.os.storage.StorageVolume;
38 public MtpStorage(StorageVolume volume, Context context) { in MtpStorage()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DSharedStorageAgent.java10 import android.os.storage.StorageVolume;
21 StorageVolume[] mVolumes;
51 StorageVolume v = mVolumes[i]; in onFullBackup()
/frameworks/base/core/java/android/os/
DEnvironment.java22 import android.os.storage.StorageVolume;
87 final StorageVolume[] volumes = StorageManager.getVolumeList(mUserId, in getExternalDirs()
822 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in getExternalStorageState()
855 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageRemovable()
899 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageEmulated()
/frameworks/base/core/java/android/app/backup/
DFullBackup.java25 import android.os.storage.StorageVolume;
233 private StorageVolume[] mVolumes = null;
286 final StorageVolume[] volumes = getVolumeList(); in sharedDomainToPath()
294 private StorageVolume[] getVolumeList() { in getVolumeList()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMockStorageManager.java29 import android.os.storage.StorageVolume;
259 public StorageVolume[] getVolumeList(int uid, String packageName, int flags) in getVolumeList()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java29 import android.os.storage.StorageVolume;
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java81 import android.os.storage.StorageVolume;
710 final StorageVolume userVol = (StorageVolume) msg.obj; in handleMessage()
719 intent.putExtra(StorageVolume.EXTRA_STORAGE_VOLUME, userVol); in handleMessage()
953 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, false); in onUnlockUser()
1406 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, false); in onVolumeStateChangedLocked()
3146 public StorageVolume[] getVolumeList(int uid, String packageName, int flags) { in getVolumeList()
3165 final ArrayList<StorageVolume> res = new ArrayList<>(); in getVolumeList()
3193 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, in getVolumeList()
3223 res.add(0, new StorageVolume(id, StorageVolume.STORAGE_ID_INVALID, path, in getVolumeList()
3228 return res.toArray(new StorageVolume[res.size()]); in getVolumeList()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java34 import android.os.storage.StorageVolume;
533 final StorageVolume primary = storage.getPrimaryVolume(); in fitsOnExternal()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java48 import android.os.storage.StorageVolume;
279 final StorageVolume primary = storageManager.getPrimaryVolume(); in systemReady()
/frameworks/base/api/
Dremoved.txt312 method public android.os.storage.StorageVolume getPrimaryVolume();
313 method public android.os.storage.StorageVolume[] getVolumeList();
Dsystem-removed.txt306 method public android.os.storage.StorageVolume getPrimaryVolume();
307 method public android.os.storage.StorageVolume[] getVolumeList();
Dtest-removed.txt312 method public android.os.storage.StorageVolume getPrimaryVolume();
313 method public android.os.storage.StorageVolume[] getVolumeList();
Dcurrent.txt31770 method public android.os.storage.StorageVolume getPrimaryStorageVolume();
31771 method public android.os.storage.StorageVolume getStorageVolume(java.io.File);
31772 method public java.util.List<android.os.storage.StorageVolume> getStorageVolumes();
31789 public final class StorageVolume implements android.os.Parcelable {
31799 … field public static final android.os.Parcelable.Creator<android.os.storage.StorageVolume> CREATOR;
Dsystem-current.txt34621 method public android.os.storage.StorageVolume getPrimaryStorageVolume();
34622 method public android.os.storage.StorageVolume getStorageVolume(java.io.File);
34623 method public java.util.List<android.os.storage.StorageVolume> getStorageVolumes();
34641 public final class StorageVolume implements android.os.Parcelable {
34651 … field public static final android.os.Parcelable.Creator<android.os.storage.StorageVolume> CREATOR;
/frameworks/base/core/java/android/provider/
DDocumentsContract.java51 import android.os.storage.StorageVolume;
/frameworks/base/
Dpreloaded-classes137 [Landroid.os.storage.StorageVolume;
2017 android.os.storage.StorageVolume
2018 android.os.storage.StorageVolume$1
Dcompiled-classes-phone3415 android.os.storage.StorageVolume
3416 android.os.storage.StorageVolume$1
/frameworks/base/services/
Dprofile-classes2155 Landroid/os/storage/StorageVolume;
2156 Landroid/os/storage/StorageVolume$1;