HomeSort by relevance Sort by last modified time
    Searched refs:File (Results 26 - 50 of 1913) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
FileTest.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
20 import java.io.File;
53 private static void deleteTempFolder(File dir) {
57 File f = new File(dir, files[i]);
69 if (File.separatorChar == path.charAt(path.length() - 1)) {
72 return path + File.separator;
76 private File tempDirectory
128 File file = new File(root, "\/dir\/file"); local
1021 File file; local
1242 File file = new File(dir, "notADir.tst"); local
1332 File file = new File(dir, "notADir.tst"); local
1459 File file = new File(baseDir, "notADir.tst"); local
1576 File file = new File(dir, "notADir.tst"); local
2251 File file = new File("FileTest.golden.ser"); local
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/filefilter/
AbstractFileFilter.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
36 * Checks to see if the File should be accepted by this filter.
38 * @param file the File to check
39 * @return true if this file matches the test
41 public boolean accept(File file) {
    [all...]
FalseFileFilter.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
23 * A file filter that always returns false.
54 * @param file the file to check
57 public boolean accept(File file) {
68 public boolean accept(File dir, String name) {
    [all...]
IOFileFilter.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
35 * Checks to see if the File should be accepted by this filter.
39 * @param file the File to check
40 * @return true if this file matches the test
42 public boolean accept(File file);
    [all...]
TrueFileFilter.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
23 * A file filter that always returns true.
54 * @param file the file to check
57 public boolean accept(File file) {
68 public boolean accept(File dir, String name) {
    [all...]
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
WorkDir.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
26 static final File getTopDir() {
32 return (getTopDir().getAbsolutePath() + File.separator);
  /cts/tests/tests/os/src/android/os/cts/
UsbDebuggingTest.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
32 File keys = new File("/adb_keys");
  /external/apache-harmony/support/src/test/java/tests/support/
Support_DeleteOnExitTest.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
20 import java.io.File;
26 File f1 = new File(args[i]);
  /libcore/luni/src/test/java/libcore/dalvik/system/
PathClassLoaderTest.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
32 File tmp = new File(System.getProperty("java.io.tmpdir"));
33 File systemLibPath = new File(tmp, "systemLibPath");
34 File applicationLibPath = new File(tmp, "applicationLibPath");
36 File applicationLib = makeTempFile(applicationLibPath, "libduplicated.so");
46 private File makeTempFile(File directory, String name) throws IOException
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
FileDescriptorTest.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
27 File f= File.createTempFile("FileDescriptorTest", "tmp");
OldAndroidFileTest.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
23 * Checks creation and deletion of a file.
28 File file = File.createTempFile(String.valueOf(System.currentTimeMillis()), null, null); local
30 assertTrue(file.exists());
31 assertTrue(file.delete());
32 assertFalse(file.exists());
FileTest.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
29 private static File createTemporaryDirectory() throws Exception {
31 File directory = new File(base, UUID.randomUUID().toString());
44 private static File createDeepStructure(File base) throws Exception {
50 File f = base;
52 f = new File(f, longString);
61 File base = createTemporaryDirectory()
    [all...]
OldFileTest.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
20 import java.io.File;
32 private File tempDirectory;
34 /** Temp file that does exist */
35 private File tempFile;
37 /** File separator */
38 private String slash = File.separator;
47 File tempDir = new File(System.getProperty("java.io.tmpdir"))
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/
TempDirectory.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
24 * TempDirectory caches the directory used for caching file. It is set up during application
28 private static File sTempDirectory = null;
34 public static File getTempDirectory() {
  /development/tools/idegen/src/com/android/idegen/
DirectorySearch.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
42 private static File repoRoot = null;
47 * @param file any file inside the root.
50 public static File findRepoRoot(File file) {
51 Preconditions.checkNotNull(file);
56 if (file.isDirectory())
    [all...]
FrameworkModule.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
35 File intermediates = new File(repoRoot,
36 Constants.REL_OUT_APP_DIR + File.separator + Constants.FRAMEWORK_INTERMEDIATES);
37 ImmutableList<File> intermediateSrcDirs = DirectorySearch.findSourceDirs(intermediates);
38 sb.append(" <content url=\"file://").append(intermediates).append("\">\n");
39 for (File src : intermediateSrcDirs) {
40 sb.append(" <sourceFolder url=\"file://")
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
TestUtil.java 5 import java.io.File;
14 public static File testDirLocation;
35 public static File file(String... pathParts) { method in class:TestUtil
36 return file(new File("."), pathParts);
39 public static File file(File f, String... pathParts) { method in class:TestUtil
41 f = new File(f, pathPart)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
FileUtils.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
25 private static final File sCacheDir;
32 public static File createTempFile(String prefix, String suffix) {
33 File f;
35 f = File.createTempFile(prefix, suffix, sCacheDir);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DocumentLoader.java 7 import java.io.File;
14 @Override public boolean accept(File file) {
15 return file.getName().endsWith(".xml");
28 public void loadResourceXmlDirs(File... resourceXmlDirs) throws Exception {
32 public void loadResourceXmlDirs(boolean isSystem, File... resourceXmlDirs) throws Exception {
33 for (File resourceXmlDir : resourceXmlDirs) {
38 public void loadResourceXmlDir(File resourceXmlDir) throws Exception {
42 public void loadSystemResourceXmlDir(File resourceXmlDir) throws Exception {
46 private void loadResourceXmlDir(File resourceXmlDir, boolean isSystem) throws Exception
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestResultRepo.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
37 * ordered list of result directories. the index of each file is its session id.
39 private List<File> mResultDirs;
46 public TestResultRepo(File testResultsDir) {
47 mResultDirs = new ArrayList<File>();
48 File[] resultArray = testResultsDir.listFiles(new ResultDirFilter());
50 List<File> resultList = new ArrayList<File>();
54 File resultFile = new File(resultList.get(i)
    [all...]
  /external/webkit/Source/WebCore/fileapi/
File.h 38 class File : public Blob {
40 static PassRefPtr<File> create(const String& path)
42 return adoptRef(new File(path));
46 static PassRefPtr<File> create(const String& path, const KURL& srcURL, const String& type)
48 return adoptRef(new File(path, srcURL, type));
52 static PassRefPtr<File> create(const String& relativePath, const String& path)
54 return adoptRef(new File(relativePath, path));
65 // Returns the relative path of this file in the context of a directory selection.
69 // Note that this involves synchronous file operation. Think twice before calling this function.
77 File(const String& path)
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/comparator/
SizeFileComparator.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
27 * {@link File#length()} and {@link FileUtils#sizeOfDirectory(File)}).
35 * List&lt;File&gt; list = ...
42 * File[] array = ...
52 public class SizeFileComparator implements Comparator<File>, Serializable {
55 public static final Comparator<File> SIZE_COMPARATOR = new SizeFileComparator();
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
WriteExternalStorageTest.java 5 * you may not use this file except in compliance with the License.
24 import java.io.File;
35 private static final File TEST_FILE = new File(
39 * Set of file paths that should all refer to the same location to verify
42 private static final File[] IDENTICAL_FILES = {
43 new File("/sdcard/caek"),
44 new File(System.getenv("EXTERNAL_STORAGE"), "caek"),
45 new File(Environment.getExternalStorageDirectory(), "caek"),
52 for (File file : IDENTICAL_FILES)
    [all...]
  /development/tools/idegen/src/
Configuration.java 5 * you may not use this file except in compliance with the License.
17 import java.io.File;
37 public final SortedSet<File> sourceRoots;
40 public final List<File> jarFiles;
43 public final SortedSet<File> excludedDirs;
46 public final File toolDirectory;
48 /** File name used for excluded path files. */
56 this.toolDirectory = new File("development/tools/idegen");
68 List<File> jarFiles = new ArrayList<File>(500)
    [all...]
  /frameworks/base/services/java/com/android/server/am/
DeviceMonitor.java 5 * you may not use this file except in compliance with the License.
78 private static final File PROC = new File("/proc");
79 private static final File BASE = new File("/data/anr/");
89 private static final File[] PATHS = {
90 new File(PROC, "zoneinfo"),
91 new File(PROC, "interrupts"),
92 new File(PROC, "meminfo"),
93 new File(PROC, "slabinfo")
    [all...]

Completed in 1906 milliseconds

12 3 4 5 6 7 8 91011>>