HomeSort by relevance Sort by last modified time
    Searched full:storagevolume (Results 1 - 25 of 45) sorted by null

1 2

  /frameworks/base/docs/html-intl/intl/ja/training/articles/
scoped-directory-access.jd 41 <code>StorageVolume</code> ?????????????????????????
42 <code>StorageVolume.createAccessIntent()</code> ???????????????????????????????????????????????????????????
49 <code>StorageVolume</code> ????????? <code>StorageVolume</code> ?
55 <code>StorageVolume.createAccessIntent()</code> ???????? null ????????????????????????????????????????????? ?????? 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)
    [all...]
  /frameworks/base/docs/html-intl/intl/ko/training/articles/
scoped-directory-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)
    [all...]
  /frameworks/base/docs/html-intl/intl/zh-cn/training/articles/
scoped-directory-access.jd 45 <code>StorageVolume</code> ??????????????
46 <code>StorageVolume.createAccessIntent()</code> ?????? Intent???? Intent ?????????
51 <p>???????????????? <code>StorageManager.getStorageVolume(File)</code> ????????? <code>StorageVolume</code>?
53 ??? <code>StorageVolume</code> ?? <code>createAccessIntent()</code> ?????????????
58 ????????? SD ??????? <code>StorageVolume.createAccessIntent()</code> ?????????????????????null????????????null????????????????<code>StorageVolume.createAccessIntent()</code> ????null??
70 StorageVolume volume = sm.getPrimaryVolume();
117 {@link android.os.Environment#MEDIA_MOUNTED} ??????? Intent ??????? <code>StorageVolume</code> ???????????????????
125 StorageVolume volume = (StorageVolume)
    [all...]
  /frameworks/base/docs/html-intl/intl/zh-tw/training/articles/
scoped-directory-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/ru/training/articles/
scoped-directory-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);
  /packages/providers/MediaProvider/src/com/android/providers/media/
