Home
last modified time | relevance | path

Searched refs:tmpPath (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaScannerNotificationTest.java48 String tmpPath = createTempFiles(temps); in testMediaScannerNotification() local
54 checkTempFiles(tmpPath, temps); in testMediaScannerNotification()
57 File noMedia = new File(tmpPath, ".nomedia"); in testMediaScannerNotification()
69 checkTempFiles(tmpPath, temps); in testMediaScannerNotification()
71 deleteTempFiles(tmpPath, temps); in testMediaScannerNotification()
85 String tmpPath = tmpDir.getAbsolutePath(); in createTempFiles() local
86 assertFalse(tmpPath + " already exists", tmpDir.exists()); in createTempFiles()
90 File foo = new File(tmpPath, "foobar." + extensions[i]); in createTempFiles()
103 return tmpPath; in createTempFiles()
106 void checkTempFiles(String tmpPath, String [] extensions) { in checkTempFiles() argument
[all …]
/cts/hostsidetests/compilation/src/android/compilation/cts/
DAdbRootDependentCompilationTest.java429 String tmpPath = "/data/local/tmp/" + APPLICATION_PACKAGE + ".push.tmp"; in executePush() local
430 assertTrue(mDevice.pushFile(new File(hostPath), tmpPath)); in executePush()
439 executeSuShellAdbCommand("mv", tmpPath, targetPath); in executePush()
457 String tmpPath = "/data/local/tmp/" + APPLICATION_PACKAGE + ".pull.tmp"; in executePull() local
458 executeSuShellAdbCommand("cp", targetPath, tmpPath); in executePull()
460 executeSuShellAdbCommand("chmod", "606", tmpPath); in executePull()
461 assertTrue(mDevice.pullFile(tmpPath, new File(hostPath))); in executePull()
463 executeSuShellAdbCommand("rm", tmpPath); in executePull()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderSurfaceTest.java484 String tmpPath; in testSimpleEncodeFromSurface() local
489 tmpPath = File.createTempFile("tmp", ".webm").getAbsolutePath(); in testSimpleEncodeFromSurface()
492 tmpPath = File.createTempFile("tmp", ".mp4").getAbsolutePath(); in testSimpleEncodeFromSurface()
494 mMuxer = new MediaMuxer(tmpPath, muxerFormat); in testSimpleEncodeFromSurface()
575 String tmpPath = null; in testSimpleEncodeFromSurfaceNative() local
578 tmpPath = File.createTempFile("tmp", ".webm").getAbsolutePath(); in testSimpleEncodeFromSurfaceNative()
580 tmpPath = File.createTempFile("tmp", ".mp4").getAbsolutePath(); in testSimpleEncodeFromSurfaceNative()
583 nativeTestSimpleEncode(encoder, decoder, mMime, mInpPrefix + mTestFile, tmpPath, in testSimpleEncodeFromSurfaceNative()