/frameworks/base/core/java/android/os/storage/ |
D | StorageVolume.java | 78 public final class StorageVolume implements Parcelable { class 124 public StorageVolume(String id, int storageId, File path, String description, boolean primary, in StorageVolume() method in StorageVolume 142 private StorageVolume(Parcel in) { in StorageVolume() method in StorageVolume 354 if (obj instanceof StorageVolume && mPath != null) { in equals() 355 StorageVolume volume = (StorageVolume)obj; in equals() 404 public static final Creator<StorageVolume> CREATOR = new Creator<StorageVolume>() { 406 public StorageVolume createFromParcel(Parcel in) { 407 return new StorageVolume(in); 411 public StorageVolume[] newArray(int size) { 412 return new StorageVolume[size];
|
D | StorageManager.java | 833 public @Nullable StorageVolume getStorageVolume(File file) { in getStorageVolume() 838 public static @Nullable StorageVolume getStorageVolume(File file, int userId) { in getStorageVolume() 843 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { in getStorageVolume() 853 for (StorageVolume volume : volumes) { in getStorageVolume() 873 final StorageVolume vol = getStorageVolume(new File(mountPoint)); in getVolumeState() 889 public @NonNull List<StorageVolume> getStorageVolumes() { in getStorageVolumes() 890 final ArrayList<StorageVolume> res = new ArrayList<>(); in getStorageVolumes() 902 public @NonNull StorageVolume getPrimaryStorageVolume() { in getPrimaryStorageVolume() 907 public @NonNull StorageVolume[] getVolumeList() { in getVolumeList() 912 public static @NonNull StorageVolume[] getVolumeList(int userId, int flags) { in getVolumeList() [all …]
|
D | VolumeInfo.java | 329 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()
|
D | StorageVolume.aidl | 19 parcelable StorageVolume;
|
D | IMountService.java | 779 public StorageVolume[] getVolumeList(int uid, String packageName, int flags) in getVolumeList() 783 StorageVolume[] _result; in getVolumeList() 791 _result = _reply.createTypedArray(StorageVolume.CREATOR); in getVolumeList() 1826 StorageVolume[] result = getVolumeList(uid, packageName, _flags); in onTransact() 2373 …public StorageVolume[] getVolumeList(int uid, String packageName, int flags) throws RemoteExceptio… in getVolumeList()
|
/frameworks/base/docs/html-intl/intl/ja/preview/features/ |
D | scoped-folder-access.jd | 41 <code>StorageVolume</code> インスタンスを取得します。次に、そのインスタンスの 42 <code>StorageVolume.createAccessIntent()</code> メソッドを呼び出して、インテントを作成します。このインテントを使用して、外部ストレージのディレクトリに… 49 <code>StorageVolume</code> を取得します。この <code>StorageVolume</code> で 55 <code>StorageVolume.createAccessIntent()</code> を呼び出すときに null を渡し、特定のディレクトリではなくボリューム全体へのアクセスをリクエストし… 56 <code>StorageVolume.createAccessIntent()</code> は null を返します。 66 StorageVolume volume = sm.getPrimaryVolume(); 113 {@link android.os.Environment#MEDIA_MOUNTED} 通知を送信します。この通知は、インテント データ内の <code>StorageVolume</code> … 121 StorageVolume volume = (StorageVolume) 122 mediaMountedIntent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME);
|
/frameworks/base/docs/html-intl/intl/ko/preview/features/ |
D | scoped-folder-access.jd | 41 <code>StorageVolume</code> 인스턴스를 가져옵니다. 그 후, 해당 인스턴스의 42 <code>StorageVolume.createAccessIntent()</code> 메서드를 호출하여 인텐트를 생성합니다. 49 <code>StorageVolume</code>을 가져옵니다. 이 <code>StorageVolume</code>에서 55 <code>StorageVolume.createAccessIntent()</code>를 호출할 때 57 <code>StorageVolume.createAccessIntent()</code>는 null을 66 StorageVolume volume = sm.getPrimaryVolume(); 114 이동식 미디어 디렉터리에 액세스하는 데 사용할 수 있는 인텐트 데이터의 <code>StorageVolume</code> 객체를 121 StorageVolume volume = (StorageVolume) 122 mediaMountedIntent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME);
|
/frameworks/base/docs/html-intl/intl/zh-cn/preview/features/ |
D | scoped-folder-access.jd | 45 <code>StorageVolume</code> 实例。然后,通过调用该实例的 46 <code>StorageVolume.createAccessIntent()</code> 方法创建一个 Intent。使用此 Intent 访问外部存储目录。 51 …特定文件的信息,使用 <code>StorageManager.getStorageVolume(File)</code> 来获得包含该文件的 <code>StorageVolume</code>。 53 调用在 <code>StorageVolume</code> 上的 <code>createAccessIntent()</code> 以访问文件的外部存储目录。 58 …SD 卡)上,当调用 <code>StorageVolume.createAccessIntent()</code> 以请求访问整个卷,而不是特定目录时,传入“null”。如果您向主要卷传入“nu… 70 StorageVolume volume = sm.getPrimaryVolume(); 117 {@link android.os.Environment#MEDIA_MOUNTED} 通知。此通知在 Intent 数据中提供一个 <code>StorageVolume</code> 对象,您… 125 StorageVolume volume = (StorageVolume) 126 mediaMountedIntent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME);
|
/frameworks/base/docs/html-intl/intl/ru/preview/features/ |
D | scoped-folder-access.jd | 41 <code>StorageVolume</code>. Затем создайте намерение, вызвав метод 42 <code>StorageVolume.createAccessIntent()</code> этого экземпляра. 52 StorageVolume volume = sm.getPrimaryVolume(); 100 предоставляет в данных намерения объект <code>StorageVolume</code>, который вы можете использовать 107 StorageVolume volume = (StorageVolume) 108 mediaMountedIntent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME);
|
/frameworks/base/docs/html-intl/intl/zh-tw/preview/features/ |
D | scoped-folder-access.jd | 40 <p>使用 <code>StorageManager</code> 類別來取得適當的 <code>StorageVolume</code> 實例。 41 接著,透過呼叫該實例的 <code>StorageVolume.createAccessIntent()</code> 方法以建立意圖。使用此意圖來存取外部儲存空間目錄。 52 StorageVolume volume = sm.getPrimaryVolume(); 99 此通知會在意圖資料中提供 <code>StorageVolume</code> 物件,讓您用來存取抽取式媒體上的目錄。 107 StorageVolume volume = (StorageVolume) 108 mediaMountedIntent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME);
|
/frameworks/base/docs/html-intl/intl/in/preview/features/ |
D | scoped-folder-access.jd | 41 <code>StorageVolume</code> yang tepat. Kemudian, buat intent dengan memanggil metode 42 <code>StorageVolume.createAccessIntent()</code> dari instance itu. 49 <code>StorageVolume</code> yang berisi file tersebut. Panggil 50 <code>createAccessIntent()</code> pada <code>StorageVolume</code> ini untuk mengakses 55 <code>StorageVolume.createAccessIntent()</code> untuk meminta akses ke seluruh 57 <code>StorageVolume.createAccessIntent()</code> akan mengembalikan null jika Anda meneruskan 66 StorageVolume volume = sm.getPrimaryVolume(); 114 memberikan sebuah objek <code>StorageVolume</code> dalam data intent yang bisa 121 StorageVolume volume = (StorageVolume) 122 mediaMountedIntent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME);
|
/frameworks/base/docs/html/preview/features/ |
D | scoped-folder-access.jd | 41 <code>StorageVolume</code> instance. Then, create an intent by calling the 42 <code>StorageVolume.createAccessIntent()</code> method of that instance. 49 <code>StorageVolume</code> that contains the file. Call 50 <code>createAccessIntent()</code> on this <code>StorageVolume</code> to access 55 <code>StorageVolume.createAccessIntent()</code> to request access to the entire 57 <code>StorageVolume.createAccessIntent()</code> returns null if you pass in 66 StorageVolume volume = sm.getPrimaryVolume(); 115 provides a <code>StorageVolume</code> object in the intent data that you can 122 StorageVolume volume = (StorageVolume) 123 mediaMountedIntent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME);
|
/frameworks/base/docs/html-intl/intl/es/preview/features/ |
D | scoped-folder-access.jd | 41 <code>StorageVolume</code> correcta. Luego, crea una intent llamando al 42 método <code>StorageVolume.createAccessIntent()</code> de esa instancia. 49 <code>StorageVolume</code> que contiene el archivo. Llama a 50 <code>createAccessIntent()</code> en este <code>StorageVolume</code> para acceder al 55 <code>StorageVolume.createAccessIntent()</code> para solicitar acceso al volumen 57 <code>StorageVolume.createAccessIntent()</code> regresa un valor nulo si pasas un 66 StorageVolume volume = sm.getPrimaryVolume(); 114 brinda un objeto <code>StorageVolume</code> en los datos de intents que puedes 121 StorageVolume volume = (StorageVolume) 122 mediaMountedIntent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME);
|
/frameworks/base/docs/html-intl/intl/pt-br/preview/features/ |
D | scoped-folder-access.jd | 41 <code>StorageVolume</code> apropriada. Em seguida, crie uma intenção chamando o método 42 <code>StorageVolume.createAccessIntent()</code> dessa instância. 49 <code>StorageVolume</code> que contém o arquivo. Chame 50 <code>createAccessIntent()</code> neste <code>StorageVolume</code> para acessar 55 <code>StorageVolume.createAccessIntent()</code> para solicitar acesso ao 57 <code>StorageVolume.createAccessIntent()</code> retornará nulo se você passar 66 StorageVolume volume = sm.getPrimaryVolume(); 114 fornece um objeto <code>StorageVolume</code> nos dados de intenção que 121 StorageVolume volume = (StorageVolume) 122 mediaMountedIntent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME);
|
/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, Context context) { in MtpStorage()
|
/frameworks/base/core/java/android/os/ |
D | Environment.java | 22 import android.os.storage.StorageVolume; 87 final StorageVolume[] volumes = StorageManager.getVolumeList(mUserId, in getExternalDirs() 769 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in getExternalStorageState() 802 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageRemovable() 846 final StorageVolume volume = StorageManager.getStorageVolume(path, UserHandle.myUserId()); in isExternalStorageEmulated()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | OpenExternalDirectoryActivity.java | 21 import static android.os.storage.StorageVolume.EXTRA_DIRECTORY_NAME; 22 import static android.os.storage.StorageVolume.EXTRA_STORAGE_VOLUME; 63 import android.os.storage.StorageVolume; 113 if (!(storageVolume instanceof StorageVolume)) { in onCreate() 126 final StorageVolume volume = (StorageVolume) storageVolume; in onCreate() 157 StorageVolume storageVolume, String directoryName) { in showFragment()
|
/frameworks/base/docs/html-intl/intl/vi/preview/features/ |
D | scoped-folder-access.jd | 41 <code>StorageVolume</code> phù hợp. Sau đó tạo một ý định bằng cách gọi phương thức 42 <code>StorageVolume.createAccessIntent()</code> của thực thể đó. 52 StorageVolume volume = sm.getPrimaryVolume(); 100 sẽ cung cấp một đối tượng <code>StorageVolume</code> trong dữ liệu ý định mà bạn có thể 107 StorageVolume volume = (StorageVolume) 108 mediaMountedIntent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME);
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountService.java | 79 import android.os.storage.StorageVolume; 687 final StorageVolume userVol = (StorageVolume) msg.obj; in handleMessage() 696 intent.putExtra(StorageVolume.EXTRA_STORAGE_VOLUME, userVol); in handleMessage() 929 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, false); in onUnlockUser() 1378 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, false); in onVolumeStateChangedLocked() 3004 public StorageVolume[] getVolumeList(int uid, String packageName, int flags) { 3023 final ArrayList<StorageVolume> res = new ArrayList<>(); 3051 final StorageVolume userVol = vol.buildStorageVolume(mContext, userId, 3081 res.add(0, new StorageVolume(id, StorageVolume.STORAGE_ID_INVALID, path, 3086 return res.toArray(new StorageVolume[res.size()]);
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 35 import android.os.storage.StorageVolume; 433 final StorageVolume primary = storage.getPrimaryVolume(); in fitsOnExternal()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | StorageMeasurement.java | 37 import android.os.storage.StorageVolume;
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 46 import android.os.storage.StorageVolume; 236 final StorageVolume primary = storageManager.getPrimaryVolume(); in systemReady()
|
/frameworks/base/api/ |
D | system-removed.txt | 230 method public android.os.storage.StorageVolume getPrimaryVolume(); 231 method public android.os.storage.StorageVolume[] getVolumeList();
|
D | removed.txt | 232 method public android.os.storage.StorageVolume getPrimaryVolume(); 233 method public android.os.storage.StorageVolume[] getVolumeList();
|