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.java261 dirDetails.canCreateDirectory = true; in testOptionMenu_canCreateDirectory()
312 dirDetails.canCreateDirectory = false; in testContextMenu_EmptyArea()
371 dirDetails.canCreateDirectory = true; in testContextMenu_EmptyArea_CanCreateDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMenuManager.java407 public boolean canCreateDirectory() { in canCreateDirectory() method in MenuManager.DirectoryDetails
408 return mActivity.canCreateDirectory(); in canCreateDirectory()
DBaseActivity.java499 protected boolean canCreateDirectory() { in canCreateDirectory() method in BaseActivity
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DMenuManager.java107 createDir.setEnabled(picking() && mDirDetails.canCreateDirectory()); in updateCreateDir()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DMenuManagerTest.java437 dirDetails.canCreateDirectory = true; in testOptionMenu_CanCreateDirectory()
561 dirDetails.canCreateDirectory = true; in testContextMenu_EmptyArea_CanCreateDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DMenuManager.java229 createDir.setEnabled(mDirDetails.canCreateDirectory()); in updateCreateDir()
DFilesActivity.java294 assert(canCreateDirectory()); in onOptionsItemSelected()