Home
last modified time | relevance | path

Searched refs:outputFile (Results 1 – 20 of 20) sorted by relevance

/cts/tools/vm-tests-tf/build/src/util/build/
DBuildStep.java30 BuildFile outputFile; field in BuildStep
66 BuildStep(BuildFile inputFile, BuildFile outputFile) { in BuildStep() argument
70 if (outputFile == null) { in BuildStep()
74 this.outputFile = outputFile; in BuildStep()
78 this.outputFile = new BuildFile(output); in BuildStep()
125 return (outputFile == o.outputFile ? 0 : outputFile.getPath().compareTo( in compareTo()
126 o.outputFile.getPath())); in compareTo()
DSmaliBuildStep.java33 SmaliBuildStep(List<String> inputFiles, File outputFile) { in SmaliBuildStep() argument
34 super(outputFile); in SmaliBuildStep()
42 options.outputDexFile = outputFile.fileName.getAbsolutePath(); in build()
44 File destDir = outputFile.folder; in build()
62 && outputFile.equals(other.outputFile); in equals()
69 return inputFiles.hashCode() ^ outputFile.hashCode(); in hashCode()
DD8BuildStep.java33 D8BuildStep(BuildFile inputFile, BuildFile outputFile, boolean deleteInputFileAfterBuild) { in D8BuildStep() argument
34 super(inputFile, outputFile); in D8BuildStep()
48 builder.setOutput(Paths.get(outputFile.fileName.getAbsolutePath()), OutputMode.DexIndexed); in build()
76 return inputFile.hashCode() ^ outputFile.hashCode(); in hashCode()
84 return inputFile.equals(other.inputFile) && outputFile.equals(other.outputFile); in equals()
DJarBuildStep.java61 File outDir = outputFile.fileName.getParentFile(); in build()
80 File jarOutFile = outputFile.fileName; in build()
99 outputFile.fileName.getAbsolutePath() + ", " + outputJarEntryName); in build()
120 return inputFile.hashCode() ^ outputFile.hashCode() in hashCode()
129 && outputFile.equals(other.outputFile) in equals()
DBuildDalvikSuite.java318 BuildStep.BuildFile outputFile = new BuildStep.BuildFile( in generateDexBuildStep() local
323 outputFile, in generateDexBuildStep()
/cts/hostsidetests/packagemanager/parsing/processing/api/src/android/content/pm/parsing/cts/generator/api/
DApkGenerator.kt90 val outputFile = tempFolder.newFile() in <lambda>() constant
93 FileOutputStream(outputFile).use { output -> in <lambda>()
98 hostZipFile = outputFile in <lambda>()
/cts/hostsidetests/packagemanager/parsing/processing/
DApkGenerator.py82 outputFile = open(outputPath, "w") variable
83 outputFile.write(string)
84 outputFile.close()
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppTest.java272 File outputFile = new File(filesDir, "test.apk"); in writeApkFile_writesFile() local
273 outputFile.delete(); in writeApkFile_writesFile()
275 testApp.writeApkFile(outputFile); in writeApkFile_writesFile()
278 assertThat(outputFile.exists()).isTrue(); in writeApkFile_writesFile()
280 outputFile.delete(); in writeApkFile_writesFile()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestApp.java184 public void writeApkFile(File outputFile) throws IOException { in writeApkFile() argument
185 outputFile.getParentFile().mkdirs(); in writeApkFile()
186 try (FileOutputStream output = new FileOutputStream(outputFile)) { in writeApkFile()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableTestUtils.java287 File outputFile = new File(outputFilename); in saveVectorDrawableIntoPNG() local
288 if (!outputFile.exists()) { in saveVectorDrawableIntoPNG()
289 outputFile.createNewFile(); in saveVectorDrawableIntoPNG()
292 out = new FileOutputStream(outputFile, false); in saveVectorDrawableIntoPNG()
DNinePatchDrawableTest.java711 final File outputFile = new File(outputFilename); in saveGoldenImage() local
712 if (!outputFile.exists()) { in saveGoldenImage()
713 outputFile.createNewFile(); in saveGoldenImage()
716 out = new FileOutputStream(outputFile, false); in saveGoldenImage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DPreviewRecorder.java156 String outputFile, Handler handler, boolean hlg10Enabled, Context context) in PreviewRecorder() argument
182 initPreviewRecorder(cameraId, outputFile, hlg10Enabled, context); in PreviewRecorder()
197 private void initPreviewRecorder(int cameraId, String outputFile, in initPreviewRecorder() argument
203 setupMediaCodec(cameraId, outputFile, context); in initPreviewRecorder()
206 setupMediaRecorder(cameraId, outputFile, context); in initPreviewRecorder()
252 private void setupMediaRecorder(int cameraId, String outputFile, Context context) in setupMediaRecorder() argument
268 mMediaRecorder.setOutputFile(outputFile); in setupMediaRecorder()
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/
DApiMap.java89 File outputFile = null; in main() local
97 outputFile = new File(Objects.requireNonNull(getExpectedArg(args, ++i))); in main()
127 if (outputFile == null) { in main()
154 FileOutputStream output = new FileOutputStream(outputFile); in main()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DHeifWriterTest.java456 File outputFile = new File(mOutputPath); in cleanupStaleOutputs() local
457 if (outputFile.exists()) { in cleanupStaleOutputs()
458 outputFile.delete(); in cleanupStaleOutputs()
499 RandomAccessFile outputFile = null; in doTest() local
503 outputFile = new RandomAccessFile(config.mOutputPath, "rws"); in doTest()
504 outputFile.setLength(0); in doTest()
505 outputFd = outputFile.getFD(); in doTest()
591 if (outputFile != null) { in doTest()
592 outputFile.close(); in doTest()
/cts/tests/tests/media/common/src/android/media/cts/
DCodecUtils.java235 File outputFile = new File(Environment.getExternalStorageDirectory(), filename); in saveBitmapToFile() local
237 Log.d(TAG, "Saving bitmap to: " + outputFile); in saveBitmapToFile()
238 FileOutputStream outputStream = new FileOutputStream(outputFile); in saveBitmapToFile()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCtsApiCoverage.java116 File outputFile = null; in main() local
133 outputFile = new File(getExpectedArg(args, ++i)); in main()
252 outputCoverageReport(apiCoverage, cddCoverage, testApks, outputFile, in main()
524 List<File> testApks, File outputFile, int format, PackageFilter packageFilter,
528 OutputStream out = outputFile != null
529 ? new FileOutputStream(outputFile)
/cts/tests/camera/src/android/hardware/camera2/cts/
DHeifWriterTest.java308 File outputFile = new File(mOutputPath); in cleanupStaleOutputs() local
309 if (outputFile.exists()) { in cleanupStaleOutputs()
310 outputFile.delete(); in cleanupStaleOutputs()
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DInstallDexMetadataHostTest.java443 File outputFile = new File(outputDir, fullResourceName); in extractResource() local
445 OutputStream out = new BufferedOutputStream(new FileOutputStream(outputFile))) { in extractResource()
455 return outputFile; in extractResource()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseInputStreamTest.java332 File outputFile = new File(getContext().getFilesDir(), outputFileName); in testOffsetCorrectFileChannelTransferTo() local
333 FileOutputStream output = new FileOutputStream(outputFile); in testOffsetCorrectFileChannelTransferTo()
342 ParcelFileDescriptor.open(outputFile, ParcelFileDescriptor.MODE_READ_WRITE); in testOffsetCorrectFileChannelTransferTo()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java2483 File outputFile = new File(Environment.getExternalStorageDirectory(), in testRecordAndPlay() local
2485 String outputFileLocation = outputFile.getAbsolutePath(); in testRecordAndPlay()
2527 outputFile.delete(); in testRecordAndPlay()
2537 private void recordMedia(String outputFile) throws Exception { in recordMedia() argument
2543 mr.setOutputFile(outputFile); in recordMedia()