MtpService.java 31 import android.os.storage.StorageVolume;
50 final StorageVolume primary = StorageManager.getPrimaryVolume(mVolumes);
59 for (StorageVolume volume : mVolumeMap.values()) {
73 StorageVolume volume = mVolumeMap.remove(path);
89 private final HashMap<String, StorageVolume> mVolumeMap = new HashMap<String, StorageVolume>();
91 private StorageVolume[] mVolumes;
99 StorageVolume[] volumes = mStorageManager.getVolumeList();
131 final StorageVolume primary = StorageManager.getPrimaryVolume(mVolumes);
153 private void manageServiceLocked(StorageVolume primary, String[] subdirs)
    [all...]
  /frameworks/base/docs/html/training/articles/
scoped-directory-access.jd 40 appropriate {@link android.os.storage.StorageVolume} instance. Then, create
42 {@link android.os.storage.StorageVolume#createAccessIntent
43 StorageVolume.createAccessIntent()} method of that instance.
52 {@link android.os.storage.StorageVolume} that contains the file. Call
53 {@link android.os.storage.StorageVolume#createAccessIntent
55 {@link android.os.storage.StorageVolume} to access
60 {@link android.os.storage.StorageVolume#createAccessIntent
63 {@link android.os.storage.StorageVolume#createAccessIntent
73 StorageVolume volume = sm.getPrimaryStorageVolume();
124 provides a {@link android.os.storage.StorageVolume} object in the intent dat
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
ScopedDirectoryAccessClientTest.java 37 import android.os.storage.StorageVolume;
82 for (StorageVolume volume : getVolumes()) {
94 for (StorageVolume volume : getVolumes()) {
110 private void userRejectsTest(StorageVolume volume, String dir) throws Exception {
119 for (StorageVolume volume : getVolumes()) {
142 for (StorageVolume volume : getVolumes()) {
162 for (StorageVolume volume : getVolumes()) {
191 for (StorageVolume volume : getVolumes()) {
216 for (StorageVolume volume : getVolumes()) {
244 private Uri userAcceptsOpenExternalDirectoryTest(StorageVolume volume, String directoryName
    [all...]
  /developers/build/prebuilts/gradle/ScopedDirectoryAccess/.google/
packaging.yaml 17 - android:android.os.storage.StorageVolume
  /frameworks/base/core/java/android/os/storage/
StorageVolume.aidl 19 parcelable StorageVolume;
StorageVolume.java 78 public final class StorageVolume implements Parcelable {
100 * contains a {@link StorageVolume}.
124 public StorageVolume(String id, int storageId, File path, String description, boolean primary,
142 private StorageVolume(Parcel in) {
354 if (obj instanceof StorageVolume && mPath != null) {
355 StorageVolume volume = (StorageVolume)obj;
368 final StringBuilder buffer = new StringBuilder("StorageVolume: ").append(mDescription);
386 pw.println("StorageVolume:");
404 public static final Creator<StorageVolume> CREATOR = new Creator<StorageVolume>()
    [all...]
StorageManager.java 857 * Return the {@link StorageVolume} that contains the given file, or {@code null} if none.
859 public @Nullable StorageVolume getStorageVolume(File file) {
864 public static @Nullable StorageVolume getStorageVolume(File file, int userId) {
869 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) {
879 for (StorageVolume volume : volumes) {
899 final StorageVolume vol = getStorageVolume(new File(mountPoint));
913 * @see StorageVolume#createAccessIntent(String)
915 public @NonNull List<StorageVolume> getStorageVolumes() {
916 final ArrayList<StorageVolume> res = new ArrayList<>()
    [all...]
  /frameworks/base/docs/html-intl/intl/es/training/articles/
scoped-directory-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)
    [all...]
  /frameworks/base/docs/html-intl/intl/in/training/articles/
scoped-directory-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)
    [all...]
  /frameworks/base/docs/html-intl/intl/pt-br/training/articles/
scoped-directory-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)
    [all...]
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
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;
112 final Parcelable storageVolume = intent.getParcelableExtra(EXTRA_STORAGE_VOLUME);
113 if (!(storageVolume instanceof StorageVolume)) {
115 Log.d(TAG, "extra " + EXTRA_STORAGE_VOLUME + " is not a StorageVolume: "
116 + storageVolume);
126 final StorageVolume volume = (StorageVolume) storageVolume
    [all...]
  /developers/samples/android/content/documentsUi/ScopedDirectoryAccess/
template-params.xml 59 <android>android.os.storage.StorageVolume</android>
82 To access to a specific directory, use a new Intent created using the StorageVolume class like
87 StorageVolume volume = sm.getPrimaryVolume();
92 Note that the argument passed to StorageVolume.createAccessIntent needs to be one of the
  /cts/tests/tests/os/src/android/os/storage/cts/
StorageManagerTest.java 29 import android.os.storage.StorageVolume;
166 final StorageVolume volume = mStorageManager.getPrimaryStorageVolume();
205 final StorageVolume clone = StorageVolume.CREATOR.createFromParcel(parcel);
213 final List<StorageVolume> volumes = mStorageManager.getStorageVolumes();
215 StorageVolume primary = null;
216 for (StorageVolume volume : volumes) {
234 final StorageVolume primary = mStorageManager.getPrimaryStorageVolume();
235 final StorageVolume rootVolume = mStorageManager.getStorageVolume(root);
240 StorageVolume childVolume = mStorageManager.getStorageVolume(child)
    [all...]
  /developers/build/prebuilts/gradle/ScopedDirectoryAccess/
README.md 19 To access to a specific directory, use a new Intent created using the StorageVolume class like
24 StorageVolume volume = sm.getPrimaryVolume();
29 Note that the argument passed to StorageVolume.createAccessIntent needs to be one of the
  /frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
SharedStorageAgent.java 10 import android.os.storage.StorageVolume;
21 StorageVolume[] mVolumes;
51 StorageVolume v = mVolumes[i];
  /developers/build/prebuilts/gradle/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
ScopedDirectoryAccessFragment.java 28 import android.os.storage.StorageVolume;
120 StorageVolume storageVolume = mStorageManager.getPrimaryStorageVolume();
121 Intent intent = storageVolume.createAccessIntent(directoryName);
127 List<StorageVolume> storageVolumes = mStorageManager.getStorageVolumes();
130 for (final StorageVolume volume : storageVolumes) {
  /developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
ScopedDirectoryAccessFragment.java 28 import android.os.storage.StorageVolume;
120 StorageVolume storageVolume = mStorageManager.getPrimaryStorageVolume();
121 Intent intent = storageVolume.createAccessIntent(directoryName);
127 List<StorageVolume> storageVolumes = mStorageManager.getStorageVolumes();
130 for (final StorageVolume volume : storageVolumes) {
  /development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/
ScopedDirectoryAccessFragment.java 28 import android.os.storage.StorageVolume;
120 StorageVolume storageVolume = mStorageManager.getPrimaryStorageVolume();
121 Intent intent = storageVolume.createAccessIntent(directoryName);
127 List<StorageVolume> storageVolumes = mStorageManager.getStorageVolumes();
130 for (final StorageVolume volume : storageVolumes) {
  /frameworks/base/media/java/android/mtp/
MtpStorage.java 20 import android.os.storage.StorageVolume;
38 public MtpStorage(StorageVolume volume, Context context) {
  /frameworks/base/docs/html-intl/intl/vi/training/articles/
scoped-directory-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);

Completed in 1216 milliseconds

1 2