/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
ResultReporter.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 42 public void reportResult(File reportFile, @Nullable String referenceUrl) throws IOException {
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
ITestPackageDef.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 48 * @param testCaseDir {@link File} representing directory of test case data 52 public IRemoteTest createTest(File testCaseDir); 76 * Return the sha1sum of the binary file for this test package. 78 * Will only return a valid value after {@link #createTest(File)} has been called. 111 * Return the file name of this package's instrumentation target apk. 113 * @return the file name or <code>null</code> if not applicable.
|
/developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/ |
MyCloudProvider.java | 5 * you may not use this file except in compliance with the License. 38 import java.io.File; 87 // A file object at the root of the file hierarchy. Depending on your implementation, the root 88 // does not need to be an existing file system directory. For example, a tag-based document 90 private File mBaseDir; 143 // that contain the desired type somewhere in their file hierarchy. 158 // This example implementation walks a local file structure to find the most recently 165 final File parent = getFileForDocId(rootId); 168 PriorityQueue<File> lastModifiedFiles = new PriorityQueue<File>(5, new Comparator<File>() 185 final File file = pending.removeFirst(); local 197 final File file = lastModifiedFiles.remove(); local 229 final File file = pending.removeFirst(); local 251 final File file = getFileForDocId(documentId); local 301 final File file = getFileForDocId(documentId); local [all...] |
/developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/ |
MyCloudProvider.java | 5 * you may not use this file except in compliance with the License. 38 import java.io.File; 87 // A file object at the root of the file hierarchy. Depending on your implementation, the root 88 // does not need to be an existing file system directory. For example, a tag-based document 90 private File mBaseDir; 143 // that contain the desired type somewhere in their file hierarchy. 158 // This example implementation walks a local file structure to find the most recently 165 final File parent = getFileForDocId(rootId); 168 PriorityQueue<File> lastModifiedFiles = new PriorityQueue<File>(5, new Comparator<File>() 185 final File file = pending.removeFirst(); local 197 final File file = lastModifiedFiles.remove(); local 229 final File file = pending.removeFirst(); local 251 final File file = getFileForDocId(documentId); local 301 final File file = getFileForDocId(documentId); local [all...] |
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/ |
MyCloudProvider.java | 5 * you may not use this file except in compliance with the License. 38 import java.io.File; 87 // A file object at the root of the file hierarchy. Depending on your implementation, the root 88 // does not need to be an existing file system directory. For example, a tag-based document 90 private File mBaseDir; 143 // that contain the desired type somewhere in their file hierarchy. 158 // This example implementation walks a local file structure to find the most recently 165 final File parent = getFileForDocId(rootId); 168 PriorityQueue<File> lastModifiedFiles = new PriorityQueue<File>(5, new Comparator<File>() 185 final File file = pending.removeFirst(); local 197 final File file = lastModifiedFiles.remove(); local 229 final File file = pending.removeFirst(); local 251 final File file = getFileForDocId(documentId); local 301 final File file = getFileForDocId(documentId); local [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
ANTLRFileStream.java | 32 /** This is a char buffer stream that is loaded from a file 56 File f = new File(fileName);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/ |
Tool.java | 67 /** Don't process grammar file if generated files are newer than grammar */ 103 * Load the properties file org/antlr/antlr.properties and populate any 166 File outDir = new File(outputDirectory); 185 File outDir = new File(getLibraryDirectory()); 341 // Must be the grammar file 366 * @param grammarFileName The grammar file we are checking 374 List<File> outputFiles = bd.getGeneratedFileList(); 375 List<File> inputFiles = bd.getDependenciesFileList() [all...] |
/external/chromium_org/base/android/javatests/src/org/chromium/base/ |
LibraryLoaderHelperTest.java | 3 // found in the LICENSE file. 13 import java.io.File; 33 File libDir = LibraryLoaderHelper.getWorkaroundLibDir(context);
|
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/ |
fileapi_worker.h | 3 // found in the LICENSE file. 5 // This file provides the core implementation of fileapi methods. 48 void(base::File::Error result)> StatusCallback; 50 void(base::File::Error result, 51 const base::File::Info& file_info)> GetFileInfoCallback; 53 void(base::File::Error result, 57 void(base::File::Error result, 58 const base::File::Info& file_info, 63 void(base::File::Error result, 68 void(base::File file [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/file_system_provider/ |
provider_function.h | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 31 // http://www.w3.org/TR/file-system-api/#errors-and-exceptions 48 // Converts ProviderError to base::File::Error. This could be redundant, if it 50 base::File::Error ProviderErrorToFileError( 63 void RejectRequest(base::File::Error error);
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
snapshot_manager.h | 3 // found in the LICENSE file. 11 #include "base/files/file.h" 27 // Utility class for creating a snapshot of a file system file on local disk. 30 // accepts file paths works without problems. 39 // Creates a snapshot file copy of a file system file |absolute_file_path| and 48 base::File::Error result, 49 const base::File::Info& file_info [all...] |
zip_file_creator.h | 3 // found in the LICENSE file. 9 #include "base/files/file.h" 15 // ZipFileCreator creates a ZIP file from a specified list of files and 27 // Creates a zip file from the specified list of files and directories. 33 // Starts creating the zip file. Must be called from the UI thread. 43 // Called after the file handle is opened on blocking pool. 44 void OnOpenFileHandle(base::File file); 46 // Starts the utility process that creates the zip file. 47 void StartProcessOnIOThread(base::File dest_file) [all...] |
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/ |
close_file.cc | 3 // found in the LICENSE file. 41 callback_.Run(base::File::FILE_OK); 44 void CloseFile::OnError(int /* request_id */, base::File::Error error) {
|
unmount.cc | 3 // found in the LICENSE file. 34 callback_.Run(base::File::FILE_OK); 37 void Unmount::OnError(int /* request_id */, base::File::Error error) {
|
unmount_unittest.cc | 3 // found in the LICENSE file. 8 #include "base/files/file.h" 25 const char kFileSystemId[] = "testing-file-system"; 56 void OnUnmount(base::File::Error result) { events_.push_back(result); } 58 std::vector<base::File::Error>& events() { return events_; } 65 std::vector<base::File::Error> events_; 160 base::File::Error event_result = callback_logger.events()[0]; 161 EXPECT_EQ(base::File::FILE_OK, event_result); 181 unmount.OnError(kRequestId, base::File::FILE_ERROR_NOT_FOUND); 183 base::File::Error event_result = callback_logger.events()[0] [all...] |
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
media_file_validator_factory.cc | 3 // found in the LICENSE file. 21 result_callback.Run(base::File::FILE_ERROR_SECURITY); 28 result_callback.Run(base::File::FILE_ERROR_SECURITY);
|
/external/chromium_org/chrome/browser/media_galleries/win/ |
mtp_device_operations_util.h | 3 // found in the LICENSE file. 5 // This file has several utility functions to open a media transfer protocol 7 // device file object, etc. All these tasks may take an arbitary long time 8 // to complete. This file segregates those functionalities and runs them 18 #include "base/files/file.h" 32 // |device|. On success, returns no error (base::File::FILE_OK) and fills in 33 // |file_entry_info|. On failure, returns the corresponding platform file error 35 base::File::Error GetFileEntryInfo( 38 base::File::Info* file_entry_info); 49 // |file_object_id| specifies the device file object identifier [all...] |
/external/chromium_org/chrome/browser/sync_file_system/local/ |
local_file_change_tracker_unittest.cc | 3 // found in the LICENSE file. 67 // multiple syncable file systems registered for the name) 124 EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); 239 EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); 243 const char kPath0[] = "file a"; 246 const char kPath3[] = "dir a/file a"; 247 const char kPath4[] = "dir a/file b"; 257 EXPECT_EQ(base::File::FILE_OK, 258 file_system_.CreateFile(URL(kPath0))); // Creates a file. 259 EXPECT_EQ(base::File::FILE_OK [all...] |
/external/chromium_org/chrome/browser/sync_file_system/ |
sync_status_code.h | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 26 // Basic ones that could be directly mapped to File::Error. 70 SyncStatusCode FileErrorToSyncStatusCode(base::File::Error file_error); 72 base::File::Error SyncStatusCodeToFileError(SyncStatusCode status);
|
/external/chromium_org/chrome/installer/util/ |
duplicate_tree_detector.cc | 3 // found in the LICENSE file. 16 base::File::Info src_info; 17 base::File::Info dest_info; 24 // Two files are "identical" if the file sizes are equivalent.
|
logging_installer_unittest.cc | 3 // found in the LICENSE file. 8 #include "base/files/file.h" 36 // Check that the temporary file was deleted. 76 // Prevent the log file from being moved or deleted. 77 uint32 file_flags = base::File::FLAG_OPEN | 78 base::File::FLAG_READ | 79 base::File::FLAG_EXCLUSIVE_READ; 80 base::File temp_platform_file(temp_file, file_flags); 104 // Create an inconvenient, non-deletable file in the location that 105 // TruncateLogFileIfNeeded would like to move the log file to [all...] |
/external/chromium_org/chrome/utility/media_galleries/ |
pmp_column_reader.h | 3 // found in the LICENSE file. 16 class File; 22 // Reads a single PMP column from a file. 30 bool ReadFile(base::File* file, const PmpFieldType expected_type);
|
/external/chromium_org/components/storage_monitor/ |
image_capture_device.h | 3 // found in the LICENSE file. 11 #include "base/files/file.h" 39 const base::File::Info& info) = 0; 44 // Called upon completion of a file download request. 48 base::File::Error error) = 0; 78 // Download the given file |name| to the provided |local_path|. Completion
|
/external/chromium_org/content/browser/download/ |
drag_download_file.h | 3 // found in the LICENSE file. 9 #include "base/files/file.h" 27 // This class implements downloading a file via dragging virtual files out of 33 // On Windows, we need to download into a temporary file. On posix, we need to 34 // download into a file that has already been created, so only the UI 35 // thread is involved. |file| must be null on windows but non-null on 38 base::File file, 59 base::File file_;
|
/external/chromium_org/content/child/fileapi/ |
webfilewriter_base.h | 3 // found in the LICENSE file. 8 #include "base/files/file.h" 33 void DidFinish(base::File::Error error_code); 37 void DidFail(base::File::Error error_code);
|