Home
last modified time | relevance | path

Searched refs:outFile (Results 1 – 8 of 8) 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/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.java1584 private void recordMedia(long maxFileSize, File outFile) throws Exception { in recordMedia() argument
1591 assertTrue(outFile.exists()); in recordMedia()
1595 assertTrue(outFile.length() < 1.1 * maxFileSize); in recordMedia()
1596 assertTrue(outFile.length() > 0); in recordMedia()
/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()