Home
last modified time | relevance | path

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

/art/libprofile/profile/
Dprofile_compilation_info_test.cc72 bool AddMethod(ProfileCompilationInfo* info, in AddMethod() function in art::ProfileCompilationInfoTest
77 return info->AddMethod(ProfileMethodInfo(MethodReference(dex, method_idx)), in AddMethod()
82 bool AddMethod(ProfileCompilationInfo* info, in AddMethod() function in art::ProfileCompilationInfoTest
87 return info->AddMethod( in AddMethod()
183 ASSERT_TRUE(AddMethod(&saved_info, dex1, /* method_idx= */ i)); in TestProfileLoadFromZip()
184 ASSERT_TRUE(AddMethod(&saved_info, dex2, /* method_idx= */ i)); in TestProfileLoadFromZip()
240 ASSERT_TRUE(AddMethod( in SizeStressTest()
249 ASSERT_TRUE(AddMethod( in SizeStressTest()
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()
[all …]
Dprofile_compilation_info.h362 bool AddMethod(const ProfileMethodInfo& pmi,
383 if (!data->AddMethod(flags, *it)) {
646 bool AddMethod(MethodHotness::Flag flags, size_t index);
Dprofile_compilation_info.cc212 if (!AddMethod(method, flags, annotation)) { in AddMethods()
714 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi, in AddMethod() function in art::ProfileCompilationInfo
721 if (!data->AddMethod(flags, pmi.ref.index)) { in AddMethod()
1832 data->AddMethod(static_cast<MethodHotness::Flag>(flags), method_idx); in GenerateTestProfile()
1891 data->AddMethod(static_cast<MethodHotness::Flag>(flags), method_index); in GenerateTestProfile()
2019 bool ProfileCompilationInfo::DexFileData::AddMethod(MethodHotness::Flag flags, size_t index) { in AddMethod() function in art::ProfileCompilationInfo::DexFileData
/art/libdexfile/dex/
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.h63 void AddMethod(const std::string& class_descriptor, const std::string& signature, in AddMethod() function
/art/profman/
Dprofile_assistant_test.cc58 bool AddMethod(ProfileCompilationInfo* info, in AddMethod() function in art::ProfileAssistantTest
63 return info->AddMethod( in AddMethod()
67 bool AddMethod(ProfileCompilationInfo* info, in AddMethod() function in art::ProfileAssistantTest
73 return info->AddMethod(ProfileMethodInfo(MethodReference(dex, method_idx)), in AddMethod()
100 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile()
101 ASSERT_TRUE(AddMethod(info, dex_file1, i, inline_caches, flags)); in SetupProfile()
103 ASSERT_TRUE(AddMethod(info, dex_file1, i, inline_caches, flags)); in SetupProfile()
104 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile()
123 AddMethod(info, dex, idx, Hotness::kFlagHot); in SetupBasicProfile()
126 AddMethod(info, dex, idx, Hotness::kFlagStartup); in SetupBasicProfile()
[all …]
Dprofman.cc1181 profile->AddMethod(ProfileMethodInfo(ref, inline_caches), in ProcessLine()
1186 if (!profile->AddMethod(ProfileMethodInfo(ref), in ProcessLine()
/art/dex2oat/driver/
Dcompiler_driver_test.cc206 profile_info_.AddMethod(ProfileMethodInfo(MethodReference(dex_file.get(), 1)), in GetProfileCompilationInfo()
208 profile_info_.AddMethod(ProfileMethodInfo(MethodReference(dex_file.get(), 2)), in GetProfileCompilationInfo()
/art/dex2oat/linker/
Doat_writer_test.cc601 builder1.AddMethod("Lsome.TestClass;", "()I", "foo"); in TestDexFileInput()
618 builder2.AddMethod("Land.AnotherTestClass;", "()J", "bar"); in TestDexFileInput()
725 builder1.AddMethod("Lsome.TestClass;", "()D", "foo"); in TestZipFileInput()
743 builder2.AddMethod("Land.AnotherTestClass;", "()J", "bar"); in TestZipFileInput()
/art/runtime/
Dcommon_runtime_test.cc589 EXPECT_TRUE(profile.AddMethod( in GenerateProfile()
/art/dexlayout/
Ddexlayout_test.cc356 pfi.AddMethod(ProfileMethodInfo(MethodReference(dex_file.get(), /*index=*/ i)), in CreateProfile()
/art/runtime/jit/
Djit_code_cache.cc166 void AddMethod(ArtMethod* method) { in AddMethod() function in art::jit::JitCodeCache::JniStubData
1763 data->AddMethod(method); in NotifyCompilationOf()