Home
last modified time | relevance | path

Searched refs:directory (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Email/src/org/apache/commons/io/
DDirectoryWalker.java350 private void walk(File directory, int depth, Collection results) throws IOException { in walk() argument
351 checkIfCancelled(directory, depth, results); in walk()
352 if (handleDirectory(directory, depth, results)) { in walk()
353 handleDirectoryStart(directory, depth, results); in walk()
356 checkIfCancelled(directory, depth, results); in walk()
357 … File[] childFiles = (filter == null ? directory.listFiles() : directory.listFiles(filter)); in walk()
359 handleRestricted(directory, childDepth, results); in walk()
373 handleDirectoryEnd(directory, depth, results); in walk()
375 checkIfCancelled(directory, depth, results); in walk()
488 …protected boolean handleDirectory(File directory, int depth, Collection results) throws IOExceptio… in handleDirectory() argument
[all …]
DFileUtils.java251 private static void innerListFiles(Collection<File> files, File directory, in innerListFiles() argument
253 File[] found = directory.listFiles((FileFilter) filter); in innerListFiles()
291 File directory, IOFileFilter fileFilter, IOFileFilter dirFilter) { in listFiles() argument
292 if (!directory.isDirectory()) { in listFiles()
315 innerListFiles(files, directory, in listFiles()
338 File directory, IOFileFilter fileFilter, IOFileFilter dirFilter) { in iterateFiles() argument
339 return listFiles(directory, fileFilter, dirFilter).iterator(); in iterateFiles()
370 File directory, String[] extensions, boolean recursive) { in listFiles() argument
378 return listFiles(directory, filter, in listFiles()
395 File directory, String[] extensions, boolean recursive) { in iterateFiles() argument
[all …]
/packages/apps/Email/src/org/apache/commons/io/output/
DDeferredFileOutputStream.java84 private File directory; field in DeferredFileOutputStream
123 public DeferredFileOutputStream(int threshold, String prefix, String suffix, File directory) in DeferredFileOutputStream() argument
131 this.directory = directory; in DeferredFileOutputStream()
163 outputFile = File.createTempFile(prefix, suffix, directory); in thresholdReached()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryGetter.java137 final File directory = new File(absoluteDirectoryName); in getCacheDirectoryForLocale() local
138 if (!directory.exists()) { in getCacheDirectoryForLocale()
139 if (!directory.mkdirs()) { in getCacheDirectoryForLocale()
280 for (File directory : directoryList) { in getCachedWordLists()
281 if (!directory.isDirectory()) continue; in getCachedWordLists()
282 final String dirLocale = getWordListIdFromFileName(directory.getName()); in getCachedWordLists()
285 final File[] wordLists = directory.listFiles(); in getCachedWordLists()
319 for (File directory : directoryList) { in removeFilesWithIdExcept()
321 if (!directory.isDirectory()) continue; in removeFilesWithIdExcept()
322 final File[] wordLists = directory.listFiles(); in removeFilesWithIdExcept()
/packages/experimental/
DREADME1 The packages/experimental/ directory is for NON-SHIPPING code that is
6 This directory, and all subdirectories, are public and published as
9 >> Every package under this directory must have a README file <<
20 Like a communal fridge, this directory will be cleaned periodically.
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java204 Location location, String directory, String filename, in addImage() argument
209 String filePath = directory + "/" + filename; in addImage()
211 File dir = new File(directory); in addImage()
213 File file = new File(directory, filename); in addImage()
457 File directory = new File(directoryName); in checkFsWritable() local
458 if (!directory.isDirectory()) { in checkFsWritable()
459 if (!directory.mkdirs()) { in checkFsWritable()
DCropImage.java352 File directory = new File(oldPath.getParent()); in saveOutput() local
362 String candidate = directory.toString() in saveOutput()
378 directory.toString(), fileName + "-" + x + ".jpg", in saveOutput()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDataExporter.java89 final File directory = getOutputDirectory(context); in ensureOutputDirectory() local
90 if (!directory.exists()) { in ensureOutputDirectory()
91 directory.mkdir(); in ensureOutputDirectory()
/packages/providers/CalendarProvider/tests/
DEMMA_README4 # directory, if any, will be removed.
21 # NOTE: interrupting execution may leave you in a different directory
/packages/apps/Contacts/src/com/android/contacts/list/
DContactBrowseListFragment.java457 DirectoryPartition directory = (DirectoryPartition) partition; in checkSelection() local
458 if (directory.getDirectoryId() == mSelectedContactDirectoryId) { in checkSelection()
459 directoryLoading = directory.isLoading(); in checkSelection()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DImportVCardActivity.java668 private void getVCardFileRecursively(File directory) in getVCardFileRecursively() argument
675 final File[] files = directory.listFiles(); in getVCardFileRecursively()
677 final String currentDirectoryPath = directory.getCanonicalPath(); in getVCardFileRecursively()
681 Log.w(LOG_TAG, "listFiles() returned null (directory: " + directory + ")"); in getVCardFileRecursively()
685 for (File file : directory.listFiles()) { in getVCardFileRecursively()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java576 public static File createUniqueFile(File directory, String filename) throws IOException {
577 return createUniqueFileInternal(NewFileCreator.DEFAULT, directory, filename);
581 File directory, String filename) throws IOException {
582 File file = new File(directory, filename);
598 file = new File(directory, String.format(format, i));
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile39 # where doxygen was started. If left blank the current directory will be used.
44 # 4096 sub-directories (in 2 levels) under the output directory of each output
47 # source files, where putting all generated files in the same directory would
124 # If left blank the directory from which doxygen is run is used as the
491 # then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
644 # subdirectory from a directory tree whose root is specified with the INPUT tag.
836 # the style sheet file to the HTML output directory, so don't put your own
837 # stylesheet in the HTML output directory as well, or it will be erased!
859 # HTML output directory. Running make will produce the docset in that
860 # directory and running "make install" will install the docset in
[all …]
/packages/apps/Camera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile39 # where doxygen was started. If left blank the current directory will be used.
44 # 4096 sub-directories (in 2 levels) under the output directory of each output
47 # source files, where putting all generated files in the same directory would
124 # If left blank the directory from which doxygen is run is used as the
491 # then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
644 # subdirectory from a directory tree whose root is specified with the INPUT tag.
836 # the style sheet file to the HTML output directory, so don't put your own
837 # stylesheet in the HTML output directory as well, or it will be erased!
859 # HTML output directory. Running make will produce the docset in that
860 # directory and running "make install" will install the docset in
[all …]
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile39 # where doxygen was started. If left blank the current directory will be used.
44 # 4096 sub-directories (in 2 levels) under the output directory of each output
47 # source files, where putting all generated files in the same directory would
124 # If left blank the directory from which doxygen is run is used as the
491 # then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
644 # subdirectory from a directory tree whose root is specified with the INPUT tag.
836 # the style sheet file to the HTML output directory, so don't put your own
837 # stylesheet in the HTML output directory as well, or it will be erased!
859 # HTML output directory. Running make will produce the docset in that
860 # directory and running "make install" will install the docset in
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile39 # where doxygen was started. If left blank the current directory will be used.
44 # 4096 sub-directories (in 2 levels) under the output directory of each output
47 # source files, where putting all generated files in the same directory would
124 # If left blank the directory from which doxygen is run is used as the
491 # then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
644 # subdirectory from a directory tree whose root is specified with the INPUT tag.
836 # the style sheet file to the HTML output directory, so don't put your own
837 # stylesheet in the HTML output directory as well, or it will be erased!
859 # HTML output directory. Running make will produce the docset in that
860 # directory and running "make install" will install the docset in
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCropImage.java341 JobContext jc, Bitmap cropped, File directory, String filename, ExifData exifData) { in saveMedia() argument
347 candidate = new File(directory, filename + "-" + i + "." in saveMedia()
480 File directory = new File(oldPath.getParent()); in saveLocalImage() local
494 output = saveMedia(jc, cropped, directory, filename, exifData); in saveLocalImage()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java456 public static Uri createTempEmlFile(Context context, Message msg, File directory) in createTempEmlFile() argument
459 File outputFile = File.createTempFile("message", "tmp", directory); in createTempEmlFile()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java1255 File directory = Environment.getExternalStorageDirectory(); in createUniqueFile() local
1256 File file = new File(directory, filename); in createUniqueFile()
1269 file = new File(directory, name + '-' + i + extension); in createUniqueFile()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java4778 String directory = getQueryParameter(uri, ContactsContract.DIRECTORY_PARAM_KEY); in query() local
4779 if (directory == null) { in query()
4783 } else if (directory.equals("0")) { in query()
4787 } else if (directory.equals("1")) { in query()
4793 DirectoryInfo directoryInfo = getDirectoryAuthority(directory); in query()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java3599 File directory = new File(directoryPath); in ensureFileExists() local
3600 if (!directory.exists()) in ensureFileExists()