Searched refs:createNewDir (Results 1 – 2 of 2) sorted by relevance
116 private static File createNewDir(File parent, String name) { in createNewDir() method in MtpStorageManagerTest123 private static File createNewDir(File parent) { in createNewDir() method in MtpStorageManagerTest124 return createNewDir(parent, "dir-" + UUID.randomUUID().toString()); in createNewDir()131 mainStorageDir = createNewDir(TEMP_DIR_FILE); in before()132 secondaryStorageDir = createNewDir(TEMP_DIR_FILE); in before()233 File newFile = createNewDir(mainStorageDir); in testMtpObjectGetFormatDir()320 File newDir = createNewDir(mainStorageDir); in testMtpObjectGetSizeDir()356 File newFile = createNewFile(createNewDir(createNewDir(mainStorageDir))); in testGetByPath()368 File newFile = createNewFile(createNewDir(createNewDir(mainStorageDir))); in testGetByPathError()379 File newFile = createNewFile(createNewDir(createNewDir(mainStorageDir))); in testGetObject()[all …]
306 private String getDocIdForFileMaybeCreate(File file, boolean createNewDir) in getDocIdForFileMaybeCreate() argument336 if (!file.exists() && createNewDir) { in getDocIdForFileMaybeCreate()