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

<<21222324252627282930>>

  /frameworks/base/test-runner/src/android/test/
ClassPathPackageInfoSource.java 5 * you may not use this file except in compliance with the License.
24 import java.io.File;
58 // A cache of jar file contents
59 private final Map<File, Set<String>> jarFiles = Maps.newHashMap();
113 File classPathEntry = new File(entryName);
124 File file = new File(apkPath); local
125 scanForApkFiles(file, packageName, classNames, subpackageNames)
    [all...]
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
RecognizerLogger.java 5 * you may not use this file except in compliance with the License.
28 import java.io.File;
45 * and the rest deleted to limit space used in the file system.
66 * @return true if logging is enabled, determined by the 'enabled' file.
69 File dir = context.getDir(LOGDIR, 0);
70 File enabled = new File(dir, ENABLED);
80 File dir = context.getDir(LOGDIR, 0);
81 File enabled = new File(dir, ENABLED)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoStore.java 5 * use this file except in compliance with the License. You may obtain a copy of
28 import java.io.File;
55 /** The file path for photo storage. */
56 private final File mStorePath;
69 public PhotoStore(File rootDirectory, ContactsDatabaseHelper databaseHelper) {
70 mStorePath = new File(rootDirectory, DIRECTORY);
88 File[] files = mStorePath.listFiles();
90 for (File file : files) {
91 cleanupFile(file);
194 File file = null; local
    [all...]
  /external/clang/include/clang/Lex/
HeaderSearch.h 1 //===--- HeaderSearch.h - Resolve Header File Locations ---------*- C++ -*-===//
5 // This file is distributed under the University of Illinois Open Source
10 // This file defines the HeaderSearch interface.
37 /// file that is \#included.
39 /// \brief True if this is a \#import'd or \#pragma once file.
42 /// \brief True if this is a \#pragma once file.
51 /// \brief Whether this header file info was supplied by an external source.
77 /// \brief Whether this file had been looked up as a header.
80 /// \brief The number of times the file has been included already.
90 /// If this file has a \#ifndef XXX (or equivalent) guard tha
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DeflaterOutputStreamTest.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;
88 File f1 = File.createTempFile("hyts_ConstruOD", ".tst");
114 File f1 = File.createTempFile("hyts_ConstruO", ".tst");
137 File f1 = File.createTempFile("hyts_ConstruODI", ".tst")
    [all...]
  /frameworks/support/v4/java/android/support/v4/content/
FileProvider.java 5 * you may not use this file except in compliance with the License.
40 import java.io.File;
48 * of files associated with an app by creating a <code>content://</code> {@link Uri} for a file
49 * instead of a <code>file:///</code> {@link Uri}.
60 * In comparison, to control access to a <code>file:///</code> {@link Uri} you have to modify the
61 * file system permissions of the underlying file. The permissions you provide become available to
65 * The increased level of file access security offered by a content URI
73 * <li><a href="#GetUri">Retrieving the Content URI for a File</li>
116 * request content URIs for the <code>images/</code> subdirectory of your private file area
412 final File file = mStrategy.getFileForUri(uri); local
451 final File file = mStrategy.getFileForUri(uri); local
497 final File file = mStrategy.getFileForUri(uri); local
519 final File file = mStrategy.getFileForUri(uri); local
709 File file = new File(root, path); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
SdkSelectionPage.java 5 * you may not use this file except in compliance with the License.
47 import java.io.File;
202 File previouslyChosenSample = mValues.chosenSample;
211 File root = new File(samplesRootPath);
221 Map<File, String> extras = sdkman.getExtraSamples();
222 for (Entry<File, String> entry : extras.entrySet()) {
223 File path = entry.getKey();
242 Collections.sort(mValues.samples, new Comparator<Pair<String, File>>() {
244 public int compare(Pair<String, File> o1, Pair<String, File> o2)
255 File file = mValues.samples.get(i).getSecond(); local
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/
SensorCtsHelper.java 5 * you may not use this file except in compliance with the License.
18 import java.io.File;
204 * @return A {@link File} representing a root directory to store sensor tests data.
206 public static File getSensorTestDataDirectory() throws IOException {
207 File dataDirectory = new File(System.getenv("EXTERNAL_STORAGE"), "sensorTests/");
216 public static File getSensorTestDataDirectory(String subdirectory) throws IOException {
217 File subdirectoryFile = new File(getSensorTestDataDirectory(), subdirectory);
222 * Ensures that the directory structure represented by the given {@link File} is created
    [all...]
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
ArchiveTest.java 3 // found in the LICENSE file.
17 import java.io.File;
42 File file = new File(path); local
43 if (file.exists())
44 assertTrue(file.delete());
45 assertFalse(file.exists());
76 File file = new File(expectedPath) local
    [all...]
  /external/chromium_org/webkit/browser/fileapi/
file_system_operation.h 3 // found in the LICENSE file.
11 #include "base/files/file.h"
40 // This interface defines file system operations required to implement
41 // "File API: Directories and System"
42 // http://www.w3.org/TR/file-system-api/
48 // 1) Serve one-time file system operation per instance. Only one
69 typedef base::Callback<void(base::File::Error result)> StatusCallback;
72 // |file_info| is the obtained file info.
74 void(base::File::Error result,
75 const base::File::Info& file_info)> GetMetadataCallback
    [all...]
file_system_operation_impl.cc 3 // found in the LICENSE file.
53 base::Bind(callback, base::File::FILE_ERROR_FAILED));
66 base::Bind(callback, base::File::FILE_ERROR_FAILED));
185 base::Bind(callback, base::File::FILE_ERROR_FAILED));
206 (base::File::FLAG_TEMPORARY | base::File::FLAG_HIDDEN)) {
207 callback.Run(base::File(base::File::FILE_ERROR_FAILED),
216 base::Bind(callback, Passed(base::File(base::File::FILE_ERROR_FAILED))
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/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
20 import java.io.File;
50 private File resources;
56 jarFile = new JarFile(new File(resources, jarName));
87 assertNotNull("Jar file is null", jarFile);
103 File file = null; local
106 file = new File(resources, attJarName)
130 File file = new File(resources, jarFileName); local
154 File file = new File(resources, jarFileName); local
    [all...]
JarFileTest.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;
62 private final String jarName = "hyts_patch.jar"; // a 'normal' jar file
104 private File resources;
123 * java.util.jar.JarFile#JarFile(java.io.File)
127 JarFile jarFile = new JarFile(new File("Wrong.file"));
135 JarFile jarFile = new JarFile(new File(resources, jarName))
416 File file = Support_Resources.getExternalLocalFile(jarDirUrl local
485 File file = File.createTempFile("hyts_manifest1", ".jar"); local
626 File file = new File(resources, jarName); local
661 File file = new File(resources, jarName); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
RuleLoader.java 5 * you may not use this file except in compliance with the License.
31 import java.io.File;
53 private List<Pair<File, Long>> mUserJarTimeStamps;
115 mUserJarTimeStamps = new ArrayList<Pair<File, Long>>();
119 String[] pathElements = path.split(File.pathSeparator);
122 File pathFile = new File(pathElement);
124 pathFile = new File(project.getLocation().toFile(), pathElement);
163 // TODO: Check the timestamp on the project.properties file so we can dynamically
176 for (Pair<File, Long> pair : mUserJarTimeStamps)
177 File file = pair.getFirst(); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/
SystraceOutputParser.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
136 public static String getJs(File assetsFolder) {
139 Files.toString(new File(assetsFolder, "script.js"), Charsets.UTF_8));
145 public static String getCss(File assetsFolder) {
148 Files.toString(new File(assetsFolder, "style.css"), Charsets.UTF_8));
154 public static String getHtmlPrefix(File assetsFolder) {
158 public static String getHtmlSuffix(File assetsFolder) {
162 private static String getHtmlTemplate(File assetsFolder, String htmlFileName) {
164 return Files.toString(new File(assetsFolder, htmlFileName), Charsets.UTF_8)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/drive/fileapi/
fileapi_worker_unittest.cc 3 // found in the LICENSE file.
31 // A test file system that always returns |local_file_path|. For testing
68 // file handle correctly writes to the expected file.
73 base::File file,
75 // Check that the file was properly opened.
76 EXPECT_TRUE(file.IsValid());
79 // Check that the file has the expected length (i.e., truncated or not)
80 base::File::Info info
    [all...]
  /external/chromium_org/content/browser/fileapi/
copy_or_move_operation_delegate_unittest.cc 3 // found in the LICENSE file.
47 base::File::Error error) {
48 ASSERT_EQ(base::File::FILE_OK, error);
70 : result_(pre_copy_valid ? base::File::FILE_OK :
71 base::File::FILE_ERROR_SECURITY),
72 write_result_(post_copy_valid ? base::File::FILE_OK :
73 base::File::FILE_ERROR_SECURITY),
88 base::File::Error result = write_result_;
91 result = base::File::FILE_ERROR_SECURITY;
99 base::File::Error result_
    [all...]
  /frameworks/base/services/core/java/com/android/server/updates/
ConfigUpdateInstallReceiver.java 5 * you may not use this file except in compliance with the License.
32 import java.io.File;
57 protected final File updateDir;
58 protected final File updateContent;
59 protected final File updateVersion;
63 this.updateDir = new File(updateDir);
64 this.updateContent = new File(updateDir, updateContentPath);
65 File updateMetadataDir = new File(updateDir, updateMetadataPath);
66 this.updateVersion = new File(updateMetadataDir, updateVersionPath)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
macostools.py 11 from Carbon import File, Files
34 srcfsr = File.FSRef(src)
39 dstdirfsr = File.FSRef(dstdir)
41 relativefsr = File.FSRef(relative)
43 alias = File.FSNewAlias(relativefsr, srcfsr)
48 File.FSGetResourceForkName())
49 h = Res.FSOpenResourceFile(dstfsr, File.FSGetResourceForkName(), 3)
76 """Tell the finder a file has changed. No-op on MacOSX."""
82 """Tell the finder a file has changed"""
88 f.update(File.FSRef(pardir)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/file_system_provider/fileapi/
file_stream_reader.cc 3 // found in the LICENSE file.
7 #include "base/files/file.h"
23 void EmptyStatusCallback(base::File::Error /* result */) {
32 // Opens a file for reading and calls the completion callback. Must be called
39 // TODO(mtomasz): Check if the modification time of the file is as expected.
45 base::File::FILE_ERROR_SECURITY);
63 base::File::Error result) {
71 // Closes a file. Ignores result, since it is called from a constructor.
80 // Requests reading contents of a file. In case of either success or a failure
82 // to false. This function guarantees that it will succeed only if the file ha
    [all...]
  /external/chromium_org/content/browser/quota/
quota_backend_impl_unittest.cc 3 // found in the LICENSE file.
30 base::File::Error* error_out,
32 base::File::Error error,
124 base::File::Error error = base::File::FILE_ERROR_FAILED;
127 ASSERT_EQ(base::File::FILE_OK, error);
140 base::File::Error error =
142 EXPECT_EQ(base::File::FILE_OK, error);
167 base::File::Error error = base::File::FILE_ERROR_FAILED
    [all...]
  /external/chromium_org/chrome/browser/media_galleries/fileapi/
device_media_async_file_util.cc 3 // found in the LICENSE file.
40 // Called when GetFileInfo method call failed to get the details of file
42 // caller about the file |error|.
44 base::File::Error error) {
46 callback.Run(error, base::File::Info());
53 const base::File::Info& file_info,
57 OnGetFileInfoError(callback, base::File::FILE_ERROR_NOT_FOUND);
60 callback.Run(base::File::FILE_OK, file_info);
70 callback.Run(base::File::FILE_OK, file_list, has_more);
77 base::File::Error error)
126 scoped_refptr<webkit_blob::ShareableFileReference> file = local
    [all...]
  /external/chromium-trace/trace-viewer/third_party/gl-matrix/tasks/support/
gl-matrix.rb 21 $:.unshift File.expand_path('.', File.dirname(__FILE__))
27 File.expand_path GLMatrix.base_path.join('spec/jasmine.yml')
57 Pathname.new File.expand_path('../..', File.dirname(__FILE__))
60 # Compiles the source file to the dest file. If a block
61 # is given, the source file is yielded and replaced with
68 File.open dest, "w" do |f|
  /external/chromium_org/components/nacl/browser/
pnacl_host.h 3 // found in the LICENSE file.
11 #include "base/files/file.h"
29 // Shared state (translation cache) and common utilities (temp file creation)
34 typedef base::Callback<void(base::File)> TempFileCallback;
35 typedef base::Callback<void(const base::File&, bool is_hit)> NexeFdCallback;
46 // Creates a temporary file that will be deleted when the last handle
50 // Create a temporary file, which will be deleted by the time the last
57 // have been copied into the temporary file. Otherwise |is_hit| is set to
58 // false and the temporary file will be writeable.
119 base::File* nexe_fd
    [all...]
  /external/chromium_org/content/browser/renderer_host/pepper/
pepper_file_io_host.h 3 // found in the LICENSE file.
12 #include "base/files/file.h"
37 typedef base::Callback<void(base::File::Error)> NotifyCloseFileCallback;
75 // Callback handlers. These mostly convert the File::Error to the
81 base::File::Error error_code);
84 base::File::Error error_code);
91 base::File file,
100 base::File file,
    [all...]

Completed in 1336 milliseconds

<<21222324252627282930>>