/external/chromium_org/base/files/ |
memory_mapped_file.h | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 27 // Used to hold information about a region [offset + size] of a file. 35 // Start of the region (measured in bytes from the beginning of the file). 47 // Opens an existing file and maps it into memory. Access is restricted to 48 // read only. If this object already points to a valid memory mapped file 49 // then this method will fail and return false. If it cannot open the file, 50 // the file does not exist, or the memory mapping fails, it will return false. 54 // As above, but works with an already-opened file. MemoryMappedFile takes 55 // ownership of |file| and closes it when done [all...] |
/external/chromium_org/chrome/browser/media_galleries/win/ |
snapshot_file_details.h | 3 // found in the LICENSE file. 8 #include "base/files/file.h" 13 // Structure used to represent snapshot file request params. 22 // Device file path. 25 // Local platform path of the snapshot file. 36 // Provides the details for the the creation of snapshot file. 42 void set_file_info(const base::File::Info& file_info); 50 base::File::Info file_info() const { 62 // Returns true if the data contents of the device file is written to the 63 // snapshot file [all...] |
/external/chromium_org/chrome/browser/sync_file_system/local/ |
root_delete_helper.h | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 33 typedef base::Callback<void(base::File::Error)> FileStatusCallback; 44 void DidDeleteFileSystem(base::File::Error error); 48 base::File::Error error);
|
/external/chromium_org/content/browser/download/ |
mhtml_generation_manager.h | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 27 typedef base::Callback<void(int64 /* size of the file */)> 33 const base::FilePath& file, 39 base::File file, 54 // Called on the file thread to create |file|. 56 const base::FilePath& file, 59 // Called on the UI thread when the file that should hold the MHTML data ha [all...] |
/external/chromium_org/media/video/capture/ |
file_video_capture_device.h | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 18 // Implementation of a VideoCaptureDevice class that reads from a file. Used for 20 // only supported file format is YUV4MPEG2 (a.k.a. Y4M), a minimal container 23 // on the file format. Several restrictions and notes apply, see the 24 // implementation file. 29 base::File* file, 31 static base::File OpenFileForRead(const base::FilePath& file_path); 33 // Constructor of the class, with a fully qualified file path as input, whic [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
fixChangeLogPatch.pl | 48 # * File: 57 # * File: 100 - * File: 117 - * File: 132 * File: 148 * File: 167 * File: 189 * File: 219 + * File: 236 + * File [all...] |
/external/lldb/source/Core/ |
StreamFile.cpp | 5 // This file is distributed under the University of Illinois Open Source 44 StreamFile::StreamFile (FILE *fh, bool transfer_ownership) : 52 m_file (path, File::eOpenOptionWrite | File::eOpenOptionCanCreate, File::ePermissionsDefault)
|
/external/smack/src/org/jivesoftware/smackx/entitycaps/cache/ |
SimpleDirectoryPersistentCache.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 43 * by an file. 50 private File cacheDir; 63 public SimpleDirectoryPersistentCache(File cacheDir) { 77 public SimpleDirectoryPersistentCache(File cacheDir, StringEncoder filenameEncoder) { 90 File nodeFile = new File(cacheDir, filename); 101 File[] files = cacheDir.listFiles(); 102 for (File f : files) [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/ |
build_vc.pl | 4 # File Name: build_vc.pl 13 # This file builds the OpenMAX DL vc domain library omxVC.o. 16 use File::Spec; 34 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h); 40 open(FILES, '<filelist_vc.txt') or die("Can't open source file list\n"); 44 # Fix the file separators in the header paths 47 $h = File::Spec->canonpath($h); 59 # Compile each file 60 foreach $file (@filelist) 67 chomp($file); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/ |
build_vc.pl | 4 # File Name: build_vc.pl 13 # This file builds the OpenMAX DL vc domain library omxVC.o. 16 use File::Spec; 34 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h); 40 open(FILES, '<filelist_vc.txt') or die("Can't open source file list\n"); 44 # Fix the file separators in the header paths 47 $h = File::Spec->canonpath($h); 59 # Compile each file 60 foreach $file (@filelist) 67 chomp($file); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/ |
build_vc.pl | 4 # File Name: build_vc.pl 13 # This file builds the OpenMAX DL vc domain library omxVC.o. 16 use File::Spec; 34 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h); 40 open(FILES, '<filelist_vc.txt') or die("Can't open source file list\n"); 44 # Fix the file separators in the header paths 47 $h = File::Spec->canonpath($h); 59 # Compile each file 60 foreach $file (@filelist) 67 chomp($file); [all...] |
/frameworks/base/core/java/android/app/backup/ |
AbsoluteFileBackupHelper.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 40 * within the file system. 59 // use the file paths as the keys, too 64 * Restore one absolute file entity from the restore stream 70 File f = new File(key);
|
/frameworks/base/core/java/com/android/internal/backup/ |
LocalTransport.java | 5 * you may not use this file except in compliance with the License. 39 import java.io.File; 77 private File mDataDir = new File(Environment.getDownloadCacheDirectory(), "backup"); 78 private File mCurrentSetDir = new File(mDataDir, Long.toString(CURRENT_SET_TOKEN)); 79 private File mCurrentSetIncrementalDir = new File(mCurrentSetDir, INCREMENTAL_DIR); 80 private File mCurrentSetFullDir = new File(mCurrentSetDir, FULL_DATA_DIR) 517 public File file; field in class:LocalTransport.DecodedFilename [all...] |
/frameworks/base/core/tests/benchmarks/src/com/android/internal/net/ |
NetworkStatsFactoryBenchmark.java | 5 * you may not use this file except in compliance with the License. 24 import java.io.File; 27 private File mStats; 29 // TODO: consider staging stats file with different number of rows 33 mStats = new File("/proc/net/xt_qtaguid/stats");
|
/libcore/luni/src/main/java/javax/xml/transform/stream/ |
StreamResult.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 22 import java.io.File; 84 * Construct a StreamResult from a File. 86 * @param f Must a non-null File reference. 88 public StreamResult(File f) { 141 * this value as a writeable URI (probably a file name). 150 * <p>Set the system ID from a <code>File</code> reference.</p> 152 * <p>Note the use of {@link File#toURI()} and {@link File#toURL()} [all...] |
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldJarOutputStreamTest.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 File outputJar = File.createTempFile("hyts_", ".jar");
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FileCleaner.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 * This utility creates a background thread to handle file deletion. 26 * Each file to be deleted is registered with a handler object. 27 * When the handler object is garbage collected, the file is deleted. 49 * Track the specified file, using the provided marker, deleting the file 53 * @param file the file to be tracked, not nul [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
DelegateFileFilter.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; 36 /** The File filter */ 40 * Constructs a delegate file filter around an existing FilenameFilter. 53 * Constructs a delegate file filter around an existing FileFilter. 68 * @param file the file to check 71 public boolean accept(File file) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
ContextualDictionary.java | 5 * you may not use this file except in compliance with the License. 25 import java.io.File; 32 final File dictFile) { 41 final File dictFile, final String dictNamePrefix) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
DataExporter.java | 5 * you may not use this file except in compliance with the License. 26 import java.io.File; 37 * Compress all files under the app data dir into a single zip file. 52 * Compress all files under the app data dir into a single zip file, and return the content:// 53 * URI to the file, which can be read via {@link DumpFileProvider}. 57 final File outFile = getOutputFile(context, fileName); 76 /** @return long random string for a file name */ 89 throw new IllegalArgumentException(".. path specifier not allowed. Bad file name: " + 95 " files are supported. Bad file name: " + fileName); 99 private static File getOutputDirectory(Context context) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/ |
AdtPluginTest.java | 5 * you may not use this file except in compliance with the License. 18 import java.io.File; 43 File temp = File.createTempFile("test", ".txt");
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/ |
SuidFilesActivity.java | 5 * you may not use this file except in compliance with the License. 40 import java.io.File; 115 mFindSuidFilesTask.execute(new File("/")); 121 File file = mAdapter.getItem(position); local 122 String message = getMessage(file); 124 .setTitle(file.getName()) 129 private String getMessage(File file) { 131 if (FileUtils.getFileStatus(file.getAbsolutePath(), status, true)) 161 File file = getItem(position); local [all...] |
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
ExternalStorageTest.java | 5 * you may not use this file except in compliance with the License. 33 import java.io.File; 50 final List<File> paths = getAllPackageSpecificPaths(getContext()); 53 for (File path : paths) { 76 final File none = buildGiftForPackage(getContext(), PACKAGE_NONE); 80 final File read = buildGiftForPackage(getContext(), PACKAGE_READ); 83 final File write = buildGiftForPackage(getContext(), PACKAGE_WRITE);
|
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/ |
ReadExternalStorageTest.java | 5 * you may not use this file except in compliance with the License. 33 import java.io.File; 51 final List<File> paths = getAllPackageSpecificPaths(getContext()); 54 for (File path : paths) { 79 final File none = buildGiftForPackage(getContext(), PACKAGE_NONE); 83 final File read = buildGiftForPackage(getContext(), PACKAGE_READ); 87 final File write = buildGiftForPackage(getContext(), PACKAGE_WRITE);
|
/cts/tests/tests/os/src/android/os/cts/ |
RecoverySystemTest.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 45 /** Write the given asset to a file of the same name and return a File. */ 46 private File getAsset(String name) throws Exception { 61 File otacerts = getAsset("otacerts.zip"); 62 File packageFile; 81 * Try verifying the given file against the given otacerts, 84 private void expectVerifyFail(String name, File otacerts) 87 File packageFile = getAsset(name) [all...] |