Searched refs:toDir (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 782 File toDir = getEmptyDir("testEntryFile_to"); 790 EntryFile e = new EntryFile(f, toDir, "tag:!", 12345, DropBoxManager.IS_TEXT, 1024); 800 assertEquals(new File(toDir, "tag%3A!@12345.txt"), e.getFile(toDir)); 801 assertTrue(e.getFile(toDir).exists()); 810 EntryFile e = new EntryFile(f, toDir, "tag:!", 12345, 818 assertEquals(new File(toDir, "tag%3A!@12345.txt.gz"), e.getFile(toDir)); 819 assertTrue(e.getFile(toDir).exists()); 829 EntryFile e = new EntryFile(f, toDir, "tag:!", 12345, 837 assertEquals(new File(toDir, "tag%3A!@12345.dat.gz"), e.getFile(toDir)); 838 assertTrue(e.getFile(toDir).exists()); [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerSession.java | 1337 final File toDir = stageDir; in makeSessionActiveLocked() local 1344 if (isLinkPossible(fromFiles, toDir)) { in makeSessionActiveLocked() 1346 final File oatDir = new File(toDir, "oat"); in makeSessionActiveLocked() 1361 final File libDir = new File(toDir, libDirPath); in makeSessionActiveLocked() 1370 linkFiles(fromFiles, toDir, mInheritedFilesBase); in makeSessionActiveLocked() 1374 copyFiles(fromFiles, toDir); in makeSessionActiveLocked() 1831 private boolean isLinkPossible(List<File> fromFiles, File toDir) { in isLinkPossible() argument 1833 final StructStat toStat = Os.stat(toDir.getAbsolutePath()); in isLinkPossible() 1906 private void linkFiles(List<File> fromFiles, File toDir, File fromDir) in linkFiles() argument 1912 toDir.getAbsolutePath()); in linkFiles() [all …]
|