/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/ |
CoverageTaskTest.java | 14 import java.io.File; 28 final File file = new File("src/org/jacoco/ant/CoverageTaskTest.xml"); local 29 return new AntUnitSuite(file, CoverageTaskTest.class);
|
DumpTaskTest.java | 14 import java.io.File; 26 final File file = new File("src/org/jacoco/ant/DumpTaskTest.xml"); local 27 return new AntUnitSuite(file, DumpTaskTest.class);
|
DumpTaskWithServerTest.java | 14 import java.io.File; 28 final File file = new File( local 30 return new AntUnitSuite(file, DumpTaskWithServerTest.class);
|
MergeTaskTest.java | 14 import java.io.File; 26 final File file = new File("src/org/jacoco/ant/MergeTaskTest.xml"); local 27 return new AntUnitSuite(file, MergeTaskTest.class);
|
ReportTaskTest.java | 14 import java.io.File; 29 new File("./src").getAbsolutePath()); 30 final File file = new File("src/org/jacoco/ant/ReportTaskTest.xml"); local 31 return new AntUnitSuite(file, ReportTaskTest.class);
|
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
WebServerPlugin.java | 36 import java.io.File; 46 boolean canServeUri(String uri, File rootDir); 50 NanoHTTPD.Response serveFile(String uri, Map<String, String> headers, IHTTPSession session, File file, String mimeType);
|
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/ |
ProjectConverterTest.java | 27 import java.io.File; 42 File projectFolder = new File("c:/home/ceki//Varia/Barracuda");
|
/external/vogar/src/vogar/tasks/ |
MkdirTask.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 25 private final File dir; 26 public MkdirTask(Mkdir mkdir, File dir) {
|
RmTask.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 25 private final File file; field in class:RmTask 27 public RmTask(Rm rm, File file) { 28 super("rm " + file); 30 this.file = file; 34 rm.file(file) [all...] |
/frameworks/support/compat/api21/android/support/v4/content/ |
ContextCompatApi21.java | 5 * you may not use this file except in compliance with the License. 22 import java.io.File; 29 public static File getNoBackupFilesDir(Context context) { 33 public static File getCodeCacheDir(Context context) {
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileReaderTest.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; 29 File noFile = new File(System.getProperty("java.io.tmpdir"), "noreader.tst");
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
EmptyFileFilter.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; 25 * If the <code>File</code> is a directory it checks that 32 * File dir = new File("."); 44 * File dir = new File("."); 69 * Checks to see if the file is empty [all...] |
/external/compiler-rt/test/profile/ |
instrprof-without-libc.c | 41 FILE *File = fopen(argv[1], "w"); 42 if (!File) 44 if (fwrite(Buffer, 1, Size, File) != Size) 46 return fclose(File);
|
/external/llvm/tools/llvm-readobj/ |
COFFImportDumper.cpp | 5 // This file is distributed under the University of Illinois Open Source 10 /// \file 11 /// \brief This file implements the COFF import library dumper for llvm-readobj. 26 void dumpCOFFImportFile(const COFFImportFile *File) { 28 outs() << "File: " << File->getFileName() << "\n"; 29 outs() << "Format: COFF-import-file\n"; 31 const coff_import_header *H = File->getCOFFImportHeader(); 45 for (const object::BasicSymbolRef &Sym : File->symbols()) {
|
/external/proguard/src/proguard/io/ |
DirectoryPump.java | 27 * This class can read a given file or directory, recursively, applying a given 34 private final File directory; 37 public DirectoryPump(File directory) 50 throw new IOException("No such file or directory"); 61 private void readFiles(File file, DataEntryReader dataEntryReader) 64 // Pass the file data entry to the reader. 65 dataEntryReader.read(new FileDataEntry(directory, file)); 67 if (file.isDirectory()) 70 File[] files = file.listFiles() [all...] |
/external/testng/src/main/java/org/testng/reporters/ |
HtmlHelper.java | 5 import java.io.File; 22 public static File generateStylesheet(String outputDirectory) throws IOException { 23 File stylesheetFile = new File(outputDirectory, CSS_FILE_NAME);
|
/external/vogar/src/vogar/ |
RetrievedFilesFilter.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 27 private final File profileFile; 29 public RetrievedFilesFilter(boolean profile, File profileFile) { 34 @Override public boolean accept(File file) { 35 if (file.getName().equals("prefs.xml")) { 38 if (file.getName().endsWith(".xml") 39 || file.getName().equals("caliper-results") 40 || file.getName().endsWith(".json" [all...] |
Classpath.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 31 private final List<File> elements = new ArrayList<File>(); 33 public static Classpath of(File... files) { 37 public static Classpath of(Collection<File> files) { 43 public void addAll(File... elements) { 47 public void addAll(Collection<File> elements) { 55 public Collection<File> getElements() { 63 public boolean contains(File file) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
EntropyMixerTest.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); 32 File file = File.createTempFile("testInitialWrite", "dat", dir); local 33 file.deleteOnExit(); 34 assertEquals(0, FileUtils.readTextFile(file, 0, null).length()); 36 // The constructor has the side effect of writing to file 37 new EntropyMixer(getContext(), "/dev/null", file.getCanonicalPath(), "/dev/null") [all...] |
/development/tools/idegen/src/com/android/idegen/ |
DirectorySearch.java | 5 * you may not use this file except in compliance with the License. 25 import java.io.File; 53 private static File repoRoot = null; 61 public static File getRepoRoot() { 70 * @param file any file inside the root. 73 public static void findAndInitRepoRoot(File file) { 74 Preconditions.checkNotNull(file); 79 if (file.isDirectory()) [all...] |
/libcore/tzdata/update/src/test/libcore/tzdata/update/ |
TzDataBundleInstallerTest.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File; 30 private static final File SYSTEM_ZONE_INFO_FILE = new File("/system/usr/share/zoneinfo/tzdata"); 33 private File tempDir; 34 private File testInstallDir; 44 private static File createDirectory(String prefix) throws IOException { 45 File dir = File.createTempFile(prefix, ""); 84 /** Tests that a bundle with a missing file will not update the content. * [all...] |
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
RootProcessScanner.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 60 List<File> rootProcessDirs = getRootProcessDirs(); 68 private static List<File> getRootProcessDirs() 70 File proc = new File("/proc"); 75 List<File> rootProcesses = new ArrayList<File>(); 76 File[] processDirs = proc.listFiles(); 78 for (File processDir : processDirs) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContext.java | 13 import java.io.File; 27 public static final File CACHE_DIR = createTempDir("android-cache"); 28 public static final File EXTERNAL_CACHE_DIR = createTempDir("android-external-cache"); 29 public static final File FILES_DIR = createTempDir("android-tmp"); 30 public static final File EXTERNAL_FILES_DIR = createTempDir("android-external-files"); 35 public File getDir(String name, int mode) { 37 File file = new File(FILES_DIR, name); local 38 if (!file.exists()) [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
FileUtil.java | 5 * you may not use this file except in compliance with the License. 30 import java.io.File; 37 /** Returns a new file name, ensuring that such a file does not already exist. */ 38 private static synchronized File getNewFile(File directory, String extension, 43 for (int i = 1; i <= 99; i++) { // Only save 99 of the same file name. 45 File testFile = new File(directory, newName); 51 LogUtil.e(LogUtil.BUGLE_TAG, "Too many duplicate file names: " + numberedFileNameFormat) 134 final File file = new File(uri.getPath()); local [all...] |
/external/emma/core/java12/com/vladium/util/ |
IPathEnumerator.java | 12 import java.io.File; 42 void handleDirStart (File pathDir, File dir); // not generated for path dirs themselves 43 void handleFile (File pathDir, File file); 44 void handleDirEnd (File pathDir, File dir); 50 void handleArchiveStart (File parentDir, File archive, Manifest manifest) [all...] |