Home
last modified time | relevance | path

Searched refs:toDir (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java850 File toDir = getEmptyDir("testEntryFile_to");
858 EntryFile e = new EntryFile(f, toDir, "tag:!", 12345, DropBoxManager.IS_TEXT, 1024);
868 assertEquals(new File(toDir, "tag%3A!@12345.txt"), e.getFile(toDir));
869 assertTrue(e.getFile(toDir).exists());
878 EntryFile e = new EntryFile(f, toDir, "tag:!", 12345,
886 assertEquals(new File(toDir, "tag%3A!@12345.txt.gz"), e.getFile(toDir));
887 assertTrue(e.getFile(toDir).exists());
897 EntryFile e = new EntryFile(f, toDir, "tag:!", 12345,
905 assertEquals(new File(toDir, "tag%3A!@12345.dat.gz"), e.getFile(toDir));
906 assertTrue(e.getFile(toDir).exists());
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java2516 final File toDir = stageDir; in parseApkLite() local
2523 if (isLinkPossible(fromFiles, toDir)) { in parseApkLite()
2525 final File oatDir = new File(toDir, "oat"); in parseApkLite()
2540 final File libDir = new File(toDir, libDirPath); in parseApkLite()
2549 linkFiles(fromFiles, toDir, mInheritedFilesBase); in parseApkLite()
2553 copyFiles(fromFiles, toDir); in parseApkLite()
3444 private static boolean isLinkPossible(List<File> fromFiles, File toDir) { in isLinkPossible() argument
3446 final StructStat toStat = Os.stat(toDir.getAbsolutePath()); in isLinkPossible()
3548 private void linkFiles(List<File> fromFiles, File toDir, File fromDir) in linkFiles() argument
3553 final String toBase = toDir.getAbsolutePath(); in linkFiles()
[all …]