/external/chromium_org/webkit/browser/fileapi/ |
dragged_file_util.h | 3 // found in the LICENSE file. 16 // Dragged file system is a specialized LocalFileUtil where read access to 18 // and single isolated context may be associated with multiple file paths. 26 virtual base::File::Error GetFileInfo( 29 base::File::Info* file_info,
|
obfuscated_file_util.h | 3 // found in the LICENSE file. 14 #include "base/files/file.h" 49 // This file util stores directory information in LevelDB to obfuscate 50 // and to neutralize virtual file paths given by arbitrary apps. 53 // For example, a file in Temporary file system for origin 'www.example.com' 54 // is stored in a different partition for a file in Persistent file system 55 // for the same origin, or for Temporary file system for another origin. 66 // backing file than have a database entry whose backing file is missing. Whe [all...] |
recursive_operation_delegate.h | 3 // found in the LICENSE file. 25 // to process a directory or a file. To start the recursive operation it 43 // This is called each time a file is found while recursively 66 // This will call ProcessFile and ProcessDirectory on each file or directory. 69 // actually a file or a directory. If it is a directory, ProcessFile should 70 // return File::FILE_NOT_A_FILE. 91 // ProcessFile(a_dir) (This should return File::FILE_NOT_A_FILE). 106 // |callback| is fired with base::File::FILE_OK when every file/directory 124 base::File::Error error) [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
DebuggingClassWriter.java | 5 * you may not use this file except in compliance with the License. 78 String dirs = className.replace('.', File.separatorChar); 80 new File(debugLocation + File.separatorChar + dirs).getParentFile().mkdirs(); 82 File file = new File(new File(debugLocation), dirs + ".class"); local 83 OutputStream out = new BufferedOutputStream(new FileOutputStream(file)); 91 file = new File(new File(debugLocation), dirs + ".asm") [all...] |
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
A3DSelector.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 38 File[] mCurrentSubList; 39 File mCurrentFile; 42 public boolean accept(File file) { 43 if (file.isDirectory()) { 46 return file.getName().endsWith(".a3d"); 50 private void populateList(File file) { [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
FileSelector.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 38 File[] mCurrentSubList; 39 File mCurrentFile; 42 public boolean accept(File file) { 43 if (file.isDirectory()) { 46 return file.getName().endsWith(".dae"); 50 private void populateList(File file) { [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
CanReadFileFilter.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; 23 * This filter accepts <code>File</code>s that can be read. 29 * File dir = new File("."); 41 * File dir = new File("."); 53 * File dir = new File(".") [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
DeferredFileOutputStream.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; 35 * not know in advance the size of the file being uploaded. If the file is small 36 * you want to store it in memory (for speed), but if the file is large you want 37 * to store it to file (to avoid memory issues). 67 * The file to which output will be directed if the threshold is exceeded. 69 private File outputFile [all...] |
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
native_media_file_util.cc | 3 // found in the LICENSE file. 32 base::File::Error IsMediaHeader(const char* buf, size_t length) { 34 return base::File::FILE_ERROR_SECURITY; 38 return base::File::FILE_ERROR_SECURITY; 44 return base::File::FILE_OK; 46 return base::File::FILE_ERROR_SECURITY; 56 base::File file) { 58 if (!file.IsValid()) { 59 callback.Run(file.Pass(), base::Closure()) [all...] |
itunes_file_util.cc | 3 // found in the LICENSE file. 30 base::File::Error MakeDirectoryFileInfo(base::File::Info* file_info) { 31 base::File::Info result; 34 return base::File::FILE_OK; 73 // |data_provider| may be NULL if the file system was revoked before this 90 // |data_provider| may be NULL if the file system was revoked before this 107 // |data_provider| may be NULL if the file system was revoked before this 122 // /iTunes Music Library.xml - library xml file 126 base::File::Error ITunesFileUtil::GetFileInfoSync [all...] |
av_scanning_file_validator.cc | 3 // found in the LICENSE file. 29 base::File::Error ScanFile(const base::FilePath& dest_platform_path) { 30 DCHECK_CURRENTLY_ON(BrowserThread::FILE); 38 return base::File::FILE_ERROR_SECURITY; 43 return base::File::FILE_ERROR_SECURITY; 45 // A failure in the Save() call below could result in the downloaded file 49 return base::File::FILE_OK; 51 return base::File::FILE_ERROR_SECURITY; 66 BrowserThread::FILE, 71 result_callback.Run(base::File::FILE_OK) [all...] |
/external/emma/ant/ant14/com/vladium/emma/data/ |
mergeTask.java | 11 import java.io.File; 53 // mergefile|tofile|outfile|file attribute: 55 public void setMergefile (final File file) 59 + ": merge data file attribute already set", location).fillInStackTrace (); 61 m_outFile = file; 64 public void setOutfile (final File file) 68 + ": merge data file attribute already set", location).fillInStackTrace (); 70 m_outFile = file; [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/ |
AbstractProcessTask.java | 5 * you may not use this file except in compliance with the License. 18 import java.io.File; 40 File dir = fs.getDir(p); 42 File src = new File(dir, srcFiles[j]); 55 processFile((File)it.next()); 63 abstract protected void processFile(File file) throws Exception;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
EnvironmentTest.java | 5 import java.io.File; 41 File extStoragePublic = Environment.getExternalStoragePublicDirectory("Movies"); 43 assertThat(extStoragePublic, equalTo( new File(ShadowContext.EXTERNAL_FILES_DIR, "Movies" ) ) ); 46 public void deleteDir(File path) { 48 File[] files = path.listFiles(); 49 for (File f : files) {
|
/frameworks/base/core/java/android/app/backup/ |
FileBackupHelper.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 30 * every file in the list provided to {@link #FileBackupHelper} will be backed up. 32 * During restore, if the helper encounters data for a file that was not 43 File mFilesDir; 75 // file names 77 File base = mContext.getFilesDir(); 81 fullPaths[i] = (new File(base, files[i])).getAbsolutePath(); 89 * Restore one record [representing a single file] from the restore dataset. 98 File f = new File(mFilesDir, key) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
RandomAccessFileTest.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 28 private File file; field in class:RandomAccessFileTest 31 file = File.createTempFile("RandomAccessFileTest", "tmp"); 35 file.delete(); 39 RandomAccessFile raf = new RandomAccessFile(file, "rw"); 48 RandomAccessFile raf = new RandomAccessFile(file, "rw"); 57 RandomAccessFile raf = new RandomAccessFile(file, "rw") 70 File file = File.createTempFile("RandomAccessFileTest", "tmp"); local [all...] |
/libcore/support/src/test/java/tests/support/resource/ |
Support_Resources.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; 38 // If we have the resources packaged up in our jar file, get them that way. 47 File resource = new File(ANDROID_BUILD_TOP + "/libcore/support/src/test/java" + path); 62 File resources = createTempFolder(); 75 url = new URL("file:/" + resPath + "/" + fileName); 83 public static File createTempFolder() [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
BinaryDictionaryGetter.java | 5 * you may not use this file except in compliance with the License. 30 import java.io.File; 38 * Helper class to get the address of a mmap'able dictionary file. 50 private static final File[] EMPTY_FILE_ARRAY = new File[0]; 61 // The key considered to read the version attribute in a dictionary file. 68 * Generates a unique temporary file name in the app cache directory. 73 final File directory = new File(DictionaryInfoUtils.getWordListTempDirectory(context)); 82 return File.createTempFile("xxx" + safeId, null, directory).getAbsolutePath() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/actions/ |
SdkManagerAction.java | 5 * you may not use this file except in compliance with the License. 30 import java.io.File; 36 File sdk = MonitorPlugin.getDefault().getSdkFolder(); 38 File tools = new File(sdk, SdkConstants.FD_TOOLS); 39 File androidBat = new File(tools, SdkConstants.androidCmdName());
|
/frameworks/multidex/library/src/android/support/multidex/ |
MultiDexExtractor.java | 5 * you may not use this file except in compliance with the License. 27 import java.io.File; 82 static List<File> load(Context context, ApplicationInfo applicationInfo, File dexDir, 85 final File sourceApk = new File(applicationInfo.sourceDir); 89 List<File> files; 110 private static List<File> loadExistingExtractions(Context context, File sourceApk, File dexDir [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
DexPathList.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 40 * a {@code .jar} or {@code .zip} file containing an optional 41 * top-level {@code classes.dex} file as well as arbitrary resources, 42 * or a plain {@code .dex} file (with no possibility of associated 62 private final File[] nativeLibraryDirectories; 75 * {@code File.pathSeparator} 77 * separated by {@code File.pathSeparator} 83 String libraryPath, File optimizedDirectory) { 128 public File[] getNativeLibraryDirectories() 394 private final File file; field in class:DexPathList.Element [all...] |
/development/tools/idegen/src/ |
Eclipse.java | 5 * you may not use this file except in compliance with the License. 17 import java.io.File; 33 * Generates an Eclipse .classpath file from the given configuration. 42 * If the user has a file named "path-precedence" in their project's 44 * regular expressions in that file. Source roots that match earlier 45 * patterns will come sooner in configuration file. 49 File precedence = new File("path-precedence"); 67 OUTER: for (File sourceRoot : c.sourceRoots) { 79 // Output source roots to configuration file [all...] |
/external/chromium_org/content/browser/fileapi/ |
native_file_util_unittest.cc | 3 // found in the LICENSE file. 8 #include "base/files/file.h" 43 base::File::Info info; 56 int flags = base::File::FLAG_WRITE | base::File::FLAG_ASYNC; 57 base::File file = local 58 NativeFileUtil::CreateOrOpen(file_name, base::File::FLAG_CREATE | flags); 59 ASSERT_TRUE(file.IsValid()); 60 ASSERT_TRUE(file.created()) [all...] |
plugin_private_file_system_backend_unittest.cc | 3 // found in the LICENSE file. 37 void DidOpenFileSystem(base::File::Error* error_out, 38 base::File::Error error) { 80 base::File::Error error = base::File::FILE_ERROR_FAILED; 86 ASSERT_EQ(base::File::FILE_OK, error); 90 error = base::File::FILE_ERROR_FAILED; 96 ASSERT_EQ(base::File::FILE_OK, error); 101 FileSystemURL file = CreateURL(root_url, "foo"); local 103 EXPECT_EQ(base::File::FILE_OK [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
ResourceLoaderAdaptor.java | 5 * you may not use this file except in compliance with the License. 25 import java.io.File; 58 File file = locateFile(name); local 59 if (file == null) { 60 throw new FileNotFoundException("Could not locate file " + name); 62 return new InputStreamReader(new FileInputStream(file), "UTF-8"); 71 text.append("No file '"); 97 * @param name name of the file to locate. 98 * @return a File object corresponding to the existing file or {@code null} if it does not exist 103 File file = newFile(name); local 106 File file = null; local 144 File file = newFile(path, filename); local 174 File file = locateFile(filename); local 191 File file = locateFile(filename); local [all...] |