Home
last modified time | relevance | path

Searched refs:testRootInfo (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DMenuManagerTest.java114 private RootInfo testRootInfo; field in MenuManagerTest
199 testRootInfo = new RootInfo(); in setUp()
722 testRootInfo.flags = Root.FLAG_SUPPORTS_CREATE; in testRootContextMenu()
724 mgr.updateRootContextMenu(testMenu, testRootInfo, testDocInfo); in testRootContextMenu()
740 testRootInfo.flags = Root.FLAG_HAS_SETTINGS; in testRootContextMenu_HasRootSettings()
741 mgr.updateRootContextMenu(testMenu, testRootInfo, testDocInfo); in testRootContextMenu_HasRootSettings()
749 mgr.updateRootContextMenu(testMenu, testRootInfo, testDocInfo); in testRootContextMenu_NonWritableRoot()
757 testRootInfo.flags = Root.FLAG_SUPPORTS_CREATE; in testRootContextMenu_NothingToPaste()
760 mgr.updateRootContextMenu(testMenu, testRootInfo, testDocInfo); in testRootContextMenu_NothingToPaste()
768 testRootInfo.flags = Root.FLAG_SUPPORTS_CREATE; in testRootContextMenu_PasteIntoWritableRoot()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java110 private RootInfo testRootInfo; field in MenuManagerTest
167 testRootInfo = new RootInfo(); in setUp()
455 mgr.updateRootContextMenu(testMenu, testRootInfo, testDocInfo); in testRootContextMenu()
465 testRootInfo.flags = Root.FLAG_HAS_SETTINGS; in testRootContextMenu_hasRootSettings()
466 mgr.updateRootContextMenu(testMenu, testRootInfo, testDocInfo); in testRootContextMenu_hasRootSettings()
474 mgr.updateRootContextMenu(testMenu, testRootInfo, testDocInfo); in testRootContextMenu_nonWritableRoot()
481 testRootInfo.flags = Root.FLAG_SUPPORTS_CREATE; in testRootContextMenu_nothingToPaste()
483 mgr.updateRootContextMenu(testMenu, testRootInfo, testDocInfo); in testRootContextMenu_nothingToPaste()
490 testRootInfo.flags = Root.FLAG_SUPPORTS_EJECT; in testRootContextMenu_canEject()
491 mgr.updateRootContextMenu(testMenu, testRootInfo, testDocInfo); in testRootContextMenu_canEject()