Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestProvidersAccess.java21 import com.android.documentsui.base.Providers;
52 DOWNLOADS.authority = Providers.AUTHORITY_DOWNLOADS;
53 DOWNLOADS.rootId = Providers.ROOT_ID_DOWNLOADS;
62 HOME.authority = Providers.AUTHORITY_STORAGE;
63 HOME.rootId = Providers.ROOT_ID_HOME;
99 IMAGE.authority = Providers.AUTHORITY_MEDIA;
100 IMAGE.rootId = Providers.ROOT_ID_IMAGES;
105 AUDIO.authority = Providers.AUTHORITY_MEDIA;
106 AUDIO.rootId = Providers.ROOT_ID_AUDIO;
111 VIDEO.authority = Providers.AUTHORITY_MEDIA;
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetrics.java37 import com.android.documentsui.base.Providers;
212 case Providers.AUTHORITY_MEDIA: in logFileOperationFailure()
217 case Providers.AUTHORITY_STORAGE: in logFileOperationFailure()
220 case Providers.AUTHORITY_DOWNLOADS: in logFileOperationFailure()
225 case Providers.AUTHORITY_MTP: in logFileOperationFailure()
337 assert(Providers.AUTHORITY_STORAGE.equals(docUri.getAuthority())); in logStorageFileOperationFailure()
340 context.getContentResolver(), Providers.AUTHORITY_STORAGE)) { in logStorageFileOperationFailure()
344 Providers.AUTHORITY_STORAGE, path.getRootId()); in logStorageFileOperationFailure()
366 case Providers.AUTHORITY_MEDIA: in sanitizeRoot()
372 case Providers.ROOT_ID_AUDIO: in sanitizeRoot()
[all …]
DShortcutsUpdater.java26 import com.android.documentsui.base.Providers;
94 if (root.isAdvanced() && root.authority.equals(Providers.AUTHORITY_STORAGE)) { in getDeviceShortcuts()
DAbstractActionHandler.java52 import com.android.documentsui.base.Providers;
513 if (!Providers.isArchiveUri(uri)) { in launchToDocument()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DRootInfo.java266 return Providers.AUTHORITY_STORAGE.equals(authority); in isExternalStorage()
270 return Providers.AUTHORITY_DOWNLOADS.equals(authority); in isDownloads()
274 return Providers.AUTHORITY_MEDIA.equals(authority) in isImages()
275 && Providers.ROOT_ID_IMAGES.equals(rootId); in isImages()
279 return Providers.AUTHORITY_MEDIA.equals(authority) in isVideos()
280 && Providers.ROOT_ID_VIDEOS.equals(rootId); in isVideos()
284 return Providers.AUTHORITY_MEDIA.equals(authority) in isAudio()
285 && Providers.ROOT_ID_AUDIO.equals(rootId); in isAudio()
289 return Providers.AUTHORITY_MTP.equals(authority); in isMtp()
DProviders.java29 public final class Providers { class
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DInternalStorageUiTest.java21 import com.android.documentsui.base.Providers;
47 mClient = mResolver.acquireUnstableContentProviderClient(Providers.AUTHORITY_STORAGE); in setUp()
48 mDocsHelper = new DocumentsProviderHelper(Providers.AUTHORITY_STORAGE, mClient); in setUp()
49 rootPrimary = mDocsHelper.getRoot(Providers.ROOT_ID_DEVICE); in setUp()
DFileCopyUiTest.java19 import static com.android.documentsui.base.Providers.AUTHORITY_STORAGE;
20 import static com.android.documentsui.base.Providers.ROOT_ID_DEVICE;
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DMetricsTest.java10 import com.android.documentsui.base.Providers;
25 "content://" + Providers.AUTHORITY_STORAGE + "/document/primary:")); in logActivityLaunch_storageAuthority_shouldNotCrash()
34 "content://" + Providers.AUTHORITY_MEDIA + "/document/primary:")); in logActivityLaunch_mediaAuthority_shouldNotCrash()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java62 import com.android.documentsui.base.Providers;
528 Uri uri = DocumentsContract.buildRootUri(Providers.AUTHORITY_DOWNLOADS, in launchToDownloads()
529 Providers.ROOT_ID_DOWNLOADS); in launchToDownloads()
713 if (Providers.AUTHORITY_DOWNLOADS.equals(doc.authority)) { in isManagedDownload()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/roots/
DProvidersAccessTest.java24 import com.android.documentsui.base.Providers;
72 downloads.authority = Providers.AUTHORITY_DOWNLOADS; in testMatchingRoots_DirectoryCopy()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDragStartListenerTest.java36 import com.android.documentsui.base.Providers;
70 doc.authority = Providers.AUTHORITY_STORAGE; in setUp()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersCache.java48 import com.android.documentsui.base.Providers;
80 add(Providers.AUTHORITY_MTP);