/packages/apps/Email/src/org/apache/commons/io/ |
D | DirectoryWalker.java | 350 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 …]
|
D | FileUtils.java | 251 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/ |
D | DeferredFileOutputStream.java | 84 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/Email/tests/src/com/android/exchange/ |
D | EasSyncServiceTests.java | 65 File directory = getContext().getFilesDir(); in testCreateUniqueFile() local 69 File file = new File(directory, fileNames[i]); in testCreateUniqueFile()
|
/packages/apps/Camera/src/com/android/camera/ |
D | ImageManager.java | 233 Location location, String directory, String filename, in addImage() argument 238 String filePath = directory + "/" + filename; in addImage() 240 File dir = new File(directory); in addImage() 242 File file = new File(directory, filename); in addImage() 489 File directory = new File(directoryName); in checkFsWritable() local 490 if (!directory.isDirectory()) { in checkFsWritable() 491 if (!directory.mkdirs()) { in checkFsWritable()
|
D | CropImage.java | 350 File directory = new File(oldPath.getParent()); in saveOutput() local 360 String candidate = directory.toString() in saveOutput() 376 directory.toString(), fileName + "-" + x + ".jpg", in saveOutput()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageManager.java | 233 Location location, String directory, String filename, in addImage() argument 238 String filePath = directory + "/" + filename; in addImage() 240 File dir = new File(directory); in addImage() 242 File file = new File(directory, filename); in addImage() 489 File directory = new File(directoryName); in checkFsWritable() local 490 if (!directory.isDirectory()) { in checkFsWritable() 491 if (!directory.mkdirs()) { in checkFsWritable()
|
D | CropImage.java | 352 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/src/com/android/exchange/ |
D | EasSyncService.java | 269 File directory; in createUniqueFileInternal() local 271 directory = mContext.getFilesDir(); in createUniqueFileInternal() 273 directory = new File(dir); in createUniqueFileInternal() 275 if (!directory.exists()) { in createUniqueFileInternal() 276 directory.mkdirs(); in createUniqueFileInternal() 278 File file = new File(directory, filename); in createUniqueFileInternal() 291 file = new File(directory, name + '-' + i + extension); in createUniqueFileInternal()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ImportVCardActivity.java | 549 private void getVCardFileRecursively(File directory) in getVCardFileRecursively() argument 555 for (File file : directory.listFiles()) { in getVCardFileRecursively()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MessageView.java | 616 /* package */ static File createUniqueFile(File directory, String filename) { in createUniqueFile() argument 617 File file = new File(directory, filename); in createUniqueFile() 633 file = new File(directory, String.format(format, i)); in createUniqueFile()
|
/packages/apps/Email/src/com/android/email/provider/ |
D | EmailContent.java | 1566 File directory = Environment.getExternalStorageDirectory(); in createUniqueFile() local 1567 File file = new File(directory, filename); in createUniqueFile() 1580 file = new File(directory, name + '-' + i + extension); in createUniqueFile()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTests.java | 1090 File directory = Environment.getExternalStorageDirectory(); in testCreateUniqueFile() local 1096 File file = new File(directory, fileNames[i]); in testCreateUniqueFile()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 1654 File directory = new File(directoryPath); in ensureFileExists() local 1655 if (!directory.exists()) in ensureFileExists()
|