Home
last modified time | relevance | path

Searched refs:targetFile (Results 1 – 7 of 7) sorted by relevance

/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
DBaseCompilationTest.java138 protected void copyResourceTo(String name, File targetFile) throws IOException { in copyResourceTo() argument
139 File directory = targetFile.getParentFile(); in copyResourceTo()
142 FileOutputStream fos = new FileOutputStream(targetFile); in copyResourceTo()
157 protected void copyResourceTo(String name, File targetFile, Map<String, String> replacements) in copyResourceTo() argument
160 copyResourceTo(name, targetFile); in copyResourceTo()
185 FileUtils.writeStringToFile(targetFile, out.toString()); in copyResourceTo()
DSimpleCompilationTest.java94 private ScopedException singleFileErrorTest(String resource, String targetFile, in singleFileErrorTest() argument
98 copyResourceTo(resource, targetFile); in singleFileErrorTest()
108 String extract = extract(targetFile, loc); in singleFileErrorTest()
113 assertEquals(new File(testFolder, targetFile).getCanonicalFile(), in singleFileErrorTest()
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java398 final File targetFile = new File(targetDir, targetName); in copyFile() local
400 Slog.d(TAG, "Copying " + sourceFile + " to " + targetFile); in copyFile()
401 if (!FileUtils.copyFile(sourceFile, targetFile)) { in copyFile()
402 throw new IOException("Failed to copy " + sourceFile + " to " + targetFile); in copyFile()
412 Os.chmod(targetFile.getAbsolutePath(), 0640); in copyFile()
415 Os.chmod(targetFile.getAbsolutePath(), 0644); in copyFile()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DMakeCopy.java210 File targetFile = new File(targetDir, layoutFile.getName()); in addFromFile() local
213 appender = new FileWriter(targetFile, true); in addFromFile()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java717 final File targetFile = new File(mResolvedStageDir, targetName); in validateInstallLocked() local
718 if (!addedFile.equals(targetFile)) { in validateInstallLocked()
719 addedFile.renameTo(targetFile); in validateInstallLocked()
724 mResolvedBaseFile = targetFile; in validateInstallLocked()
727 mResolvedStagedFiles.add(targetFile); in validateInstallLocked()
/frameworks/base/core/java/android/app/
DContextImpl.java415 final File targetFile = new File(targetDir, sourceFile.getName()); in moveFiles() local
416 Log.d(TAG, "Migrating " + sourceFile + " to " + targetFile); in moveFiles()
418 FileUtils.copyFileOrThrow(sourceFile, targetFile); in moveFiles()
419 FileUtils.copyPermissions(sourceFile, targetFile); in moveFiles()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...