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

<<11121314151617181920>>

  /external/chromium_org/chrome/browser/sync_file_system/local/
syncable_file_operation_runner_unittest.cc 3 // found in the LICENSE file.
9 #include "base/files/file.h"
33 using base::File;
39 const std::string kFile = "foo/file";
59 write_status_(File::FILE_ERROR_FAILED),
78 ASSERT_EQ(File::FILE_OK, file_system_.OpenFileSystem());
79 ASSERT_EQ(File::FILE_OK,
101 write_status_ = File::FILE_ERROR_FAILED;
108 File::Error expect) {
120 File::Error status, int64 bytes, bool complete)
    [all...]
canned_syncable_file_system.h 3 // found in the LICENSE file.
12 #include "base/files/file.h"
64 base::File::Error result)>
66 typedef base::Callback<void(base::File::Error)> StatusCallback;
95 // Opens a new syncable file system.
96 base::File::Error OpenFileSystem();
115 // Helper routines to perform file system operations.
118 // posts a task on file runner.
119 base::File::Error CreateDirectory(const fileapi::FileSystemURL& url);
120 base::File::Error CreateFile(const fileapi::FileSystemURL& url)
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
FileClientSessionCache.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
35 * File-based cache implementation. Only one process should access the
44 * This cache creates one file per SSL session using "host.port" for
45 * the file name. Files are created or replaced when session data is put
50 * least-recently-used file. We don't current persist the last access time,
58 final File directory;
61 * Map of name -> File. Keeps track of the order files were accessed in.
63 Map<String, File> accessOrder = newAccessOrder();
77 Impl(File directory) throws IOException
136 File file = accessOrder.get(name); local
197 File file = new File(directory, name); local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
UnpackUpdateJars.java 14 import java.io.File;
58 new File(output).mkdirs();
59 new File(output+"/features").mkdirs();
60 new File(output+"/plugins").mkdirs();
63 File featureDir=new File(site,"features");
67 File[] features = featureDir.listFiles();
69 File feature = features[i];
73 File unPackedFeature=new File(output+"/features/"+ unpackedFeatureName)
    [all...]
  /external/jarjar/src/main/com/tonicsystems/jarjar/util/
