/libcore/ojluni/src/main/java/java/io/ |
H A D | DeleteOnExitHook.java | 37 private static LinkedHashSet<String> files = new LinkedHashSet<>(); field in class:DeleteOnExitHook 52 if(files == null) { 57 files.add(file); 64 theFiles = files; 65 files = null;
|
H A D | File.java | 40 * strings</em> to name files and directories. This class presents an 213 * separate filenames in a sequence of files given as a <em>path list</em>. 994 * so calling this method will not ensure that files are deleted</i>. Instead, you should 998 * <li>Maintain your own set of files to delete, and process it at an appropriate point 1026 * Returns an array of strings naming the files and directories in the 1040 * @return An array of strings naming the files and directories in the 1063 * Returns an array of strings naming the files and directories in the 1077 * @return An array of strings naming the files and directories in the 1105 * Returns an array of abstract pathnames denoting the files in the 1123 * @return An array of abstract pathnames denoting the files an [all...] |
/libcore/luni/src/test/java/dalvik/system/ |
H A D | DexClassLoaderTest.java | 71 File[] files = dir.listFiles(); 72 for (File file : files) { 111 * @param files The .dex or .jar files to use for the class path. 113 private ClassLoader createLoader(File... files) { argument 114 assertNotNull(files); 115 assertTrue(files.length > 0); 116 String path = files[0].getAbsolutePath(); 117 for (int i = 1; i < files.length; i++) { 118 path += File.pathSeparator + files[ 133 createLoaderAndCallMethod( String className, String methodName, File... files) argument 150 createLoaderAndGetResource(String resourceName, File... files) argument [all...] |
/libcore/ |
H A D | Docs.mk | 4 # Exports: libcore_to_document as a list of .java files relative to libcore/. 12 # List of libcore javadoc source files 17 $(call find-files-in-subdirs, external/icu, \ 26 # List of libcore-related javadoc source files 28 # NOTE: Because libcore-related source spans modules (not just libcore!), files names here are
|
H A D | JavaLibrary.mk | 32 # resources/ # Support files. 36 # resources/ # Support files. 43 define all-test-java-files-under 51 # The Java files and their associated resources. 56 test_src_files := $(call all-test-java-files-under,dalvik dom harmony-tests json luni xml) 57 ojtest_src_files := $(call all-test-java-files-under,ojluni) 61 nojcore_src_files += $(call all-java-files-under, ../external/emma/core ../external/emma/pregenerated) 77 android_icu4j_src_files := $(call all-java-files-under,$(android_icu4j_root)/src/main/java) 209 LOCAL_SRC_FILES := $(call all-test-java-files-under,support) 223 LOCAL_SRC_FILES := $(call all-test-java-files [all...] |
H A D | NativeCode.mk | 59 # sub.mk files don't see anything stray from the last rule that was 73 # Include the sub.mk files.
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldFileTest.java | 35 // Delete all old temporary files 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(); 51 for (int i = 0; i < files [all...] |
H A D | FileTest.java | 293 File[] files = base.listFiles(); 294 assertEquals(1, files.length); 295 assertEquals("dir_\uD80C\uDC00", files[0].getName()); 297 files = subDir.listFiles(); 298 assertEquals(1, files.length); 299 assertEquals("file_\uD80C\uDC00", files[0].getName());
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
H A D | FileURLConnection.java | 62 List<String> files; field in class:FileURLConnection 87 files = Arrays.<String>asList(fileList); 196 if (files == null) { 200 Collections.sort(files, Collator.getInstance()); 202 for (int i = 0 ; i < files.size() ; i++) { 203 String fileName = files.get(i);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | FileTest.java | 42 String files[] = dir.list(); 43 if (files != null) { 44 for (int i = 0; i < files.length; i++) { 45 File f = new File(dir, files[i]); 335 assertEquals("Equal files did not answer zero for compareTo", 0, f1 468 // Testing two files, one with suffix ".tmp" and one with null 1116 // On Unix hidden files are marked with a "." at the beginning 1122 // We can still delete hidden files. 1173 // Old test left behind "garbage files" so this time it creates a 1196 String[] files [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | JarIndex.java | 35 * and resources to their enclosing JAR files. Mappings are kept 36 * at the package level except for class or resource files that 71 * If true, the names of the files in META-INF, and its subdirectories, will 96 * Constructs a new index for the specified list of jar files. 98 * @param files the list of jar files to construct the index from. 100 public JarIndex(String[] files) throws IOException { argument 102 this.jarFiles = files; 103 parseJars(files); 143 * Returns the jar files tha 226 parseJars(String[] files) argument [all...] |
/libcore/tzdata/ |
H A D | Android.mk | 25 LOCAL_SRC_FILES := $(call all-java-files-under, tools/src/main) 36 LOCAL_SRC_FILES := $(call all-java-files-under, update/src/main) 45 LOCAL_SRC_FILES := $(call all-java-files-under, update/src/test)
|
/libcore/ojluni/src/main/java/java/util/logging/ |
H A D | FileHandler.java | 38 * or it can write to a rotating set of files. 40 * For a rotating set of files, as each file reaches a given size 42 * Successively older files are named by adding "0", "1", "2", 72 * specifies how many output files to cycle through (defaults to 1). 78 * any existing files (defaults to false). 97 * would typically cause log files to be written on Solaris to 129 private File files[]; field in class:FileHandler 218 * @exception IOException if there are IO problems opening the files. 241 * @exception IOException if there are IO problems opening the files. 273 * @exception IOException if there are IO problems opening the files [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | DexPathList.java | 92 * @param optimizedDirectory directory where optimized {@code .dex} files 134 // 1.2. Path to libraries in apk-files 180 * @param optimizedDirectory directory where optimized {@code .dex} files 219 * and readable files. 260 private static Element[] makeDexElements(List<File> files, File optimizedDirectory, argument 263 return makeElements(files, optimizedDirectory, suppressedExceptions, false, loader); 269 private static Element[] makePathElements(List<File> files, argument 272 return makeElements(files, null, suppressedExceptions, true, loader); 279 private static Element[] makePathElements(List<File> files, File optimizedDirectory, argument 281 return makeElements(files, optimizedDirector 284 makeElements(List<File> files, File optimizedDirectory, List<IOException> suppressedExceptions, boolean ignoreDexFiles, ClassLoader loader) argument [all...] |
/libcore/luni/src/main/java/libcore/io/ |
H A D | IoUtils.java | 127 File[] files = dir.listFiles(); 128 if (files != null) { 129 for (File file : files) { 185 * For the case where we know the "true" length of a file (most ordinary files)
|
/libcore/benchmarks/ |
H A D | Android.mk | 23 LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
/libcore/tzdata/update/src/test/libcore/tzdata/update/ |
H A D | ConfigBundleTest.java | 42 // Delete files / directories in reverse order. 121 private static void assertFilesExist(File... files) { argument 122 for (File f : files) {
|
H A D | FileUtilsTest.java | 204 // Only files and symlinks supported. We do not delete directories. 280 private static void assertFilesDoNotExist(File... files) { argument 281 for (File f : files) { 286 private static void assertFilesExist(File... files) { argument 287 for (File f : files) {
|
/libcore/tzdata/update_test_app/ |
H A D | Android.mk | 22 LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
H A D | OldFileHandlerTest.java | 396 File[] files = file.listFiles(); 397 for (int i = 0; i < files.length; i++) { 398 files[i].delete();
|