Searched defs:files (Results 1 - 8 of 8) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
H A DDeleteOnExit.java49 * Our list of files scheduled for deletion.
51 private final ArrayList<String> files = new ArrayList<String>(); field in class:DeleteOnExit
63 synchronized (files) {
64 if (!files.contains(filename)) {
65 files.add(filename);
71 * Does the actual work. Note we (a) first sort the files lexicographically
72 * and then (b) delete them in reverse order. This is to make sure files
77 Collections.sort(files);
78 for (int i = files.size() - 1; i >= 0; i--) {
79 new File(files
[all...]
/libcore/
H A DCaCerts.mk20 define all-files-under
42 cacerts := $(call all-files-under,luni/src/main/files/cacerts)
H A DJavaLibrary.mk32 # resources/ # Support files.
36 # resources/ # Support files.
40 define all-main-java-files-under
44 define all-test-java-files-under
52 # The Java files and their associated resources.
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/pregenerated)
65 libart_core_src_files += $(common_core_src_files) $(call all-main-java-files-under,libart)
77 icu4j_src_files := $(call all-java-files
[all...]
/libcore/tzdata/update/src/test/libcore/tzdata/update/
H A DConfigBundleTest.java42 // Delete files / directories in reverse order.
121 private static void assertFilesExist(File... files) { argument
122 for (File f : files) {
H A DFileUtilsTest.java204 // 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/dalvik/src/main/java/dalvik/system/
H A DDexPathList.java86 * @param optimizedDirectory directory where optimized {@code .dex} files
128 // 1.2. Path to libraries in apk-files
172 * and readable files. (That is, directories are not included in the
214 private static Element[] makePathElements(List<File> files, File optimizedDirectory, argument
218 * Open all files and load the (direct or contained) dex files
221 for (File file : files) {
297 * that for files that are paired with resource-only jar
298 * files. If the VM can assume that there's no classes.dex in
302 * files i
[all...]
/libcore/luni/src/main/java/java/util/logging/
H A DFileHandler.java33 * rotating set of files.
35 * When a set of files is used and a given amount of data has been written to
37 * these files are generated by given name pattern, see below for details.
38 * When the files have all been filled the Handler returns to the first and goes
51 * {@code FileHandler} should append onto existing files, defaults to
53 * <li>java.util.logging.FileHandler.count specifies how many output files to
66 * output files. See below for details. Defaults to "%h/java%u.log".</li>
70 * be replaced to generate output files:
110 // the count of files which the output cycle through
130 private File[] files; field in class:FileHandler
[all...]
/libcore/luni/src/test/java/dalvik/system/
H A DDexClassLoaderTest.java71 File[] files = dir.listFiles();
72 for (File file : files) {
107 * @param files The .dex or .jar files to use for the class path.
109 private ClassLoader createLoader(File... files) { argument
110 assertNotNull(files);
111 assertTrue(files.length > 0);
112 String path = files[0].getAbsolutePath();
113 for (int i = 1; i < files.length; i++) {
114 path += File.pathSeparator + files[
129 createLoaderAndCallMethod( String className, String methodName, File... files) argument
146 createLoaderAndGetResource(String resourceName, File... files) argument
[all...]

Completed in 336 milliseconds