/libcore/luni/src/main/java/libcore/io/ |
D | DeleteOnExit.java | 51 private final ArrayList<String> files = new ArrayList<String>(); field in DeleteOnExit 63 synchronized (files) { in addFile() 64 if (!files.contains(filename)) { in addFile() 65 files.add(filename); in addFile() 77 Collections.sort(files); in run() 78 for (int i = files.size() - 1; i >= 0; i--) { in run() 79 new File(files.get(i)).delete(); in run()
|
D | IoUtils.java | 129 File[] files = dir.listFiles(); in deleteContents() local 130 if (files != null) { in deleteContents() 131 for (File file : files) { in deleteContents()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 37 String[] files = tempDir.list(); 38 for (int i = 0; i < files.length; i++) { 39 File f = new File(tempDir, files[i]); 41 if (files[i].startsWith("hyts_resources")) 44 if (files[i].startsWith("hyts_") || files[i].startsWith("hyjar_")) 45 new File(tempDir, files[i]).delete(); 50 String files[] = dir.list(); in deleteTempFolder() local 51 for (int i = 0; i < files.length; i++) { in deleteTempFolder() 52 File f = new File(dir, files[i]); in deleteTempFolder()
|
/libcore/luni/src/main/java/java/util/logging/ |
D | FileHandler.java | 130 private File[] files; field in FileHandler 169 files[generation] = new File(parseFileName(generation)); in initOutputFiles() 171 fileName = files[0].getAbsolutePath(); in initOutputFiles() 180 if (files[0].exists() in initOutputFiles() 181 && (!append || files[0].length() >= limit)) { in initOutputFiles() 183 if (files[i].exists()) { in initOutputFiles() 184 files[i].delete(); in initOutputFiles() 186 files[i - 1].renameTo(files[i]); in initOutputFiles() 207 new FileOutputStream(fileName, append)), files[0].length()); in initOutputFiles() 230 files = new File[count]; in initProperties() [all …]
|
/libcore/ |
D | JavaLibrary.mk | 40 define all-main-java-files-under 44 define all-test-java-files-under 53 common_core_src_files := $(call all-main-java-files-under,dalvik dex dom json luni xml) 56 test_src_files := $(call all-test-java-files-under,dalvik dom harmony-tests json luni xml) 60 …common_core_src_files += $(call all-java-files-under, ../external/emma/core ../external/emma/prege… 65 libart_core_src_files += $(common_core_src_files) $(call all-main-java-files-under,libart) 106 LOCAL_SRC_FILES := $(call all-test-java-files-under,support) 119 LOCAL_SRC_FILES := $(call all-test-java-files-under, jsr166-tests) 149 LOCAL_SRC_FILES := $(call all-main-java-files-under, dex) 185 LOCAL_SRC_FILES := $(call all-test-java-files-under,support)
|
D | CaCerts.mk | 20 define all-files-under 42 cacerts := $(call all-files-under,luni/src/main/files/cacerts)
|
D | Docs.mk | 12 $(call find-files-in-subdirs, libcore, \ 15 $(call find-files-in-subdirs, libcore, \
|
D | NOTICE | 40 a copy of this software and associated documentation files (the 75 a copy of this software and associated documentation files (the
|
/libcore/luni/src/test/etc/loading-test2-jar/ |
D | README.txt | 2 dex files, which are included as resources in the luni tests. These 3 files are used for testing the various class loaders. 7 build.sh in this directory, which copies resulting files into the luni
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | README.txt | 2 dex files, which are included as resources in the luni tests. These 3 files are used for testing the various class loaders. 7 build.sh in this directory, which copies resulting files into the luni
|
/libcore/luni/src/test/java/dalvik/system/ |
D | DexClassLoaderTest.java | 82 Configuration(int expectedFiles, File... files) { in Configuration() argument 83 this(DEFAULT_OPTIMIZED_DIR, expectedFiles, files); in Configuration() 86 Configuration(File optimizedDir, int expectedFiles, File... files) { in Configuration() argument 87 assertTrue(files != null && files.length > 0); in Configuration() 91 String path = files[0].getAbsolutePath(); in Configuration() 92 for (int i = 1; i < files.length; i++) { in Configuration() 93 path += File.pathSeparator + files[i].getAbsolutePath(); in Configuration() 122 File[] files = dir.listFiles(); in cleanUpDir() local 123 for (File file : files) { in cleanUpDir()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 42 String files[] = dir.list(); in deleteTempFolder() local 43 if (files != null) { in deleteTempFolder() 44 for (int i = 0; i < files.length; i++) { in deleteTempFolder() 45 File f = new File(dir, files[i]); in deleteTempFolder() 1200 String[] files = { "mtzz1.xx", "mtzz2.xx", "mtzz3.yy", "mtzz4.yy" }; in test_list() local 1217 for (int i = 0; i < files.length; i++) { in test_list() 1218 File f = new File(dir, files[i]); in test_list() 1224 if (flist.length != files.length) { in test_list() 1234 for (int i = 0; i < files.length; i++) { in test_list() 1236 if (flist[j].equals(files[i])) { in test_list() [all …]
|
/libcore/benchmarks/ |
D | Android.mk | 23 LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
/libcore/luni/src/main/java/java/io/ |
D | File.java | 819 File[] files = listFiles(); in listFiles() local 820 if (filter == null || files == null) { in listFiles() 821 return files; in listFiles() 823 List<File> result = new ArrayList<File>(files.length); in listFiles() 824 for (File file : files) { in listFiles()
|
/libcore/luni/ |
D | bouncycastle-license.txt | 5 a copy of this software and associated documentation files (the
|
D | unicode-license.txt | 3 Unicode Data Files include all data files under the directories 23 of the Unicode data files and any associated documentation (the "Data Files") or
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DexPathList.java | 203 private static Element[] makeDexElements(ArrayList<File> files, File optimizedDirectory, in makeDexElements() argument 210 for (File file : files) { in makeDexElements()
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldFileHandlerTest.java | 396 File[] files = file.listFiles(); in reset() local 397 for (int i = 0; i < files.length; i++) { in reset() 398 files[i].delete(); in reset()
|
/libcore/benchmarks/libs/ |
D | caliper.jar.txt | 29 source, and configuration files. 98 (b) You must cause any modified files to carry prominent notices 99 stating that You changed the files; and
|