HomeSort by relevance Sort by last modified time
    Searched refs:File (Results 251 - 275 of 966) sorted by null

<<11121314151617181920>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/
AdtTestData.java 5 * may not use this file except in compliance with the License. You may obtain a
23 import java.io.File;
39 /** The absolute file path to the plugin's contents. */
71 if (!mOsRootDataPath.endsWith(File.separator)) {
73 mOsRootDataPath = mOsRootDataPath.concat(File.separator);
86 * Returns the absolute file path to a file located in this plugin.
88 * @param osRelativePath {@link String} path to file contained in plugin. Must
91 * @return absolute OS path to test file
  /dalvik/libcore/luni/src/test/java/tests/api/java/io/
FileWriterTest.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
22 import java.io.File;
43 File f;
50 * @tests java.io.FileWriter#FileWriter(java.io.File)
55 args = {java.io.File.class}
58 // Test for method java.io.FileWriter(java.io.File)
78 * @tests java.io.FileWriter#FileWriter(java.io.File)
84 args = {java.io.File.class
    [all...]
  /dalvik/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/
SerializationTest.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
32 import java.io.File;
169 * Returns golden file for an object being tested.
173 * @return corresponding golden file
175 protected File getDataFile(int index) {
178 String path = name.substring(0, dot).replace('.', File.separatorChar);
180 path = outputPath + File.separator + path;
183 return new File(path, name.substring(dot + 1) + "." + index + ".dat")
    [all...]
  /frameworks/base/core/java/android/os/
RecoverySystem.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
58 * Default location of zip file containing public keys (X509
61 private static final File DEFAULT_KEYSTORE =
62 new File("/system/etc/security/otacerts.zip");
68 private static File RECOVERY_DIR = new File("/cache/recovery");
69 private static File COMMAND_FILE = new File(RECOVERY_DIR, "command");
70 private static File LOG_FILE = new File(RECOVERY_DIR, "log")
    [all...]
  /frameworks/base/test-runner/src/android/test/
ClassPathPackageInfoSource.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
59 // A cache of jar file contents
60 private final Map<File, Set<String>> jarFiles = Maps.newHashMap();
114 File classPathEntry = new File(entryName);
126 File file = new File(apkPath); local
127 scanForApkFiles(file, packageName, classNames, subpackageNames)
    [all...]
  /dalvik/libcore/security/src/test/java/tests/security/permissions/
JavaIoFileOutputStreamTest.java 5 * you may not use this file except in compliance with the License.
26 import java.io.File;
64 args = {java.io.File.class}
70 args = {java.io.File.class, boolean.class}
88 String file; field in class:JavaIoFileOutputStreamTest.TestSecurityManager
92 file = null;
102 public void checkWrite(String file){
104 this.file = file;
105 super.checkWrite(file);
    [all...]
  /dalvik/libcore/sql/src/test/java/tests/support/
Support_SQL.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
47 private static File dbFile = null;
55 File tmpDir = new File(tmp);
57 dbFile = File.createTempFile("sqliteTest", ".db", tmpDir);
  /dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
TrustManagerFactoryImpl.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;
55 String file = System.getProperty("java.home") local
56 + java.io.File.separator + "etc" + java.io.File.separator
57 + "security" + java.io.File.separator
60 System.setProperty("javax.net.ssl.trustStore", file);
98 keyStore.load(new FileInputStream(new File(keyStoreName)), pwd)
    [all...]
  /external/proguard/src/proguard/
WordReader.java 40 private File baseDir;
52 protected WordReader(File baseDir)
61 public void setBaseDir(File baseDir)
77 public File getBaseDir()
317 character == File.pathSeparatorChar;
  /external/svox/pico/src/com/svox/pico/
CheckVoiceData.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
114 File tempFile = new File(PICO_LINGWARE_PATH + filename);
115 File tempFileSys = new File(PICO_SYSTEM_LINGWARE_PATH + filename);
  /frameworks/base/core/java/com/android/internal/http/multipart/
FilePart.java 9 * contributor license agreements. See the NOTICE file distributed with
11 * The ASF licenses this file to You under the Apache License, Version 2.0
12 * (the "License"); you may not use this file except in compliance with
33 import java.io.File;
44 * consists of a file.
59 /** Default content encoding of file attachments. */
62 /** Default charset of file attachments. */
65 /** Default transfer encoding of file attachments. */
71 /** Attachment's file name */
74 /** Attachment's file name as a byte array *
    [all...]
  /frameworks/base/services/java/com/android/server/
DiskStatsService.java 5 * you may not use this file except in compliance with the License.
26 import java.io.File;
51 File tmp = new File(Environment.getDataDirectory(), "system/perftest.tmp");
79 reportFreeSpace(new File("/system"), "System", pw);
85 private void reportFreeSpace(File path, String name, PrintWriter pw) {
  /sdk/anttasks/src/com/android/ant/
SetupTask.java 5 * you may not use this file except in compliance with the License.
38 import java.io.File;
70 // legacy main rules file.
72 // legacy test rules file - depends on android_rules.xml
75 // main rules file
77 // test rules file - depends on android_rules.xml
79 // library rules file.
121 File sdk = new File(sdkLocation);
274 // Now the import section. This is only executed if the task actually has to import a file
    [all...]
ApkBuilderTask.java 5 * you may not use this file except in compliance with the License.
32 import java.io.File;
58 private final ArrayList<File> mArchiveFiles = new ArrayList<File>();
113 * Returns an object representing a nested <var>file</var> element.
178 // now go through the list of file to directly add the to the list.
185 // now go through the list of file to directly add the to the list.
188 ApkBuilderImpl.processSourceFolderForResource(new File(path),
196 ApkBuilderImpl.processJar(new File(path), mResourcesJars);
203 ApkBuilderImpl.processJar(new File(path), mResourcesJars)
    [all...]
  /dalvik/libcore/dalvik/src/main/java/dalvik/system/
PathClassLoader.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
37 * of files and directories in the local file system, but does not attempt to
51 private File[] mFiles;
78 * <li>JAR/ZIP/APK files, possibly containing a "classes.dex" file.
116 mFiles = new File[length];
126 File pathFile = new File(mPaths[i]);
153 String fileSep = System.getProperty("file.separator", "/");
210 File pathFile = mFiles[i]
    [all...]
TouchDexLoader.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
63 mFiles = new File[mPaths.length];
73 File pathFile = new File(mPaths[i]);
98 System.err.println("File not found: " + mPaths[i]);
107 String fileSep = System.getProperty("file.separator", "/");
152 File pathFile = mFiles[i];
198 File pathFile = mFiles[i];
205 return new URL("jar:file://" + pathFile + "!/" + name)
    [all...]
  /external/webkit/WebKitTools/Scripts/webkitperl/
httpd.pm 34 use File::Path;
35 use File::Spec;
36 use File::Spec::Functions;
62 my $exclusiveLockFile = File::Spec->catfile($tmpDir, "WebKit.lock");
64 my $httpdPidDir = File::Spec->catfile($tmpDir, "WebKit");
65 my $httpdPidFile = File::Spec->catfile($httpdPidDir, "httpd.pid");
93 my $httpdLockFile = File::Spec->catfile($httpdPidDir, "httpd.lock");
94 my $httpdScoreBoardFile = File::Spec->catfile($httpdPidDir, "httpd.scoreboard");
269 my $currentLockFile = File::Spec->catfile($tmpDir, "$httpdLockPrefix" . getLockNumberForCurrentRunning());
273 $currentLockFile = File::Spec->catfile($tmpDir, "$httpdLockPrefix" . getLockNumberForCurrentRunning())
    [all...]
  /sdk/traceview/src/com/android/traceview/
MainWindow.java 5 * you may not use this file except in compliance with the License.
32 import java.io.File;
103 * Convert the old two-file format into the current concatenated one.
106 * @return Path to a temporary file that will be deleted on exit.
110 // Make a temporary file that will go away on exit and prepare to
112 File temp = File.createTempFile(base, ".trace");
116 // First copy the contents of the key file into our temp file.
121 // Then concatenate the data file
194 File file = new File(traceName); local
    [all...]
  /dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
CheckedOutputStreamTest.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;
49 File.createTempFile("chkOut", ".txt"));
56 fail("Unable to find file");
58 fail("file cannot be opened for writing due to security reasons");
76 File.createTempFile("chkOut", ".txt"));
94 fail("Unable to find file");
96 fail("file cannot be opened for writing due to security reasons")
    [all...]
  /development/tools/monkeyrunner/src/com/android/monkeyrunner/
MonkeyRecorder.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
35 * It creates a unique directory, puts in an xml file that records each cmd and result.
54 * With MonkeyRunner this should output an xml file, <script_name>-yyyyMMdd-HH:mm:ss.xml, into the
79 * And then zip it up with all the screenshots in the file: <script_name>-yyyyMMdd-HH:mm:ss.zip.
84 // xml file to store output results in
89 // unique subdirectory to put results in (screenshots and xml file)
106 // Create directory structure to store xml file, images and zips
107 File scriptFile = new File(scriptName)
218 File file = new File(filename); local
    [all...]
  /development/tools/zoneinfo/
ZoneCompactor.java 5 // usage: java ZoneCompiler <setup file> <top-level directory>
7 // Compile a set of tzfile-formatted files into a single file plus
8 // an index file.
10 // The compilation is controlled by a setup file, which is provided as a
11 // command-line argument. The setup file has the form:
37 // File starting bytes by zone name
40 // File lengths by zone name
52 private static byte[] copyFile(File inFile, OutputStream out)
84 File zoneInfoFile = new File("zoneinfo.dat")
    [all...]
  /external/emma/ant/ant14/com/vladium/emma/instr/
instrTask.java 11 import java.io.File;
108 public void setOutdir (final File dir)
117 public void setDestdir (final File dir)
129 public void setMetadatafile (final File file)
133 + ": metadata file attribute already set", location).fillInStackTrace ();
135 m_outFile = file;
138 public void setOutfile (final File file)
142 + ": metadata file attribute already set", location).fillInStackTrace ()
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
LayoutDeviceManager.java 5 * you may not use this file except in compliance with the License.
32 import java.io.File;
252 File deviceXml = new File(userFolder, SdkConstants.FN_DEVICES_XML);
275 File deviceXml = new File(userFolder, SdkConstants.FN_DEVICES_XML);
285 void parseAddOnLayoutDevice(File deviceXml) {
296 * Does the actual parsing of a devices.xml file.
297 * @param deviceXml the {@link File} to load/parse. This must be an existing file
386 File file = new File(deviceXml.getAbsolutePath()); local
    [all...]
  /cts/tools/vm-tests/src/util/build/
BuildDalvikSuite.java 5 * you may not use this file except in compliance with the License.
29 import java.io.File;
164 // global scriptdata file (read by a bash script for the tests)
166 // File Main_testN1.java in package dxc.junit.opcodes.aaload
220 File toWrite = new File(curJunitFileName);
224 // write file
238 File toWrite = new File(allTestsFileName);
241 javacHostJunitBuildStep.addSourceFile(new File(
    [all...]
  /dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
JarEntryTest.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;
58 private File resources;
64 jarFile = new JarFile(new File(resources, jarName));
107 assertNotNull("Jar file is null", jarFile);
129 File file = null; local
132 file = new File(resources, attJarName)
183 File file = new File(resources, jarFileName); local
218 File file = new File(resources, jarFileName); local
    [all...]

Completed in 454 milliseconds

<<11121314151617181920>>