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

<<11121314151617181920>>

  /external/proguard/src/proguard/ant/
ProGuardTask.java 39 public void setConfiguration(File configurationFile) throws BuildException
107 public void setPrintseeds(File printSeeds)
119 public void setPrintusage(File printUsage)
155 public void setPrintmapping(File printMapping)
161 public void setApplymapping(File applyMapping)
167 public void setObfuscationdictionary(File obfuscationDictionary)
173 public void setClassobfuscationdictionary(File classObfuscationDictionary)
179 public void setPackageobfuscationdictionary(File packageObfuscationDictionary)
297 public void setPrintconfiguration(File printConfiguration)
303 public void setDump(File dump
    [all...]
  /frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
ObbBackupService.java 5 * you may not use this file except in compliance with the License.
30 import java.io.File;
60 File obbDir = Environment.buildExternalStorageAppObbDirs(packageName)[0];
63 ArrayList<File> obbList = allFileContents(obbDir);
71 for (File f : obbList) {
102 * Restore an OBB file for the given package from the incoming stream
109 File outFile = Environment.buildExternalStorageAppObbDirs(packageName)[0];
111 outFile = new File(outFile, path);
115 // us proceed with the next file segment in the stream. We pass -1
116 // for the file mode to suppress attempts to chmod() on shared storage
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
BaseVoicemailProviderTest.java 5 * you may not use this file except in compliance with the License.
28 import java.io.File;
39 private File mTestDirectory;
98 public File getDir(String name, int mode) {
105 private synchronized File getTestDirectory() {
107 File baseDirectory = getContext().getCacheDir();
108 mTestDirectory = new File(baseDirectory, Long.toString(System.currentTimeMillis()));
121 private static void recursiveDeleteAll(File input) {
123 for (File file : input.listFiles())
    [all...]
  /external/chromium_org/chrome/browser/chromeos/file_system_provider/fileapi/
provider_async_file_util_unittest.cc 3 // found in the LICENSE file.
8 #include "base/files/file.h"
36 const char kFileSystemId[] = "testing-file-system";
46 void OnStatus(base::File::Error error) {
47 error_.reset(new base::File::Error(error));
50 void OnCreateOrOpen(base::File file,
52 if (file.IsValid())
53 error_.reset(new base::File::Error(base::File::FILE_OK))
    [all...]
  /frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
Main.java 5 * you may not use this file except in compliance with the License.
40 import java.io.File;
55 * 4. build.prop file
103 if (platformDir != null && !platformDir.isEmpty() && new File(platformDir).isDirectory()) {
109 platformDir = getPlatformDirFromHostOut(new File(androidHostOut));
115 File workingDir = new File(workingDirString);
123 File currentDir = workingDir;
132 private static String getPlatformDirFromRoot(File root) {
136 File out = new File(root, "out")
    [all...]
  /libcore/luni/src/main/java/java/io/
File.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
35 * An "abstract" representation of a file system entity identified by a
37 * of the file system) or relative to the current directory in which the program
40 * <p>The actual file referenced by a {@code File} may or may not exist. It may
41 * also, despite the name {@code File}, be a directory or other non-regular
42 * file.
44 * <p>This class provides limited functionality for getting/setting file
    [all...]
  /development/tools/idegen/src/com/android/idegen/
Module.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
36 * Module constructed from a make file.
38 * TODO: read the make file and understand included source dirs in addition to searching
60 * All possible attributes for the make file.
70 private File imlFile;
72 private Set<File> allDependentImlFiles = Sets.newHashSet();
74 private File makeFile;
75 private File moduleRoot;
76 private HashSet<File> sourceFiles = Sets.newHashSet()
    [all...]
  /frameworks/base/core/java/android/os/
FileUtils.java 5 * you may not use this file except in compliance with the License.
28 import java.io.File;
68 * Set owner and mode of of given {@link File}.
75 public static int setPermissions(File path, int mode, int uid, int gid) {
161 // copy a file from srcFile to destFile, return true if succeed, return
163 public static boolean copyFile(File srcFile, File destFile) {
182 public static boolean copyToFile(InputStream inputStream, File destFile) {
210 * @param file The file to chec
351 final File file = files[i]; local
    [all...]
  /libcore/luni/src/test/java/dalvik/system/
DexClassLoaderTest.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
33 private static final File WORKING_DIR;
37 File runner_dir = new File("/data/data/android.core.tests.runner");
41 WORKING_DIR = new File("/data/local/tmp");
44 private static final File TMP_DIR = new File(WORKING_DIR, "loading-test");
50 private static final File JAR_FILE = new File(TMP_DIR, JAR_NAME)
    [all...]
  /packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/tool/
DMTS.java 20 File f;
21 f = new File(pathFrom);
23 throw new Exception("File doesn't exists: " + pathFrom);
25 f = new File(pathTo);
27 Util.verbose("Removing file: " + pathTo + "...");
47 Util.verbose("Converting dmts file to directory Dmt ...");
55 File f = new File(tmpDirPath);
65 Util.verbose("Unzipping file to directory Dmt ...");
69 Util.verbose("Converting directory Dmt to dmts file...")
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
ResourceLoader.java 22 import java.io.File;
36 public boolean accept( File file ) {
37 return isMenuDirectory( file.getPath() );
42 public boolean accept( File file ) {
43 return isLayoutDirectory( file.getPath() );
48 public boolean accept( File file ) {
49 return isDrawableDirectory( file.getPath() )
    [all...]
  /cts/tools/cts-java-scanner/src/com/android/cts/javascanner/
DocletRunner.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
28 private final File mSourceDir;
29 private final File mDocletPath;
31 DocletRunner(File sourceDir, File docletPath) {
70 private String getSourcePath(File sourceDir) {
91 private List<String> getSourceFiles(File sourceDir) {
94 File[] files = sourceDir.listFiles(new FileFilter() {
96 public boolean accept(File pathname)
    [all...]
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
ANTLRFileStream.as 2 import flash.filesystem.File;
8 protected var _file:File;
10 public function ANTLRFileStream(file:File, encoding:String = null) {
11 load(file, encoding);
14 public function load(file:File, encoding:String = null):void {
15 _file = file;
17 encoding = File.systemCharset;
23 stream.open(file, FileMode.READ)
    [all...]
  /external/lzma/CPP/7zip/Common/
FileStreams.h 27 NWindows::NFile::NIO::CInFile File;
36 NC::NFile::NIO::CInFile File;
82 NWindows::NFile::NIO::COutFile File;
84 NC::NFile::NIO::COutFile File;
91 return File.Create(fileName, createAlways);
96 return File.Open(fileName, creationDisposition);
103 return File.Create(fileName, createAlways);
108 return File.Open(fileName, creationDisposition);
120 return File.SetTime(cTime, aTime, mTime);
122 bool SetMTime(const FILETIME *mTime) { return File.SetMTime(mTime); }
    [all...]
FileStreams.cpp 34 return File.Open(fileName);
41 return File.Open(fileName);
48 return File.OpenShared(fileName, shareForWrite);
55 return File.OpenShared(fileName, shareForWrite);
89 if (File.IsDeviceFile)
91 if (File.LengthDefined)
93 if (VirtPos >= File.Length)
94 return VirtPos == File.Length ? S_OK : E_FAIL;
95 UInt64 rem = File.Length - VirtPos;
137 bool result = File.Seek(alignedPos, FILE_BEGIN, realNewPosition);
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
FileRotator.java 5 * you may not use this file except in compliance with the License.
24 import java.io.File;
38 * a single "active" file, which is periodically rotated into historical files,
44 * enables atomic rewriting of file contents in
54 private final File mBasePath;
62 // TODO: provide method to append to active file
89 * Create a file rotator.
93 * @param rotateAgeMillis Age in milliseconds beyond which an active file
94 * may be rotated into a historical file.
95 * @param deleteAgeMillis Age in milliseconds beyond which a rotated file
115 final File file = new File( local
125 final File file = new File( local
160 final File file = new File(mBasePath, name); local
235 final File file = new File(mBasePath, name); local
295 final File file = new File(mBasePath, name); local
354 final File file = new File(mBasePath, name); local
362 final File file = new File(mBasePath, name); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
FileOutputStreamTest.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;
33 private File f;
64 * java.io.FileOutputStream#FileOutputStream(java.io.File)
67 f = File.createTempFile("FileOutputStreamTest", "tst");
75 f = File.createTempFile("FileOutputStreamTest", "tst");
90 f = File.createTempFile("FileOutputStreamTest", "tst");
104 f = File.createTempFile("FileOutputStreamTest", "tst")
200 File file = File.createTempFile("FileOutputStreamTest", ".tmp"); local
    [all...]
  /external/chromium_org/base/files/
memory_mapped_file_unittest.cc 3 // found in the LICENSE file.
40 File file(temp_file_path_,
41 File::FLAG_CREATE_ALWAYS | File::FLAG_READ | File::FLAG_WRITE);
42 EXPECT_TRUE(file.IsValid());
46 file.Write(0, reinterpret_cast<char*>(test_data.get()), size);
48 file.Close();
72 map.Initialize(File(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ))
    [all...]
  /external/chromium_org/net/disk_cache/blockfile/
file_win.cc 3 // found in the LICENSE file.
5 #include "net/disk_cache/blockfile/file.h"
17 MyOverlapped(disk_cache::File* file, size_t offset,
25 scoped_refptr<disk_cache::File> file_;
59 MyOverlapped::MyOverlapped(disk_cache::File* file, size_t offset,
64 file_ = file;
72 File::File(base::File file
224 HANDLE file = platform_file(); local
234 HANDLE file = platform_file(); local
    [all...]
  /frameworks/support/v4/java/android/support/v4/provider/
RawDocumentFile.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
28 private File mFile;
30 RawDocumentFile(DocumentFile parent, File file) {
32 mFile = file;
42 final File target = new File(mFile, displayName);
54 final File target = new File(mFile, displayName)
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
FileWriterWithEncoding.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;
38 * By default, the file will be overwritten, but this may be changed to append.
58 * Constructs a FileWriterWithEncoding with a file encoding.
60 * @param filename the name of the file to write to, not null
62 * @throws NullPointerException if the file name or encoding is null
66 this(new File(filename), encoding, false);
70 * Constructs a FileWriterWithEncoding with a file encoding
    [all...]
  /cts/tools/signature-tools/src/signature/io/impl/
BinaryApi.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
35 File directory = new File(fileName);
40 File file = new File(directory, getFileName(api)); local
41 file.createNewFile();
44 file));
63 "Only one file can be processed by the binary signature " +
67 File file = new File(fileName); local
    [all...]
  /external/chromium_org/chrome/common/media_galleries/
picasa_types.h 3 // found in the LICENSE file.
12 #include "base/files/file.h"
68 // Special empty file used to confirm existence of table.
69 base::File indicator_file;
71 base::File category_file;
72 base::File date_file;
73 base::File filename_file;
74 base::File name_file;
75 base::File token_file;
76 base::File uid_file
    [all...]
  /external/chromium_org/remoting/host/native_messaging/
native_messaging_channel.cc 3 // found in the LICENSE file.
20 base::File DuplicatePlatformFile(base::File file) {
24 file.TakePlatformFile(),
30 PLOG(ERROR) << "Failed to duplicate handle " << file.GetPlatformFile();
31 return base::File();
33 return base::File(result);
35 result = dup(file.GetPlatformFile());
36 return base::File(result)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
JarOutputStreamTest.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;
38 File fooJar = File.createTempFile("hyts_", ".jar");
40 File barZip = File.createTempFile("hyts_", ".zip");
68 File fooJar = File.createTempFile("hyts_", ".jar")
    [all...]

Completed in 1078 milliseconds

<<11121314151617181920>>