Home
last modified time | relevance | path

Searched refs:srcPath (Results 1 – 25 of 30) sorted by relevance

12

/aosp12/frameworks/av/media/libmediatranscoding/transcoder/tests/
H A DMediaTranscoderTests.cpp102 media_status_t transcodeHelper(const char* srcPath, const char* destPath, in transcodeHelper() argument
109 const int srcFd = open(srcPath, O_RDONLY); in transcodeHelper()
179 EXPECT_EQ(transcodeHelper(srcPath, destPath, in testTranscodeVideo()
277 testTranscodeVideo(srcPath, destPath, nullptr); in TEST_F()
283 testTranscodeVideo(srcPath, destPath, AMEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
289 testTranscodeVideo(srcPath, destPath, AMEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
293 const char* srcPath = in TEST_F() local
296 testTranscodeVideo(srcPath, destPath, AMEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
306 testTranscodeVideo(srcPath, destPath, AMEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
313 testTranscodeVideo(srcPath, destPath, AMEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
[all …]
H A DHdrTranscodeTests.cpp58 std::string srcPath = mSrcDir + srcFile; in transcode() local
64 const int srcFd = open(srcPath.c_str(), O_RDONLY); in transcode()
120 std::string srcPath = mSrcDir + hdrFile; in hdrToSdrConversionSupported() local
123 auto format = TranscoderTestUtils::GetVideoFormat(srcPath, &mime); in hdrToSdrConversionSupported()
/aosp12/build/soong/ui/build/
H A Dbazel.go220 srcPath := filepath.Join(config.OutDir(), relativePath, f.Name())
227 srcLstatResult, srcLstatErr := os.Lstat(srcPath)
240 ctx.Fatalf("Unable to Lstat src %s: %s", srcPath, srcLstatErr)
246 if err := os.Rename(destPath, srcPath); err != nil {
247 ctx.Fatalf("Unable to rename %s -> %s due to error %s", srcPath, destPath, err)
251 if err := os.Symlink(destPath, srcPath); err != nil {
252 ctx.Fatalf("Unable to create symlink %s -> %s due to error %s", srcPath, destPath, err)
/aosp12/build/soong/android/
H A Dhooks.go138 srcPath Path member
146 return x.srcPath
157 func (x *hooks) runInstallHooks(ctx ModuleContext, srcPath Path, path InstallPath, symlink bool) {
161 srcPath: srcPath,
H A Dmodule.go396 CheckbuildFile(srcPath Path)
2666 return m.packageFile(fullInstallPath, srcPath, false)
2672 srcPath: srcPath,
2707 Input: srcPath,
2716 m.packageFile(fullInstallPath, srcPath, executable)
2718 m.checkbuildFiles = append(m.checkbuildFiles, srcPath)
2737 Input: srcPath,
2750 srcPath: nil,
2780 srcPath: nil,
2788 func (m *moduleContext) CheckbuildFile(srcPath Path) {
[all …]
H A Dpackaging.go33 srcPath Path member
237 builder.Command().Text("cp").Input(ps.srcPath).Text(destPath)
H A Dpaths.go605 srcPath, err := safePathForSource(ctx, ctx.ModuleDir(), path[len(prefix):])
611 srcPath.basePath.rel = srcPath.path
613 ret = append(ret, srcPath)
1091 if srcPath, ok := path.(SourcePath); ok {
1092 relDir = srcPath.path
H A Drule_builder.go551 From: proto.String(tool.srcPath.String()),
555 tools = append(tools, tool.srcPath)
/aosp12/frameworks/native/cmds/rawbu/
H A Dbackup.cpp255 static int backup_dir(FILE* fh, const char* srcPath) in backup_dir() argument
260 int srcLen = strlen(srcPath); in backup_dir()
264 dir = opendir(srcPath); in backup_dir()
268 srcPath, strerror(errno)); in backup_dir()
290 strcpy(fullPath, srcPath); in backup_dir()
502 static int restore_data(const char* srcPath) in restore_data() argument
506 FILE* fh = fopen(srcPath, "r"); in restore_data()
509 srcPath, strerror(errno)); in restore_data()
526 backupFilePath = strdup(srcPath); in restore_data()
533 printf("Restoring from %s to /data...\n", srcPath); in restore_data()
/aosp12/packages/modules/Virtualization/authfs/tests/java/src/com/android/fs/
H A DAuthFsHostTest.java178 String srcPath = "/system/bin/linker"; in testWriteThroughCorrectly() local
181 assertTrue(copyFileInGuest(srcPath, destPath)); in testWriteThroughCorrectly()
184 String expectedHash = computeFileHashInGuest(srcPath); in testWriteThroughCorrectly()
195 String srcPath = "/system/bin/linker"; in testWriteFailedIfDetectsTampering() local
198 assertTrue(copyFileInGuest(srcPath, destPath)); in testWriteFailedIfDetectsTampering()
/aosp12/build/soong/rust/
H A Dlibrary.go435 srcPath := library.srcPath(ctx, deps)
456 TransformSrctoRlib(ctx, srcPath, deps, flags, outputFile)
461 TransformSrctoDylib(ctx, srcPath, deps, flags, outputFile)
466 TransformSrctoStatic(ctx, srcPath, deps, flags, outputFile)
471 TransformSrctoShared(ctx, srcPath, deps, flags, outputFile)
513 func (library *libraryDecorator) srcPath(ctx ModuleContext, deps PathDeps) android.Path { func
534 return android.OptionalPathForPath(Rustdoc(ctx, library.srcPath(ctx, deps),
H A Dproc_macro.go70 srcPath, _ := srcPathFromModuleSrcs(ctx, procMacro.baseCompiler.Properties.Srcs)
71 TransformSrctoProcMacro(ctx, srcPath, deps, flags, outputFile)
H A Dprebuilt.go99 srcPath, paths := srcPathFromModuleSrcs(ctx, prebuilt.prebuiltSrcs())
103 return srcPath
H A Dbinary.go118 srcPath, _ := srcPathFromModuleSrcs(ctx, binary.baseCompiler.Properties.Srcs)
125 TransformSrcToBinary(ctx, srcPath, deps, flags, outputFile)
/aosp12/build/soong/cc/
H A Dtoolchain_library.go87 srcPath := android.PathForSource(ctx, *library.Properties.Src)
88 outputFile := android.Path(srcPath)
H A Dandroidmk.go368 for _, srcPath := range benchmark.data {
369 dataPaths = append(dataPaths, android.DataPath{SrcPath: srcPath})
/aosp12/frameworks/av/media/libmediatranscoding/transcoder/benchmark/
H A DMediaSampleReaderBenchmark.cpp50 std::string srcPath = kAssetDirectory + srcFileName; in ReadMediaSamples() local
52 if ((srcFd = open(srcPath.c_str(), O_RDONLY)) < 0) { in ReadMediaSamples()
H A DMediaTrackTranscoderBenchmark.cpp256 std::string srcPath = kAssetDirectory + srcFileName; in GetSampleReader() local
258 if ((srcFd = open(srcPath.c_str(), O_RDONLY)) < 0) { in GetSampleReader()
H A DMediaTranscoderBenchmark.cpp129 std::string srcPath = kAssetDirectory + srcFileName; in TranscodeMediaFile() local
134 if ((srcFd = open(srcPath.c_str(), O_RDONLY)) < 0) { in TranscodeMediaFile()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DVideoUtils.java127 private static void genVideoUsingMuxer(String srcPath, String dstPath, in genVideoUsingMuxer() argument
132 extractor.setDataSource(srcPath); in genVideoUsingMuxer()
174 retrieverSrc.setDataSource(srcPath); in genVideoUsingMuxer()
/aosp12/hardware/interfaces/compatibility_matrices/build/
H A Dvintf_compatibility_matrix.go146 for _, srcPath := range inputPaths {
147 g.generateValidateBuildAction(ctx, srcPath, schema.Path())
/aosp12/build/soong/python/
H A Dpython.go702 …teOutputPath(ctx android.ModuleContext, m map[string]string, outputPath, srcPath, curModule, other… argument
707 outputPath, curModule, oldSrcPath, otherModule, srcPath)
710 m[outputPath] = srcPath
/aosp12/frameworks/av/services/mediatranscoding/tests/
H A Dmediatranscodingservice_real_tests.cpp58 const char* srcPath = "bad_file_uri"; in TEST_F() local
63 mClient1->submit(0, srcPath, dstPath, TranscodingSessionPriority::kNormal, kBitRate)); in TEST_F()
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java806 Path_Delegate srcPath = Path_Delegate.getDelegate(src); in nGetFillPath() local
807 if (srcPath == null) { in nGetFillPath()
817 Shape strokeShape = stroke.createStrokedShape(srcPath.getJavaShape()); in nGetFillPath()
H A DPath_Delegate.java583 public static void addPath(long destPath, long srcPath, AffineTransform transform) { in addPath() argument
589 Path_Delegate srcPathDelegate = sManager.getDelegate(srcPath); in addPath()

12