/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/ |
D | AppComponentFactoryTest.java | 42 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/ |
D | StorageManagerTest.java | 101 private void doMountAndUnmountObbNormal(File outFile) throws IOException { in doMountAndUnmountObbNormal() argument 102 … final String canonPath = mountObb(R.raw.test1_new, outFile, OnObbStateChangeListener.MOUNTED); in doMountAndUnmountObbNormal() 104 mountObb(R.raw.test1_new, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); in doMountAndUnmountObbNormal() 115 unmountObb(outFile, OnObbStateChangeListener.UNMOUNTED); in doMountAndUnmountObbNormal() 128 private void doAttemptMountNonObb(File outFile) { in doAttemptMountNonObb() argument 130 mountObb(R.raw.test1_nosig, outFile, OnObbStateChangeListener.ERROR_INTERNAL); in doAttemptMountNonObb() 137 mStorageManager.isObbMounted(outFile.getPath())); in doAttemptMountNonObb() 140 mStorageManager.getMountedObbPath(outFile.getPath())); in doAttemptMountNonObb() 152 private void doAttemptMountObbWrongPackage(File outFile) { in doAttemptMountObbWrongPackage() argument 153 mountObb(R.raw.test1_wrongpackage, outFile, in doAttemptMountObbWrongPackage() [all …]
|
/cts/tools/cfassembler/src/dxconvext/ |
D | ClassFileAssembler.java | 101 File outFile = new File(tFile); in run() local 102 System.out.println("outfile:" + outFile); in run() 107 OutputStream os = new FileOutputStream(outFile); in run()
|
D | ClassFileParser.java | 82 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/backup/src/android/cts/backup/ |
D | RestoreSessionHostSideTest.java | 239 File outFile = FileUtil.createTempFile("stdoutredirect", ".txt"); in installWithAdb() local 240 OutputStream stdout = new FileOutputStream(outFile); in installWithAdb() 245 return FileUtil.readStringFromFile(outFile); in installWithAdb()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ApexSignatureVerificationTest.java | 264 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/ |
D | get_achievable_rates.py | 260 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/hostsidetests/incrementalinstall/src/android/incrementalinstall/cts/ |
D | IncrementalInstallTest.java | 367 File outFile = FileUtil.createTempFile("stdoutredirect", ".txt"); in installWithAdbInstaller() local 368 OutputStream stdout = new FileOutputStream(outFile); in installWithAdbInstaller() 373 return FileUtil.readStringFromFile(outFile); in installWithAdbInstaller()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncoderTest.java | 358 String outFile = "/data/local/tmp/transcoded-" + componentName + in testEncoder() local 362 new File(outFile).delete(); in testEncoder() 363 muxer = new MediaMuxer(outFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4); in testEncoder()
|
D | MediaRecorderTest.java | 1632 private void recordMedia(long maxFileSize, File outFile) throws Exception { in recordMedia() argument 1639 assertTrue(outFile.exists()); in recordMedia() 1643 assertTrue(outFile.length() < 1.1 * maxFileSize); in recordMedia() 1644 assertTrue(outFile.length() > 0); in recordMedia()
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | MediaTranscodingManagerTest.java | 118 File outFile = new File(context.getExternalCacheDir(), filename); in generateNewUri() local 119 return Uri.fromFile(outFile); in generateNewUri() 124 File outFile = new File(context.getExternalCacheDir(), "InvalidUri.mp4"); in generateInvalidTranscodingUri() local 125 return Uri.fromFile(outFile); in generateInvalidTranscodingUri()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | MuxerTest.java | 832 RandomAccessFile outFile = new RandomAccessFile(mOutPath, "rws"); in testMultiTrack() local 833 muxer = new MediaMuxer(outFile.getFD(), mOutFormat); in testMultiTrack() 848 outFile.close(); in testMultiTrack()
|
D | ExtractorTest.java | 625 File outFile = File.createTempFile("temp", ".out"); 628 FileOutputStream fOut = new FileOutputStream(outFile)) { 638 try (FileInputStream fInp = new FileInputStream(outFile)) { 649 outFile.delete();
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 2090 File outFile = new File(mOutMediaFileName); in validateRecording() local 2091 assertTrue("No video is recorded", outFile.exists()); in validateRecording() 2186 outFile.delete(); in validateRecording()
|