/cts/tools/dasm/src/dasm/ |
Main.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 41 * destination path to place .dex file(s) 77 * Called to assemble a single file. 80 * is the name of the file containing the DAsm source code. 85 // read and parse .d file 89 dAsm.readD(inp, new File(fname).getName(), generateLineNumbers); 114 // determine where to place .dex file 118 .toString(File.separatorChar)); 120 dest_dir = dest_dir + File.separator + class_dir [all...] |
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
CtsXmlResultReporterTest.java | 5 * you may not use this file except in compliance with the License. 34 import java.io.File; 52 private File mBuildDir; 53 private File mReportDir; 66 OutputStream createOutputResultStream(File reportDir) throws IOException { 75 // TODO: use mock file dir instead 79 File ctsDir = new File(mBuildDir, "android-cts"); 80 File repoDir = new File(ctsDir, "repository") [all...] |
/cts/tools/vm-tests-tf/src/util/build/ |
JavacBuildStep.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 50 File destFile = new File(destPath);
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
DexJarMaker.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 31 * Helper class used to encapsulate generated .dex file into .jar 36 /** indicates name of the dex file added to jar */ 39 /** {@code non-null;} storage for all the paths related to current dex file */ 55 add(new File(pathHolder.getDexFilePath()), target); 72 * Adds indicated file to the requested archive. 74 * @param source {@code non-null;} dex file to add 78 private void add(File source, JarOutputStream target) throws IOException { 81 throw new IllegalArgumentException("Wrong source dex file provided") [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
MmsFileProvider.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 76 File file = new File(getContext().getCacheDir(), uri.getPath()); local 81 return ParcelFileDescriptor.open(file, mode);
|
/development/samples/Vault/src/com/example/android/vault/ |
Utils.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 49 public static void writeFully(File file, byte[] data) throws IOException { 50 final OutputStream out = new FileOutputStream(file); 58 public static byte[] readFully(File file) throws IOException { 59 final InputStream in = new FileInputStream(file);
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
TestSuite.java | 39 protected File testSuiteFile; 41 protected TestSuite(String gname, File testFile) { 47 /* Get the gUnit test suite file name. */ 48 public File getTestSuiteFile() {
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
local_file_reader.cc | 3 // found in the LICENSE file. 30 int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | 31 base::File::FLAG_ASYNC;
|
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/ |
get_metadata_unittest.cc | 3 // found in the LICENSE file. 7 #include "base/files/file.h" 26 const char kFileSystemId[] = "testing-file-system"; 57 Event(base::File::Error result, const base::File::Info& file_info) 61 base::File::Error result() { return result_; } 62 const base::File::Info& file_info() { return file_info_; } 65 base::File::Error result_; 66 base::File::Info file_info_; 74 void OnGetMetadata(base::File::Error result [all...] |
/external/chromium_org/chrome/browser/chromeos/file_system_provider/ |
request_manager.h | 3 // found in the LICENSE file. 12 #include "base/files/file.h" 62 virtual void OnError(int request_id, base::File::Error error) = 0; 83 virtual void OnRequestRejected(int request_id, base::File::Error error) = 0; 106 bool RejectRequest(int request_id, base::File::Error error);
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
native_process_launcher.cc | 3 // found in the LICENSE file. 67 base::File read_file, 68 base::File write_file); 72 base::File read_file, 73 base::File write_file); 164 // manifest file. On all other platforms the path must be absolute. 175 // In case when the manifest file is there, but the host binary doesn't exist 197 base::File read_file; 198 base::File write_file; 211 base::File read_file [all...] |
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
mtp_file_stream_reader.h | 3 // found in the LICENSE file. 9 #include "base/files/file.h" 46 const base::File::Info& file_info, 50 const base::File::Info& file_info, int bytes_read); 53 const base::File::Info& file_info);
|
/external/chromium_org/chrome/browser/media_galleries/linux/ |
mtp_device_task_helper.h | 3 // found in the LICENSE file. 54 // |file_path| specifies the relative of the file whose details are requested. 56 // If the file details are fetched successfully, |success_callback| is invoked 57 // on the IO thread to notify the caller about the file details. 60 // notify the caller about the file error. 68 // |dir_path| specifies the directory file path. 70 // If the directory file entries are enumerated successfully, 72 // the directory file entries. 75 // notify the caller about the file error. 83 // |request_info| specifies the snapshot file request params [all...] |
snapshot_file_details.h | 3 // found in the LICENSE file. 12 #include "base/files/file.h" 16 // Used to represent snapshot file request params. 26 // MTP device file path. 29 // Local platform path of the snapshot file. 40 // SnapshotFileDetails tracks the current state of the snapshot file (e.g how 41 // many bytes written to the snapshot file, source file details, snapshot file 46 const base::File::Info& file_info) [all...] |
/external/chromium_org/chrome/utility/ |
printing_handler.h | 3 // found in the LICENSE file. 56 base::File pdf_file, 65 base::File pdf_file, 68 base::File bitmap_file);
|
/external/chromium_org/components/nacl/renderer/ |
file_downloader.h | 3 // found in the LICENSE file. 8 #include "base/files/file.h" 20 // Downloads a file and writes the contents to a specified file open for 31 typedef base::Callback<void(Status, base::File, int)> StatusCallback; 38 base::File file, 61 base::File file_;
|
/external/chromium_org/content/browser/fileapi/ |
fileapi_message_filter.h | 3 // found in the LICENSE file. 164 // Callback functions to be used when each file operation is finished. 165 void DidFinish(int request_id, base::File::Error result); 167 base::File::Error result, 168 const base::File::Info& info); 170 base::File::Error result, 171 const base::File::Info& info); 173 base::File::Error result, 177 base::File::Error result, 183 base::File::Error result) [all...] |
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
TracingControllerAndroidTest.java | 3 // found in the LICENSE file. 17 import java.io.File; 41 File file = new File(tracingController.getOutputPath()); local 42 assertTrue(file.getName().startsWith("chrome-profile-results")); 52 // close the output file. Give it a little time. 61 // It says it stopped, so it should have written the output file. 62 assertTrue(file.exists()); 63 assertTrue(file.delete()) [all...] |
/external/chromium_org/content/test/ |
fileapi_test_file_set.cc | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 28 {false, FILE_PATH_LITERAL("file 0"), 38}, 29 {false, FILE_PATH_LITERAL("file 2"), 60}, 30 {false, FILE_PATH_LITERAL("file 3"), 0}, 31 {false, FILE_PATH_LITERAL("dir a/file 0"), 39}, 32 {false, FILE_PATH_LITERAL("dir a/dir d/dir e/dir g/file 0"), 40}, 33 {false, FILE_PATH_LITERAL("dir a/dir d/dir e/dir g/file 1"), 41}, 34 {false, FILE_PATH_LITERAL("dir a/dir d/dir e/dir g/file 2"), 42}, 35 {false, FILE_PATH_LITERAL("dir a/dir d/dir e/dir g/file 3"), 50} [all...] |
/external/chromium_org/net/spdy/fuzzing/ |
hpack_example_generator.cc | 3 // found in the LICENSE file. 8 #include "base/files/file.h" 16 // Target file for generated HPACK header sets. 17 const char kFileToWrite[] = "file-to-write"; 30 // sets are written to the output file in length-prefixed blocks. 41 << " --" << kFileToWrite << "=/path/to/file.out" 52 base::File file_out(base::FilePath::FromUTF8Unsafe(file_to_write), 53 base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
find-extra-includes | 32 use File::Find; 41 my $file = $_; 43 if ($file eq "icu") { 44 $File::Find::prune = 1; 48 if ($file !~ /^\./ && $file =~ /\.(h|cpp|c|mm|m)$/) { 49 $paths{$file} = $File::Find::name; 50 open FILE, $file or die [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/ |
httpd.pm | 35 use File::Copy; 36 use File::Path; 37 use File::Spec; 38 use File::Spec::Functions; 65 my $exclusiveLockFile = File::Spec->catfile($tmpDir, "WebKit.lock"); 66 my $httpdPidDir = File::Spec->catfile($tmpDir, "WebKit"); 67 my $httpdPidFile = File::Spec->catfile($httpdPidDir, "httpd.pid"); 111 my $httpdLockFile = File::Spec->catfile($httpdPidDir, "httpd.lock"); 112 my $httpdScoreBoardFile = File::Spec->catfile($httpdPidDir, "httpd.scoreboard"); 307 my $currentLockFile = File::Spec->catfile($tmpDir, "$httpdLockPrefix" . getLockNumberForCurrentRunning()) [all...] |
/external/chromium_org/webkit/browser/fileapi/ |
file_system_backend.h | 3 // found in the LICENSE file. 12 #include "base/files/file.h" 37 // An interface for defining a file system backend. 47 base::File::Error error)> 74 // and |type|. If |error_code| is File::FILE_OK and the result is NULL, 77 FileSystemType type, base::File::Error* error_code) = 0; 81 // and |virtual_path|. On failure to create a file system operation, set 88 base::File::Error* error_code) const = 0; 91 // If false, Blobs are accessed using a snapshot file by calling 95 // Creates a new file stream reader for a given filesystem URL |url| with a [all...] |
file_system_url_request_job.h | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 64 void DidAttemptAutoMount(base::File::Error result); 65 void DidGetMetadata(base::File::Error error_code, 66 const base::File::Info& file_info);
|
/external/chromium_org/webkit/browser/fileapi/quota/ |
quota_reservation.h | 3 // found in the LICENSE file. 9 #include "base/files/file.h" 28 typedef base::Callback<void(base::File::Error error)> StatusCallback; 38 // Returns an OpenFileHandle instance that represents a quota managed file. 50 // Consumes |size| of reserved quota for a associated file. 74 base::File::Error error, 78 base::File::Error error,
|