Searched refs:destFile (Results 1 – 6 of 6) sorted by relevance
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | SourceBuildStep.java | 23 SourceBuildStep(File destFile) { in SourceBuildStep() argument 24 super(destFile); in SourceBuildStep()
|
D | JavacBuildStep.java | 58 File destFile = new File(destPath); in build() local 59 if (!destFile.exists() && !destFile.mkdirs()) in build()
|
/cts/tests/app/DownloadManagerInstallerTest/src/android/app/cts/ |
D | DownloadManagerInstallerTest.java | 52 File destFile = new File(destPath, "test.obb"); in testSetDestinationUri_otherAppObbDir() local 53 deleteFromShell(destFile); in testSetDestinationUri_otherAppObbDir() 61 requestPublic.setDestinationUri(Uri.fromFile(destFile)); in testSetDestinationUri_otherAppObbDir() 68 assertSuccessfulDownload(id, destFile); in testSetDestinationUri_otherAppObbDir()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | FileUtils.java | 119 public static boolean copyToFile(InputStream inputStream, File destFile) { in copyToFile() argument 121 if (destFile.exists()) { in copyToFile() 122 destFile.delete(); in copyToFile() 124 FileOutputStream out = new FileOutputStream(destFile); in copyToFile()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TriggerContentTest.java | 146 public static void copyToFileOrThrow(InputStream inputStream, File destFile) in copyToFileOrThrow() argument 148 if (destFile.exists()) { in copyToFileOrThrow() 149 destFile.delete(); in copyToFileOrThrow() 151 destFile.getParentFile().mkdirs(); in copyToFileOrThrow() 152 FileOutputStream out = new FileOutputStream(destFile); in copyToFileOrThrow() 170 public Uri createAndAddImage(File destFile, InputStream image) throws IOException, in createAndAddImage() argument 172 copyToFileOrThrow(image, destFile); in createAndAddImage() 174 boolean success = scanner.scan(getContext(), destFile.toString(), "image/jpeg"); in createAndAddImage()
|
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTest.java | 315 File destFile = new File(DIR_CAMERA, "renamed_" + HEVC_FILE_NAME); in testRenameTranscodedFile_FilePath() local 321 assertTrue(modernFile.renameTo(destFile)); in testRenameTranscodedFile_FilePath() 322 assertTrue(destFile.exists()); in testRenameTranscodedFile_FilePath() 327 assertTrue(destFile.exists()); in testRenameTranscodedFile_FilePath() 331 destFile.delete(); in testRenameTranscodedFile_FilePath() 436 File destFile = new File(DIR_CAMERA, "renamed_" + HEVC_FILE_NAME); in testTranscodedCacheReuseAfterRename_FilePath() local 443 assertTrue(modernFile.renameTo(destFile)); in testTranscodedCacheReuseAfterRename_FilePath() 445 assertTranscode(destFile, false); in testTranscodedCacheReuseAfterRename_FilePath() 448 destFile.delete(); in testTranscodedCacheReuseAfterRename_FilePath()
|