Home
last modified time | relevance | path

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

/frameworks/base/startop/view_compiler/
Ddex_builder_test.cc27 bool EncodeAndVerify(DexBuilder* dex_file) { in EncodeAndVerify() argument
28 slicer::MemView image{dex_file->CreateImage()}; in EncodeAndVerify()
50 DexBuilder dex_file; in TEST() local
52 auto cbuilder{dex_file.MakeClass("dextest.DexTest")}; in TEST()
58 EXPECT_TRUE(EncodeAndVerify(&dex_file)); in TEST()
63 DexBuilder dex_file; in TEST() local
65 auto cbuilder{dex_file.MakeClass("dextest.DexTest")}; in TEST()
73 EXPECT_FALSE(EncodeAndVerify(&dex_file)); in TEST()
83 DexBuilder dex_file; in TEST() local
85 auto cbuilder{dex_file.MakeClass("dextest.DexTest")}; in TEST()
[all …]
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()
285 slicer::MemView image{dex_file.CreateImage()}; in GenerateSimpleTestCases()
Ddex_layout_compiler.cc53 xml_next_{method->dex_file()->GetOrDeclareMethod(
56 try_create_view_{method->dex_file()->GetOrDeclareMethod(
63 generate_layout_params_{method->dex_file()->GetOrDeclareMethod(
67 add_view_{method->dex_file()->GetOrDeclareMethod(
77 dex::DexBuilder* const dex = method_->dex_file(); in Start()
168 const ir::Type* view_group_def = method_->dex_file()->GetOrAddType( in StartView()
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.cc143 DexBuilder dex_file; in WriteTestDexFile() local
145 ClassBuilder cbuilder{dex_file.MakeClass("dextest.DexTest")}; in WriteTestDexFile()
155 dex_file.GetOrDeclareMethod(string_type, "length", Prototype{TypeDescriptor::Int()}); in WriteTestDexFile()
162 slicer::MemView image{dex_file.CreateImage()}; in WriteTestDexFile()
Ddex_builder.h306 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()
/frameworks/native/cmds/installd/
Ddexopt.cpp1524 RunDexoptAnalyzer(const std::string& dex_file, in RunDexoptAnalyzer() argument
1540 std::string dex_file_arg = "--dex-file=" + dex_file; in RunDexoptAnalyzer()