Home
last modified time | relevance | path

Searched refs:dex_file (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/startop/view_compiler/
Ddex_layout_compiler.cc53 xml_next_{method->dex_file()->GetOrDeclareMethod(kXmlResourceParser, "next",
55 try_create_view_{method->dex_file()->GetOrDeclareMethod(
58 generate_layout_params_{method->dex_file()->GetOrDeclareMethod(
62 add_view_{method->dex_file()->GetOrDeclareMethod(
70 auto layout_inflater_from = method_->dex_file()->GetOrDeclareMethod( in BuildGetLayoutInflater()
78 method_->dex_file()->GetOrDeclareMethod(kContext, "getResources", Prototype{kResources}); in BuildGetResources()
84 auto get_layout = method_->dex_file()->GetOrDeclareMethod( in BuildGetLayoutResource()
92 auto as_attribute_set = method_->dex_file()->GetOrDeclareMethod( in BuildLayoutResourceToAttributeSet()
167 const ir::Type* view_group_def = method_->dex_file()->GetOrAddType(kViewGroup.descriptor()); in StartView()
Ddex_testcase_generator.cc30 DexBuilder dex_file; in GenerateTrivialDexFile() local
32 ClassBuilder cbuilder{dex_file.MakeClass("android.startop.test.testcases.Trivial")}; in GenerateTrivialDexFile()
35 slicer::MemView image{dex_file.CreateImage()}; in GenerateTrivialDexFile()
42 DexBuilder dex_file; in GenerateSimpleTestCases() local
44 ClassBuilder cbuilder{dex_file.MakeClass("android.startop.test.testcases.SimpleTests")}; in GenerateSimpleTestCases()
78 dex_file.GetOrDeclareMethod(string_type, "length", Prototype{TypeDescriptor::Int()})}; in GenerateSimpleTestCases()
248 MethodDeclData to_string{dex_file.GetOrDeclareMethod( in GenerateSimpleTestCases()
264 MethodDeclData substring{dex_file.GetOrDeclareMethod( in GenerateSimpleTestCases()
278 const ir::Type* type_def = dex_file.GetOrAddType(string_type.descriptor()); in GenerateSimpleTestCases()
293 dex_file.GetOrAddField(test_class, "staticInteger", TypeDescriptor::Int()); in GenerateSimpleTestCases()
[all …]
Dmain.cc150 DexBuilder dex_file; in main() local
152 ClassBuilder compiled_view{dex_file.MakeClass(class_name)}; in main()
162 slicer::MemView image{dex_file.CreateImage()}; in main()
Dapk_layout_compiler.cc98 dex::DexBuilder dex_file; in CompileApkAssetsLayouts() local
100 dex_file.MakeClass(StringPrintf("%s.CompiledView", package_name.c_str()))}; in CompileApkAssetsLayouts()
154 slicer::MemView image{dex_file.CreateImage()}; in CompileApkAssetsLayouts()
Ddex_builder.cc160 DexBuilder dex_file; in WriteTestDexFile() local
162 ClassBuilder cbuilder{dex_file.MakeClass("dextest.DexTest")}; in WriteTestDexFile()
172 dex_file.GetOrDeclareMethod(string_type, "length", Prototype{TypeDescriptor::Int()}); in WriteTestDexFile()
179 slicer::MemView image{dex_file.CreateImage()}; in WriteTestDexFile()
Ddex_builder.h360 DexBuilder* dex_file() const { return dex_; } in dex_file() function
/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/
DLayoutCompilerTest.java37 ClassLoader dex_file = loadDexFile("layout1.dex"); in loadAndInflateLayout1() local
38 Class compiled_view = dex_file.loadClass("android.startop.test.CompiledView"); in loadAndInflateLayout1()
46 ClassLoader dex_file = loadDexFile("layout2.dex"); in loadAndInflateLayout2() local
47 Class compiled_view = dex_file.loadClass("android.startop.test.CompiledView"); in loadAndInflateLayout2()
DApkLayoutCompilerTest.java42 ClassLoader dex_file = loadDexFile(); in loadAndInflateLayout1() local
43 Class compiled_view = dex_file.loadClass("android.startop.test.CompiledView"); in loadAndInflateLayout1()
51 ClassLoader dex_file = loadDexFile(); in loadAndInflateLayout2() local
52 Class compiled_view = dex_file.loadClass("android.startop.test.CompiledView"); in loadAndInflateLayout2()
/frameworks/native/cmds/installd/
Ddexopt.cpp1604 RunDexoptAnalyzer(const std::string& dex_file, in RunDexoptAnalyzer() argument
1620 std::string dex_file_arg = "--dex-file=" + dex_file; in RunDexoptAnalyzer()