/libcore/ojluni/src/main/java/java/io/ |
FileSystem.java | 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 9 * particular file as subject to the "Classpath" exception as provided 10 * by Oracle in the LICENSE file that accompanied this code. 15 * version 2 for more details (a copy is included in the LICENSE file that 76 * argument in one of the two-argument File constructors is the empty 84 * still has slash separators; code in the File class will translate them 95 public abstract boolean isAbsolute(File f); 99 * getAbsolutePath and getCanonicalPath methods in the File class. 101 public abstract String resolve(File f); 115 * Return the simple boolean attributes for the file or directory denote [all...] |
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
FileUtils.java | 5 * use this file except in compliance with the License. You may obtain a copy of 19 import java.io.File; 28 public static boolean deleteRecursively(final File path) { 30 final File[] files = path.listFiles(); 32 for (final File child : files) { 40 public static boolean deleteFilteredFiles(final File dir, final FilenameFilter fileNameFilter) { 44 final File[] files = dir.listFiles(fileNameFilter); 49 for (final File file : files) { 50 if (!deleteRecursively(file)) { [all...] |
/external/jacoco/jacoco-maven-plugin.test/it/it-prepend-property/ |
verify.bsh | 16 String buildLog = FileUtils.fileRead( new File( basedir, "build.log" ) ); 21 File file = new File( basedir, "target/jacoco.exec" ); 22 if ( !file.isFile() ) 24 throw new FileNotFoundException( "Could not find generated dump: " + file );
|
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/ |
ScriptStorageAdapter.java | 5 * use this file except in compliance with the License. You may obtain a copy of 24 import java.io.File; 36 * Manages storage and retrieval of scripts on the file system. 49 public static void writeScript(File script, String data) { 51 script = new File(InterpreterConstants.SCRIPTS_ROOT, script.getPath()); 64 * Returns a list of all available script {@link File}s. 66 public static List<File> listAllScripts(File dir) { 68 dir = new File(InterpreterConstants.SCRIPTS_ROOT); 71 List<File> scripts = Arrays.asList(dir.listFiles()) 123 File file = it.next(); local [all...] |
/frameworks/base/core/java/android/security/net/config/ |
SystemCertificateSource.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 32 private final File mUserRemovedCaDir; 35 super(new File(System.getenv("ANDROID_ROOT") + "/etc/security/cacerts")); 36 File configDir = Environment.getUserConfigDirectory(UserHandle.myUserId()); 37 mUserRemovedCaDir = new File(configDir, "cacerts-removed"); 46 return new File(mUserRemovedCaDir, caFile).exists();
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
ExtensionFileComparator.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; 27 * Compare the file name <b>extensions</b> for order 31 * by their file extension either in a case-sensitive, case-insensitive or 36 * Example of a <i>case-sensitive</i> file extension sort using the 39 * List<File> list = ... 43 * Example of a <i>reverse case-insensitive</i> file extension sort using the 46 * File[] array = .. [all...] |
NameFileComparator.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; 26 * Compare the <b>names</b> of two files for order (see {@link File#getName()}). 34 * Example of a <i>case-sensitive</i> file name sort using the 37 * List<File> list = ... 41 * Example of a <i>reverse case-insensitive</i> file name sort using the 44 * File[] array = ... 52 public class NameFileComparator implements Comparator<File>, Serializable [all...] |
PathFileComparator.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; 26 * Compare the <b>path</b> of two files for order (see {@link File#getPath()}). 34 * Example of a <i>case-sensitive</i> file path sort using the 37 * List<File> list = ... 41 * Example of a <i>reverse case-insensitive</i> file path sort using the 44 * File[] array = ... 52 public class PathFileComparator implements Comparator<File>, Serializable [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
FileAccessPermissionTest.java | 5 * you may not use this file except in compliance with the License. 22 import java.io.File; 30 * This is testing for file access permissions. 39 * create a sdcard image file then start emulator with command emulator -sdcard <filepath> 42 * mksdcard <size> <file> 45 * TODO: Combine this file with {@link android.permission.cts.FileSystemPermissionTest} 53 File file = new File("/system"); local 54 assertTrue(file.canRead()) 82 File file = new File("\/system\/app"); local 100 File file = new File("\/data\/app"); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateManager.java | 5 * you may not use this file except in compliance with the License. 36 import java.io.File; 55 public static File getTemplateRootFolder() { 58 File folder = new File(location, FD_TOOLS + File.separator + FD_TEMPLATES); 69 public static List<File> getExtraTemplateRootFolders() { 70 List<File> folders = new ArrayList<File>(); 73 File extras = new File(location, FD_EXTRAS) 161 templateNames.put(file.getName(), file); local [all...] |
/external/clang/tools/scan-build/libexec/ |
c++-analyzer | 4 use File::Basename qw/ dirname /;
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/input/ |
DirectoryInputFileGenerator.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 29 private final File baseDir; 31 public DirectoryInputFileGenerator(File baseDir) { 36 public Iterable<? extends File> generate() { 37 List<File> files = Lists.newArrayList(); 42 private void collectFiles(File baseDir, List<File> files) { 43 for (File file : baseDir.listFiles()) [all...] |
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/output/ |
BasicOutputSourceFileGenerator.java | 5 * you may not use this file except in compliance with the License. 22 import java.io.File; 25 * Generate the output source file name from a CompilationUnit's package information. 29 private final File baseDir; 31 public BasicOutputSourceFileGenerator(File baseDir) { 36 public File generate(CompilationUnit cu, File inputFile) { 39 String packageSubDir = fqn.replace(".", File.separator); 40 return new File(new File(baseDir, packageSubDir), sourceFileName) [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
JournaledFile.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 25 * their on-file semantics are slightly different that would run the risk of losing 27 * roll back to the backup file. This can be solved... but is it worth it and 32 File mReal; 33 File mTemp; 36 public JournaledFile(File real, File temp) { 41 /** Returns the file for you to read. 43 * Prefers the real file. If it doesn't exist, uses the temp one, and then copie [all...] |
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/ |
LocalizePluginExtension.groovy | 5 * you may not use this file except in compliance with the License. 20 def File localRepoDir;
|
/frameworks/support/compat/kitkat/android/support/v4/os/ |
EnvironmentCompatKitKat.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 24 public static String getStorageState(File path) {
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
BurstMediaItem.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 17 import java.io.File; 47 * @return the path to media file. 49 public File getFilePath(); 59 * Gets the file extension of the media. 61 * @return file extension of the media 66 * Returns whether the media file will support Exif data.
|
/prebuilts/clang/darwin-x86/host/3.6/tools/scan-build/ |
c++-analyzer | 4 use File::Basename qw/ dirname /;
|
/prebuilts/clang/host/darwin-x86/3.8/tools/scan-build/ |
c++-analyzer | 4 use File::Basename qw/ dirname /;
|
/prebuilts/clang/host/darwin-x86/clang-2629532/tools/scan-build/libexec/ |
c++-analyzer | 4 use File::Basename qw/ dirname /;
|
/prebuilts/clang/host/darwin-x86/clang-2658975/tools/scan-build/libexec/ |
c++-analyzer | 4 use File::Basename qw/ dirname /;
|
/prebuilts/clang/host/darwin-x86/clang-2690385/tools/scan-build/libexec/ |
c++-analyzer | 4 use File::Basename qw/ dirname /;
|
/prebuilts/clang/host/linux-x86/3.8/tools/scan-build/ |
c++-analyzer | 4 use File::Basename qw/ dirname /;
|
/prebuilts/clang/host/linux-x86/clang-2629532/tools/scan-build/libexec/ |
c++-analyzer | 4 use File::Basename qw/ dirname /;
|
/prebuilts/clang/host/linux-x86/clang-2658975/tools/scan-build/libexec/ |
c++-analyzer | 4 use File::Basename qw/ dirname /;
|