Home
last modified time | relevance | path

Searched refs:directory (Results 1 – 16 of 16) 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 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/apps/Gallery3D/src/com/cooliris/media/
DImageManager.java139 long dateTaken, Double latitude, Double longitude, String directory, in addImage() argument
144 String filePath = directory + "/" + filename; in addImage()
146 File dir = new File(directory); in addImage()
148 File file = new File(directory, filename); in addImage()
168 long size = new File(directory, filename).length(); in addImage()
290 File directory = new File(directoryName); in checkFsWritable() local
291 if (!directory.isDirectory()) { in checkFsWritable()
292 if (!directory.mkdirs()) { in checkFsWritable()
296 return directory.canWrite(); in checkFsWritable()
DCropImage.java473 File directory = new File(oldPath.getParent()); in saveOutput() local
484 String candidate = directory.toString() + "/" + fileName + "-" + x + ".jpg"; in saveOutput()
504 longitude, directory.toString(), finalFileName, in saveOutput()
/packages/apps/Camera/src/com/android/camera/
DImageManager.java166 Location location, String directory, String filename, in addImage() argument
171 String filePath = directory + "/" + filename; in addImage()
173 File dir = new File(directory); in addImage()
175 File file = new File(directory, filename); in addImage()
195 long size = new File(directory, filename).length(); in addImage()
339 File directory = new File(directoryName); in checkFsWritable() local
340 if (!directory.isDirectory()) { in checkFsWritable()
341 if (!directory.mkdirs()) { in checkFsWritable()
345 return directory.canWrite(); in checkFsWritable()
/packages/experimental/
DREADME1 The packages/experimental/ directory is for NON-SHIPPING code that is
6 >> Every package under this directory must have a README file <<
17 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/apps/Email/tests/src/com/android/exchange/
DEasSyncServiceTests.java75 File directory = getContext().getFilesDir(); in testCreateUniqueFile() local
79 File file = new File(directory, fileNames[i]); in testCreateUniqueFile()
/packages/apps/Contacts/src/com/android/contacts/
DImportVCardActivity.java615 private void getVCardFileRecursively(File directory) in getVCardFileRecursively() argument
622 final File[] files = directory.listFiles(); in getVCardFileRecursively()
624 Log.w(LOG_TAG, "listFiles() returned null (directory: " + directory + ")"); in getVCardFileRecursively()
627 for (File file : directory.listFiles()) { in getVCardFileRecursively()
/packages/apps/Email/src/com/android/exchange/
DEasSyncService.java855 File directory; in createUniqueFileInternal() local
857 directory = mContext.getFilesDir(); in createUniqueFileInternal()
859 directory = new File(dir); in createUniqueFileInternal()
861 if (!directory.exists()) { in createUniqueFileInternal()
862 directory.mkdirs(); in createUniqueFileInternal()
864 File file = new File(directory, filename); in createUniqueFileInternal()
877 file = new File(directory, name + '-' + i + extension); in createUniqueFileInternal()
/packages/apps/Email/src/com/android/email/activity/
DMessageView.java689 /* package */ static File createUniqueFile(File directory, String filename) { in createUniqueFile() argument
690 File file = new File(directory, filename); in createUniqueFile()
706 file = new File(directory, String.format(format, i)); in createUniqueFile()
/packages/apps/Email/src/com/android/email/provider/
DEmailContent.java1757 File directory = Environment.getExternalStorageDirectory(); in createUniqueFile() local
1758 File file = new File(directory, filename); in createUniqueFile()
1771 file = new File(directory, name + '-' + i + extension); in createUniqueFile()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java1302 File directory = Environment.getExternalStorageDirectory(); in testCreateUniqueFile() local
1308 File file = new File(directory, fileNames[i]); in testCreateUniqueFile()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2132 File directory = new File(directoryPath); in ensureFileExists() local
2133 if (!directory.exists()) in ensureFileExists()