HomeSort by relevance Sort by last modified time
    Searched refs:File (Results 26 - 50 of 3205) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
FileUtils.java 5 * use this file except in compliance with the License. You may obtain a copy of
19 import java.io.File;
26 public static boolean deleteRecursively(final File path) {
28 final File[] files = path.listFiles();
30 for (final File child : files) {
38 public static boolean deleteFilteredFiles(final File dir, final FilenameFilter fileNameFilter) {
42 final File[] files = dir.listFiles(fileNameFilter);
47 for (final File file : files) {
48 if (!deleteRecursively(file)) {
    [all...]
  /dalvik/dx/src/com/android/multidex/
FolderPathElement.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
29 private File baseFolder;
31 public FolderPathElement(File baseFolder) {
37 return new FileInputStream(new File(baseFolder,
38 path.replace(SEPARATOR_CHAR, File.separatorChar)));
  /external/chromium_org/ppapi/shared_impl/
file_type_conversion.cc 3 // found in the LICENSE file.
14 int FileErrorToPepperError(base::File::Error error_code) {
16 case base::File::FILE_OK:
18 case base::File::FILE_ERROR_EXISTS:
20 case base::File::FILE_ERROR_NOT_FOUND:
22 case base::File::FILE_ERROR_ACCESS_DENIED:
23 case base::File::FILE_ERROR_SECURITY:
25 case base::File::FILE_ERROR_NO_MEMORY:
27 case base::File::FILE_ERROR_NO_SPACE:
29 case base::File::FILE_ERROR_NOT_A_DIRECTORY
    [all...]
  /packages/apps/Camera2/src/com/android/camera/session/
SessionStorageManagerImpl.java 5 * you may not use this file except in compliance with the License.
24 import java.io.File;
38 private final File mBaseDirectory;
44 private final File mDeprecatedBaseDirectory;
58 SessionStorageManagerImpl(File baseDirectory, File deprecatedBaseDirectory) {
64 public File getSessionDirectory(String subDirectory) throws IOException {
65 File sessionDirectory = new File(mBaseDirectory, subDirectory);
78 File deprecatedSessionDirectory = new File(mDeprecatedBaseDirectory, subDirectory)
    [all...]
SessionStorageManager.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
37 * @return A valid file object that points to an existing directory.
40 public File getSessionDirectory(String subDirectory) throws IOException;
  /frameworks/base/core/java/android/os/
Environment.java 5 * you may not use this file except in compliance with the License.
28 import java.io.File;
59 private static final File DIR_ANDROID_ROOT = getDirectory(ENV_ANDROID_ROOT, "/system");
60 private static final File DIR_OEM_ROOT = getDirectory(ENV_OEM_ROOT, "/oem");
61 private static final File DIR_VENDOR_ROOT = getDirectory(ENV_VENDOR_ROOT, "/vendor");
62 private static final File DIR_MEDIA_STORAGE = getDirectory(ENV_MEDIA_STORAGE, "/data/media");
87 private final File[] mExternalDirsForVold;
89 private final File[] mExternalDirsForApp;
91 private final File mEmulatedDirForDirect;
104 ArrayList<File> externalForVold = Lists.newArrayList()
    [all...]
  /external/chromium_org/base/files/
file.cc 3 // found in the LICENSE file.
5 #include "base/files/file.h"
12 File::Info::Info()
18 File::Info::~Info() {
21 File::File()
29 File::File(const FilePath& name, uint32 flags)
38 File::File(PlatformFile platform_file
    [all...]
  /external/chromium_org/remoting/host/setup/
test_util.cc 3 // found in the LICENSE file.
15 bool MakePipe(base::File* read_file,
16 base::File* write_file) {
22 *read_file = base::File(read_handle);
23 *write_file = base::File(write_handle);
28 *read_file = base::File(fds[0]);
29 *write_file = base::File(fds[1]);
  /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&lt;File&gt; 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&lt;File&gt; 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&lt;File&gt; 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...]
UsbDebuggingTest.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
32 File keys = new File("/adb_keys");
  /development/tools/idegen/src/com/android/idegen/
DirectorySearch.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
50 private static File repoRoot = null;
58 public static File getRepoRoot() {
67 * @param file any file inside the root.
70 public static void findAndInitRepoRoot(File file) {
71 Preconditions.checkNotNull(file);
76 if (file.isDirectory())
    [all...]
  /external/chromium_org/webkit/browser/fileapi/
native_file_util.cc 3 // found in the LICENSE file.
8 #include "base/files/file.h"
37 // Copies a file |from| to |to|, and ensure the written content is synced to
40 base::File infile(from, base::File::FLAG_OPEN | base::File::FLAG_READ);
45 base::File outfile(to,
46 base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE);
124 base::File NativeFileUtil::CreateOrOpen(const base::FilePath& path
    [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/chromium_org/third_party/WebKit/Source/modules/filesystem/
FileEntrySync.idl 34 [RaisesException] File file();
  /external/clang/tools/scan-build/
c++-analyzer 4 use File::Basename qw/ dirname /;
  /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/support/v4/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) {
  /prebuilts/misc/darwin-x86/analyzer/tools/scan-build/
c++-analyzer 4 use File::Basename qw/ dirname /;
  /prebuilts/misc/linux-x86/analyzer/tools/scan-build/
c++-analyzer 4 use File::Basename qw/ dirname /;
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
AbstractFileFilter.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 * Checks to see if the File should be accepted by this filter.
38 * @param file the File to check
39 * @return true if this file matches the test
41 public boolean accept(File file) {
    [all...]
  /art/runtime/base/
scoped_flock.h 5 * you may not use this file except in compliance with the License.
32 // Attempts to acquire an exclusive file lock (see flock(2)) on the file
36 // occurred. It is an error if the file does not exist, or if its inode
37 // changed (usually due to a new file being created at the same path)
40 // Attempt to acquire an exclusive file lock (see flock(2)) on 'file'.
43 bool Init(File* file, std::string* error_msg);
45 // Returns the (locked) file associated with this instance
    [all...]
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
WorkDir.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
26 static final File getTopDir() {
32 return (getTopDir().getAbsolutePath() + File.separator);

Completed in 610 milliseconds

12 3 4 5 6 7 8 91011>>