Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestProvidersAccess.java23 import com.android.documentsui.base.Providers;
63 DOWNLOADS.authority = Providers.AUTHORITY_DOWNLOADS;
64 DOWNLOADS.rootId = Providers.ROOT_ID_DOWNLOADS;
73 HOME.authority = Providers.AUTHORITY_STORAGE;
74 HOME.rootId = Providers.ROOT_ID_HOME;
118 IMAGE.authority = Providers.AUTHORITY_MEDIA;
119 IMAGE.rootId = Providers.ROOT_ID_IMAGES;
125 AUDIO.authority = Providers.AUTHORITY_MEDIA;
126 AUDIO.rootId = Providers.ROOT_ID_AUDIO;
132 VIDEO.authority = Providers.AUTHORITY_MEDIA;
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetrics.java39 import com.android.documentsui.base.Providers;
234 case Providers.AUTHORITY_MEDIA: in logFileOperationFailure()
239 case Providers.AUTHORITY_STORAGE: in logFileOperationFailure()
242 case Providers.AUTHORITY_DOWNLOADS: in logFileOperationFailure()
247 case Providers.AUTHORITY_MTP: in logFileOperationFailure()
370 assert(Providers.AUTHORITY_STORAGE.equals(docUri.getAuthority())); in logStorageFileOperationFailure()
373 context.getContentResolver(), Providers.AUTHORITY_STORAGE)) { in logStorageFileOperationFailure()
377 Providers.AUTHORITY_STORAGE, path.getRootId()); in logStorageFileOperationFailure()
399 case Providers.AUTHORITY_MEDIA: in sanitizeRoot()
405 case Providers.ROOT_ID_AUDIO: in sanitizeRoot()
[all …]
DShortcutsUpdater.java26 import com.android.documentsui.base.Providers;
91 if (root.isAdvanced() && root.authority.equals(Providers.AUTHORITY_STORAGE)) { in getDeviceShortcuts()
DAbstractActionHandler.java55 import com.android.documentsui.base.Providers;
538 if (Providers.AUTHORITY_DOWNLOADS.equals(doc.authority)) { in isManagedDownload()
775 if (!Providers.isArchiveUri(uri)) { in launchToDocument()
828 loadRoot(DocumentsContract.buildRootUri(Providers.AUTHORITY_STORAGE, in loadDeviceRoot()
829 Providers.ROOT_ID_DEVICE), UserId.DEFAULT_USER); in loadDeviceRoot()
DDrawerController.java33 import com.android.documentsui.base.Providers;
223 mCommonAddons.getSelectedUser(), Providers.AUTHORITY_STORAGE); in onDrawerOpened()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DRootInfo.java294 return Providers.AUTHORITY_BUGREPORT.equals(authority); in isBugReport()
312 return Providers.AUTHORITY_STORAGE.equals(authority); in isExternalStorage()
316 return Providers.AUTHORITY_DOWNLOADS.equals(authority); in isDownloads()
320 return Providers.AUTHORITY_MEDIA.equals(authority) in isImages()
321 && Providers.ROOT_ID_IMAGES.equals(rootId); in isImages()
325 return Providers.AUTHORITY_MEDIA.equals(authority) in isVideos()
326 && Providers.ROOT_ID_VIDEOS.equals(rootId); in isVideos()
330 return Providers.AUTHORITY_MEDIA.equals(authority) in isAudio()
331 && Providers.ROOT_ID_AUDIO.equals(rootId); in isAudio()
335 return Providers.AUTHORITY_MEDIA.equals(authority) in isDocuments()
[all …]
DShared.java303 defaultUri = DocumentsContract.buildRootUri(Providers.AUTHORITY_DOWNLOADS, in getDefaultRootUri()
304 Providers.ROOT_ID_DOWNLOADS); in getDefaultRootUri()
DProviders.java29 public final class Providers { class
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DInternalStorageUiTest.java21 import com.android.documentsui.base.Providers;
46 mDocsHelper = new DocumentsProviderHelper(userId, Providers.AUTHORITY_STORAGE, context, in setUp()
47 Providers.AUTHORITY_STORAGE); in setUp()
48 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;
DActionCreateDocumentUiTest.java21 import static com.android.documentsui.base.Providers.AUTHORITY_STORAGE;
DPickActivityTest.java19 import static com.android.documentsui.base.Providers.AUTHORITY_STORAGE;
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DMetricsTest.java9 import com.android.documentsui.base.Providers;
24 "content://" + Providers.AUTHORITY_STORAGE + "/document/primary:")); in logActivityLaunch_storageAuthority_shouldNotCrash()
33 "content://" + Providers.AUTHORITY_MEDIA + "/document/primary:")); in logActivityLaunch_mediaAuthority_shouldNotCrash()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/roots/
DProvidersAccessTest.java28 import com.android.documentsui.base.Providers;
156 downloads.authority = Providers.AUTHORITY_DOWNLOADS; in testDefaultRoot()
164 storage.authority = Providers.AUTHORITY_STORAGE; in testDefaultRoot_openDocumentTree()
/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/files/
DActionHandler.java60 import com.android.documentsui.base.Providers;
528 Uri uri = DocumentsContract.buildRootUri(Providers.AUTHORITY_DOWNLOADS, in launchToDownloads()
529 Providers.ROOT_ID_DOWNLOADS); in launchToDownloads()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersCache.java58 import com.android.documentsui.base.Providers;
89 add(Providers.AUTHORITY_MTP);
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java72 import com.android.documentsui.base.Providers;
534 ((BaseActivity) context).getSelectedUser(), Providers.AUTHORITY_STORAGE); in onResume()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java29 import static com.android.documentsui.base.Providers.AUTHORITY_DOWNLOADS;
30 import static com.android.documentsui.base.Providers.AUTHORITY_STORAGE;