/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.h | 39 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);
|
D | ProtoDeserialize.cpp | 67 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/ |
D | Command.cpp | 181 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()
|
D | Util.cpp | 249 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 …]
|
D | Compile.cpp | 79 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/ |
D | ZipArchive.cpp | 96 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/ |
D | Files.cpp | 211 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 …]
|
D | Files.h | 84 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);
|
D | Util.h | 159 std::string* out_str, std::string* out_error);
|
/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker.cpp | 224 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()
|
D | ReferenceLinker.h | 50 std::string* out_error); 57 std::string* out_error); 64 std::string* out_error);
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils.cpp | 255 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()
|
D | ResourceUtils.h | 119 Maybe<Reference> ParseStyleParentReference(const android::StringPiece& str, std::string* out_error);
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 267 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()
|
D | XmlDom.h | 165 std::string* out_error = nullptr);
|