Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/io/
DUtil.cpp24 bool CopyInputStreamToArchive(IAaptContext* context, InputStream* in, const std::string& out_path, in CopyInputStreamToArchive() argument
27 context->GetDiagnostics()->Note(DiagMessage() << "writing " << out_path << " to archive"); in CopyInputStreamToArchive()
30 if (!writer->WriteFile(out_path, compression_flags, in)) { in CopyInputStreamToArchive()
31 context->GetDiagnostics()->Error(DiagMessage() << "failed to write " << out_path in CopyInputStreamToArchive()
38 bool CopyFileToArchive(IAaptContext* context, io::IFile* file, const std::string& out_path, in CopyFileToArchive() argument
45 return CopyInputStreamToArchive(context, data.get(), out_path, compression_flags, writer); in CopyFileToArchive()
49 const std::string& out_path, uint32_t compression_flags, in CopyProtoToArchive() argument
52 context->GetDiagnostics()->Note(DiagMessage() << "writing " << out_path << " to archive"); in CopyProtoToArchive()
55 if (writer->StartEntry(out_path, compression_flags)) { in CopyProtoToArchive()
61 context->GetDiagnostics()->Error(DiagMessage() << "failed to write " << out_path in CopyProtoToArchive()
[all …]
DUtil.h32 bool CopyInputStreamToArchive(IAaptContext* context, InputStream* in, const std::string& out_path,
35 bool CopyFileToArchive(IAaptContext* context, IFile* file, const std::string& out_path,
39 const std::string& out_path, uint32_t compression_flags,
/frameworks/base/tools/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/base/tools/aapt2/cmd/
DLink.cpp923 std::string out_path = options_.generate_java_class_path.value(); local
924 file::AppendPath(&out_path, file::PackageToPath(out_package));
925 if (!file::mkdirs(out_path)) {
926 context_->GetDiagnostics()->Error(DiagMessage() << "failed to create directory '" << out_path
931 file::AppendPath(&out_path, "R.java");
933 std::ofstream fout(out_path, std::ofstream::binary);
936 << "failed writing to '" << out_path
955 context_->GetDiagnostics()->Error(DiagMessage(out_path) << generator.getError());
961 << "failed writing to '" << out_path
994 std::string out_path = options_.generate_java_class_path.value(); in WriteManifestJavaFile() local
[all …]
DUtil.h39 bool ParseSplitParameter(const android::StringPiece& arg, IDiagnostics* diag, std::string* out_path,
DUtil.cpp54 bool ParseSplitParameter(const StringPiece& arg, IDiagnostics* diag, std::string* out_path, in ParseSplitParameter() argument
57 CHECK(out_path != nullptr); in ParseSplitParameter()
74 *out_path = parts[0]; in ParseSplitParameter()
/frameworks/base/tools/aapt2/util/
DFiles.cpp147 std::string out_path; in PackageToPath() local
149 AppendPath(&out_path, part); in PackageToPath()
151 return out_path; in PackageToPath()
/frameworks/av/media/vndk/xmlparser/1.0/
DMediaCodecsXmlParser.cpp51 const char *file_name, std::string *out_path) { in findMediaCodecListFileFullPath() argument
53 *out_path = std::string(kConfigLocationList[i]) + "/" + file_name; in findMediaCodecListFileFullPath()
55 if (stat(out_path->c_str(), &file_stat) == 0 && in findMediaCodecListFileFullPath()
/frameworks/native/cmds/installd/
Ddexopt.cpp1872 char out_path[PKG_PATH_MAX]; in delete_odex() local
1874 /*is_secondary_dex*/false, out_path)) { in delete_odex()
1892 bool return_value_oat = unlink_and_check(out_path); in delete_odex()
1895 bool return_value_art = unlink_and_check(create_image_filename(out_path).c_str()); in delete_odex()
1898 bool return_value_vdex = unlink_and_check(create_vdex_filename(out_path).c_str()); in delete_odex()
/frameworks/av/media/libstagefright/
DMediaCodecList.cpp180 static bool findMediaCodecListFileFullPath(const char *file_name, char *out_path) { in findMediaCodecListFileFullPath() argument
182 snprintf(out_path, in findMediaCodecListFileFullPath()
188 if (stat(out_path, &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findMediaCodecListFileFullPath()