HomeSort by relevance Sort by last modified time
    Searched full:fileutils (Results 1 - 25 of 73) sorted by null

1 2 3

  /frameworks/base/core/tests/coretests/src/android/os/
FileUtilsTest.java 20 import android.os.FileUtils;
21 import android.os.FileUtils.FileStatus;
80 Assert.assertTrue(FileUtils.getFileStatus(mTestFile.getPath(), null));
83 FileUtils.getFileStatus(mTestFile.getPath(), status1);
106 FileUtils.getFileStatus(mTestFile.getPath(), status2);
114 Assert.assertFalse(FileUtils.getFileStatus(mTestFile.getPath(), null));
122 FileUtils.copyFile(mTestFile, mCopyFile);
124 assertEquals(TEST_DATA, FileUtils.readTextFile(mCopyFile, 0, null));
131 FileUtils.copyToFile(new ByteArrayInputStream(s.getBytes()), mCopyFile); assertTrue(mCopyFile.exists());
132 assertEquals(s, FileUtils.readTextFile(mCopyFile, 0, null))
    [all...]
BinderThreadPriorityTest.java 100 String cgroup = FileUtils.readTextFile(new File(fn), 1024, null);
  /frameworks/base/services/tests/servicestests/src/com/android/server/
EntropyServiceTest.java 20 import android.os.FileUtils;
34 assertEquals(0, FileUtils.readTextFile(file, 0, null).length());
39 assertTrue(FileUtils.readTextFile(file, 0, null).length() > 0);
  /frameworks/base/test-runner/src/android/test/
TestRecorder.java 22 import android.os.FileUtils;
55 int code = FileUtils.setPermissions(file.getPath(),
56 FileUtils.S_IRUSR | FileUtils.S_IWUSR |
57 FileUtils.S_IRGRP | FileUtils.S_IWGRP |
58 FileUtils.S_IROTH | FileUtils.S_IWOTH, -1, -1);
RenamingDelegatingContext.java 25 import android.os.FileUtils;
224 FileUtils.setPermissions(
226 FileUtils.S_IRWXU|FileUtils.S_IRWXG|FileUtils.S_IXOTH,
  /packages/apps/Email/src/org/apache/commons/io/comparator/
SizeFileComparator.java 23 import org.apache.commons.io.FileUtils;
27 * {@link File#length()} and {@link FileUtils#sizeOfDirectory(File)}).
62 * using {@link FileUtils#sizeOfDirectory(File)}
68 * using {@link FileUtils#sizeOfDirectory(File)}
87 * directories is calculated using {@link FileUtils#sizeOfDirectory(File)}.
91 * as size zero (see {@link FileUtils#sizeOfDirectory(File)}).
113 size1 = sumDirectoryContents && file1.exists() ? FileUtils.sizeOfDirectory(file1) : 0;
119 size2 = sumDirectoryContents && file2.exists() ? FileUtils.sizeOfDirectory(file2) : 0;
  /frameworks/base/core/java/com/android/internal/os/
AtomicFile.java 19 import android.os.FileUtils;
65 FileUtils.setPermissions(
67 FileUtils.S_IRWXU|FileUtils.S_IRWXG|FileUtils.S_IXOTH,
  /external/elfutils/m4/
glibc21.m4 1 # glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40)
ulonglong.m4 1 # ulonglong.m4 serial 2 (fileutils-4.0.32, gettext-0.10.40)
  /frameworks/base/keystore/java/android/security/
SystemKeyStore.java 20 import android.os.FileUtils;
96 FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR),
  /frameworks/base/core/jni/
android_os_FileUtils.cpp 18 #define LOG_TAG "FileUtils"
174 {"getFileStatus", "(Ljava/lang/String;Landroid/os/FileUtils$FileStatus;)Z", (void*)android_os_FileUtils_getFileStatus},
177 static const char* const kFileUtilsPathName = "android/os/FileUtils";
184 LOG_FATAL_IF(clazz == NULL, "Unable to find class android.os.FileUtils");
186 gFileStatusClass = env->FindClass("android/os/FileUtils$FileStatus");
187 LOG_FATAL_IF(gFileStatusClass == NULL, "Unable to find class android.os.FileUtils$FileStatus");
  /cts/tools/dx-tests/src/dxconvext/util/
FileUtils.java 26 public final class FileUtils {
30 private FileUtils() {
  /dalvik/dx/src/com/android/dx/util/
FileUtils.java 26 public final class FileUtils {
30 private FileUtils() {
  /frameworks/base/services/java/com/android/server/
BootReceiver.java 28 import android.os.FileUtils;
106 .append(FileUtils.readTextFile(new File("/proc/version"), 1024, "...\n"))
119 // Negative sizes mean to take the *tail* of the file (see FileUtils.readTextFile())
172 db.addText(tag, headers + FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n"));
DiskStatsService.java 22 import android.os.FileUtils;
  /frameworks/base/core/java/android/app/
ContextImpl.java 79 import android.os.FileUtils;
90 import android.os.FileUtils.FileStatus;
417 FileUtils.setPermissions(
419 FileUtils.S_IRWXU|FileUtils.S_IRWXG|FileUtils.S_IXOTH,
443 FileUtils.setPermissions(
445 FileUtils.S_IRWXU|FileUtils.S_IRWXG|FileUtils.S_IXOTH
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
Main.java 20 import com.android.dx.util.FileUtils;
88 byte[] bytes = FileUtils.readFile(name);
  /packages/apps/Email/src/org/apache/commons/io/
package.html 29 <b>FileUtils</b> provides operations based around the JDK File class.
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsBackupAgent.java 41 import android.os.FileUtils;
138 FileUtils.setPermissions(FILE_WIFI_SUPPLICANT,
139 FileUtils.S_IRUSR | FileUtils.S_IWUSR |
140 FileUtils.S_IRGRP | FileUtils.S_IWGRP,
  /packages/apps/Email/src/org/apache/commons/io/filefilter/
AgeFileFilter.java 23 import org.apache.commons.io.FileUtils;
137 boolean newer = FileUtils.isFileNewer(file, cutoff);
  /external/bluetooth/glib/docs/reference/glib/
glib-docs.sgml 56 <!ENTITY glib-Fileutils SYSTEM "xml/fileutils.xml">
163 &glib-Fileutils;
  /packages/apps/Email/src/org/apache/commons/io/output/
FileWriterWithEncoding.java 28 import org.apache.commons.io.FileUtils;
245 FileUtils.deleteQuietly(file);
252 FileUtils.deleteQuietly(file);
LockableFileWriter.java 27 import org.apache.commons.io.FileUtils;
164 FileUtils.forceMkdir(file.getParentFile());
175 FileUtils.forceMkdir(lockDirFile);
  /cts/tools/dx-tests/
Android.mk 66 LOCAL_SRC_FILES := src/dxconvext/ClassFileAssembler.java src/dxconvext/util/FileUtils.java
  /cts/tools/dx-tests/src/dxconvext/
ClassFileAssembler.java 19 import dxconvext.util.FileUtils;
77 byte[] cfhbytes = FileUtils.readFile(cfhF);

Completed in 335 milliseconds

1 2 3