Searched refs:HAMMY (Results 1 – 7 of 7) sorted by relevance
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestProvidersAccess.java | 44 public static final RootInfo HAMMY; field in TestProvidersAccess 82 HAMMY = new RootInfo(); 83 HAMMY.userId = userId; 84 HAMMY.authority = "yummies"; 85 HAMMY.rootId = "hamsandwich"; 86 HAMMY.title = "Ham Sandwich"; 87 HAMMY.derivedType = RootInfo.TYPE_LOCAL; 88 HAMMY.flags = Root.FLAG_LOCAL_ONLY; 299 add(HAMMY); in TestProvidersAccess() 315 pm.addStubContentProviderForRoot(TestProvidersAccess.HAMMY); in configurePm()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/ |
D | RootsFragmentTest.java | 77 TestProvidersAccess.HAMMY.title, 136 rootList.add(new RootItem(TestProvidersAccess.HAMMY, null /* actionHandler */, in testItemComparator_WithCorrectOrder() 145 assertEquals(rootList.get(1).title, TestProvidersAccess.HAMMY.title); in testItemComparator_WithCorrectOrder() 154 rootList.add(new RootItem(TestProvidersAccess.HAMMY, null /* actionHandler */, in testItemComparator_differentItemTypes_WithCorrectOrder() 167 assertEquals(rootList.get(0).title, TestProvidersAccess.HAMMY.title); in testItemComparator_differentItemTypes_WithCorrectOrder() 189 fakeRootInfoList.add(TestProvidersAccess.HAMMY); in createFakeRootInfoList()
|
D | RootItemListBuilderTest.java | 45 new RootItem(TestProvidersAccess.HAMMY, null, false);
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | AppsRowManagerTest.java | 204 rootList.add(new RootItem(TestProvidersAccess.HAMMY, mActionHandler, mMaybeShowBadge)); in testUpdateView_showSelectedUserItems() 229 rootList.add(new RootItem(TestProvidersAccess.HAMMY, mActionHandler, mMaybeShowBadge)); in testUpdateView_showSelectedUserItems_otherUser() 296 rootList.add(new RootItem(TestProvidersAccess.HAMMY, mActionHandler, mMaybeShowBadge)); in testUpdateView_crossProfileSearch_hideRow() 318 rootList.add(new RootItem(TestProvidersAccess.HAMMY, mActionHandler, mMaybeShowBadge)); in testUpdateView_notCrossProfileSearch_showRow() 340 rootList.add(new RootItem(TestProvidersAccess.HAMMY, mActionHandler, mMaybeShowBadge)); in testUpdateView_noItemsOnSelectedUser_hideRow()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 222 assertFalse(mManager.canSpringOpen(TestProvidersAccess.HAMMY, TestEnv.FOLDER_2)); in testCanSpringOpen_ReturnsFalse_RootNotSupportCreate() 315 mUpdateShadowView, TestProvidersAccess.HAMMY, TestEnv.FOLDER_2); in testUpdateState_UpdatesToNotAllowed_RootNotSupportCreate() 635 mManager.updateState(mUpdateShadowView, TestProvidersAccess.HAMMY, TestEnv.FOLDER_1); in testDrop_Rejects_RootNotSupportCreate_DropOnRoot() 638 mClipData, mManager, TestProvidersAccess.HAMMY, mActions, mCallback)); in testDrop_Rejects_RootNotSupportCreate_DropOnRoot() 780 mManager.updateState(mUpdateShadowView, TestProvidersAccess.HAMMY, TestEnv.FOLDER_2); in testDrop_Rejects_RootNotSupportCreate_DropOnDocument() 783 TestProvidersAccess.HAMMY, TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testDrop_Rejects_RootNotSupportCreate_DropOnDocument()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 457 mEnv.state.stack.changeRoot(TestProvidersAccess.HAMMY); in testInitLocation_LoadsRootDocIfStackOnlyHasRoot() 460 assertRootPicked(TestProvidersAccess.HAMMY.getUri()); in testInitLocation_LoadsRootDocIfStackOnlyHasRoot() 476 intent.setData(DocumentsContract.buildRootsUri(TestProvidersAccess.HAMMY.authority)); in testInitLocation_BrowseRootWithoutRootId() 479 assertRootPicked(TestProvidersAccess.HAMMY.getUri()); in testInitLocation_BrowseRootWithoutRootId()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | ActionHandlerTest.java | 178 mEnv.state.stack.changeRoot(TestProvidersAccess.HAMMY); in testInitLocation_LoadsRootDocIfStackOnlyHasRoot() 181 assertRootPicked(TestProvidersAccess.HAMMY.getUri()); in testInitLocation_LoadsRootDocIfStackOnlyHasRoot() 227 new DocumentStack(TestProvidersAccess.HAMMY, TestEnv.FOLDER_0, TestEnv.FOLDER_1); in testInitLocation_RestoresLastAccessedStack()
|