Searched refs:dex_file (Results 1 – 9 of 9) sorted by relevance
27 bool EncodeAndVerify(DexBuilder* dex_file) { in EncodeAndVerify() argument28 slicer::MemView image{dex_file->CreateImage()}; in EncodeAndVerify()50 DexBuilder dex_file; in TEST() local52 auto cbuilder{dex_file.MakeClass("dextest.DexTest")}; in TEST()58 EXPECT_TRUE(EncodeAndVerify(&dex_file)); in TEST()63 DexBuilder dex_file; in TEST() local65 auto cbuilder{dex_file.MakeClass("dextest.DexTest")}; in TEST()73 EXPECT_FALSE(EncodeAndVerify(&dex_file)); in TEST()83 DexBuilder dex_file; in TEST() local85 auto cbuilder{dex_file.MakeClass("dextest.DexTest")}; in TEST()[all …]
30 DexBuilder dex_file; in GenerateTrivialDexFile() local32 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() local44 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()
53 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()
150 DexBuilder dex_file; in main() local152 ClassBuilder compiled_view{dex_file.MakeClass(class_name)}; in main()162 slicer::MemView image{dex_file.CreateImage()}; in main()
98 dex::DexBuilder dex_file; in CompileApkAssetsLayouts() local100 dex_file.MakeClass(StringPrintf("%s.CompiledView", package_name.c_str()))}; in CompileApkAssetsLayouts()154 slicer::MemView image{dex_file.CreateImage()}; in CompileApkAssetsLayouts()
143 DexBuilder dex_file; in WriteTestDexFile() local145 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()
306 DexBuilder* dex_file() const { return dex_; } in dex_file() function
37 ClassLoader dex_file = loadDexFile("layout1.dex"); in loadAndInflateLayout1() local38 Class compiled_view = dex_file.loadClass("android.startop.test.CompiledView"); in loadAndInflateLayout1()46 ClassLoader dex_file = loadDexFile("layout2.dex"); in loadAndInflateLayout2() local47 Class compiled_view = dex_file.loadClass("android.startop.test.CompiledView"); in loadAndInflateLayout2()
1524 RunDexoptAnalyzer(const std::string& dex_file, in RunDexoptAnalyzer() argument1540 std::string dex_file_arg = "--dex-file=" + dex_file; in RunDexoptAnalyzer()