ClassPathIterator.java 5 * you may not use this file except in compliance with the License.
27 public boolean accept(File file) {
28 return file.isDirectory() || isClass(file.getName());
33 public boolean accept(File file) {
34 return hasExtension(file.getName(), ".jar");
38 private final Iterator<File> files;
44 this(new File(System.getProperty("user.dir")), classPath, null)
65 File file = new File(part); local
117 File file = files.next(); local
    [all...]
  /external/chromium_org/content/browser/fileapi/
local_file_util_unittest.cc 3 // found in the LICENSE file.
8 #include "base/files/file.h"
94 base::File::Info info;
99 base::File CreateFile(const char* file_name) {
100 int file_flags = base::File::FLAG_CREATE |
101 base::File::FLAG_WRITE | base::File::FLAG_ASYNC;
108 base::File::Error EnsureFileExists(const char* file_name,
129 base::File file = CreateFile(file_name) local
159 base::File file = file_util()->CreateOrOpen(context.get(), url, file_flags); local
180 base::File file = CreateFile(file_name); local
    [all...]
  /external/chromium_org/content/browser/renderer_host/pepper/
pepper_flash_file_message_filter.cc 3 // found in the LICENSE file.
9 #include "base/files/file.h"
74 // The blocking pool provides a pool of threads to run file
114 return ppapi::FileErrorToPepperError(base::File::FILE_ERROR_ACCESS_DENIED);
120 return base::File::FILE_ERROR_FAILED;
123 base::File file(full_path, platform_file_flags);
124 if (!file.IsValid()) {
125 return ppapi::FileErrorToPepperError(file.error_details());
130 base::File::Info info
    [all...]
  /packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/tool/
Zip.java 12 File input = new File(inputDir);
18 throw new Exception("Input file doesn't directory: " + inputDir);
21 File output = new File(outputFile);
23 throw new Exception("Output file is not zip: " + outputFile);
26 File parentDir = output.getParentFile();
34 topPath = input.getParentFile().getAbsolutePath() + File.separator;
39 File files[] = input.listFiles();
72 (outputDir.length() > 0 && !outputDir.endsWith(File.separator))
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
LockableFileWriter.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;
32 * cross thread file lock handling.
35 * that will use a lock file to prevent duplicate writes.
37 * By default, the file will be overwritten, but this may be changed to append.
54 /** The extension for the lock file. */
59 /** The lock file. */
60 private final File lockFile
    [all...]
  /packages/services/Telephony/sip/src/com/android/services/telephony/sip/
SipProfileDb.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
56 deleteProfile(new File(mProfilesDirectory + p.getProfileName()));
62 private void deleteProfile(File file) {
63 if (file.isDirectory()) {
64 for (File child : file.listFiles()) deleteProfile(child);
66 file.delete();
72 File f = new File(mProfilesDirectory + p.getProfileName())
    [all...]
  /developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
140 * Creates a media file in the {@code Environment.DIRECTORY_PICTURES} directory. The directory
144 * @return A file object pointing to the newly created file.
146 public static File getOutputMediaFile(int type){
153 File mediaStorageDir = new File(Environment.getExternalStoragePublicDirectory(
166 // Create a media file name
168 File mediaFile
    [all...]
  /developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
140 * Creates a media file in the {@code Environment.DIRECTORY_PICTURES} directory. The directory
144 * @return A file object pointing to the newly created file.
146 public static File getOutputMediaFile(int type){
153 File mediaStorageDir = new File(Environment.getExternalStoragePublicDirectory(
166 // Create a media file name
168 File mediaFile
    [all...]
  /developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
140 * Creates a media file in the {@code Environment.DIRECTORY_PICTURES} directory. The directory
144 * @return A file object pointing to the newly created file.
146 public static File getOutputMediaFile(int type){
153 File mediaStorageDir = new File(Environment.getExternalStoragePublicDirectory(
166 // Create a media file name
168 File mediaFile
    [all...]
  /developers/samples/android/common/src/java/com/example/android/common/media/
CameraHelper.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
140 * Creates a media file in the {@code Environment.DIRECTORY_PICTURES} directory. The directory
144 * @return A file object pointing to the newly created file.
146 public static File getOutputMediaFile(int type){
153 File mediaStorageDir = new File(Environment.getExternalStoragePublicDirectory(
166 // Create a media file name
168 File mediaFile
    [all...]
  /development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
CameraHelper.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
140 * Creates a media file in the {@code Environment.DIRECTORY_PICTURES} directory. The directory
144 * @return A file object pointing to the newly created file.
146 public static File getOutputMediaFile(int type){
153 File mediaStorageDir = new File(Environment.getExternalStoragePublicDirectory(
166 // Create a media file name
168 File mediaFile
    [all...]
  /development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
CameraHelper.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
140 * Creates a media file in the {@code Environment.DIRECTORY_PICTURES} directory. The directory
144 * @return A file object pointing to the newly created file.
146 public static File getOutputMediaFile(int type){
153 File mediaStorageDir = new File(Environment.getExternalStoragePublicDirectory(
166 // Create a media file name
168 File mediaFile
    [all...]
  /development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
CameraHelper.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
140 * Creates a media file in the {@code Environment.DIRECTORY_PICTURES} directory. The directory
144 * @return A file object pointing to the newly created file.
146 public static File getOutputMediaFile(int type){
153 File mediaStorageDir = new File(Environment.getExternalStoragePublicDirectory(
166 // Create a media file name
168 File mediaFile
    [all...]
  /external/chromium_org/base/files/
file.h 3 // found in the LICENSE file.
45 // Thin wrapper around an OS-level file.
50 // file system object is affected by a particular method in order to consider
55 class BASE_EXPORT File {
56 MOVE_ONLY_TYPE_FOR_CPP_03(File, RValue)
61 // a file.
64 // FLAG_EXCLUSIVE_(READ|WRITE) only grant exclusive access to the file on
67 FLAG_OPEN = 1 << 0, // Opens a file, only if it exists.
68 FLAG_CREATE = 1 << 1, // Creates a new file, only if it does not
70 FLAG_OPEN_ALWAYS = 1 << 2, // May create a new file
    [all...]
  /frameworks/base/core/java/android/app/backup/
WallpaperBackupHelper.java 5 * you may not use this file except in compliance with the License.
30 import java.io.File;
60 new File(Environment.getUserSystemDirectory(UserHandle.USER_OWNER),
63 new File(Environment.getUserSystemDirectory(UserHandle.USER_OWNER),
70 // Stage file - should be adjacent to the WALLPAPER_IMAGE location. The wallpapers
71 // will be saved to this file from the restore stream, then renamed to the proper
75 new File(Environment.getUserSystemDirectory(UserHandle.USER_OWNER),
86 * within the file system.
128 * Restore one absolute file entity from the restore stream. If we're restoring the
129 * magic wallpaper file, take specific action to determine whether it is suitable fo
    [all...]
  /frameworks/base/keystore/java/android/security/
SystemKeyStore.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
74 File keyFile = getKeyFile(keyName);
105 private File getKeyFile(String keyName) {
106 File sysKeystoreDir = new File(Environment.getDataDirectory(),
108 File keyFile = new File(sysKeystoreDir, keyName + KEY_FILE_EXTENSION);
117 File keyFile = getKeyFile(keyName);
126 // Get the file first
    [all...]
  /cts/tools/cts-java-scanner/src/com/android/cts/javascanner/
CtsJavaScanner.java 5 * you may not use this file except in compliance with the License.
18 import java.io.File;
34 File sourceDir = null;
35 File docletPath = null;
39 sourceDir = new File(getArg(args, ++i, "Missing value for source directory"));
41 docletPath = new File(getArg(args, ++i, "Missing value for docletPath"));
  /development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/
RmTypeDefs.java 5 * you may not use this file except in compliance with the License.
28 import java.io.File;
58 private List<File> mAnnotationClassFiles = Lists.newArrayList();
59 private Set<File> mAnnotationOuterClassFiles = Sets.newHashSet();
71 List<File> dirs = new ArrayList<File>();
88 // Other arguments should be file names
89 File file = new File(arg) local
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
BuildDependencyGenerator.java 41 /** Given a grammar file, show the dependencies on .tokens etc...
65 * Operate on one grammar file at a time. If given a list of .g on the
71 * all of its template files in order to figure out the file extension
95 /** From T.g return a list of File objects that
98 public List<File> getGeneratedFileList() {
99 List<File> files = new ArrayList<File>();
100 File outputDir = tool.getOutputDirectory(grammarFileName);
107 outputDir = new File(escSpaces);
112 files.add(new File(outputDir, recognizer))
    [all...]
  /external/chromium_org/chromeos/dbus/
pipe_reader.cc 3 // found in the LICENSE file.
26 base::File PipeReader::StartIO() {
32 return base::File();
34 base::File pipe_write_end(pipe_fds[1]);
37 base::File(pipe_fds[0]), task_runner_));
45 return base::File();
  /external/chromium_org/webkit/browser/fileapi/
copy_or_move_operation_delegate.cc 3 // found in the LICENSE file.
41 // Copies a file on a (same) file system. Just delegate the operation to
73 // We can do nothing for the copy/move operation on a local file system.
88 // Specifically for cross file system copy/move operation, this class creates
89 // a snapshot file, validates it if necessary, runs copying process,
90 // validates the created file, and removes source file for move (noop for
131 base::File::Error error,
132 const base::File::Info& file_info
    [all...]

Completed in 1439 milliseconds

<<11121314151617181920>>