Home
last modified time | relevance | path

Searched refs:mockProviders (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DGlobalSearchLoaderTest.java102 mEnv.mockProviders.get(TestProvidersAccess.DOWNLOADS.authority) in setUp()
157 mEnv.mockProviders.get(TestProvidersAccess.DOWNLOADS.authority) in testSearchResult_includeDirectory()
176 mEnv.mockProviders.get(TestProvidersAccess.DOWNLOADS.authority) in testShowOrHideHiddenFiles()
214 mEnv.mockProviders.get(TestProvidersAccess.DOWNLOADS.authority) in testSearchResult_includeDirectory_excludedOtherUsers()
219 mEnv.mockProviders.get(TestProvidersAccess.PICKLES.authority) in testSearchResult_includeDirectory_excludedOtherUsers()
246 mEnv.mockProviders.get(TestProvidersAccess.DOWNLOADS.authority) in testSearchResult_includeSearchString()
277 mEnv.mockProviders.get(TestProvidersAccess.PICKLES.authority) in testSearchResult_includeDifferentRoot()
309 mEnv.mockProviders.get(TestProvidersAccess.PICKLES.authority) in testSearchResult_includeCurrentUserRootOnly()
347 mEnv.mockProviders.get(TestProvidersAccess.PICKLES.authority) in testSearchResult_includeBothUsersRoots()
375 mEnv.mockProviders.get(TestProvidersAccess.PICKLES.authority) in testSearchResult_emptyCurrentUsersRoot()
DRecentsLoaderTests.java123 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testDocumentsNotIncludeDirectory()
140 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testShowOrHideHiddenFiles()
159 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testDocumentsNotMovable()
187 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testContentsUpdate_observable()
192 final TestCursor c = (TestCursor) mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testContentsUpdate_observable()
DAbstractActionHandlerTest.java291 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testLoadChildrenDocuments()
323 mEnv.mockProviders.get(TestProvidersAccess.OtherUser.HOME.authority) in testCrossProfileDocuments_success()
421 mEnv.mockProviders.get(TestProvidersAccess.OtherUser.HOME.authority) in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
465 mEnv.mockProviders.get(TestProvidersAccess.HOME.authority) in testLoadChildrenDocuments_failsWithNonRecentsAndEmptyStack()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java86 public final Map<String, TestDocumentsProvider> mockProviders; field in TestEnv
113 mockProviders = new HashMap<>(providers.getRootsBlocking().size()); in TestEnv()
119 if (!mockProviders.containsKey(root.authority)) { in registerProviders()
123 mockProviders.put(root.authority, provider); in registerProviders()