/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
Pack200PackerTest.java | 5 * you may not use this file except in compliance with the License. 30 import java.io.File; 64 File resources = Support_Resources.createTempFolder(); 65 //Use junit4.jar file for testing pack200 compressing rate. 66 //file can be changed to any other. 68 File jarFile = new File(resources, "junit4-4.3.1.jar"); 71 File packFile1 = Support_Resources.createTempFile("pack200_1"); 72 File packFile2 = Support_Resources.createTempFile("pack200_2"); 73 File packFile3 = Support_Resources.createTempFile("pack200_3") [all...] |
/external/clearsilver/ruby/ |
install.rb | 2 # This file is automatically generated. DO NOT MODIFY! 26 def File.read_all( fname ) 27 File.open(fname, 'rb') {|f| return f.read } 30 def File.write( fname, str ) 31 File.open(fname, 'wb') {|f| f.write str } 38 file = $' 40 require file 191 File.file? SAVE_FILE or 192 raise InstallError, "#{File.basename $0} config first [all...] |
/dalvik/libcore/xml/src/test/java/org/apache/harmony/xml/ |
XsltXPathConformanceTestSuite.java | 5 * you may not use this file except in compliance with the License. 54 import java.io.File; 74 * suite zip file from the OASIS project site.</li> 79 * suite's <code>catalog.xml</code> file as an argument. 86 * "Couldn't open file" errors due to a mismatch in file name casing. 132 System.out.println(" catalog-xml: an XML file describing an OASIS test suite"); 137 File catalogXml = new File(args[0]); 142 return suite(new File(defaultCatalogFile)) 278 File file = new File(directory, name); local [all...] |
/cts/tools/signature-tools/src/signature/io/html/ |
HtmlDeltaExternalizer.java | 5 * you may not use this file except in compliance with the License. 31 import java.io.File; 44 private static final String DELTA_FOLDER = "changes" + File.separator; 48 if (!location.endsWith(File.separator)) { 49 location += File.separator; 52 File directory = new File(location); 77 File file = new File(location + DELTA_FOLDER) local [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
DeleteOnExit.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 21 import java.io.File; 55 * Schedules a file for deletion. 57 * @param filename The file to delete. 76 new File(files.get(i)).delete();
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
FilePermissionTest.java | 2 * contributor license agreements. See the NOTICE file distributed with 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 19 import java.io.File; 40 char separator = File.separatorChar;
|
/external/emma/ant/ant14/com/vladium/emma/ant/ |
FilterTask.java | 11 import java.io.File; 66 protected static final String PATH_DELIMITERS = COMMA.concat (File.pathSeparator);
|
/external/emma/ant/ant15/com/vladium/emma/ant/ |
IANTVersion.java | 11 import java.io.File; 41 final Method m = FileSet.class.getMethod ("setFile", new Class [] { File.class });
|
/external/emma/core/java12/com/vladium/emma/rt/ |
RTCoverageDataPersister.java | 11 import java.io.File; 38 final File outFile, final boolean merge) 52 synchronized (Object.class) // fake a JVM-global critical section when multilply loaded RT's write to the same file
|
/external/svox/picolanginstaller/src/com/svox/langpack/installer/ |
InstallerActivity.java | 3 import java.io.File; 79 File newDir = new File(rootDirectory + entry.getName()); 83 File outputFile = new File(rootDirectory + name); 89 File outputDir = new File(outputPath); 91 outputFile = new File(outputPath, name);
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/ |
JAXPTest.java | 1 // This file is part of TagSoup and is Copyright 2002-2008 by John Cowan. 37 System.err.println("Usage: java "+getClass()+" [input-file]"); 40 File f = new File(args[0]);
|
/external/webkit/WebKitTools/Scripts/ |
gdb-safari | 32 use File::Temp qw/:mktemp/;
|
run-webkit-websocketserver | 35 use File::Spec; 49 my $testDirectory = File::Spec->rel2abs($layoutTestsName);
|
/external/webkit/WebKitTools/iExploder/tools/ |
lasthit.rb | 15 file = File.open(ARGV[0]) 17 file = $stdin 20 file.readlines.each { |line|
|
/frameworks/base/awt/org/apache/harmony/x/imageio/spi/ |
InputStreamIISSpi.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 24 import java.io.File; 49 public ImageInputStream createInputStreamInstance(Object input, boolean useCache, File cacheDir) throws IOException {
|
OutputStreamIOSSpi.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 25 import java.io.File; 40 public ImageOutputStream createOutputStreamInstance(Object output, boolean useCache, File cacheDir) throws IOException {
|
RAFIISSpi.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 26 import java.io.File; 42 File cacheDir) throws IOException {
|
RAFIOSSpi.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 26 import java.io.File; 42 File cacheDir) throws IOException {
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CertFileList.java | 5 * you may not use this file except in compliance with the License. 27 import java.io.File; 86 File file = new File(Environment.getExternalStorageDirectory(), local 88 if (file.isDirectory()) { 89 Log.w(TAG, "impossible to pick a directory! " + file); 92 installFromFile(file); 112 List<File> allFiles = getAllCertFiles(); 119 for (File file : allFiles) [all...] |
/packages/apps/Email/tests/src/com/android/exchange/ |
SyncManagerTest.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 34 public File getFileStreamPath(String name) {
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
Archive.java | 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
364 deleteFileOrFolder(new File(getLocalOsPath()));
381 File archiveFile = null;
421 * Downloads an archive and returns the temp file with it.
422 * Caller is responsible with deleting the temp file when done.
424 private File downloadFile(String osSdkRoot, ITaskMonitor monitor, boolean forceHttp) {
456 // Get the basename of the file we're downloading, i.e. the last component
461 // Rather than create a real temp file in the system, we simply use our
465 File tmpFolder = getTempFolder(osSdkRoot); [all...] |
ToolPackage.java | 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
110 * @return A new {@link File} corresponding to the directory to use to install this package.
113 public File getInstallFolder(String osSdkRoot, String suggestedDir, SdkManager sdkManager) {
114 return new File(osSdkRoot, SdkConstants.FD_TOOLS);
128 public void postInstallHook(Archive archive, ITaskMonitor monitor, File installFolder) {
135 File libDir = new File(installFolder, SdkConstants.FD_LIB);
149 File scriptFile = new File(libDir, scriptName); [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
PrintWriterPrinterTest.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File; 37 private File mFile; 41 File dbDir = getContext().getDir("tests", Context.MODE_PRIVATE); 42 mFile = new File(dbDir,"print.log");
|
/cts/tools/vm-tests/src/util/build/ |
JarBuildStep.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 40 File tempFile = new File(inputFile.folder, destFileName); 53 File outDir = outputFile.fileName.getParentFile();
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
ProcessBuilder.java | 2 * contributor license agreements. See the NOTICE file distributed with 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 19 import java.io.File; 34 private File directory; 121 public File directory() { 134 public ProcessBuilder directory(File directory) {
|