Home
last modified time | relevance | path

Searched refs:out_path (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tools/aapt2/io/
DUtil.cpp29 bool CopyInputStreamToArchive(IAaptContext* context, InputStream* in, const std::string& out_path, in CopyInputStreamToArchive() argument
33 context->GetDiagnostics()->Note(DiagMessage() << "writing " << out_path << " to archive"); in CopyInputStreamToArchive()
36 if (!writer->WriteFile(out_path, compression_flags, in)) { in CopyInputStreamToArchive()
37 context->GetDiagnostics()->Error(DiagMessage() << "failed to write " << out_path in CopyInputStreamToArchive()
44 bool CopyFileToArchive(IAaptContext* context, io::IFile* file, const std::string& out_path, in CopyFileToArchive() argument
52 return CopyInputStreamToArchive(context, data.get(), out_path, compression_flags, writer); in CopyFileToArchive()
56 const std::string& out_path, IArchiveWriter* writer) { in CopyFileToArchivePreserveCompression() argument
58 return CopyFileToArchive(context, file, out_path, compression_flags, writer); in CopyFileToArchivePreserveCompression()
62 const std::string& out_path, uint32_t compression_flags, in CopyProtoToArchive() argument
66 context->GetDiagnostics()->Note(DiagMessage() << "writing " << out_path << " to archive"); in CopyProtoToArchive()
[all …]
DUtil.h33 bool CopyInputStreamToArchive(IAaptContext* context, InputStream* in, const std::string& out_path,
36 bool CopyFileToArchive(IAaptContext* context, IFile* file, const std::string& out_path,
40 const std::string& out_path, IArchiveWriter* writer);
43 const std::string& out_path, uint32_t compression_flags,
/frameworks/layoutlib/rename_font/
Dtest.py30 out_path = os.path.join(destdir, font_name)
31 ttx.main([out_path])
32 ttx_path = out_path[:-1] + "x"
/frameworks/rs/tests/java_api/RSUnitTests/
DRSUnitTests.py321 out_path = os.path.join(SupportLibGenTestDir(), java_file_name)
322 with open(in_path, 'r') as in_file, open(out_path, 'w') as out_file:
337 out_path = os.path.join(SupportLibGenTestDir(), rs_file_name)
338 with open(out_path, 'w') as out_file:
/frameworks/base/tools/aapt2/cmd/
DLink.cpp1083 std::string out_path; local
1086 out_path = options_.generate_java_class_path.value();
1087 file::AppendPath(&out_path, file::PackageToPath(out_package));
1088 if (!file::mkdirs(out_path)) {
1090 << "failed to create directory '" << out_path << "'");
1094 file::AppendPath(&out_path, "R.java");
1096 fout = util::make_unique<io::FileOutputStream>(out_path);
1098 context_->GetDiagnostics()->Error(DiagMessage() << "failed writing to '" << out_path
1117 context_->GetDiagnostics()->Error(DiagMessage(out_path) << generator.GetError());
1237 std::string out_path = options_.generate_java_class_path.value(); in WriteManifestJavaFile() local
[all …]
DUtil.h41 bool ParseSplitParameter(const android::StringPiece& arg, IDiagnostics* diag, std::string* out_path,
DUtil.cpp57 bool ParseSplitParameter(const StringPiece& arg, IDiagnostics* diag, std::string* out_path, in ParseSplitParameter() argument
60 CHECK(out_path != nullptr); in ParseSplitParameter()
77 *out_path = parts[0]; in ParseSplitParameter()
DCompile.cpp707 const std::string out_path = BuildIntermediateContainerFilename(path_data); in Compile() local
708 if (!compile_func(context, options, path_data, file, output_writer, out_path)) { in Compile()
/frameworks/base/tools/aapt2/util/
DFiles.cpp204 std::string out_path; in PackageToPath() local
206 AppendPath(&out_path, part); in PackageToPath()
208 return out_path; in PackageToPath()
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp357 std::optional<std::string> out_path; // does not matter in CompileSecondaryDex() local
371 out_path, in CompileSecondaryDex()
480 …std::optional<std::string> out_path = oat_dir ? std::make_optional<std::string>(oat_dir) : std::nu… in CompilePrimaryDex() local
498 out_path, in CompilePrimaryDex()
/frameworks/native/cmds/installd/
Ddexopt.cpp2653 char out_path[PKG_PATH_MAX]; in delete_odex() local
2655 /*is_secondary_dex*/false, out_path)) { in delete_odex()
2673 bool return_value_oat = unlink_and_check(out_path); in delete_odex()
2676 bool return_value_art = unlink_and_check(create_image_filename(out_path).c_str()); in delete_odex()
2679 bool return_value_vdex = unlink_and_check(create_vdex_filename(out_path).c_str()); in delete_odex()