Home
last modified time | relevance | path

Searched refs:createDir (Results 1 – 5 of 5) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DMenuManager.java128 protected void updateCreateDir(MenuItem createDir) {
129 createDir.setShowAsAction(picking()
131 Menus.setEnabledAndVisible(createDir, picking() && mDirDetails.canCreateDirectory());
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
DDocumentStackTest.java55 DIR_1 = createDir("first");
56 DIR_2 = createDir("second");
59 private static DocumentInfo createDir(String docId) { in createDir() method in DocumentStackTest
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMenuManager.java228 MenuItem createDir = menu.findItem(R.id.dir_menu_create_dir); in updateContextMenuForContainer() local
235 updateCreateDir(createDir); in updateContextMenuForContainer()
384 protected abstract void updateCreateDir(MenuItem createDir); in updateCreateDir() argument
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DMenuManager.java238 protected void updateCreateDir(MenuItem createDir) {
239 Menus.setEnabledAndVisible(createDir, mDirDetails.canCreateDirectory());
/packages/modules/Profiling/service/java/com/android/os/profiling/
DRateLimiter.java541 if (createDir(mPersistStoreDir)) { in setupPersistFiles()
548 private static boolean createDir(File dir) throws SecurityException { in createDir() method in RateLimiter