Home
last modified time | relevance | path

Searched refs:outFile (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/
DAppComponentFactoryTest.java42 File outFile = File.createTempFile(AppComponentFactoryTest.class.getSimpleName(), ".apk", in writeSecondaryApkToDisk() local
47 FileOutputStream os = new FileOutputStream(outFile); in writeSecondaryApkToDisk()
55 return outFile; in writeSecondaryApkToDisk()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java88 private void doMountAndUnmountObbNormal(File outFile) throws IOException { in doMountAndUnmountObbNormal() argument
89 … final String canonPath = mountObb(R.raw.test1_new, outFile, OnObbStateChangeListener.MOUNTED); in doMountAndUnmountObbNormal()
91 mountObb(R.raw.test1_new, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); in doMountAndUnmountObbNormal()
102 unmountObb(outFile, OnObbStateChangeListener.UNMOUNTED); in doMountAndUnmountObbNormal()
115 private void doAttemptMountNonObb(File outFile) { in doAttemptMountNonObb() argument
117 mountObb(R.raw.test1_nosig, outFile, OnObbStateChangeListener.ERROR_INTERNAL); in doAttemptMountNonObb()
124 mStorageManager.isObbMounted(outFile.getPath())); in doAttemptMountNonObb()
127 mStorageManager.getMountedObbPath(outFile.getPath())); in doAttemptMountNonObb()
139 private void doAttemptMountObbWrongPackage(File outFile) { in doAttemptMountObbWrongPackage() argument
140 mountObb(R.raw.test1_wrongpackage, outFile, in doAttemptMountObbWrongPackage()
[all …]
/cts/tools/cfassembler/src/dxconvext/
DClassFileAssembler.java101 File outFile = new File(tFile); in run() local
102 System.out.println("outfile:" + outFile); in run()
107 OutputStream os = new FileOutputStream(outFile); in run()
DClassFileParser.java82 String outFile = absSrcFilePath.substring(0, absSrcFilePath in process() local
86 w = new OutputStreamWriter(new FileOutputStream(new File(outFile))); in process()
88 throw new RuntimeException("cannot write to file:"+outFile, e); in process()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DApexSignatureVerificationTest.java264 File outFile; in pullWellKnownSignatures() local
266 outFile = File.createTempFile(keyFileName, "", mWellKnownKeyStorePath); in pullWellKnownSignatures()
267 mWellKnownKeyFileList.add(outFile); in pullWellKnownSignatures()
268 FileUtil.writeToFile(in, outFile); in pullWellKnownSignatures()
/cts/tools/cts-media/
Dget_achievable_rates.py260 outFile = '{}.media_codecs_performance.xml'.format(dev)
261 print >> sys.stderr, "generating", outFile
262 with open(outFile, "wt") as out:
266 print >> sys.stderr, "generated", outFile
/cts/tests/tests/media/src/android/media/cts/
DEncoderTest.java314 String outFile = "/data/local/tmp/transcoded-" + componentName + in testEncoder() local
319 muxer = new MediaMuxer(outFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4); in testEncoder()
DMediaRecorderTest.java1586 private void recordMedia(long maxFileSize, File outFile) throws Exception { in recordMedia() argument
1593 assertTrue(outFile.exists()); in recordMedia()
1597 assertTrue(outFile.length() < 1.1 * maxFileSize); in recordMedia()
1598 assertTrue(outFile.length() > 0); in recordMedia()
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java513 File outFile = File.createTempFile("temp", ".out");
516 FileOutputStream fOut = new FileOutputStream(outFile)) {
526 try (FileInputStream fInp = new FileInputStream(outFile)) {
537 outFile.delete();
DMuxerTest.java756 RandomAccessFile outFile = new RandomAccessFile(mOutPath, "rws"); in testMultiTrack() local
757 muxer = new MediaMuxer(outFile.getFD(), mOutFormat); in testMultiTrack()
772 outFile.close(); in testMultiTrack()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java1800 File outFile = new File(mOutMediaFileName); in validateRecording() local
1801 assertTrue("No video is recorded", outFile.exists()); in validateRecording()
1896 outFile.delete(); in validateRecording()