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

<<21222324252627282930>>

  /external/conscrypt/src/test/java/org/conscrypt/
FileClientSessionCacheTest.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
31 File cacheDir = new File(tmpDir
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/
RSSFeedGetPropertyTask.java 13 import java.io.File;
25 * file - path to the XML file that will be read - eg., /path/to/file.to.read.xml
36 private File file; field in class:RSSFeedGetPropertyTask
44 public void setFile(String file) {
45 if (isNullString(file))
48 { this.file = new File(file); }
    [all...]
  /external/emma/ant/ant14/com/vladium/emma/ant/
FileTask.java 11 import java.io.File;
33 // public FileElement (final List /* File */ files)
38 // public void setFile (final File file)
40 // if (file != null) m_files.add (file);
44 // private final List /* File */ m_files;
62 // // infile|file element:
95 final File dsBaseDir = ds.getBasedir ();
100 _files.add (new File (dsBaseDir, dsfiles [f]).getAbsolutePath ())
    [all...]
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/
AbstractTransformTask.java 5 * use this file except in compliance with the License. You may obtain a copy of
53 protected void processFile(File file) throws Exception {
55 if (isClassFile(file)) {
57 processClassFile(file);
59 } else if (isJarFile(file)) {
61 processJarFile(file);
65 log("ignoring " + file.toURL(), Project.MSG_WARN);
71 * @param file
77 private void processClassFile(File file) throws Exception
    [all...]
  /external/proguard/src/proguard/ant/
ConfigurationElement.java 33 * in Ant, or a file set of ProGuard-style configuration files.
46 File baseDir;
51 // Get the referenced path or file set.
57 // The reference doesn't point to a file set, but to a
72 // Get the names of the existing input files in the referenced file set.
84 // Get the names of the existing input files in the referenced file set.
101 File configurationFile = new File(baseDir, fileNames[index]);
  /external/proguard/src/proguard/util/
FileNameParser.java 23 import java.io.File;
27 * matching file names. The regular expressions can contain the following
29 * '?' for a single regular file name character,
30 * '*' for any number of regular file name characters, and
31 * '**' for any number of regular file name characters or directory separator
69 new char[] { File.pathSeparatorChar, '/' },
83 new char[] { File.pathSeparatorChar, '/' },
100 * A main method for testing file name matching.
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
XTagXmlResourceLoader.java 3 import java.io.File;
38 protected void processResourceXml( File xmlFile, Document document, boolean isSystem ) throws Exception {
54 * Convert file name to resource name.
57 * Xml File
60 private String toResourceName( File xmlFile ) {
  /frameworks/base/core/java/android/net/
SSLSessionCache.java 5 * you may not use this file except in compliance with the License.
26 import java.io.File;
33 * File-based cache of established SSL sessions. When re-establishing a
86 public SSLSessionCache(File dir) throws IOException {
97 File dir = context.getDir("sslcache", Context.MODE_PRIVATE);
  /frameworks/base/core/java/android/os/
SELinux.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
60 * Sets the security context for newly created file objects.
67 * Change the security context of an existing file object.
68 * @param path representing the path of file object to relabel.
75 * Get the security context of a file object.
76 * @param path the pathname of the file object.
133 * Restores a file to its default SELinux security context.
139 * @param pathname The pathname of the file to be relabeled.
149 * Restores a file to its default SELinux security context
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
AppCacheTest.java 5 * you may not use this file except in compliance with the License.
34 import java.io.File;
58 void cleanUpDirectory(File pDir, String dirName) {
59 File testDir = new File(pDir, dirName);
65 File file = new File(testDir, fList[i]); local
66 if(file.isDirectory()) {
69 file.delete()
87 File file = new File(testDir, fList[i]); local
222 File file = new File(con.getCacheDir(), fileName); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
PackageSetting.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
32 PackageSetting(String name, String realName, File codePath, File resourcePath,
  /frameworks/volley/src/com/android/volley/toolbox/
Volley.java 5 * you may not use this file except in compliance with the License.
28 import java.io.File;
43 File cacheDir = new File(context.getCacheDir(), DEFAULT_CACHE_DIR);
  /libcore/luni/src/main/java/javax/xml/transform/stream/
StreamSource.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;
133 * Construct a StreamSource from a File.
135 * @param f Must a non-null File reference.
137 public StreamSource(File f) {
241 * Set the system ID from a File reference.
243 * @param f Must a non-null File reference.
245 public void setSystemId(File f)
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_ClassLoader.java 5 * you may not use this file except in compliance with the License.
18 import java.io.File;
25 * Support class for creating a file-based ClassLoader. Delegates to either
60 private static File tmp;
63 tmp = new File(System.getProperty("java.io.tmpdir"), "dex-cache");
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
SaveImage.java 5 * you may not use this file except in compliance with the License.
46 import java.io.File;
83 private final File mDestinationFile;
127 * @param destination Destinaton File, if this is null, a new file will be
133 File destination, Bitmap previewImage, Callback callback) {
147 public static File getFinalSaveDirectory(Context context, Uri sourceUri) {
148 File saveDirectory = SaveImage.getSaveDirectory(context, sourceUri);
150 saveDirectory = new File(Environment.getExternalStorageDirectory(),
159 public static File getNewFile(Context context, Uri sourceUri)
531 File file = new File(saveDirectory, filename + ".JPG"); local
583 File file = getLocalFileFromUri(context, sourceUri); local
608 final File[] file = new File[1]; local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
CacheManager.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
48 File cacheDir = context.getExternalCacheDir();
75 File cacheDir = context.getExternalCacheDir();
  /packages/apps/HTMLViewer/src/com/android/htmlviewer/
FileContentProvider.java 5 * use this file except in compliance with the License. You may obtain a copy
20 import java.io.File;
32 * WebView does not support file: loading. This class wraps a file load
35 * Javascript to be run, it is safe to load file based HTML content.
60 File f = new File(filename);
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDebugActivity.java 5 * you may not use this file except in compliance with the License.
33 import java.io.File;
74 new File(Environment.getExternalStorageDirectory(), OUT_FILE).exists();
98 File outFile = new File(Environment.getExternalStorageDirectory(), OUT_FILE);
102 private class DumpDbTask extends AsyncTask<Void, Void, File> {
112 protected File doInBackground(Void... params) {
117 File path = Environment.getExternalStorageDirectory();
118 File outFile = new File(path, OUT_FILE)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
FileStorage.java 5 * you may not use this file except in compliance with the License.
28 import java.io.File;
33 * Implementation of storage for a local file
34 * (<code>java.io.File</code>).
42 * The file this storage refers to.
44 private File mFile = null;
47 * Constructs and returns storage for the given file.
49 * @param file a local file
51 public FileStorage(File file)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/
SaveImageAction.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
55 File f = new File(path);
  /system/core/fastbootd/other/sign/src/
SignImg.java 52 File file = new File(path); local
53 FileInputStream fis = new FileInputStream(file);
54 byte[] data = new byte[(int)file.length()];
68 File file = new File(path); local
69 FileInputStream fis = new FileInputStream(file);
70 byte[] data = new byte[(int)file.length()]
80 File file = new File(path); local
91 File file = new File(path); local
102 File file = new File(path); local
168 File file = new File(args[3]); local
    [all...]
  /cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/
FileUtil.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
68 * create a new file under the given dirName.
74 public static File createNewFile(Context context, String dirName) {
75 File topDir = new File(context.getFilesDir(), dirName);
96 return new File(topDir, newFileName);
106 public static File[] createNewFiles(Context context, String dirName, int count) {
107 File[] files = new File[count]
143 File file = createNewFile(context, dirName); local
272 File file = FileUtil.createNewFilledFile(context, local
327 File file = FileUtil.createNewFilledFile(context, local
381 File file = FileUtil.createNewFilledFile(context, local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
ComponentsView.java 15 import java.io.File;
104 File resultsDir = null;
335 final File writeDir = changeDir(filter, "Select a directory to write the status");
342 this.writeStatus.setToolTipText("Write component status to a file");
388 this.resultsDir = new File(dir);
453 protected void writeStatus(File writeDir) {
456 writeDir = new File(writeDir, "fingerprints");
458 writeDir = new File(writeDir, "all");
462 writeDir = new File(writeDir, "values");
466 writeDir = new File(writeDir, Integer.toString(buildsNumber))
    [all...]
  /frameworks/base/core/tests/coretests/src/android/os/storage/
StorageManagerBaseTest.java 5 * you may not use this file except in compliance with the License.
33 import java.io.File;
81 * @param obbFilePath path to the OBB image file
82 * @param pathToContentsFile path to a file on the mounted OBB volume to open after the OBB
88 assertTrue("path to contents file cannot be null!", pathToContentsFile != null);
95 * Mounts OBB_FILE_1, and tries to open a file on the mounted OBB (specified in the
97 * closes the opened file.
100 // the official OBB file path and the mount-request file path should be the same, but
103 assertEquals("Expected and actual OBB file paths differ!", mObbFilePath
    [all...]
  /external/chromium_org/chrome/browser/sync_file_system/local/
local_file_sync_context_unittest.cc 3 // found in the LICENSE file.
40 // multi-file-system-context environment.
41 // Basic combined tests (single-thread / single-file-system-context)
59 file_error_(base::File::FILE_ERROR_FAILED),
188 file_error_ = base::File::FILE_ERROR_FAILED;
194 base::File::Error WaitUntilModifyFileIsDone() {
200 void DidModifyFile(base::File::Error error) {
243 ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem());
245 const FileSystemURL kFile(file_system.URL("file"));
246 EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile))
    [all...]

Completed in 2292 milliseconds

<<21222324252627282930>>