/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/ |
AddSupportJarAction.java | 5 * you may not use this file except in compliance with the License. 65 import java.io.File; 133 File jarPath = installSupport(-1); 155 * @return the location of the support jar file, or null if something went 159 public static File installSupport(int minimumRevision) { 171 File path = getSupportJarFile(); 191 Pair<Boolean, File> result = window.installExtraPackage(VENDOR_ID, SUPPORT_ID); 205 File path = new File(result.getSecond(), FD_V4); 206 final File jarPath = new File(path, ANDROID_SUPPORT_V4_JAR) [all...] |
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/ |
UnixFileTest.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 import java.io.File; 29 * Please note that this case can only be passed on Linux due to some file 36 private File testFile; 38 private File testDir; 84 private static long getLinuxSpace(int index, File file) throws Exception { 86 String par = file.getAbsolutePath() 412 File file = new File("folder2"); local [all...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
SaveImage.java | 5 * you may not use this file except in compliance with the License. 33 import java.io.File; 69 private final File mDestinationFile; 113 * @param destination Destinaton File, if this is null, a new file will be 119 File destination, Bitmap previewImage, Callback callback) { 133 public static File getFinalSaveDirectory(Context context, Uri sourceUri) { 134 File saveDirectory = SaveImage.getSaveDirectory(context, sourceUri); 136 saveDirectory = new File(Environment.getExternalStorageDirectory(), 145 public static File getNewFile(Context context, Uri sourceUri) 344 File file = new File(saveDirectory, filename + ".JPG"); local 374 File file = getLocalFileFromUri(context, sourceUri); local 399 final File[] file = new File[1]; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerNotificationTest.java | 5 * you may not use this file except in compliance with the License. 26 import java.io.File; 41 startedIntentFilter.addDataScheme("file"); 43 finshedIntentFilter.addDataScheme("file"); 63 // add .nomedia file and scan again 64 File noMedia = new File(tmpPath, ".nomedia"); 68 fail("couldn't create .nomedia file"); 91 File tmpDir = new File(externalPath, "" + System.nanoTime()) [all...] |
ScannerNotificationReceiver.java | 5 * you may not use this file except in compliance with the License. 24 import java.io.File; 58 private int countFiles(File dir) { 60 File[] files = dir.listFiles(); 62 for (File file : files) { 63 if (file.isDirectory()) { 64 count += countFiles(file);
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarOutputStreamTest.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; 39 // testClass file`s actual extension is .class, since having .class 42 // anything. The file is being 43 // read by inputstream and being written to other file, 44 // as long as the content of the file is not changed, the extension does 62 File outputJar = null; 66 outputJar = File.createTempFile("hyts_", ".jar") [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
BuildMachineManager.java | 19 import java.io.File; 75 if (new File(markerContainer+"/"+markerName+".marker").exists()){ 104 File lock = new File(markerContainer + "/" + "lock"); 109 File markerFile = new File(markerContainer+"/"+markerName+".marker"); 126 File container = new File(markerContainer); 130 File[] markerFiles = container.listFiles(); 132 File markerFile = markerFiles[i] [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileWriterTest.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 import java.io.File; 37 File f; 40 File dir = new File(System.getProperty("java.io.tmpdir")); 51 File dir = new File(System.getProperty("java.io.tmpdir")); 92 File f = null [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
FileUtils.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 36 * File utilities 53 * @return The file representing the projects root directory, {@code null} if the external 56 public static File getProjectsRootDir(Context context) 58 final File dir = context.getExternalFilesDir(null); 63 // Create the file which hides the media files 64 if (!new File(dir, ".nomedia").createNewFile()) { 65 throw new FileNotFoundException("Cannot create file .nomedia"); 74 * Get the filename for the specified raw resource id. Create the file i 227 final File file = new File(getProjectsRootDir(context), StringUtils.randomString(10)); local [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
MountServiceTests.java | 5 * you may not use this file except in compliance with the License. 34 import java.io.File; 115 private File getFilePath(String name) { 116 final File filesDir = mContext.getFilesDir(); 117 final File outFile = new File(filesDir, name); 121 private void copyRawToFile(int rawResId, File outFile) { 140 private void mountObb(StorageManager sm, final int resource, final File file, 142 copyRawToFile(resource, file); [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
PrintWriterPrinterTest.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File; 32 private File mFile; 36 File dbDir = getContext().getDir("tests", Context.MODE_PRIVATE); 37 mFile = new File(dbDir,"print.log");
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/device/ |
DeviceInfoCollector.java | 5 * you may not use this file except in compliance with the License. 24 import java.io.File; 48 public static void collectDeviceInfo(ITestDevice device, File testApkDir, 50 File apkFile = new File(testApkDir, String.format("%s.apk", APK_NAME));
|
/external/apache-xml/src/main/java/org/apache/xalan/xslt/ |
SecuritySupport.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 24 import java.io.File; 102 FileInputStream getFileInputStream(File file) 105 return new FileInputStream(file); 118 boolean getFileExists(File f) { 122 long getLastModified(File f) {
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
SecuritySupport.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 24 import java.io.File; 102 FileInputStream getFileInputStream(File file) 105 return new FileInputStream(file); 118 boolean getFileExists(File f) { 122 long getLastModified(File f) {
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
SecuritySupport.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 24 import java.io.File; 102 FileInputStream getFileInputStream(File file) 105 return new FileInputStream(file); 118 boolean getFileExists(File f) { 122 long getLastModified(File f) {
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
SecuritySupport.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 24 import java.io.File; 100 FileInputStream getFileInputStream(File file) 103 return new FileInputStream(file); 116 boolean getFileExists(File f) { 120 long getLastModified(File f) {
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
SecuritySupport.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 24 import java.io.File; 102 FileInputStream getFileInputStream(File file) 105 return new FileInputStream(file); 118 boolean getFileExists(File f) { 122 long getLastModified(File f) {
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
SecuritySupport.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 24 import java.io.File; 102 FileInputStream getFileInputStream(File file) 105 return new FileInputStream(file); 118 boolean getFileExists(File f) { 122 long getLastModified(File f) {
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/tasks/support/gl-matrix/ |
version.rb | 23 MAJOR, MINOR, PATCH, REL = *File.read(base_path.join 'VERSION').split(".")
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DataTransferItem.h | 41 class File;
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
FileEntrySync.cpp | 35 #include "core/fileapi/File.h" 46 PassRefPtr<File> FileEntrySync::file(ExceptionState& es) function in class:WebCore::FileEntrySync
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
do-file-rename | 29 # Script to do file renaming. 32 use File::Find; 53 my $file = $_; 55 if ($file eq "icu") { 56 $File::Find::prune = 1; 60 if ($file =~ /^\../) { 61 $File::Find::prune = 1; 65 return if $file =~ /^ChangeLog/; 66 return if -d $file; 68 push @paths, $File::Find::name [all...] |
/external/clang/include/clang/Serialization/ |
GlobalModuleIndex.h | 5 // This file is distributed under the University of Illinois Open Source 10 // This file defines the GlobalModuleIndex class, which manages a global index 59 /// \brief Buffer containing the index file, which is lazily accessed so long 70 /// \brief Information about a given module file. 72 ModuleInfo() : File(), Size(), ModTime() { } 74 /// \brief The module file, once it has been resolved. 75 ModuleFile *File; 77 /// \brief The module file name. 80 /// \brief Size of the module file at the time the global index was built. 83 /// \brief Modification time of the module file at the time the globa [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
FileUtils.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 24 * File I/O utilities. 35 * Reads the named file, translating {@link IOException} to a 38 * @param fileName {@code non-null;} name of the file to read 39 * @return {@code non-null;} contents of the file 42 File file = new File(fileName); local 43 return readFile(file); [all...] |
/external/jsilver/src/org/clearsilver/ |
CSUtil.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 74 * Given an ordered list of directories to look in, locate the specified file. 75 * Returns <code>null</code> if file not found. 77 * @param filename the name of the file. 78 * @return a File object corresponding to the file. <code>null</code> if 79 * file not found. 81 public static File locateFile(List<String> loadpaths, String filename) { 89 File file = new File(path, filename) local [all...] |