Home
last modified time | relevance | path

Searched refs:StorageVolume (Results 1 – 25 of 26) 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
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/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.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/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/core/java/android/provider/
DMediaStore.java61 import android.os.storage.StorageVolume;
1497 final StorageVolume sv = sm.getStorageVolume(path); in getVolumeName()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java75 import android.os.storage.StorageVolume;
516 final StorageVolume primary = in UsbHandler()
/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 {
Dcurrent.txt35569 method @NonNull public android.os.storage.StorageVolume getPrimaryStorageVolume();
35570 method @Nullable public android.os.storage.StorageVolume getStorageVolume(java.io.File);
35571 …method @NonNull public android.os.storage.StorageVolume getStorageVolume(@NonNull android.net.Uri);
35572 method @NonNull public java.util.List<android.os.storage.StorageVolume> getStorageVolumes();
35590 public final class StorageVolume implements android.os.Parcelable {
35601 …onNull public static final android.os.Parcelable.Creator<android.os.storage.StorageVolume> CREATOR;
/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 …]
Dhiddenapi-greylist-max-o.txt4611 Landroid/app/backup/FullBackup$BackupScheme;->getVolumeList()[Landroid/os/storage/StorageVolume;
4622 Landroid/app/backup/FullBackup$BackupScheme;->mVolumes:[Landroid/os/storage/StorageVolume;
45373 Landroid/mtp/MtpDatabase;->addStorage(Landroid/os/storage/StorageVolume;)V
45426 Landroid/mtp/MtpDatabase;->removeStorage(Landroid/os/storage/StorageVolume;)V
45559 Landroid/mtp/MtpStorage;-><init>(Landroid/os/storage/StorageVolume;I)V
45641 Landroid/mtp/MtpStorageManager;->addMtpStorage(Landroid/os/storage/StorageVolume;)Landroid/mtp/MtpS…
56367 …IStorageManager$Stub$Proxy;->getVolumeList(ILjava/lang/String;I)[Landroid/os/storage/StorageVolume;
56486 …os/storage/IStorageManager;->getVolumeList(ILjava/lang/String;I)[Landroid/os/storage/StorageVolume;
56602 …rageManager;->getPrimaryVolume([Landroid/os/storage/StorageVolume;)Landroid/os/storage/StorageVolu…
56605 …oid/os/storage/StorageManager;->getStorageVolume(Ljava/io/File;I)Landroid/os/storage/StorageVolume;
[all …]

12