Searched refs:PICKLES (Results 1 – 8 of 8) sorted by relevance
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | GlobalSearchLoaderTest.java | 115 TestProvidersAccess.PICKLES.flags |= DocumentsContract.Root.FLAG_LOCAL_ONLY; in testNotSearchableRoot_beIgnored() 116 assertTrue(mLoader.shouldIgnoreRoot(TestProvidersAccess.PICKLES)); in testNotSearchableRoot_beIgnored() 117 TestProvidersAccess.PICKLES.flags &= ~DocumentsContract.Root.FLAG_LOCAL_ONLY; in testNotSearchableRoot_beIgnored() 123 TestProvidersAccess.PICKLES.flags |= DocumentsContract.Root.FLAG_SUPPORTS_SEARCH; in testNotLocalOnlyRoot_beIgnored() 124 assertTrue(mLoader.shouldIgnoreRoot(TestProvidersAccess.PICKLES)); in testNotLocalOnlyRoot_beIgnored() 125 TestProvidersAccess.PICKLES.flags &= ~DocumentsContract.Root.FLAG_SUPPORTS_SEARCH; in testNotLocalOnlyRoot_beIgnored() 207 TestProvidersAccess.PICKLES.userId = TestProvidersAccess.OtherUser.USER_ID; in testSearchResult_includeDirectory_excludedOtherUsers() 208 TestProvidersAccess.PICKLES.flags |= (DocumentsContract.Root.FLAG_SUPPORTS_SEARCH in testSearchResult_includeDirectory_excludedOtherUsers() 219 mEnv.mockProviders.get(TestProvidersAccess.PICKLES.authority) in testSearchResult_includeDirectory_excludedOtherUsers() 231 TestProvidersAccess.PICKLES.userId = TestProvidersAccess.USER_ID; in testSearchResult_includeDirectory_excludedOtherUsers() [all …]
|
D | RecentsLoaderTests.java | 105 assertTrue(mLoader.shouldIgnoreRoot(TestProvidersAccess.PICKLES)); in testNotLocalOnlyRoot_beIgnored()
|
D | ProfileTabsTest.java | 192 mState.stack.changeRoot(TestProvidersAccess.PICKLES); in testUpdateView_twoUsers_thirdParty_shouldHide()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestProvidersAccess.java | 45 public static final RootInfo PICKLES; field in TestProvidersAccess 90 PICKLES = new RootInfo(); 91 PICKLES.userId = userId; 92 PICKLES.authority = "yummies"; 93 PICKLES.rootId = "pickles"; 94 PICKLES.title = "Pickles"; 95 PICKLES.summary = "Yummy pickles"; 179 public static final RootInfo PICKLES; field in TestProvidersAccess.OtherUser 213 PICKLES = new RootInfo(); 214 PICKLES.userId = userId; [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | AppsRowManagerTest.java | 141 rootList.add(new RootItem(TestProvidersAccess.PICKLES, mActionHandler, mMaybeShowBadge)); in testUpdateList_byRootItem() 142 rootList.add(new RootItem(TestProvidersAccess.PICKLES, mActionHandler, "packageName", in testUpdateList_byRootItem() 144 rootList.add(new RootItem(TestProvidersAccess.PICKLES, mActionHandler, "packageName", in testUpdateList_byRootItem() 152 assertEquals(TestProvidersAccess.PICKLES.title, chipDataList.get(1).getTitle()); in testUpdateList_byRootItem() 154 assertEquals(TestProvidersAccess.PICKLES.summary, chipDataList.get(2).getSummary()); in testUpdateList_byRootItem() 155 assertEquals(TestProvidersAccess.PICKLES.summary, chipDataList.get(3).getSummary()); in testUpdateList_byRootItem() 168 hybridList.add(new AppItem(info, TestProvidersAccess.PICKLES.title, UserId.DEFAULT_USER, in testUpdateList_byHybridItem() 176 assertEquals(TestProvidersAccess.PICKLES.title, chipDataList.get(1).getTitle()); in testUpdateList_byHybridItem() 208 rootList.add(new RootItem(TestProvidersAccess.OtherUser.PICKLES, mActionHandler, in testUpdateView_showSelectedUserItems() 233 rootList.add(new RootItem(TestProvidersAccess.OtherUser.PICKLES, mActionHandler, in testUpdateView_showSelectedUserItems_otherUser() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/ |
D | RootsFragmentTest.java | 80 TestProvidersAccess.PICKLES.title}; 140 rootList.add(new RootItem(TestProvidersAccess.PICKLES, null /* actionHandler */, in testItemComparator_WithCorrectOrder() 144 assertEquals(rootList.get(0).title, TestProvidersAccess.PICKLES.title); in testItemComparator_WithCorrectOrder() 160 rootList.add(new AppItem(info, TestProvidersAccess.PICKLES.title, UserId.DEFAULT_USER, in testItemComparator_differentItemTypes_WithCorrectOrder() 169 assertEquals(rootList.get(2).title, TestProvidersAccess.PICKLES.title); in testItemComparator_differentItemTypes_WithCorrectOrder() 188 fakeRootInfoList.add(TestProvidersAccess.PICKLES); in createFakeRootInfoList()
|
D | RootItemListBuilderTest.java | 51 new RootItem(TestProvidersAccess.PICKLES, null, false); 62 new RootItem(TestProvidersAccess.OtherUser.PICKLES, null, false);
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 498 intent.setData(TestProvidersAccess.PICKLES.getUri()); in testInitLocation_BrowseRoot() 501 assertRootPicked(TestProvidersAccess.PICKLES.getUri()); in testInitLocation_BrowseRoot() 698 mActivity.currentRoot = TestProvidersAccess.PICKLES; in testShowInspector_OverridesRootDocumentName() 711 TestProvidersAccess.PICKLES.title, in testShowInspector_OverridesRootDocumentName() 717 mActivity.currentRoot = TestProvidersAccess.PICKLES; in testShowInspector_OverridesRootDocumentNameX()
|