/frameworks/base/core/java/android/os/storage/ |
D | StorageVolume.java | 84 public final class StorageVolume implements Parcelable { class 134 public StorageVolume(String id, File path, File internalPath, String description, in StorageVolume() method in StorageVolume 151 private StorageVolume(Parcel in) { in StorageVolume() method in StorageVolume 439 if (obj instanceof StorageVolume && mPath != null) { in equals() 440 StorageVolume volume = (StorageVolume)obj; in equals() 487 …c static final @android.annotation.NonNull Creator<StorageVolume> CREATOR = new Creator<StorageVol… 489 public StorageVolume createFromParcel(Parcel in) { 490 return new StorageVolume(in); 494 public StorageVolume[] newArray(int size) { 495 return new StorageVolume[size];
|
D | StorageManager.java | 359 for (StorageVolume sv : getStorageVolumes()) { in onStorageStateChanged() 375 for (StorageVolume sv : getStorageVolumes()) { in onVolumeStateChanged() 583 public void onStateChanged(@NonNull StorageVolume volume) { } in onStateChanged() 1198 public @Nullable StorageVolume getStorageVolume(@NonNull File file) { in getStorageVolume() 1206 public @NonNull StorageVolume getStorageVolume(@NonNull Uri uri) { in getStorageVolume() 1224 for (StorageVolume vol : getStorageVolumes()) { in getStorageVolume() 1234 public static @Nullable StorageVolume getStorageVolume(File file, int userId) { in getStorageVolume() 1240 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { in getStorageVolume() 1256 for (StorageVolume volume : volumes) { in getStorageVolume() 1277 final StorageVolume vol = getStorageVolume(new File(mountPoint)); in getVolumeState() [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 | VolumeRecord.java | 99 public StorageVolume buildStorageVolume(Context context) { in buildStorageVolume() 116 return new StorageVolume(id, userPath, internalPath, description, primary, removable, in buildStorageVolume()
|
D | VolumeInfo.java | 369 public StorageVolume buildStorageVolume(Context context, int userId, boolean reportUnmounted) { in buildStorageVolume() 424 return new StorageVolume(id, userPath, internalPath, description, isPrimary(), removable, in buildStorageVolume() 432 return StorageVolume.STORAGE_ID_INVALID; in buildStableMtpStorageId()
|
/frameworks/base/core/java/android/service/storage/ |
D | IExternalStorageService.aidl | 21 import android.os.storage.StorageVolume; 31 void notifyVolumeStateChanged(@utf8InCpp String sessionId, in StorageVolume vol, in notifyVolumeStateChanged()
|
D | ExternalStorageService.java | 32 import android.os.storage.StorageVolume; 148 public abstract void onVolumeStateChanged(@NonNull StorageVolume vol) throws IOException; in onVolumeStateChanged() 173 public void notifyVolumeStateChanged(String sessionId, StorageVolume vol, in notifyVolumeStateChanged()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpStorage.java | 20 import android.os.storage.StorageVolume; 37 public MtpStorage(StorageVolume volume, int storageId) { in MtpStorage()
|
D | MtpDatabase.java | 37 import android.os.storage.StorageVolume; 356 public void addStorage(StorageVolume storage) { in addStorage() 364 public void removeStorage(StorageVolume storage) { in removeStorage()
|
D | MtpStorageManager.java | 21 import android.os.storage.StorageVolume; 416 public synchronized MtpStorage addMtpStorage(StorageVolume volume) { in addMtpStorage()
|
/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
D | MtpDatabaseTest.java | 26 import android.os.storage.StorageVolume; 133 StorageVolume mainStorage = new StorageVolume(MAIN_STORAGE_ID_STR, in setUp() 137 final StorageVolume primary = mainStorage; in setUp() 293 StorageVolume[] mVolumes; in testMtpDatabaseExtStorage() 305 StorageVolume volume = mVolumes[ii]; in testMtpDatabaseExtStorage()
|
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/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/services/core/java/com/android/server/ |
D | DynamicSystemService.java | 33 import android.os.storage.StorageVolume; 91 final StorageVolume[] volumes = in startInstallation() 93 for (StorageVolume volume : volumes) { in startInstallation()
|
D | StorageManagerService.java | 119 import android.os.storage.StorageVolume; 782 final StorageVolume userVol = (StorageVolume) msg.obj; in handleMessage() 791 intent.putExtra(StorageVolume.EXTRA_STORAGE_VOLUME, userVol); in handleMessage() 1204 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, false); in completeUnlockUser() 1674 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, in onVolumeStateChangedAsync() 3583 public StorageVolume[] getVolumeList(int uid, String packageName, int flags) { in getVolumeList() 3618 final ArrayList<StorageVolume> res = new ArrayList<>(); in getVolumeList() 3663 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, in getVolumeList() 3684 final StorageVolume userVol = rec.buildStorageVolume(mContext); in getVolumeList() 3706 res.add(new StorageVolume(id, path, path, description, primary, removable, in getVolumeList() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Environment.java | 34 import android.os.storage.StorageVolume; 160 final StorageVolume[] volumes = StorageManager.getVolumeList(mUserId, in getExternalDirs() 1166 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in getExternalStorageState() 1198 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageRemovable() 1241 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageEmulated()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | StorageUserConnection.java | 40 import android.os.storage.StorageVolume; 119 public void notifyVolumeStateChanged(String sessionId, StorageVolume vol) in notifyVolumeStateChanged() 328 public void notifyVolumeStateChangedLocked(String sessionId, StorageVolume vol) throws in notifyVolumeStateChangedLocked()
|
/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/core/java/com/android/internal/content/ |
D | PackageHelper.java | 35 import android.os.storage.StorageVolume; 316 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/non-updatable-api/ |
D | removed.txt | 331 method @NonNull public android.os.storage.StorageVolume getPrimaryVolume(); 332 method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
|
/frameworks/base/api/ |
D | removed.txt | 331 method @NonNull public android.os.storage.StorageVolume getPrimaryVolume(); 332 method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
|
D | lint-baseline.txt | 1052 RequiresPermission: android.os.storage.StorageVolume#createAccessIntent(String):
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 77 import android.os.storage.StorageVolume; 519 final StorageVolume primary = in UsbHandler()
|