/art/libdexfile/dex/ |
D | proto_reference_test.cc | 28 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 …]
|
D | test_dex_file_builder_test.cc | 29 builder.AddMethod("LTestClass;", "()I", "foo"); in TEST() 30 builder.AddMethod("LTestClass;", "(Ljava/lang/Object;[Ljava/lang/Object;)LTestClass;", "bar"); in TEST()
|
D | test_dex_file_builder.h | 62 void AddMethod(const std::string& class_descriptor, in AddMethod() function
|
/art/libprofile/profile/ |
D | profile_compilation_info_test.cc | 139 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 …]
|
D | profile_test_helper.h | 37 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));
|
D | profile_compilation_info.h | 395 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);
|
D | profile_compilation_info.cc | 683 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/ |
D | compiler_driver_test.cc | 204 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/ |
D | oat_writer_test.cc | 591 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/ |
D | profile_assistant_test.cc | 81 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()
|
D | profman.cc | 1624 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/ |
D | profile_saver.cc | 664 profile_info->AddMethod(profile_index, method.GetDexMethodIndex(), flags); in UpdateProfile() 677 profile_info->AddMethod(profile_index, method->GetDexMethodIndex(), flags); in UpdateProfile()
|
D | jit_code_cache.cc | 156 void AddMethod(ArtMethod* method) { in AddMethod() function in art::jit::JitCodeCache::JniStubData 1610 data->AddMethod(method); in NotifyCompilationOf()
|
/art/runtime/ |
D | common_runtime_test.cc | 589 EXPECT_TRUE(profile.AddMethod( in GenerateProfile()
|