/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.h | 38 io::IFileCollection* files, std::string* out_error); 44 io::IFileCollection* files, std::string* out_error); 47 std::string* out_error); 50 android::StringPool* value_pool, std::string* out_error); 53 android::ConfigDescription* out_config, std::string* out_error); 57 ResourceTable* out_table, std::string* out_error); 60 ResourceFile* out_file, std::string* out_error);
|
D | ProtoDeserialize.cpp | 69 std::string* out_error) { in DeserializeConfigFromPb() argument 78 *out_error = error.str(); in DeserializeConfigFromPb() 381 OverlayableItem* out_overlayable, std::string* out_error) { in DeserializeOverlayableItemFromPb() argument 412 *out_error = "unknown overlayable policy"; in DeserializeOverlayableItemFromPb() 428 ResourceTable* out_table, std::string* out_error) { in DeserializePackageFromPb() argument 437 *out_error = error.str(); in DeserializePackageFromPb() 490 *out_error = in DeserializePackageFromPb() 499 out_error)) { in DeserializePackageFromPb() 526 if (!DeserializeConfigFromPb(pb_config, &config, out_error)) { in DeserializePackageFromPb() 532 *out_error = "duplicate configuration in resource table"; in DeserializePackageFromPb() [all …]
|
/frameworks/base/tools/aapt2/io/ |
D | ZipArchive.cpp | 95 std::string* out_error) { in Create() argument 111 if (out_error) *out_error = ErrorCodeString(result); in Create() 118 if (out_error) *out_error = ErrorCodeString(result); in Create() 140 if (out_error) *out_error = ErrorCodeString(result); in Create()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Command.cpp | 180 int Command::Execute(const std::vector<StringPiece>& args, std::ostream* out_error) { in Execute() argument 193 std::vector<StringPiece>(args.begin() + 1, args.end()), out_error); in Execute() 200 std::vector<StringPiece>(args.begin() + 1, args.end()), out_error); in Execute() 210 Usage(out_error); in Execute() 220 *out_error << flag.name << " missing argument.\n\n"; in Execute() 221 Usage(out_error); in Execute() 235 *out_error << "unknown option '" << arg << "'.\n\n"; in Execute() 236 Usage(out_error); in Execute() 243 *out_error << "missing required flag " << flag.name << "\n\n"; in Execute() 244 Usage(out_error); in Execute()
|
D | Util.cpp | 250 std::string* out_error) { in ExtractCompiledString() argument 257 *out_error = "compiled value is an empty string"; in ExtractCompiledString() 261 *out_error = "compiled value is not a string"; in ExtractCompiledString() 269 *out_error = "value is an empty string"; in ExtractCompiledString() 274 std::string* out_error) { in ExtractCompiledInt() argument 283 *out_error = "compiled value is not an integer"; in ExtractCompiledInt() 294 *out_error = error_msg.str(); in ExtractCompiledInt() 298 static std::optional<int> ExtractSdkVersion(const xml::Attribute& attr, std::string* out_error) { in ExtractSdkVersion() argument 306 *out_error = "compiled value is not an integer or string"; in ExtractSdkVersion() 317 *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 83 if (out_error) *out_error = "bad resource path"; in ExtractResourcePathData() 96 if (out_error) { in ExtractResourcePathData() 99 *out_error = err_str.str(); in ExtractResourcePathData()
|
/frameworks/base/tools/aapt2/util/ |
D | Files.cpp | 211 std::optional<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 | 85 std::optional<android::FileMap> MmapPath(const std::string& path, std::string* out_error); 89 std::string* out_error); 93 std::string* out_error);
|
D | Util.h | 157 std::string* out_error);
|
/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker.cpp | 294 std::string* out_error) { in ResolveSymbolCheckVisibility() argument 297 if (out_error) *out_error = "not found"; in ResolveSymbolCheckVisibility() 302 if (out_error) *out_error = "is private"; in ResolveSymbolCheckVisibility() 310 SymbolTable* symbols, std::string* out_error) { in ResolveAttributeCheckVisibility() argument 312 ResolveSymbolCheckVisibility(reference, callsite, context, symbols, out_error); in ResolveAttributeCheckVisibility() 318 if (out_error) *out_error = "is not an attribute"; in ResolveAttributeCheckVisibility() 328 std::string* out_error) { in CompileXmlAttribute() argument 330 ResolveAttributeCheckVisibility(reference, callsite, context, symbols, out_error); in CompileXmlAttribute() 336 if (out_error) *out_error = "is not an attribute"; in CompileXmlAttribute()
|
D | ReferenceLinker.h | 88 std::string* out_error); 96 std::string* out_error); 104 std::string* out_error);
|
/frameworks/base/core/jni/ |
D | com_android_internal_content_om_OverlayManagerImpl.cpp | 115 bool callCreateFrroFile(std::string& out_error, const std::string& packageName, in callCreateFrroFile() argument 120 return createFrroFile_(out_error, packageName, overlayName, targetPackageName, in callCreateFrroFile() 124 bool callCreateIdmapFile(std::string& out_error, const std::string& targetPath, in callCreateIdmapFile() argument 129 return createIdmapFileFuncPtr_(out_error, targetPath, overlayPath, idmapPath, overlayName, in callCreateIdmapFile() 134 bool callGetFabricatedOverlayInfo(std::string& out_error, const std::string& overlay_path, in callGetFabricatedOverlayInfo() argument 136 return getFabricatedOverlayInfoFuncPtr_(out_error, overlay_path, out_overlay_manifest_info); in callGetFabricatedOverlayInfo() 156 std::string& out_error, const std::string& packageName, const std::string& overlayName, 162 typedef bool (*CreateIdmapFileFunc)(std::string& out_error, const std::string& targetPath, 170 typedef bool (*GetFabricatedOverlayInfoFunc)(std::string& out_error,
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils.cpp | 249 std::optional<Reference> ParseStyleParentReference(StringPiece str, std::string* out_error) { in ParseStyleParentReference() argument 281 *out_error = err.str(); in ParseStyleParentReference() 289 *out_error = err.str(); in ParseStyleParentReference() 415 static uint32_t ParseHex(char c, bool* out_error) { in ParseHex() argument 423 *out_error = true; in ParseHex()
|
D | ResourceUtils.h | 117 std::string* out_error);
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 269 std::unique_ptr<XmlResource> Inflate(const void* data, size_t len, std::string* out_error) { in Inflate() argument 282 if (out_error != nullptr) { in Inflate() 283 *out_error = "failed to initialize ResXMLTree"; in Inflate()
|
D | XmlDom.h | 160 std::string* out_error = nullptr);
|