/frameworks/base/tools/aapt2/cmd/ |
D | Dump.h | 33 explicit DumpApkCommand(const std::string&& name, text::Printer* printer, IDiagnostics* diag) in DumpApkCommand() 42 IDiagnostics* GetDiagnostics() { in GetDiagnostics() 86 IDiagnostics* diag_; 92 explicit DumpAPCCommand(text::Printer* printer, IDiagnostics* diag) in DumpAPCCommand() 104 IDiagnostics* diag_; 124 explicit DumpBadgingCommand(text::Printer* printer, IDiagnostics* diag) in DumpBadgingCommand() 141 explicit DumpConfigsCommand(text::Printer* printer, IDiagnostics* diag) in DumpConfigsCommand() 151 explicit DumpPackageNameCommand(text::Printer* printer, IDiagnostics* diag) in DumpPackageNameCommand() 161 explicit DumpPermissionsCommand(text::Printer* printer, IDiagnostics* diag) in DumpPermissionsCommand() 175 explicit DumpStringsCommand(text::Printer* printer, IDiagnostics* diag) in DumpStringsCommand() [all …]
|
D | Util.h | 36 Maybe<uint16_t> ParseTargetDensityParameter(const android::StringPiece& arg, IDiagnostics* diag); 41 bool ParseSplitParameter(const android::StringPiece& arg, IDiagnostics* diag, std::string* out_path, 47 IDiagnostics* diag); 63 IDiagnostics* diag);
|
D | Compile.h | 46 explicit CompileCommand(IDiagnostics* diagnostic) : Command("compile", "c"), in CompileCommand() 77 IDiagnostics* diagnostic_;
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.internal.h | 51 bool IsGroupValid(const Group<T>& group, const std::string& name, IDiagnostics* diag) { in IsGroupValid() 141 const android::StringPiece& apk_name, IDiagnostics* diag) const; 144 Maybe<std::string> Name(const android::StringPiece& apk_name, IDiagnostics* diag) const; 159 bool ValidateVersionCodeOrdering(IDiagnostics* diag) { in ValidateVersionCodeOrdering() 217 IDiagnostics* diag); 223 IDiagnostics* diag); 227 xml::Element* element, IDiagnostics* diag); 231 IDiagnostics* diag); 235 xml::Element* element, IDiagnostics* diag); 239 xml::Element* element, IDiagnostics* diag); [all …]
|
D | ConfigurationParser.cpp | 93 class NoopDiagnostics : public IDiagnostics { 100 std::string GetLabel(const Element* element, IDiagnostics* diag) { in GetLabel() 116 Maybe<int32_t> GetVersionCodeOrder(const Element* element, IDiagnostics* diag) { in GetVersionCodeOrder() 163 std::string* name, IDiagnostics* diag) { in ReplacePlaceholder() 199 xml::Element* element, IDiagnostics* diag)>; 213 IDiagnostics* diag) { in ToOutputArtifact() 292 IDiagnostics* diag) { in ExtractConfiguration() 354 Maybe<std::string> ToBaseName(std::string result, const StringPiece& apk_name, IDiagnostics* diag) { in ToBaseName() 388 IDiagnostics* diag) const { in ToArtifactName() 422 Maybe<std::string> ConfiguredArtifact::Name(const StringPiece& apk_name, IDiagnostics* diag) const { in Name() [all …]
|
D | ConfigurationParser.h | 130 struct IDiagnostics; 148 ConfigurationParser& WithDiagnostics(IDiagnostics* diagnostics) { in WithDiagnostics() 168 IDiagnostics* diagnostics() { in diagnostics() 178 IDiagnostics* diag_;
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.h | 241 IDiagnostics* diag); 246 IDiagnostics* diag); 252 IDiagnostics* diag); 257 IDiagnostics* diag); 261 bool SetVisibility(const ResourceNameRef& name, const Visibility& visibility, IDiagnostics* diag); 263 const ResourceId& res_id, IDiagnostics* diag); 265 const ResourceId& res_id, IDiagnostics* diag); 268 IDiagnostics *diag); 270 bool SetAllowNew(const ResourceNameRef& name, const AllowNew& allow_new, IDiagnostics* diag); 272 IDiagnostics* diag); [all …]
|
D | Diagnostics.h | 68 struct IDiagnostics { struct 69 virtual ~IDiagnostics() = default; 91 class StdErrDiagnostics : public IDiagnostics { argument 128 class SourcePathDiagnostics : public IDiagnostics { 130 SourcePathDiagnostics(const Source& src, IDiagnostics* diag) in SourcePathDiagnostics() 147 IDiagnostics* diag_;
|
D | LoadedApk.h | 49 IDiagnostics* diag); 53 const Source& source, std::unique_ptr<io::IFileCollection> collection, IDiagnostics* diag); 57 const Source& source, std::unique_ptr<io::IFileCollection> collection, IDiagnostics* diag); 114 std::unique_ptr<xml::XmlResource> LoadXml(const std::string& file_path, IDiagnostics* diag) const;
|
D | ResourceTable.cpp | 348 IDiagnostics* diag) { in AddResource() 356 std::unique_ptr<Value> value, IDiagnostics* diag) { in AddResourceWithId() 364 IDiagnostics* diag) { in AddResourceMangled() 372 std::unique_ptr<Value> value, IDiagnostics* diag) { in AddResourceWithIdMangled() 378 const Source& source, IDiagnostics* diag) { in ValidateName() 392 IDiagnostics* diag) { in AddResourceImpl() 482 IDiagnostics* diag) { in SetVisibility() 487 const ResourceId& res_id, IDiagnostics* diag) { in SetVisibilityWithId() 493 const ResourceId& res_id, IDiagnostics* diag) { in SetVisibilityWithIdMangled() 499 IDiagnostics* diag) { in SetVisibilityImpl() [all …]
|
D | Main.cpp | 66 explicit MainCommand(text::Printer* printer, IDiagnostics* diagnostics) in MainCommand() 89 IDiagnostics* diagnostics_; 100 explicit DaemonCommand(io::FileOutputStream* out, IDiagnostics* diagnostics) in DaemonCommand() 149 IDiagnostics* diagnostics_;
|
D | StringPool.h | 156 static bool FlattenUtf8(BigBuffer* out, const StringPool& pool, IDiagnostics* diag); 157 static bool FlattenUtf16(BigBuffer* out, const StringPool& pool, IDiagnostics* diag); 211 static bool Flatten(BigBuffer* out, const StringPool& pool, bool utf8, IDiagnostics* diag);
|
D | ResourceParser.h | 65 ResourceParser(IDiagnostics* diag, ResourceTable* table, const Source& source, 120 IDiagnostics* diag_;
|
/frameworks/base/tools/aapt2/util/ |
D | Files.h | 99 explicit FileFilter(IDiagnostics* diag) : diag_(diag) {} in FileFilter() 121 IDiagnostics* diag_; 127 Maybe<std::vector<std::string>> FindFiles(const android::StringPiece& path, IDiagnostics* diag,
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize.h | 56 void SerializeStringPoolToPb(const StringPool& pool, pb::StringPool* out_pb_pool, IDiagnostics* dia… 62 void SerializeTableToPb(const ResourceTable& table, pb::ResourceTable* out_table, IDiagnostics* dia…
|
/frameworks/base/tools/aapt2/test/ |
D | Common.cpp | 24 struct DummyDiagnosticsImpl : public IDiagnostics { 41 IDiagnostics* GetDiagnostics() { in GetDiagnostics()
|
D | Fixture.h | 76 const android::StringPiece& flat_out_dir, IDiagnostics* diag); 81 IDiagnostics* diag);
|
D | Fixture.cpp | 98 const android::StringPiece& out_dir, IDiagnostics* diag) { in CompileFile() 105 const android::StringPiece& flat_dir, IDiagnostics* diag) { in Link()
|
/frameworks/base/tools/aapt2/optimize/ |
D | MultiApkGenerator.h | 61 IDiagnostics* GetDiagnostics() { in GetDiagnostics() 66 std::unique_ptr<xml::XmlResource>* updated_manifest, IDiagnostics* diag);
|
/frameworks/base/tools/aapt2/format/ |
D | Archive.h | 73 std::unique_ptr<IArchiveWriter> CreateDirectoryArchiveWriter(IDiagnostics* diag, 76 std::unique_ptr<IArchiveWriter> CreateZipFileArchiveWriter(IDiagnostics* diag,
|
/frameworks/base/tools/aapt2/java/ |
D | ManifestClassGenerator.cpp | 33 static Maybe<std::string> ExtractJavaIdentifier(IDiagnostics* diag, const Source& source, in ExtractJavaIdentifier() 58 static bool WriteSymbol(const Source& source, IDiagnostics* diag, xml::Element* el, in WriteSymbol() 83 std::unique_ptr<ClassDefinition> GenerateManifestClass(IDiagnostics* diag, xml::XmlResource* res) { in GenerateManifestClass()
|
D | ManifestClassGenerator.h | 26 std::unique_ptr<ClassDefinition> GenerateManifestClass(IDiagnostics* diag, xml::XmlResource* res);
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.h | 46 explicit Png(IDiagnostics* diag) : mDiag(diag) {} in Png() 54 IDiagnostics* mDiag;
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.h | 43 BinaryResourceParser(IDiagnostics* diag, ResourceTable* table, const Source& source, 91 IDiagnostics* diag_;
|
/frameworks/base/tools/aapt2/dump/ |
D | DumpManifest.h | 35 IDiagnostics* diag);
|