/frameworks/base/core/java/android/os/storage/ |
D | StorageVolume.java | 82 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];
|
D | StorageManager.java | 1115 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 …]
|
D | StorageVolume.aidl | 19 parcelable StorageVolume;
|
D | IStorageManager.aidl | 27 import android.os.storage.StorageVolume; 93 StorageVolume[] getVolumeList(int uid, in String packageName, int flags) = 29; in getVolumeList()
|
D | VolumeInfo.java | 362 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/ |
D | SharedStorageAgent.java | 10 import android.os.storage.StorageVolume; 21 StorageVolume[] mVolumes; 51 StorageVolume v = mVolumes[i]; in onFullBackup()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpStorage.java | 20 import android.os.storage.StorageVolume; 38 public MtpStorage(StorageVolume volume, int storageId) { in MtpStorage()
|
D | MtpDatabase.java | 33 import android.os.storage.StorageVolume; 348 public void addStorage(StorageVolume storage) { in addStorage() 356 public void removeStorage(StorageVolume storage) { in removeStorage()
|
D | MtpStorageManager.java | 21 import android.os.storage.StorageVolume; 423 public synchronized MtpStorage addMtpStorage(StorageVolume volume) { in addMtpStorage()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DynamicSystemService.java | 32 import android.os.storage.StorageVolume; 91 final StorageVolume[] volumes = in startInstallation() 93 for (StorageVolume volume : volumes) { in startInstallation()
|
D | StorageManagerService.java | 108 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/ |
D | Environment.java | 31 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/ |
D | FullBackup.java | 26 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/ |
D | UninstallAlertDialogFragment.java | 38 import android.os.storage.StorageVolume; 71 List<StorageVolume> volumes = storageManager.getStorageVolumes(); in getAppDataSizeForUser()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 35 import android.os.storage.StorageVolume; 270 final StorageVolume primary = storage.getPrimaryVolume(); in fitsOnExternal()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | StorageMeasurement.java | 29 import android.os.storage.StorageVolume;
|
/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
D | MtpStorageManagerTest.java | 20 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/ |
D | UsbDeviceManager.java | 76 import android.os.storage.StorageVolume; 517 final StorageVolume primary = in UsbHandler()
|
/frameworks/base/core/java/android/provider/ |
D | MediaStore.java | 61 import android.os.storage.StorageVolume; 1499 final StorageVolume sv = sm.getStorageVolume(path); in getVolumeName()
|
/frameworks/base/api/ |
D | removed.txt | 396 method @NonNull public android.os.storage.StorageVolume getPrimaryVolume(); 397 method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
|
D | lint-baseline.txt | 951 RequiresPermission: android.os.storage.StorageVolume#createAccessIntent(String):
|
D | test-lint-baseline.txt | 1354 MissingNullability: android.os.storage.StorageVolume#getPath():
|
/frameworks/base/non-updatable-api/ |
D | removed.txt | 396 method @NonNull public android.os.storage.StorageVolume getPrimaryVolume(); 397 method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
|
/frameworks/base/config/ |
D | preloaded-classes | 2950 android.os.storage.StorageVolume$1 2951 android.os.storage.StorageVolume
|
D | boot-image-profile.txt | 12556 …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 …]
|