Searched refs:class_def (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/startop/view_compiler/ |
D | dex_builder.cc | 226 auto* class_def = Alloc<ir::Class>(); in MakeClass() local 228 type_def->class_def = class_def; in MakeClass() 230 class_def->type = type_def; in MakeClass() 231 class_def->super_class = GetOrAddType(DotToDescriptor("java.lang.Object")); in MakeClass() 232 class_def->access_flags = kAccPublic; in MakeClass() 233 return ClassBuilder{this, name, class_def}; in MakeClass() 295 ClassBuilder::ClassBuilder(DexBuilder* parent, const std::string& name, ir::Class* class_def) in ClassBuilder() argument 296 : parent_(parent), type_descriptor_{TypeDescriptor::FromClassname(name)}, class_(class_def) {} in ClassBuilder() 308 MethodBuilder::MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl) in MethodBuilder() argument 309 : dex_{dex}, class_{class_def}, decl_{decl} {} in MethodBuilder()
|
D | dex_builder.h | 333 MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl); 519 ClassBuilder(DexBuilder* parent, const std::string& name, ir::Class* class_def);
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 616 std::unique_ptr<ClassDefinition> class_def; in Generate() local 618 class_def = util::make_unique<ClassDefinition>( in Generate() 622 if (!ProcessType(package_name_to_generate, *package, *type, class_def.get(), in Generate() 631 if (!ProcessType(package_name_to_generate, *package, *priv_type, class_def.get(), in Generate() 641 class_def->GetCommentBuilder()->AppendComment("@doconly"); in Generate() 645 AppendJavaDocAnnotations(options_.javadoc_annotations, class_def->GetCommentBuilder()); in Generate() 646 r_class.AddMember(std::move(class_def)); in Generate()
|
D | ManifestClassGenerator.cpp | 59 ClassDefinition* class_def) { in WriteSymbol() argument 76 if (class_def->AddMember(std::move(string_member)) == ClassDefinition::Result::kOverridden) { in WriteSymbol()
|