Home
last modified time | relevance | path

Searched refs:IDiagnostics (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/tools/aapt2/cmd/
DDump.h33 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 …]
DUtil.h36 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);
DCompile.h46 explicit CompileCommand(IDiagnostics* diagnostic) : Command("compile", "c"), in CompileCommand()
77 IDiagnostics* diagnostic_;
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.internal.h51 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 …]
DConfigurationParser.cpp93 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 …]
DConfigurationParser.h130 struct IDiagnostics;
148 ConfigurationParser& WithDiagnostics(IDiagnostics* diagnostics) { in WithDiagnostics()
168 IDiagnostics* diagnostics() { in diagnostics()
178 IDiagnostics* diag_;
/frameworks/base/tools/aapt2/
DResourceTable.h241 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 …]
DDiagnostics.h68 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_;
DLoadedApk.h49 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;
DResourceTable.cpp348 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 …]
DMain.cpp66 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_;
DStringPool.h156 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);
DResourceParser.h65 ResourceParser(IDiagnostics* diag, ResourceTable* table, const Source& source,
120 IDiagnostics* diag_;
/frameworks/base/tools/aapt2/util/
DFiles.h99 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/
DProtoSerialize.h56 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/
DCommon.cpp24 struct DummyDiagnosticsImpl : public IDiagnostics {
41 IDiagnostics* GetDiagnostics() { in GetDiagnostics()
DFixture.h76 const android::StringPiece& flat_out_dir, IDiagnostics* diag);
81 IDiagnostics* diag);
DFixture.cpp98 const android::StringPiece& out_dir, IDiagnostics* diag) { in CompileFile()
105 const android::StringPiece& flat_dir, IDiagnostics* diag) { in Link()
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.h61 IDiagnostics* GetDiagnostics() { in GetDiagnostics()
66 std::unique_ptr<xml::XmlResource>* updated_manifest, IDiagnostics* diag);
/frameworks/base/tools/aapt2/format/
DArchive.h73 std::unique_ptr<IArchiveWriter> CreateDirectoryArchiveWriter(IDiagnostics* diag,
76 std::unique_ptr<IArchiveWriter> CreateZipFileArchiveWriter(IDiagnostics* diag,
/frameworks/base/tools/aapt2/java/
DManifestClassGenerator.cpp33 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()
DManifestClassGenerator.h26 std::unique_ptr<ClassDefinition> GenerateManifestClass(IDiagnostics* diag, xml::XmlResource* res);
/frameworks/base/tools/aapt2/compile/
DPng.h46 explicit Png(IDiagnostics* diag) : mDiag(diag) {} in Png()
54 IDiagnostics* mDiag;
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.h43 BinaryResourceParser(IDiagnostics* diag, ResourceTable* table, const Source& source,
91 IDiagnostics* diag_;
/frameworks/base/tools/aapt2/dump/
DDumpManifest.h35 IDiagnostics* diag);

123