Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/storage/
DStorageVolume.java40 public class StorageVolume implements Parcelable { class
64 public StorageVolume(String id, int storageId, File path, String description, boolean primary, in StorageVolume() method in StorageVolume
82 private StorageVolume(Parcel in) { in StorageVolume() method in StorageVolume
223 if (obj instanceof StorageVolume && mPath != null) { in equals()
224 StorageVolume volume = (StorageVolume)obj; in equals()
261 public static final Creator<StorageVolume> CREATOR = new Creator<StorageVolume>() {
263 public StorageVolume createFromParcel(Parcel in) {
264 return new StorageVolume(in);
268 public StorageVolume[] newArray(int size) {
269 return new StorageVolume[size];
DStorageManager.java812 public @Nullable StorageVolume getStorageVolume(File file) { in getStorageVolume()
817 public static @Nullable StorageVolume getStorageVolume(File file, int userId) { in getStorageVolume()
822 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { in getStorageVolume()
828 for (StorageVolume volume : volumes) { in getStorageVolume()
848 final StorageVolume vol = getStorageVolume(new File(mountPoint)); in getVolumeState()
857 public @NonNull StorageVolume[] getVolumeList() { in getVolumeList()
862 public static @NonNull StorageVolume[] getVolumeList(int userId, int flags) { in getVolumeList()
875 return new StorageVolume[0]; in getVolumeList()
881 return new StorageVolume[0]; in getVolumeList()
895 StorageVolume[] volumes = getVolumeList(); in getVolumePaths()
[all …]
DVolumeInfo.java329 public StorageVolume buildStorageVolume(Context context, int userId, boolean reportUnmounted) { in buildStorageVolume()
347 int mtpStorageId = StorageVolume.STORAGE_ID_INVALID; in buildStorageVolume()
359 mtpStorageId = StorageVolume.STORAGE_ID_PRIMARY; in buildStorageVolume()
377 mtpStorageId = StorageVolume.STORAGE_ID_PRIMARY; in buildStorageVolume()
396 return new StorageVolume(id, mtpStorageId, userPath, description, isPrimary(), removable, in buildStorageVolume()
403 return StorageVolume.STORAGE_ID_INVALID; in buildStableMtpStorageId()
DStorageVolume.aidl19 parcelable StorageVolume;
DIMountService.java761 public StorageVolume[] getVolumeList(int uid, String packageName, int flags) in getVolumeList()
765 StorageVolume[] _result; in getVolumeList()
773 _result = _reply.createTypedArray(StorageVolume.CREATOR); in getVolumeList()
1614 StorageVolume[] result = getVolumeList(uid, packageName, _flags); in onTransact()
2064 …public StorageVolume[] getVolumeList(int uid, String packageName, int flags) throws RemoteExceptio… in getVolumeList()
/frameworks/base/media/java/android/mtp/
DMtpStorage.java20 import android.os.storage.StorageVolume;
38 public MtpStorage(StorageVolume volume, Context context) { in MtpStorage()
/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/core/java/android/os/
DEnvironment.java22 import android.os.storage.StorageVolume;
83 final StorageVolume[] volumes = StorageManager.getVolumeList(mUserId, in getExternalDirs()
659 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in getExternalStorageState()
691 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageRemovable()
722 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageEmulated()
/frameworks/base/services/core/java/com/android/server/
DMountService.java75 import android.os.storage.StorageVolume;
644 final StorageVolume userVol = (StorageVolume) msg.obj; in handleMessage()
653 intent.putExtra(StorageVolume.EXTRA_STORAGE_VOLUME, userVol); in handleMessage()
824 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, false); in onStartUser()
1265 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, false); in onVolumeStateChangedLocked()
2624 public StorageVolume[] getVolumeList(int uid, String packageName, int flags) { in getVolumeList()
2627 final ArrayList<StorageVolume> res = new ArrayList<>(); in getVolumeList()
2644 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, in getVolumeList()
2675 res.add(0, new StorageVolume(id, StorageVolume.STORAGE_ID_INVALID, path, in getVolumeList()
2680 return res.toArray(new StorageVolume[res.size()]); in getVolumeList()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java35 import android.os.storage.StorageVolume;
419 final StorageVolume primary = storage.getPrimaryVolume(); in fitsOnExternal()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java42 import android.os.storage.StorageVolume;
218 final StorageVolume primary = storageManager.getPrimaryVolume(); in systemReady()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java37 import android.os.storage.StorageVolume;
/frameworks/base/
Dpreloaded-classes90 [Landroid.os.storage.StorageVolume;
1514 android.os.storage.StorageVolume
1515 android.os.storage.StorageVolume$1