/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
file_utils.h | 24 class FileUtils { 55 DISALLOW_IMPLICIT_CONSTRUCTORS(FileUtils);
|
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/ |
RestoreMojo.java | 21 import org.codehaus.plexus.util.FileUtils; 39 FileUtils.copyDirectoryStructure(originalClassesDir, classesDir);
|
InstrumentMojo.java | 26 import org.codehaus.plexus.util.FileUtils; 80 FileUtils.copyFile(source, backup);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
FileUtilsTest.java | 19 import static android.os.FileUtils.roundStorageSize; 59 FileUtils.deleteContents(mTarget); 65 FileUtils.deleteContents(mTarget); 73 FileUtils.copyFile(mTestFile, mCopyFile); 75 assertEquals(TEST_DATA, FileUtils.readTextFile(mCopyFile, 0, null)); 81 FileUtils.copyToFile(new ByteArrayInputStream(s.getBytes()), mCopyFile); 83 assertEquals(s, FileUtils.readTextFile(mCopyFile, 0, null)); 87 assertTrue(FileUtils.isFilenameSafe(new File("foobar"))); 88 assertTrue(FileUtils.isFilenameSafe(new File("a_b-c=d.e/0,1+23"))); 89 assertFalse(FileUtils.isFilenameSafe(new File("foo*bar"))) [all...] |
/cts/tools/cfassembler/src/dxconvext/util/ |
FileUtils.java | 26 public final class FileUtils { 30 private FileUtils() {
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
FileUtils.java | 26 public final class FileUtils { 30 private FileUtils() {
|
/dalvik/dx/src/com/android/dex/util/ |
FileUtils.java | 26 public final class FileUtils { 27 private FileUtils() {
|
/external/toolchain-utils/cros_utils/ |
file_utils.py | 12 class FileUtils(object): 24 cls._instance = super(FileUtils, cls).__new__(MockFileUtils, *args, 27 cls._instance = super(FileUtils, cls).__new__(cls, *args, **kwargs) 68 class MockFileUtils(FileUtils):
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/writer/ |
JavaFileWriter.java | 16 import org.apache.commons.io.FileUtils; 30 FileUtils.writeStringToFile(exactPath, contents);
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
FileUtils.java | 25 public class FileUtils { 26 private static final String TAG = "FileUtils";
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
AssetFileAddress.java | 19 import com.android.inputmethod.latin.common.FileUtils; 63 FileUtils.deleteRecursively(new File(mFilename));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
FileUtils.java | 24 public class FileUtils {
|
/external/r8/src/test/java/com/android/tools/r8/maindexlist/ |
MainDexListOutputTest.java | 12 import com.android.tools.r8.utils.FileUtils; 27 assertEquals(0, FileUtils.readTextFile(mainDexList).size()); 46 FileUtils.readTextFile(mainDexList));
|
/packages/services/BuiltInPrintService/src/com/android/bips/util/ |
FileUtils.java | 26 public class FileUtils { 27 private static final String TAG = FileUtils.class.getSimpleName();
|
/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
FileUtilsTest.java | 37 * Tests for {@link FileUtils}. 75 FileUtils.deleteRecursive(dir); 90 assertFalse(FileUtils.isSymlink(dir)); 91 assertFalse(FileUtils.isSymlink(subDir)); 92 assertFalse(FileUtils.isSymlink(fileInSubDir)); 93 assertFalse(FileUtils.isSymlink(normalFile)); 94 assertTrue(FileUtils.isSymlink(symlinkToDir)); 95 assertTrue(FileUtils.isSymlink(symlinkToFile)); 96 assertTrue(FileUtils.isSymlink(symlinkToFileInSubDir)); 97 assertFalse(FileUtils.isSymlink(normalFileViaSymlink)) [all...] |
/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/ |
TimeZoneDistroInstaller.java | 20 import com.android.timezone.distro.FileUtils; 146 FileUtils.deleteRecursive(oldStagedDataDir); 149 FileUtils.deleteRecursive(workingDir); 218 FileUtils.makeDirectoryWorldAccessible(workingDir); 227 FileUtils.rename(stagedTzDataDir, oldStagedDataDir); 232 FileUtils.rename(workingDir, stagedTzDataDir); 258 FileUtils.deleteRecursive(oldStagedDataDir); 261 FileUtils.deleteRecursive(workingDir); 272 FileUtils.rename(stagedTzDataDir, oldStagedDataDir); 283 FileUtils.ensureDirectoriesExist(workingDir, true /* makeWorldReadable */) [all...] |
/external/droiddriver/src/io/appium/droiddriver/util/ |
FileUtils.java | 33 public class FileUtils {
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
FileUtils.java | 19 public class FileUtils { 20 private static final String TAG = "FileUtils";
|
/external/r8/src/main/java/com/android/tools/r8/utils/ |
FileUtils.java | 16 public class FileUtils {
|
/external/r8/src/test/java/com/android/tools/r8/ |
R8EntryPointTests.java | 9 import com.android.tools.r8.utils.FileUtils; 26 Paths.get(ToolHelper.EXAMPLES_BUILD_DIR, "minification" + FileUtils.JAR_EXTENSION); 35 FileUtils.writeTextFile(testFlags, ImmutableList.of( 44 Assert.assertTrue(Files.isRegularFile(out.resolve(FileUtils.DEFAULT_DEX_FILENAME))); 67 Assert.assertTrue(Files.isRegularFile(out.resolve(FileUtils.DEFAULT_DEX_FILENAME))); 96 Assert.assertTrue(Files.isRegularFile(out.resolve(FileUtils.DEFAULT_DEX_FILENAME)));
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
ResourcesLocaleTest.java | 18 import android.os.FileUtils; 38 FileUtils.copyToFileOrThrow(is, path);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
LastMileLogger.java | 19 import android.os.FileUtils; 117 FileUtils.stringToFile(mEventEnablePath, "1"); 125 FileUtils.stringToFile(mEventEnablePath, "0");
|
/system/timezone/distro/core/src/main/com/android/timezone/distro/ |
FileUtils.java | 29 public final class FileUtils { 31 private FileUtils() { 133 if (file.isDirectory() && !FileUtils.isSymlink(file)) { 139 FileUtils.doDelete(file); 148 FileUtils.doDelete(toDelete);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
MountServiceTests.java | 22 import android.os.FileUtils; 117 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 118 | FileUtils.S_IRWXO, -1, -1); 119 assertTrue(FileUtils.copyToFile(is, outFile)); 120 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 121 | FileUtils.S_IRWXO, -1, -1) [all...] |
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/ |
BaseCompilationTest.java | 19 import org.apache.commons.io.FileUtils; 90 for (File item : FileUtils.listFiles(folder, null, true)) { 103 FileUtils.forceDelete(testFolder); 119 List<String> lines = FileUtils.readLines(file); 140 FileUtils.forceMkdir(directory); 185 FileUtils.writeStringToFile(targetFile, out.toString()); 209 FileUtils.forceMkdir(testFolder); 217 FileUtils.copyFile(localProperties, new File(testFolder, "local.properties")); 219 FileUtils.copyFile(new File("../propLoader.gradle"), 221 FileUtils.copyFile(new File("../gradlew"), new File(testFolder, "gradlew")) [all...] |