Home
last modified time | relevance | path

Searched refs:canCreateDirectory (Results 1 – 8 of 8) sorted by relevance

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDirectoryDetails.java30 public boolean canCreateDirectory; field in TestDirectoryDetails
58 public boolean canCreateDirectory() { in canCreateDirectory() method in TestDirectoryDetails
59 return canCreateDirectory; in canCreateDirectory()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java289 dirDetails.canCreateDirectory = true; in testOptionMenu_canCreateDirectory()
328 dirDetails.canCreateDirectory = false; in testContextMenu_EmptyArea()
376 dirDetails.canCreateDirectory = true; in testContextMenu_EmptyArea_CanCreateDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMenuManager.java438 public boolean canCreateDirectory() { in canCreateDirectory() method in MenuManager.DirectoryDetails
439 return mActivity.canCreateDirectory(); in canCreateDirectory()
DBaseActivity.java560 protected boolean canCreateDirectory() { in canCreateDirectory() method in BaseActivity
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DMenuManager.java131 Menus.setEnabledAndVisible(createDir, picking() && mDirDetails.canCreateDirectory());
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DMenuManagerTest.java446 dirDetails.canCreateDirectory = true; in testOptionMenu_CanCreateDirectory()
568 dirDetails.canCreateDirectory = true; in testContextMenu_EmptyArea_CanCreateDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java308 assert(canCreateDirectory()); in onOptionsItemSelected()
DMenuManager.java239 Menus.setEnabledAndVisible(createDir, mDirDetails.canCreateDirectory());