HomeSort by relevance Sort by last modified time
    Searched refs:File (Results 526 - 550 of 3205) sorted by null

<<21222324252627282930>>

  /external/chromium_org/tools/gn/
function_write_file_unittest.cc 3 // found in the LICENSE file.
6 #include "base/files/file.h"
65 // Test that the file is not rewritten if the contents are not changed.
69 base::File foo_file(foo_name,
70 base::File::FLAG_OPEN |
71 base::File::FLAG_READ | base::File::FLAG_WRITE);
77 base::File::Info original_info;
83 base::File::Info new_info;
  /external/eyes-free/AccessCheck/src/com/android/accessibility/
AccessibilityValidator.java 5 * use this file except in compliance with the License. You may obtain a copy of
38 private final File mRootFilePath;
46 private final File mAndroidSdkPath;
74 mRootFilePath = new File(rootPath);
75 mAndroidSdkPath = new File(androidSdkPath);
107 private List<InputSource> findLayoutFiles(File directory) {
110 for (File file : directory.listFiles()) {
111 // The file is a directory; recurse on the file
    [all...]
  /external/guava/guava/src/com/google/common/io/
FileBackedOutputStream.java 5 * you may not use this file except in compliance with the License.
24 import java.io.File;
33 * switches to file buffering once the data reaches a configurable size.
49 private File file; field in class:FileBackedOutputStream
62 /** Returns the file holding the data (possibly null). */
63 @VisibleForTesting synchronized File getFile() {
64 return file;
68 * Creates a new instance that uses the given file threshold, and does
73 * switch to buffering to a file
    [all...]
  /frameworks/base/drm/java/android/drm/
DrmUtils.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
37 /* Should be used when we need to read from local file */
39 File file = new File(path); local
40 return readBytes(file);
43 /* Should be used when we need to read from local file */
44 /* package */ static byte[] readBytes(File file) throws IOException
78 File file = new File(path); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/
CertBlacklister.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
54 private final File mTmpDir;
62 mTmpDir = new File(mPath).getParentFile();
85 // create a temporary file
86 File tmp = File.createTempFile("journal", "", mTmpDir);
95 tmp.renameTo(new File(mPath));
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
HprofBinaryToAscii.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
45 * Reads single file from arguments and attempts to read it as
46 * either a binary hprof file or a version with a text header.
51 usage("binary hprof file argument expected");
54 File file = new File(args[0]); local
55 if (!file.exists()) {
56 usage("file " + file + " does not exist")
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
GZIPOutputStreamTest.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;
51 File.createTempFile("GZIPCon", ".txt"));
60 "an IO error occured while trying to find the output file or creating GZIP constructor");
71 File.createTempFile("GZIPOutCon", ".txt"));
81 "an IO error occured while trying to find the output file or creating GZIP constructor");
93 File.createTempFile("GZIPOutFinish", ".txt"));
109 "an IO error occured while trying to find the output file or creating GZIP constructor")
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
Ver2DictDecoderTests.java 5 * you may not use this file except in compliance with the License.
30 import java.io.File;
43 public void writeDataToFile(final File file) {
46 outStream = new FileOutputStream(file);
49 fail ("Can't write data to the test file");
62 File testFile = null;
64 testFile = File.createTempFile(testName, ".tmp", getContext().getCacheDir());
66 Log.e(TAG, "IOException while the creating temporary file", e);
105 File testFile = null
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_aepack.py 60 import Carbon.File
64 if not hasattr(Carbon.File, "FSSpec"):
66 o = Carbon.File.FSSpec(os.curdir)
73 import Carbon.File
76 if not hasattr(Carbon.File, "FSSpec"):
78 o = Carbon.File.FSSpec(os.curdir).NewAliasMinimal()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_aepack.py 60 import Carbon.File
64 if not hasattr(Carbon.File, "FSSpec"):
66 o = Carbon.File.FSSpec(os.curdir)
73 import Carbon.File
76 if not hasattr(Carbon.File, "FSSpec"):
78 o = Carbon.File.FSSpec(os.curdir).NewAliasMinimal()
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
FinalPage.java 5 * you may not use this file except in compliance with the License.
29 import java.io.File;
79 Multimap<FileStatus, File> fileStatusMap = mStatus.getFileStatus();
80 Collection<File> files = fileStatusMap.values();
83 for (File file : files) {
84 sb.append("\n").append(file.getAbsolutePath());
100 sb.append("and select the following file:").append("\n\t");
102 File bGradle = new File(
    [all...]
  /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
25 import java.io.File;
45 /** The absolute file path to the plugin's contents. */
91 if (File.separatorChar == '\\') {
96 if (!mOsRootDataPath.endsWith(File.separator) && !mOsRootDataPath.endsWith(DIR_SEP_STR)) {
111 * Returns the absolute file path to a file located in this plugin.
113 * @param osRelativePath {@link String} path to file contained in plugin. Must
116 * @return absolute OS path to test file
119 File path = new File(mOsRootDataPath, osRelativePath)
    [all...]
  /external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
SimpleWebServer.java 3 import java.io.File;
26 * Default Index file names.
92 private final List<File> rootDirs;
95 public SimpleWebServer(String host, int port, File wwwroot, boolean quiet) {
98 this.rootDirs = new ArrayList<File>();
104 public SimpleWebServer(String host, int port, List<File> wwwroots, boolean quiet) {
107 this.rootDirs = new ArrayList<File>(wwwroots);
119 * Starts as a standalone file server and waits for Enter.
126 List<File> rootDirs = new ArrayList<File>();
    [all...]
  /external/emma/core/java12/com/vladium/emma/rt/
ClassPathProcessorST.java 11 import java.io.File;
81 public void handleArchiveStart (final File parentDir, final File archive, final Manifest manifest)
173 public void handleArchiveEnd (final File parentDir, final File archive)
179 public void handleDirStart (final File pathDir, final File dir)
184 public void handleFile (final File pathDir, final File file)
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
CtsXmlResultReporter.java 5 * you may not use this file except in compliance with the License.
41 import java.io.File;
53 * Collects all test info in memory, then dumps to file when invocation is complete.
75 private static final String REPORT_DIR_NAME = "output-file-path";
76 @Option(name=REPORT_DIR_NAME, description="root file system path to directory to store xml " +
79 protected File mReportDir = null;
99 private File mLogDir;
103 public void setReportDir(File reportDir) {
146 File rootLogDir = getBuildHelper(ctsBuild).getLogsDir();
147 mLogDir = new File(rootLogDir, mReportDir.getName())
    [all...]
  /libcore/luni/src/test/java/libcore/xml/
XsltXPathConformanceTestSuite.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
72 * suite zip file from the OASIS project site.</li>
77 * suite's <code>catalog.xml</code> file as an argument.
84 * "Couldn't open file" errors due to a mismatch in file name casing.
130 System.out.println(" catalog-xml: an XML file describing an OASIS test suite");
135 File catalogXml = new File(args[0]);
140 return suite(new File(defaultCatalogFile))
276 File file = new File(directory, name); local
    [all...]
  /art/patchoat/
patchoat.h 5 * you may not use this file except in compliance with the License.
43 static bool Patch(File* oat_in, off_t delta, File* oat_out, TimingLogger* timings);
45 static bool Patch(const std::string& art_location, off_t delta, File* art_out, InstructionSet isa,
48 static bool Patch(const File* oat_in, const std::string& art_location,
49 off_t delta, File* oat_out, File* art_out, InstructionSet isa,
87 bool WriteElf(File* out);
88 bool WriteImage(File* out);
109 // The elf file we are patching
    [all...]
  /cts/suite/cts/hostTests/jank/src/com/android/cts/jank/opengl/
CtsHostJankOpenGl.java 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
18 import java.io.File;
38 File app = mBuild.getTestApp(APK);
  /cts/suite/cts/hostTests/jank/src/com/android/cts/jank/ui/
CtsHostJankUi.java 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
18 import java.io.File;
38 File app = mBuild.getTestApp(APK);
  /cts/tests/tests/content/src/android/content/cts/
ReadableUriExtraToClipDataTest.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
39 private static final List<File> mTestFiles = new ArrayList<File>();
63 File testFile = new File(getContext().getFilesDir() + File.separator + fileName);
72 for (File testFile : mTestFiles) {
106 private void writeTestInputToFile(File file) {
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
AslrTest.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
35 assertTrue(ReadElf.read(new File("/system/bin/cat")).isPIE());
47 // Odd. The file doesn't exist... Assume ASLR is enabled.
KernelSettingsTest.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
59 // Odd. The file doesn't exist... Assume we're ok.
73 // Odd. The file doesn't exist... Assume we're ok.
84 // Odd. The file doesn't exist... Assume we're ok.
89 * Assert that the kernel config file is not compiled into the kernel.
91 * Compiling the config file into the kernel leaks the kernel base address
98 new File("/proc/config.gz").exists());
VoldExploitTest.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
78 new File("/proc/" + pid + "/cmdline").exists());
119 new File("/proc/" + i + "/cmdline").exists());
154 * Parse the fstab.vold file, and extract out the "sysfs_path" field.
156 private static Set<String> getSysFsPath(String file) throws IOException {
158 File netlink = new File(file);
225 if (new File("/proc/" + pid + "/cmdline").exists())
    [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...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/build/
CtsBuildProvider.java 5 * you may not use this file except in compliance with the License.
24 import java.io.File;
45 ctsBuild.setRootDir(new File(mCtsRootDirPath));

Completed in 1786 milliseconds

<<21222324252627282930>>