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

1 2 34 5 6 7 8 91011>>

  /development/tools/idegen/src/com/android/idegen/
IntellijProject.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
46 File indexFile;
47 File projectPath;
52 this.indexFile = new File(Preconditions.checkNotNull(indexFile));
53 this.projectPath = new File(Preconditions.checkNotNull(projectPath));
61 File repoRoot = DirectorySearch.getRepoRoot();
63 File frameworkDir = new File(repoRoot, FRAMEWORK_MODULE_DIR);
66 buildFrameWorkModule(new File(repoRoot, FRAMEWORK_MODULE_DIR))
    [all...]
  /external/chromium_org/net/disk_cache/blockfile/
file_posix.cc 3 // found in the LICENSE file.
5 #include "net/disk_cache/blockfile/file.h"
37 File::File(base::File file)
40 base_file_(file.Pass()) {
43 bool File::Init(const base::FilePath& name) {
47 int flags = base::File::FLAG_OPEN | base::File::FLAG_READ
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestResultRepo.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
37 * ordered list of result directories. the index of each file is its session id.
39 private List<File> mResultDirs;
46 public TestResultRepo(File testResultsDir) {
47 mResultDirs = new ArrayList<File>();
48 File[] resultArray = testResultsDir.listFiles(new ResultDirFilter());
50 List<File> resultList = new ArrayList<File>();
54 File resultFile = new File(resultList.get(i)
    [all...]
  /external/chromium_org/webkit/browser/fileapi/
native_file_util.h 3 // found in the LICENSE file.
8 #include "base/files/file.h"
41 static base::File CreateOrOpen(const base::FilePath& path, int file_flags);
42 static base::File::Error EnsureFileExists(const base::FilePath& path,
44 static base::File::Error CreateDirectory(const base::FilePath& path,
47 static base::File::Error GetFileInfo(const base::FilePath& path,
48 base::File::Info* file_info);
52 static base::File::Error Touch(const base::FilePath& path,
55 static base::File::Error Truncate(const base::FilePath& path,
59 static base::File::Error CopyOrMoveFile
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/
SizeFileComparator.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;
27 * {@link File#length()} and {@link FileUtils#sizeOfDirectory(File)}).
35 * List&lt;File&gt; list = ...
42 * File[] array = ...
52 public class SizeFileComparator implements Comparator<File>, Serializable {
55 public static final Comparator<File> SIZE_COMPARATOR = new SizeFileComparator()
    [all...]
  /external/chromium_org/content/browser/fileapi/
file_system_operation_runner_unittest.cc 3 // found in the LICENSE file.
22 base::File::Error *status_out,
23 base::File::Error status) {
31 base::File::Error *status_out,
32 base::File::Error status) {
77 base::File::Error status = base::File::FILE_ERROR_FAILED;
85 ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND, status);
90 base::File::Error status = base::File::FILE_ERROR_FAILED
    [all...]
  /development/tools/idegen/src/
Configuration.java 5 * you may not use this file except in compliance with the License.
17 import java.io.File;
37 public final SortedSet<File> sourceRoots;
40 public final List<File> jarFiles;
43 public final SortedSet<File> excludedDirs;
46 public final File toolDirectory;
48 /** File name used for excluded path files. */
56 this.toolDirectory = new File("development/tools/idegen");
68 List<File> jarFiles = new ArrayList<File>(500)
    [all...]
  /art/runtime/
os_linux.cc 5 * you may not use this file except in compliance with the License.
30 File* OS::OpenFileForReading(const char* name) {
34 File* OS::OpenFileReadWrite(const char* name) {
38 File* OS::CreateEmptyFile(const char* name) {
42 File* OS::OpenFileWithFlags(const char* name, int flags) {
44 std::unique_ptr<File> file(new File);
45 if (!file->Open(name, flags, 0666)) {
48 return file.release()
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
Proc.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
29 File f = new File("/proc");
30 for (File d : f.listFiles()) {
32 File cmdLine = new File(cmdLineString);
  /external/chromium_org/third_party/WebKit/Source/core/fileapi/
File.h 41 class File FINAL : public Blob {
50 static PassRefPtrWillBeRawPtr<File> create(const String& path, ContentTypeLookupPolicy policy = WellKnownContentTypes)
52 return adoptRefWillBeNoop(new File(path, policy));
55 static PassRefPtrWillBeRawPtr<File> create(const String& name, double modificationTime, PassRefPtr<BlobDataHandle> blobDataHandle)
57 return adoptRefWillBeNoop(new File(name, modificationTime, blobDataHandle));
61 static PassRefPtrWillBeRawPtr<File> create(const String& path, const String& name, const String& relativePath, bool hasSnaphotData, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle> blobDataHandle)
63 return adoptRefWillBeNoop(new File(path, name, relativePath, hasSnaphotData, size, lastModified, blobDataHandle));
65 static PassRefPtrWillBeRawPtr<File> create(const String& path, const String& name, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle> blobDataHandle)
67 return adoptRefWillBeNoop(new File(path, name, String(), true, size, lastModified, blobDataHandle));
70 static PassRefPtrWillBeRawPtr<File> createWithRelativePath(const String& path, const String& relativePath)
    [all...]
FileList.h 30 #include "core/fileapi/File.h"
47 File* item(unsigned index) const;
51 void append(PassRefPtrWillBeRawPtr<File> file) { m_files.append(file); }
59 WillBeHeapVector<RefPtrWillBeMember<File> > m_files;
  /external/proguard/src/proguard/io/
FileDataEntry.java 28 * This <code>DataEntry</code> represents a file.
34 private final File directory;
35 private final File file; field in class:FileDataEntry
39 public FileDataEntry(File directory,
40 File file)
43 this.file = file;
51 // Chop the directory name from the file name and get the right separators
    [all...]
  /packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/io/
FNode.java 5 * you may not use this file except in compliance with the License.
21 // General Description: Provides redirection to FNode (the default File
28 import java.io.File;
34 * Default implementation to redirect to File class
39 private final File file; field in class:FNode
43 file = new File(path);
46 protected FNode(File file) {
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
AssetFileAddress.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
25 * As opposed to a normal file, an asset is usually represented as a contiguous byte array in
26 * the package file. Open it correctly thus requires the name of the package it is in, but
27 * also the offset in the file and the length of this data. This class encapsulates these three.
40 public static AssetFileAddress makeFromFile(final File file) {
41 if (!file.isFile()) return null;
42 return new AssetFileAddress(file.getAbsolutePath(), 0L, file.length())
    [all...]
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
TestPackageDefTest.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
30 * Regression test for {@link TestPackageDef#generateDigest(File, String)} that ensures expected
36 InputStream getFileStream(File dir, String fileName) {
40 String digest = def.generateDigest(new File("unused"), "alsounused");
  /external/chromium_org/base/files/
file_util_proxy.cc 3 // found in the LICENSE file.
21 callback.Run(value ? File::FILE_OK : File::FILE_ERROR_FAILED);
27 : error_(File::FILE_OK) {}
31 error_ = File::FILE_ERROR_NOT_FOUND;
35 error_ = File::FILE_ERROR_FAILED;
45 File::Error error_;
46 File::Info file_info_;
50 File::Error DeleteAdapter(const FilePath& file_path, bool recursive) {
52 return File::FILE_ERROR_NOT_FOUND
    [all...]
  /external/chromium_org/dbus/
file_descriptor.cc 3 // found in the LICENSE file.
5 #include "base/files/file.h"
13 base::File auto_closer(value_);
28 base::File file(value_);
29 base::File::Info info;
30 bool ok = file.GetInfo(&info);
31 file.TakePlatformFile(); // Prevent |value_| from being closed by |file|.
  /external/chromium_org/net/disk_cache/simple/
simple_test_util.cc 3 // found in the LICENSE file.
7 #include "base/files/file.h"
18 int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE;
19 base::File entry_file(entry_file_path, flags);
  /external/lldb/include/lldb/Core/
StreamFile.h 5 // This file is distributed under the University of Illinois Open Source
22 #include "lldb/Host/File.h"
40 StreamFile (FILE *fh, bool transfer_ownership);
45 File &
51 const File &
67 File m_file;
  /external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
WebServerPlugin.java 3 import java.io.File;
16 boolean canServeUri(String uri, File rootDir);
18 NanoHTTPD.Response serveFile(String uri, Map<String, String> headers, IHTTPSession session, File file, String mimeType);
  /frameworks/support/v4/api21/android/support/v4/content/
ContextCompatApi21.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
29 public static File getNoBackupFilesDir(Context context) {
33 public static File getCodeCacheDir(Context context) {
  /libcore/dalvik/src/main/java/dalvik/system/
ZygoteHooks.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
70 File tasks = new File("/proc/self/task");
  /libcore/luni/src/main/java/java/io/
FileWriter.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 * A specialized {@link Writer} that writes to a file in the file system.
34 * Creates a FileWriter using the File {@code file}.
36 * @param file
37 * the non-null File to write bytes to.
39 * if {@code file} cannot be opened for writing
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldFileReaderTest.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;
29 File noFile = new File(System.getProperty("java.io.tmpdir"), "noreader.tst");
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
EmptyFileFilter.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;
25 * If the <code>File</code> is a directory it checks that
32 * File dir = new File(".");
44 * File dir = new File(".");
69 * Checks to see if the file is empty
    [all...]

Completed in 663 milliseconds

1 2 34 5 6 7 8 91011>>