Home
last modified time | relevance | path

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

12

/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
392 if (obj instanceof StorageVolume && mPath != null) { in equals()
393 StorageVolume volume = (StorageVolume)obj; in equals()
440 …c static final @android.annotation.NonNull Creator<StorageVolume> CREATOR = new Creator<StorageVol…
442 public StorageVolume createFromParcel(Parcel in) {
443 return new StorageVolume(in);
447 public StorageVolume[] newArray(int size) {
448 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/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/media/java/android/mtp/
DMtpStorage.java20 import android.os.storage.StorageVolume;
38 public MtpStorage(StorageVolume volume, int storageId) { in MtpStorage()
DMtpDatabase.java33 import android.os.storage.StorageVolume;
348 public void addStorage(StorageVolume storage) { in addStorage()
356 public void removeStorage(StorageVolume storage) { in removeStorage()
DMtpStorageManager.java21 import android.os.storage.StorageVolume;
423 public synchronized MtpStorage addMtpStorage(StorageVolume volume) { in addMtpStorage()
/frameworks/base/services/core/java/com/android/server/
DDynamicSystemService.java32 import android.os.storage.StorageVolume;
91 final StorageVolume[] volumes = in startInstallation()
93 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()
3033 public StorageVolume[] getVolumeList(int uid, String packageName, int flags) { in getVolumeList()
3057 final ArrayList<StorageVolume> res = new ArrayList<>(); in getVolumeList()
3088 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, in getVolumeList()
3117 res.add(0, new StorageVolume(id, path, path, in getVolumeList()
3122 return res.toArray(new StorageVolume[res.size()]); in getVolumeList()
/frameworks/base/core/java/android/os/
DEnvironment.java31 import android.os.storage.StorageVolume;
112 final StorageVolume[] volumes = StorageManager.getVolumeList(mUserId, in getExternalDirs()
1078 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in getExternalStorageState()
1110 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageRemovable()
1153 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.java76 import android.os.storage.StorageVolume;
517 final StorageVolume primary = in UsbHandler()
/frameworks/base/core/java/android/provider/
DMediaStore.java61 import android.os.storage.StorageVolume;
1499 final StorageVolume sv = sm.getStorageVolume(path); in getVolumeName()
/frameworks/base/api/
Dremoved.txt396 method @NonNull public android.os.storage.StorageVolume getPrimaryVolume();
397 method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
Dlint-baseline.txt951 RequiresPermission: android.os.storage.StorageVolume#createAccessIntent(String):
Dtest-lint-baseline.txt1354 MissingNullability: android.os.storage.StorageVolume#getPath():
/frameworks/base/non-updatable-api/
Dremoved.txt396 method @NonNull public android.os.storage.StorageVolume getPrimaryVolume();
397 method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
/frameworks/base/config/
Dpreloaded-classes2950 android.os.storage.StorageVolume$1
2951 android.os.storage.StorageVolume
Dboot-image-profile.txt12556 …IStorageManager$Stub$Proxy;->getVolumeList(ILjava/lang/String;I)[Landroid/os/storage/StorageVolume;
12584 HSPLandroid/os/storage/StorageManager;->getPrimaryVolume()Landroid/os/storage/StorageVolume;
12588 …ager;->getStorageVolume([Landroid/os/storage/StorageVolume;Ljava/io/File;)Landroid/os/storage/Stor…
12591 HSPLandroid/os/storage/StorageManager;->getVolumeList()[Landroid/os/storage/StorageVolume;
12592 HSPLandroid/os/storage/StorageManager;->getVolumeList(II)[Landroid/os/storage/StorageVolume;
12605 HSPLandroid/os/storage/StorageVolume$1;-><init>()V
12606 HSPLandroid/os/storage/StorageVolume$1;->createFromParcel(Landroid/os/Parcel;)Landroid/os/storage/S…
12607 HSPLandroid/os/storage/StorageVolume$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
12608 HSPLandroid/os/storage/StorageVolume$1;->newArray(I)[Landroid/os/storage/StorageVolume;
12609 HSPLandroid/os/storage/StorageVolume$1;->newArray(I)[Ljava/lang/Object;
[all …]

12