Home
last modified time | relevance | path

Searched refs:dstFile (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libmediatranscoding/transcoder/tests/
DHdrTranscodeTests.cpp57 media_status_t transcode(const char* srcFile, const char* dstFile, const char* dstMime) { in transcode() argument
59 std::string dstPath = mDstDir + dstFile; in transcode()
101 media_status_t validateOutput(const char* dstFile __unused) { in validateOutput()
102 std::string path = mDstDir + dstFile; in validateOutput()
159 const char* dstFile = "video_1280x720_hevc_hdr10_static_3mbps_transcoded.mp4"; in TEST_F() local
165 EXPECT_EQ(transcode(hdrFile, dstFile, AMEDIA_MIMETYPE_VIDEO_AVC), AMEDIA_OK); in TEST_F()
166 EXPECT_EQ(validateOutput(dstFile), AMEDIA_OK); in TEST_F()
169 EXPECT_EQ(transcode(hdrFile, dstFile, AMEDIA_MIMETYPE_VIDEO_AVC), AMEDIA_ERROR_UNSUPPORTED); in TEST_F()
/frameworks/av/media/libmediatranscoding/transcoder/tools/
DTranscode.cpp74 std::string dstFile; member
131 const int dstFd = open(config.dstFile.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in transcode()
133 ERR_MSG("Unable to open destination file %s", config.dstFile.c_str()); in transcode()
207 config.dstFile.assign(argv[optind]); in main()
/frameworks/av/media/codecs/amrnb/enc/test/
Damrnb_enc_test.cpp61 int encode(int mode, const char *srcFile, const char *dstFile) { in encode() argument
83 fDst = fopen(dstFile, "wb"); in encode()
/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp43 static int copyFile(const char *dstFile, const char *srcFile) { in copyFile() argument
49 std::ofstream dstStream(dstFile); in copyFile()
51 ALOGE("Could not verify or write destination file: %s", dstFile); in copyFile()
56 ALOGE("Could not write destination file: %s", dstFile); in copyFile()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java760 public static int decompressFile(File srcFile, File dstFile) throws ErrnoException { in decompressFile() argument
764 + ", dst: " + dstFile.getAbsolutePath()); in decompressFile()
768 OutputStream fileOut = new FileOutputStream(dstFile, false /*append*/); in decompressFile()
771 Os.chmod(dstFile.getAbsolutePath(), 0644); in decompressFile()
776 + ", dst: " + dstFile.getAbsolutePath()); in decompressFile()
DPackageManagerService.java8050 final File dstFile = new File(dstCodePath, dstFileName); in decompressPackage() local
8051 ret = decompressFile(srcFile, dstFile); in decompressPackage()