Home
last modified time | relevance | path

Searched refs:out_error (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.h39 std::string* out_error);
45 std::string* out_error);
48 std::string* out_error);
51 std::string* out_error);
54 android::ConfigDescription* out_config, std::string* out_error);
58 ResourceTable* out_table, std::string* out_error);
61 ResourceFile* out_file, std::string* out_error);
DProtoDeserialize.cpp67 std::string* out_error) { in DeserializeConfigFromPb() argument
76 *out_error = error.str(); in DeserializeConfigFromPb()
378 OverlayableItem* out_overlayable, std::string* out_error) { in DeserializeOverlayableItemFromPb() argument
403 *out_error = "unknown overlayable policy"; in DeserializeOverlayableItemFromPb()
419 ResourceTable* out_table, std::string* out_error) { in DeserializePackageFromPb() argument
434 *out_error = error.str(); in DeserializePackageFromPb()
485 *out_error = android::base::StringPrintf("invalid overlayable_idx value %d", in DeserializePackageFromPb()
492 out_error)) { in DeserializePackageFromPb()
509 if (!DeserializeConfigFromPb(pb_config, &config, out_error)) { in DeserializePackageFromPb()
515 *out_error = "duplicate configuration in resource table"; in DeserializePackageFromPb()
[all …]
/frameworks/base/tools/aapt2/cmd/
DCommand.cpp181 int Command::Execute(const std::vector<StringPiece>& args, std::ostream* out_error) { in Execute() argument
194 std::vector<StringPiece>(args.begin() + 1, args.end()), out_error); in Execute()
201 std::vector<StringPiece>(args.begin() + 1, args.end()), out_error); in Execute()
211 Usage(out_error); in Execute()
221 *out_error << flag.name << " missing argument.\n\n"; in Execute()
222 Usage(out_error); in Execute()
236 *out_error << "unknown option '" << arg << "'.\n\n"; in Execute()
237 Usage(out_error); in Execute()
244 *out_error << "missing required flag " << flag.name << "\n\n"; in Execute()
245 Usage(out_error); in Execute()
DUtil.cpp249 std::string* out_error) { in ExtractCompiledString() argument
256 *out_error = "compiled value is an empty string"; in ExtractCompiledString()
260 *out_error = "compiled value is not a string"; in ExtractCompiledString()
268 *out_error = "value is an empty string"; in ExtractCompiledString()
272 static Maybe<uint32_t> ExtractCompiledInt(const xml::Attribute& attr, std::string* out_error) { in ExtractCompiledInt() argument
281 *out_error = "compiled value is not an integer"; in ExtractCompiledInt()
292 *out_error = error_msg.str(); in ExtractCompiledInt()
296 static Maybe<int> ExtractSdkVersion(const xml::Attribute& attr, std::string* out_error) { in ExtractSdkVersion() argument
304 *out_error = "compiled value is not an integer or string"; in ExtractSdkVersion()
315 *out_error = "compiled string value is not a valid SDK version"; in ExtractSdkVersion()
[all …]
DCompile.cpp79 std::string* out_error) { in ExtractResourcePathData() argument
82 if (out_error) *out_error = "bad resource path"; in ExtractResourcePathData()
95 if (out_error) { in ExtractResourcePathData()
98 *out_error = err_str.str(); in ExtractResourcePathData()
/frameworks/base/tools/aapt2/io/
DZipArchive.cpp96 const StringPiece& path, std::string* out_error) { in Create() argument
112 if (out_error) *out_error = ErrorCodeString(result); in Create()
119 if (out_error) *out_error = ErrorCodeString(result); in Create()
141 if (out_error) *out_error = ErrorCodeString(result); in Create()
/frameworks/base/tools/aapt2/util/
DFiles.cpp211 Maybe<FileMap> MmapPath(const std::string& path, std::string* out_error) { in MmapPath() argument
215 if (out_error) { in MmapPath()
216 *out_error = SystemErrorCodeToString(errno); in MmapPath()
223 if (out_error) { in MmapPath()
224 *out_error = SystemErrorCodeToString(errno); in MmapPath()
236 if (out_error) { in MmapPath()
237 *out_error = SystemErrorCodeToString(errno); in MmapPath()
245 std::string* out_error) { in AppendArgsFromFile() argument
248 if (out_error) { in AppendArgsFromFile()
249 *out_error = "failed to read argument-list file"; in AppendArgsFromFile()
[all …]
DFiles.h84 Maybe<android::FileMap> MmapPath(const std::string& path, std::string* out_error);
88 std::string* out_error);
92 std::unordered_set<std::string>* out_argset, std::string* out_error);
DUtil.h159 std::string* out_str, std::string* out_error);
/frameworks/base/tools/aapt2/link/
DReferenceLinker.cpp224 std::string* out_error) { in ResolveSymbolCheckVisibility() argument
227 if (out_error) *out_error = "not found"; in ResolveSymbolCheckVisibility()
232 if (out_error) *out_error = "is private"; in ResolveSymbolCheckVisibility()
240 std::string* out_error) { in ResolveAttributeCheckVisibility() argument
242 ResolveSymbolCheckVisibility(reference, callsite, symbols, out_error); in ResolveAttributeCheckVisibility()
248 if (out_error) *out_error = "is not an attribute"; in ResolveAttributeCheckVisibility()
257 std::string* out_error) { in CompileXmlAttribute() argument
259 ResolveAttributeCheckVisibility(reference, callsite, symbols, out_error); in CompileXmlAttribute()
265 if (out_error) *out_error = "is not an attribute"; in CompileXmlAttribute()
DReferenceLinker.h50 std::string* out_error);
57 std::string* out_error);
64 std::string* out_error);
/frameworks/base/tools/aapt2/
DResourceUtils.cpp255 std::string* out_error) { in ParseStyleParentReference() argument
287 *out_error = err.str(); in ParseStyleParentReference()
295 *out_error = err.str(); in ParseStyleParentReference()
423 static uint32_t ParseHex(char c, bool* out_error) { in ParseHex() argument
431 *out_error = true; in ParseHex()
DResourceUtils.h119 Maybe<Reference> ParseStyleParentReference(const android::StringPiece& str, std::string* out_error);
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp267 std::unique_ptr<XmlResource> Inflate(const void* data, size_t len, std::string* out_error) { in Inflate() argument
280 if (out_error != nullptr) { in Inflate()
281 *out_error = "failed to initialize ResXMLTree"; in Inflate()
DXmlDom.h165 std::string* out_error = nullptr);