Searched refs:Providers (Results 1 – 19 of 19) sorted by relevance
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestProvidersAccess.java | 23 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/ |
D | Metrics.java | 39 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 …]
|
D | ShortcutsUpdater.java | 26 import com.android.documentsui.base.Providers; 91 if (root.isAdvanced() && root.authority.equals(Providers.AUTHORITY_STORAGE)) { in getDeviceShortcuts()
|
D | AbstractActionHandler.java | 55 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()
|
D | DrawerController.java | 33 import com.android.documentsui.base.Providers; 223 mCommonAddons.getSelectedUser(), Providers.AUTHORITY_STORAGE); in onDrawerOpened()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | RootInfo.java | 294 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 …]
|
D | Shared.java | 303 defaultUri = DocumentsContract.buildRootUri(Providers.AUTHORITY_DOWNLOADS, in getDefaultRootUri() 304 Providers.ROOT_ID_DOWNLOADS); in getDefaultRootUri()
|
D | Providers.java | 29 public final class Providers { class
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | InternalStorageUiTest.java | 21 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()
|
D | FileCopyUiTest.java | 19 import static com.android.documentsui.base.Providers.AUTHORITY_STORAGE; 20 import static com.android.documentsui.base.Providers.ROOT_ID_DEVICE;
|
D | ActionCreateDocumentUiTest.java | 21 import static com.android.documentsui.base.Providers.AUTHORITY_STORAGE;
|
D | PickActivityTest.java | 19 import static com.android.documentsui.base.Providers.AUTHORITY_STORAGE;
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | MetricsTest.java | 9 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/ |
D | ProvidersAccessTest.java | 28 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/ |
D | DragStartListenerTest.java | 36 import com.android.documentsui.base.Providers; 70 doc.authority = Providers.AUTHORITY_STORAGE; in setUp()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 60 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/ |
D | ProvidersCache.java | 58 import com.android.documentsui.base.Providers; 89 add(Providers.AUTHORITY_MTP);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsFragment.java | 72 import com.android.documentsui.base.Providers; 534 ((BaseActivity) context).getSelectedUser(), Providers.AUTHORITY_STORAGE); in onResume()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 29 import static com.android.documentsui.base.Providers.AUTHORITY_DOWNLOADS; 30 import static com.android.documentsui.base.Providers.AUTHORITY_STORAGE;
|