Home
last modified time | relevance | path

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

12

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java254 private static void innerListFiles(Collection<File> files, File directory, in innerListFiles() argument
256 File[] found = directory.listFiles((FileFilter) filter); in innerListFiles()
294 File directory, IOFileFilter fileFilter, IOFileFilter dirFilter) { in listFiles() argument
295 if (!directory.isDirectory()) { in listFiles()
318 innerListFiles(files, directory, in listFiles()
341 File directory, IOFileFilter fileFilter, IOFileFilter dirFilter) { in iterateFiles() argument
342 return listFiles(directory, fileFilter, dirFilter).iterator(); in iterateFiles()
373 File directory, String[] extensions, boolean recursive) { in listFiles() argument
381 return listFiles(directory, filter, in listFiles()
398 File directory, String[] extensions, boolean recursive) { in iterateFiles() argument
[all …]
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 …]
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityTest.java105 final File directory =
109 Utility.createUniqueFileInternal(getCountdownFileCreator(), directory, "file");
114 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file");
119 Utility.createUniqueFileInternal(getCountdownFileCreator(), directory, "file.ext");
124 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file.ext");
131 final File directory =
135 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file%s");
139 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file%s.ext");
145 final File directory =
149 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file");
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DPhoneNumberListAdapter.java201 final DirectoryPartition directory = getExtendedDirectoryFromId(directoryId); in configureLoader() local
202 final String contentUri = directory.getContentUri(); in configureLoader()
205 + directory); in configureLoader()
210 String.valueOf(getDirectoryResultLimit(directory))); in configureLoader()
462 final DirectoryPartition directory = (DirectoryPartition) getPartition(partition); in bindView() local
463 bindPhoneNumber(view, cursor, directory.isDisplayNumber(), position); in bindView()
523 final DirectoryPartition directory = (DirectoryPartition) getPartition(partition); in bindWorkProfileIcon() local
524 final long directoryId = directory.getDirectoryId(); in bindWorkProfileIcon()
624 final DirectoryPartition directory = mExtendedDirectories.get(i); in changeDirectories() local
626 addPartition(insertIndex, directory); in changeDirectories()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryGetter.java77 final File directory = new File(DictionaryInfoUtils.getWordListTempDirectory(context)); in getTempFileName() local
78 if (!directory.exists()) { in getTempFileName()
79 if (!directory.mkdirs()) { in getTempFileName()
86 return File.createTempFile("xxx" + safeId, null, directory).getAbsolutePath(); in getTempFileName()
170 for (File directory : directoryList) { in getCachedWordLists()
171 if (!directory.isDirectory()) continue; in getCachedWordLists()
173 DictionaryInfoUtils.getWordListIdFromFileName(directory.getName()); in getCachedWordLists()
176 final File[] wordLists = directory.listFiles(); in getCachedWordLists()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemBase.java142 private void deleteIfEmptyCameraSubDir(File directory) { in deleteIfEmptyCameraSubDir() argument
144 if (!directory.exists() || !directory.isDirectory() || directory.list().length != 0) { in deleteIfEmptyCameraSubDir()
150 String fileParentPathStr = directory.getParentFile().getAbsolutePath(); in deleteIfEmptyCameraSubDir()
156 if(!directory.delete()) { in deleteIfEmptyCameraSubDir()
157 Log.d(TAG, "Failed to delete: " + directory); in deleteIfEmptyCameraSubDir()
/packages/apps/Camera2/src/com/android/camera/util/
DFileUtil.java34 public static boolean deleteDirectoryRecursively(File directory) { in deleteDirectoryRecursively() argument
35 if (!directory.exists() || !directory.isDirectory()) { in deleteDirectoryRecursively()
39 for (File entry : directory.listFiles()) { in deleteDirectoryRecursively()
47 return directory.delete(); in deleteDirectoryRecursively()
/packages/apps/UnifiedEmail/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/utils/
DDictionaryInfoUtils.java247 final File directory = new File(absoluteDirectoryName);
248 if (!directory.exists()) {
249 if (!directory.mkdirs()) {
279 final File directory = new File(stagingDirectory);
280 if (!directory.exists()) {
281 if (!directory.mkdirs()) {
500 for (final File directory : directoryList) {
501 final String localeString = getWordListIdFromFileName(directory.getName());
/packages/apps/Test/connectivity/sl4n/rapidjson/
Dreadme.md73 2. Create directory called `build` in rapidjson source directory.
74 3. Change to `build` directory and run `cmake ..` command to configure your build. Windows users ca…
75 … Windows, build the solution found in the build directory. On Linux, run `make` from the build dir…
78 directory. The generated documentation will be available in `doc/html`
79 directory of the build tree. To run tests after finished build please run `make
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java201 Location location, String directory, String filename, in addImage() argument
206 String filePath = directory + "/" + filename; in addImage()
208 File dir = new File(directory); in addImage()
210 File file = new File(directory, filename); in addImage()
443 File directory = new File(directoryName); in checkFsWritable() local
444 if (!directory.isDirectory()) { in checkFsWritable()
445 if (!directory.mkdirs()) { in checkFsWritable()
/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/Messaging/src/com/android/messaging/util/
DFileUtil.java38 private static synchronized File getNewFile(File directory, String extension, in getNewFile() argument
45 File testFile = new File(directory, newName); in getNewFile()
64 public static File getNewFile(File directory, String contentType) throws IOException { in getNewFile() argument
71 return getNewFile(directory, fileExtension, fileNameFormat); in getNewFile()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in52 # to the output directory.
59 # left blank the current directory will be used.
64 # directories (in 2 levels) under the output directory of each output format and
67 # putting all generated files in the same directory would otherwise causes
158 # If left blank the directory from which doxygen is run is used as the path to
162 # will be relative from the directory where doxygen is started.
681 # Note that if you run doxygen from a directory containing a file called
765 # Note: If this tag is empty the current directory is searched.
818 # subdirectory from a directory tree whose root is specified with the INPUT tag.
820 # Note that relative paths are relative to the directory from which doxygen is
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/CMakeModules/
DFindGTestSrc.cmake19 # Debian installs gtest include directory in /usr/include, thus need to look
20 # for include directory separately from source directory.
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java479 public static File createUniqueFile(File directory, String filename) throws IOException {
480 return createUniqueFileInternal(NewFileCreator.DEFAULT, directory, filename);
484 final File directory, final String filename) throws IOException {
485 final File file = new File(directory, filename);
503 new File(directory, name + "-" + Integer.toString(i) + extension);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuard.java77 final String directory = uri.getQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY); in isCrossProfileAllowed() local
89 if (directory != null) { in isCrossProfileAllowed()
90 final long directoryId = Long.parseLong(directory); in isCrossProfileAllowed()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDataExporter.java101 final File directory = getOutputDirectory(context); in ensureOutputDirectory() local
102 if (!directory.exists()) { in ensureOutputDirectory()
103 directory.mkdir(); in ensureOutputDirectory()
/packages/apps/Dialer/src/com/android/dialer/database/
DVoicemailArchiveProvider.java117 File directory = new File(getFilesDir(), VOICEMAIL_FOLDER); in insert() local
118 directory.mkdirs(); in insert()
125 File voicemailFile = new File(directory, in insert()
/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/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/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java5525 String directory = getQueryParameter(uri, ContactsContract.DIRECTORY_PARAM_KEY); in queryDirectoryIfNecessary() local
5527 (directory == null ? -1 : in queryDirectoryIfNecessary()
5528 (directory.equals("0") ? Directory.DEFAULT : in queryDirectoryIfNecessary()
5529 (directory.equals("1") ? Directory.LOCAL_INVISIBLE : Long.MIN_VALUE))); in queryDirectoryIfNecessary()
5538 directory, cancellationSignal); in queryDirectoryIfNecessary()
5543 final String directory = getQueryParameter(uri, ContactsContract.DIRECTORY_PARAM_KEY); in isDirectoryParamValid() local
5544 if (directory == null) { in isDirectoryParamValid()
5548 Long.parseLong(directory); in isDirectoryParamValid()
5551 Log.e(TAG, "Invalid directory ID: " + directory); in isDirectoryParamValid()
5566 String[] selectionArgs, String sortOrder, String directory, in queryDirectoryAuthority() argument
[all …]
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallerInfo.java319 final String directory = contactRef == null ? null in getCallerInfo() local
321 final Long directoryId = directory == null ? null : Longs.tryParse(directory); in getCallerInfo()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactBrowseListFragment.java444 DirectoryPartition directory = (DirectoryPartition) partition; in checkSelection() local
445 if (directory.getDirectoryId() == mSelectedContactDirectoryId) { in checkSelection()
446 directoryLoading = directory.isLoading(); in checkSelection()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DEmlAttachmentProvider.java482 final File directory = new File(directoryPath); in getFilePath() local
483 if (!directory.exists()) { in getFilePath()
484 directory.mkdirs(); in getFilePath()

12