Searched refs:Providers (Results 1 – 13 of 13) sorted by relevance
21 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 …]
37 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 …]
26 import com.android.documentsui.base.Providers;94 if (root.isAdvanced() && root.authority.equals(Providers.AUTHORITY_STORAGE)) { in getDeviceShortcuts()
52 import com.android.documentsui.base.Providers;513 if (!Providers.isArchiveUri(uri)) { in launchToDocument()
266 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()
29 public final class Providers { class
21 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()
19 import static com.android.documentsui.base.Providers.AUTHORITY_STORAGE;20 import static com.android.documentsui.base.Providers.ROOT_ID_DEVICE;
10 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()
62 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()
24 import com.android.documentsui.base.Providers;72 downloads.authority = Providers.AUTHORITY_DOWNLOADS; in testMatchingRoots_DirectoryCopy()
36 import com.android.documentsui.base.Providers;70 doc.authority = Providers.AUTHORITY_STORAGE; in setUp()
48 import com.android.documentsui.base.Providers;80 add(Providers.AUTHORITY_MTP);