Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/os/storage/
DStorageVolume.java84 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];
DStorageManager.java359 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 …]
DStorageVolume.aidl19 parcelable StorageVolume;
DIStorageManager.aidl27 import android.os.storage.StorageVolume;
93 StorageVolume[] getVolumeList(int uid, in String packageName, int flags) = 29; in getVolumeList()
DVolumeRecord.java99 public StorageVolume buildStorageVolume(Context context) { in buildStorageVolume()
116 return new StorageVolume(id, userPath, internalPath, description, primary, removable, in buildStorageVolume()
DVolumeInfo.java369 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/
DIExternalStorageService.aidl21 import android.os.storage.StorageVolume;
31 void notifyVolumeStateChanged(@utf8InCpp String sessionId, in StorageVolume vol, in notifyVolumeStateChanged()
DExternalStorageService.java32 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/
DMtpStorage.java20 import android.os.storage.StorageVolume;
37 public MtpStorage(StorageVolume volume, int storageId) { in MtpStorage()
DMtpDatabase.java37 import android.os.storage.StorageVolume;
356 public void addStorage(StorageVolume storage) { in addStorage()
364 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/media/tests/MtpTests/src/android/mtp/
DMtpDatabaseTest.java26 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()
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/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/services/core/java/com/android/server/
DDynamicSystemService.java33 import android.os.storage.StorageVolume;
91 final StorageVolume[] volumes = in startInstallation()
93 for (StorageVolume volume : volumes) { in startInstallation()
DStorageManagerService.java119 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/
DEnvironment.java34 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/
DStorageUserConnection.java40 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/
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/core/java/com/android/internal/content/
DPackageHelper.java35 import android.os.storage.StorageVolume;
316 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/non-updatable-api/
Dremoved.txt331 method @NonNull public android.os.storage.StorageVolume getPrimaryVolume();
332 method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
/frameworks/base/api/
Dremoved.txt331 method @NonNull public android.os.storage.StorageVolume getPrimaryVolume();
332 method @NonNull public android.os.storage.StorageVolume[] getVolumeList();
Dlint-baseline.txt1052 RequiresPermission: android.os.storage.StorageVolume#createAccessIntent(String):
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java77 import android.os.storage.StorageVolume;
519 final StorageVolume primary = in UsbHandler()

12