Home
last modified time | relevance | path

Searched refs:tmpPath (Results 1 – 4 of 4) 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.java446 String tmpPath = "/data/local/tmp/" + APPLICATION_PACKAGE + ".push.tmp"; in executePush() local
447 assertTrue(mDevice.pushFile(new File(hostPath), tmpPath)); in executePush()
456 executeSuShellAdbCommand("mv", tmpPath, targetPath); in executePush()
474 String tmpPath = "/data/local/tmp/" + APPLICATION_PACKAGE + ".pull.tmp"; in executePull() local
475 executeSuShellAdbCommand("cp", targetPath, tmpPath); in executePull()
477 executeSuShellAdbCommand("chmod", "606", tmpPath); in executePull()
478 assertTrue(mDevice.pullFile(tmpPath, new File(hostPath))); in executePull()
480 executeSuShellAdbCommand("rm", tmpPath); in executePull()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderSurfaceTest.java471 String tmpPath; in testSimpleEncodeFromSurface() local
476 tmpPath = File.createTempFile("tmp", ".webm").getAbsolutePath(); in testSimpleEncodeFromSurface()
479 tmpPath = File.createTempFile("tmp", ".mp4").getAbsolutePath(); in testSimpleEncodeFromSurface()
481 mMuxer = new MediaMuxer(tmpPath, muxerFormat); in testSimpleEncodeFromSurface()
560 String tmpPath; in testSimpleEncodeFromSurfaceNative() local
563 tmpPath = File.createTempFile("tmp", ".webm").getAbsolutePath(); in testSimpleEncodeFromSurfaceNative()
565 tmpPath = File.createTempFile("tmp", ".mp4").getAbsolutePath(); in testSimpleEncodeFromSurfaceNative()
568 tmpPath, mBitrate, mFrameRate)); in testSimpleEncodeFromSurfaceNative()
DEncodeDecodeAccuracyTest.java449 String tmpPath; in testEncodeDecodeAccuracyRGB() local
456 tmpPath = File.createTempFile("tmp", ".webm").getAbsolutePath(); in testEncodeDecodeAccuracyRGB()
459 tmpPath = File.createTempFile("tmp", ".mp4").getAbsolutePath(); in testEncodeDecodeAccuracyRGB()
461 mMuxer = new MediaMuxer(tmpPath, muxerFormat); in testEncodeDecodeAccuracyRGB()
504 if (mMuxOutput) new File(tmpPath).delete(); in testEncodeDecodeAccuracyRGB()