Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/storage/
DStorageVolume.java82 public final class StorageVolume implements Parcelable { class
132 public StorageVolume(String id, File path, File internalPath, String description, in StorageVolume() method in StorageVolume
149 private StorageVolume(Parcel in) { in StorageVolume() method in StorageVolume
391 if (obj instanceof StorageVolume && mPath != null) { in equals()
392 StorageVolume volume = (StorageVolume)obj; in equals()
439 …c static final @android.annotation.NonNull Creator<StorageVolume> CREATOR = new Creator<StorageVol…
441 public StorageVolume createFromParcel(Parcel in) {
442 return new StorageVolume(in);
446 public StorageVolume[] newArray(int size) {
447 return new StorageVolume[size];
DStorageManager.java1115 public @Nullable StorageVolume getStorageVolume(File file) { in getStorageVolume()
1123 public @NonNull StorageVolume getStorageVolume(@NonNull Uri uri) { in getStorageVolume()
1129 for (StorageVolume vol : getStorageVolumes()) { in getStorageVolume()
1139 public static @Nullable StorageVolume getStorageVolume(File file, int userId) { in getStorageVolume()
1145 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { in getStorageVolume()
1161 for (StorageVolume volume : volumes) { in getStorageVolume()
1182 final StorageVolume vol = getStorageVolume(new File(mountPoint)); in getVolumeState()
1198 public @NonNull List<StorageVolume> getStorageVolumes() { in getStorageVolumes()
1199 final ArrayList<StorageVolume> res = new ArrayList<>(); in getStorageVolumes()
1211 public @NonNull StorageVolume getPrimaryStorageVolume() { in getPrimaryStorageVolume()
[all …]
DStorageVolume.aidl19 parcelable StorageVolume;
DIStorageManager.aidl27 import android.os.storage.StorageVolume;
93 StorageVolume[] getVolumeList(int uid, in String packageName, int flags) = 29; in getVolumeList()
DVolumeInfo.java362 public StorageVolume buildStorageVolume(Context context, int userId, boolean reportUnmounted) { in buildStorageVolume()
417 return new StorageVolume(id, userPath, internalPath, description, isPrimary(), removable, in buildStorageVolume()
425 return StorageVolume.STORAGE_ID_INVALID; in buildStableMtpStorageId()
/frameworks/base/media/java/android/mtp/
DMtpStorage.java20 import android.os.storage.StorageVolume;
38 public MtpStorage(StorageVolume volume, int storageId) { in MtpStorage()
DMtpDatabase.java32 import android.os.storage.StorageVolume;
346 public void addStorage(StorageVolume storage) { in addStorage()
354 public void removeStorage(StorageVolume storage) { in removeStorage()
DMtpStorageManager.java21 import android.os.storage.StorageVolume;
416 public synchronized MtpStorage addMtpStorage(StorageVolume volume) { in addMtpStorage()
/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/services/core/java/com/android/server/
DDynamicSystemService.java33 import android.os.storage.StorageVolume;
119 final StorageVolume[] volumes = in startInstallation()
121 for (StorageVolume volume : volumes) { in startInstallation()
DStorageManagerService.java108 import android.os.storage.StorageVolume;
659 final StorageVolume userVol = (StorageVolume) msg.obj; in handleMessage()
668 intent.putExtra(StorageVolume.EXTRA_STORAGE_VOLUME, userVol); in handleMessage()
1002 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, false); in completeUnlockUser()
1377 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, false); in onVolumeStateChangedLocked()
3013 public StorageVolume[] getVolumeList(int uid, String packageName, int flags) { in getVolumeList()
3037 final ArrayList<StorageVolume> res = new ArrayList<>(); in getVolumeList()
3068 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, in getVolumeList()
3097 res.add(0, new StorageVolume(id, path, path, in getVolumeList()
3102 return res.toArray(new StorageVolume[res.size()]); in getVolumeList()
/frameworks/base/core/java/android/os/
DEnvironment.java31 import android.os.storage.StorageVolume;
109 final StorageVolume[] volumes = StorageManager.getVolumeList(mUserId, in getExternalDirs()
1049 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in getExternalStorageState()
1081 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageRemovable()
1124 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageEmulated()
/frameworks/base/core/java/android/app/backup/
DFullBackup.java26 import android.os.storage.StorageVolume;
243 private StorageVolume[] mVolumes = null;
296 final StorageVolume[] volumes = getVolumeList(); in sharedDomainToPath()
304 private StorageVolume[] getVolumeList() { in getVolumeList()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java38 import android.os.storage.StorageVolume;
71 List<StorageVolume> volumes = storageManager.getStorageVolumes(); in getAppDataSizeForUser()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java35 import android.os.storage.StorageVolume;
270 final StorageVolume primary = storage.getPrimaryVolume(); in fitsOnExternal()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java29 import android.os.storage.StorageVolume;
/frameworks/base/media/tests/MtpTests/src/android/mtp/
DMtpStorageManagerTest.java20 import android.os.storage.StorageVolume;
134 StorageVolume mainStorage = new StorageVolume("1", mainStorageDir, mainStorageDir, in before()
136 StorageVolume secondaryStorage = new StorageVolume("2", secondaryStorageDir, in before()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java75 import android.os.storage.StorageVolume;
516 final StorageVolume primary = in UsbHandler()
/frameworks/base/core/java/android/provider/
DMediaStore.java61 import android.os.storage.StorageVolume;
1497 final StorageVolume sv = sm.getStorageVolume(path); in getVolumeName()
/frameworks/base/api/
Dremoved.txt388 method @NonNull public android.os.storage.StorageVolume getPrimaryVolume();
389 method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
Dtest-current.txt2185 public final class StorageVolume implements android.os.Parcelable {
/frameworks/base/config/
Dpreloaded-classes2950 android.os.storage.StorageVolume$1
2951 android.os.storage.StorageVolume
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/services/
Dart-profile1779 …rver/StorageManagerService;->getVolumeList(ILjava/lang/String;I)[Landroid/os/storage/StorageVolume;