Home
last modified time | relevance | path

Searched refs:AddMethod (Results 1 – 14 of 14) sorted by relevance

/art/libdexfile/dex/
Dproto_reference_test.cc28 builder.AddMethod("LClass", "()I", "sideEffect2"); in TEST()
29 builder.AddMethod("LClass", "(I)Ljava/lang/String;", "toString"); in TEST()
30 builder.AddMethod("LClass", "(II)Ljava/lang/String;", "toString"); in TEST()
31 builder.AddMethod("LClass", "(IJ)Ljava/lang/String;", "toString"); in TEST()
32 builder.AddMethod("LClass", "(JJ)Ljava/lang/String;", "toString"); in TEST()
33 builder.AddMethod("LClass", "()V", "sideEffect1"); in TEST()
56 builder1.AddMethod("LClass", "()I", "sideEffect2"); in TEST()
57 builder1.AddMethod("LClass", "(I)Ljava/lang/String;", "toString"); in TEST()
58 builder1.AddMethod("LClass", "(II)Ljava/lang/String;", "toString"); in TEST()
59 builder1.AddMethod("LClass", "(IJ)Ljava/lang/String;", "toString"); in TEST()
[all …]
Dtest_dex_file_builder_test.cc29 builder.AddMethod("LTestClass;", "()I", "foo"); in TEST()
30 builder.AddMethod("LTestClass;", "(Ljava/lang/Object;[Ljava/lang/Object;)LTestClass;", "bar"); in TEST()
Dtest_dex_file_builder.h62 void AddMethod(const std::string& class_descriptor, in AddMethod() function
/art/libprofile/profile/
Dprofile_compilation_info_test.cc139 ASSERT_TRUE(AddMethod(&saved_info, dex1, /*method_idx=*/ i)); in TestProfileLoadFromZip()
140 ASSERT_TRUE(AddMethod(&saved_info, dex2, /*method_idx=*/ i)); in TestProfileLoadFromZip()
193 ASSERT_TRUE(AddMethod( in SizeStressTest()
202 ASSERT_TRUE(AddMethod( in SizeStressTest()
292 ASSERT_TRUE(AddMethod(&saved_info, dex1, /*method_idx=*/ i)); in TEST_F()
293 ASSERT_TRUE(AddMethod(&saved_info, dex2, /*method_idx=*/ i)); in TEST_F()
305 ASSERT_TRUE(AddMethod(&saved_info, dex1, /*method_idx=*/ i)); in TEST_F()
306 ASSERT_TRUE(AddMethod(&saved_info, dex2, /*method_idx=*/ i)); in TEST_F()
307 ASSERT_TRUE(AddMethod(&saved_info, dex3, /*method_idx=*/ i)); in TEST_F()
323 ASSERT_TRUE(AddMethod(&info, dex1, /*method_idx=*/ 1)); in TEST_F()
[all …]
Dprofile_test_helper.h37 static bool AddMethod(
42 return AddMethod(info, dex, method_idx, Hotness::kFlagHot, annotation);
45 static bool AddMethod(
51 return info->AddMethod(ProfileMethodInfo(MethodReference(dex, method_idx)),
57 static bool AddMethod(
63 return AddMethod(info, dex, method_idx, inline_caches, Hotness::kFlagHot, annotation);
66 static bool AddMethod(
73 return info->AddMethod(ProfileMethodInfo(MethodReference(dex, method_idx), inline_caches),
182 builder.AddMethod(class_descriptor, signature, "m" + std::to_string(method_name_index));
Dprofile_compilation_info.h395 void AddMethod(ProfileIndexType profile_index, uint32_t method_index, MethodHotness::Flag flags) { in AddMethod() function
399 data->AddMethod(flags, method_index); in AddMethod()
405 bool AddMethod(const ProfileMethodInfo& pmi,
427 if (!data->AddMethod(flags, *it)) {
820 bool AddMethod(MethodHotness::Flag flags, size_t index);
Dprofile_compilation_info.cc683 if (!AddMethod(method, flags, annotation, is_test)) { in AddMethods()
1318 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi, in AddMethod() function in art::ProfileCompilationInfo
1326 if (!data->AddMethod(flags, pmi.ref.index)) { in AddMethod()
2299 data->AddMethod(static_cast<MethodHotness::Flag>(flags), method_idx); in GenerateTestProfile()
2359 data->AddMethod(static_cast<MethodHotness::Flag>(flags), method_index); in GenerateTestProfile()
2385 bool ProfileCompilationInfo::DexFileData::AddMethod(MethodHotness::Flag flags, size_t index) { in AddMethod() function in art::ProfileCompilationInfo::DexFileData
/art/dex2oat/driver/
Dcompiler_driver_test.cc204 profile_info_.AddMethod(ProfileMethodInfo(MethodReference(dex_file.get(), 1)), in GetProfileCompilationInfo()
206 profile_info_.AddMethod(ProfileMethodInfo(MethodReference(dex_file.get(), 2)), in GetProfileCompilationInfo()
/art/dex2oat/linker/
Doat_writer_test.cc591 builder1.AddMethod("Lsome/TestClass;", "()I", "foo"); in TestDexFileInput()
608 builder2.AddMethod("Land/AnotherTestClass;", "()J", "bar"); in TestDexFileInput()
715 builder1.AddMethod("Lsome/TestClass;", "()D", "foo"); in TestZipFileInput()
733 builder2.AddMethod("Land/AnotherTestClass;", "()J", "bar"); in TestZipFileInput()
/art/profman/
Dprofile_assistant_test.cc81 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile()
82 ASSERT_TRUE(AddMethod(info, dex_file1, i, inline_caches, flags)); in SetupProfile()
84 ASSERT_TRUE(AddMethod(info, dex_file1, i, inline_caches, flags)); in SetupProfile()
85 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile()
103 AddMethod(info, dex, idx, Hotness::kFlagHot); in SetupBasicProfile()
106 AddMethod(info, dex, idx, Hotness::kFlagStartup); in SetupBasicProfile()
109 AddMethod(info, dex, idx, Hotness::kFlagPostStartup); in SetupBasicProfile()
2250 AddMethod(&info, &d1, 0, Hotness::kFlagHot, psa1); in TEST_F()
2251 AddMethod(&info, &d2, 0, Hotness::kFlagHot, psa2); in TEST_F()
Dprofman.cc1624 profile->AddMethod( in ProcessLine()
1628 profile->AddMethod( in ProcessLine()
1633 profile->AddMethod( in ProcessLine()
1640 if (!profile->AddMethod(ProfileMethodInfo(ref), in ProcessLine()
/art/runtime/jit/
Dprofile_saver.cc664 profile_info->AddMethod(profile_index, method.GetDexMethodIndex(), flags); in UpdateProfile()
677 profile_info->AddMethod(profile_index, method->GetDexMethodIndex(), flags); in UpdateProfile()
Djit_code_cache.cc156 void AddMethod(ArtMethod* method) { in AddMethod() function in art::jit::JitCodeCache::JniStubData
1610 data->AddMethod(method); in NotifyCompilationOf()
/art/runtime/
Dcommon_runtime_test.cc589 EXPECT_TRUE(profile.AddMethod( in GenerateProfile()