Home
last modified time | relevance | path

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

/art/runtime/jit/
Dprofile_compilation_info_test.cc59 bool AddMethod(const std::string& dex_location, in AddMethod() function in art::ProfileCompilationInfoTest
66 bool AddMethod(const std::string& dex_location, in AddMethod() function in art::ProfileCompilationInfoTest
71 return info->AddMethod(dex_location, checksum, method_index, pmi); in AddMethod()
324 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, /* method_idx */ i, &saved_info)); in TEST_F()
325 ASSERT_TRUE(AddMethod("dex_location2", /* checksum */ 2, /* method_idx */ i, &saved_info)); in TEST_F()
338 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, /* method_idx */ i, &saved_info)); in TEST_F()
339 ASSERT_TRUE(AddMethod("dex_location2", /* checksum */ 2, /* method_idx */ i, &saved_info)); in TEST_F()
340 ASSERT_TRUE(AddMethod("dex_location3", /* checksum */ 3, /* method_idx */ i, &saved_info)); in TEST_F()
357 ASSERT_TRUE(AddMethod("dex_location", /* checksum */ 1, /* method_idx */ 1, &info)); in TEST_F()
359 ASSERT_FALSE(AddMethod("dex_location", /* checksum */ 2, /* method_idx */ 2, &info)); in TEST_F()
[all …]
Dprofile_compilation_info.h345 bool AddMethod(const ProfileMethodInfo& pmi);
349 bool AddMethod(const std::string& dex_location,
Dprofile_compilation_info.cc131 if (!AddMethod(method)) { in AddMethodsAndClasses()
487 return AddMethod(dex_location, dex_checksum, method_index, OfflineProfileMethodInfo(nullptr)); in AddMethodIndex()
490 bool ProfileCompilationInfo::AddMethod(const std::string& dex_location, in AddMethod() function in art::ProfileCompilationInfo
537 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi) { in AddMethod() function in art::ProfileCompilationInfo
/art/compiler/utils/
Dtest_dex_file_builder_test.cc30 builder.AddMethod("LTestClass;", "()I", "foo"); in TEST()
31 builder.AddMethod("LTestClass;", "(Ljava/lang/Object;[Ljava/lang/Object;)LTestClass;", "bar"); in TEST()
Dtest_dex_file_builder.h60 void AddMethod(const std::string& class_descriptor, const std::string& signature, in AddMethod() function
/art/profman/
Dprofile_assistant_test.cc59 ASSERT_TRUE(info->AddMethod(dex_location2, dex_location_checksum2, i, pmi)); in SetupProfile()
60 ASSERT_TRUE(info->AddMethod(dex_location1, dex_location_checksum1, i, pmi)); in SetupProfile()
62 ASSERT_TRUE(info->AddMethod(dex_location1, dex_location_checksum1, i, pmi)); in SetupProfile()
63 ASSERT_TRUE(info->AddMethod(dex_location2, dex_location_checksum2, i, pmi)); in SetupProfile()
/art/compiler/
Doat_test.cc578 builder1.AddMethod("Lsome.TestClass;", "()I", "foo"); in TestDexFileInput()
593 builder2.AddMethod("Land.AnotherTestClass;", "()J", "bar"); in TestDexFileInput()
683 builder1.AddMethod("Lsome.TestClass;", "()D", "foo"); in TestZipFileInput()
701 builder2.AddMethod("Land.AnotherTestClass;", "()J", "bar"); in TestZipFileInput()