Home
last modified time | relevance | path

Searched refs:DexBuilder (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/startop/view_compiler/
Ddex_builder_test.cc27 bool EncodeAndVerify(DexBuilder* dex_file) { in EncodeAndVerify()
50 DexBuilder dex_file; in TEST()
63 DexBuilder dex_file; in TEST()
83 DexBuilder dex_file; in TEST()
103 DexBuilder dex_file; in TEST()
122 DexBuilder dex_file; in TEST()
151 DexBuilder dex_file; in TEST()
Ddex_builder.cc143 DexBuilder dex_file; in WriteTestDexFile()
172 DexBuilder::DexBuilder() : dex_file_{std::make_shared<ir::DexFile>()} { in DexBuilder() function in startop::dex::DexBuilder
176 slicer::MemView DexBuilder::CreateImage() { in CreateImage()
183 ir::String* DexBuilder::GetOrAddString(const std::string& string) { in GetOrAddString()
208 ClassBuilder DexBuilder::MakeClass(const std::string& name) { in MakeClass()
219 ir::Type* DexBuilder::GetOrAddType(const std::string& descriptor) { in GetOrAddType()
232 ir::Proto* Prototype::Encode(DexBuilder* dex) const { in Encode()
261 ClassBuilder::ClassBuilder(DexBuilder* parent, const std::string& name, ir::Class* class_def) in ClassBuilder()
274 MethodBuilder::MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl) in MethodBuilder()
558 const MethodDeclData& DexBuilder::GetOrDeclareMethod(TypeDescriptor type, const std::string& name, in GetOrDeclareMethod()
[all …]
Ddex_builder.h40 class DexBuilder; variable
93 ir::Proto* Encode(DexBuilder* dex) const;
277 MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl);
306 DexBuilder* dex_file() const { return dex_; } in dex_file()
407 DexBuilder* dex_;
447 ClassBuilder(DexBuilder* parent, const std::string& name, ir::Class* class_def);
456 DexBuilder* const parent_;
462 class DexBuilder {
464 DexBuilder();
DREADME.md27 ## DexBuilder Tests
29 The DexBuilder has several low-level end to end tests to verify generated DEX
34 * `dex_testcase_generator` - Written in C++ using `DexBuilder`. This runs as a
Dmain.cc41 using startop::dex::DexBuilder;
150 DexBuilder dex_file; in main()
Ddex_testcase_generator.cc30 DexBuilder dex_file; in GenerateTrivialDexFile()
42 DexBuilder dex_file; in GenerateSimpleTestCases()
Dapk_layout_compiler.cc98 dex::DexBuilder dex_file; in CompileApkAssetsLayouts()
Ddex_layout_compiler.cc77 dex::DexBuilder* const dex = method_->dex_file(); in Start()