/aosp12/art/libprofile/profile/ |
H A D | profile_compilation_info_test.cc | 187 ASSERT_TRUE(AddMethod( in SizeStressTest() 196 ASSERT_TRUE(AddMethod( in SizeStressTest() 317 ASSERT_TRUE(AddMethod(&info, dex1, /*method_idx=*/ 1)); in TEST_F() 804 AddMethod(&test_info, dex1, 1, Hotness::kFlagStartup); in TEST_F() 806 AddMethod(&test_info, dex2, 2, Hotness::kFlagStartup); in TEST_F() 943 AddMethod(&info, dex1, /*method_idx=*/ 0); in TEST_F() 944 AddMethod(&info, dex2, /*method_idx=*/ 0); in TEST_F() 993 AddMethod(&info, dex2, /*method_idx=*/ 0); in TEST_F() 1022 AddMethod(&info, dex1, /*method_idx=*/ 0); in TEST_F() 1026 AddMethod(&info, dex1_renamed, /*method_idx=*/ 0); in TEST_F() [all …]
|
H A 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( 55 static bool AddMethod( 61 return AddMethod(info, dex, method_idx, inline_caches, Hotness::kFlagHot, annotation); 64 static bool AddMethod( 71 return info->AddMethod( 178 builder.AddMethod(class_descriptor, signature, "m" + std::to_string(method_name_index));
|
H A D | profile_compilation_info.h | 393 void AddMethod(ProfileIndexType profile_index, uint32_t method_index, MethodHotness::Flag flags) { in AddMethod() function 397 data->AddMethod(flags, method_index); in AddMethod() 403 bool AddMethod(const ProfileMethodInfo& pmi, 424 if (!data->AddMethod(flags, *it)) { 773 bool AddMethod(MethodHotness::Flag flags, size_t index);
|
H A D | profile_compilation_info.cc | 665 if (!AddMethod(method, flags, annotation)) { in AddMethods() 1230 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi, in AddMethod() function in art::ProfileCompilationInfo 1237 if (!data->AddMethod(flags, pmi.ref.index)) { in AddMethod() 2165 data->AddMethod(static_cast<MethodHotness::Flag>(flags), method_idx); in GenerateTestProfile() 2224 data->AddMethod(static_cast<MethodHotness::Flag>(flags), method_index); in GenerateTestProfile() 2250 bool ProfileCompilationInfo::DexFileData::AddMethod(MethodHotness::Flag flags, size_t index) { in AddMethod() function in art::ProfileCompilationInfo::DexFileData
|
/aosp12/art/libdexfile/dex/ |
H A 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()
|
H A D | test_dex_file_builder.h | 62 void AddMethod(const std::string& class_descriptor, in AddMethod() function
|
/aosp12/frameworks/base/tools/aapt2/java/ |
H A D | ProguardRules.cpp | 89 void AddMethod(size_t line_number, const std::string& method_name, in AddMethod() function in aapt::proguard::BaseVisitor 91 keep_set_->AddMethod({file_.name, file_.source.WithLine(line_number)}, in AddMethod() 139 AddMethod(node->line_number, attr.value, "android.view.View"); in Visit() 170 AddMethod(node->line_number, attr.value, "android.view.MenuItem"); in Visit()
|
H A D | ProguardRules.h | 64 inline void AddMethod(const UsageLocation& file, const NameAndSignature& name_and_signature) { in AddMethod() function
|
/aosp12/art/profman/ |
H A D | profile_assistant_test.cc | 79 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile() 80 ASSERT_TRUE(AddMethod(info, dex_file1, i, inline_caches, flags)); in SetupProfile() 82 ASSERT_TRUE(AddMethod(info, dex_file1, i, inline_caches, flags)); in SetupProfile() 83 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile() 101 AddMethod(info, dex, idx, Hotness::kFlagHot); in SetupBasicProfile() 104 AddMethod(info, dex, idx, Hotness::kFlagStartup); in SetupBasicProfile() 107 AddMethod(info, dex, idx, Hotness::kFlagPostStartup); in SetupBasicProfile() 1971 AddMethod(&info, &d1, 0, Hotness::kFlagHot, psa1); in TEST_F() 1972 AddMethod(&info, &d2, 0, Hotness::kFlagHot, psa2); in TEST_F()
|
H A D | profman.cc | 1578 profile->AddMethod( in ProcessLine() 1582 profile->AddMethod( in ProcessLine() 1587 profile->AddMethod( in ProcessLine() 1594 if (!profile->AddMethod(ProfileMethodInfo(ref), in ProcessLine()
|
/aosp12/art/dex2oat/linker/ |
H A D | oat_writer_test.cc | 594 builder1.AddMethod("Lsome/TestClass;", "()I", "foo"); in TestDexFileInput() 611 builder2.AddMethod("Land/AnotherTestClass;", "()J", "bar"); in TestDexFileInput() 718 builder1.AddMethod("Lsome/TestClass;", "()D", "foo"); in TestZipFileInput() 736 builder2.AddMethod("Land/AnotherTestClass;", "()J", "bar"); in TestZipFileInput()
|
/aosp12/art/dex2oat/driver/ |
H A 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()
|
/aosp12/system/tools/aidl/ |
H A D | aidl.cpp | 685 interface->AddMethod(std::move(method)); in load_and_validate_aidl() 696 interface->AddMethod(std::move(method)); in load_and_validate_aidl()
|
H A D | aidl_language.h | 963 void AddMethod(std::unique_ptr<AidlMethod> method) { methods_.push_back(std::move(method)); }
|
/aosp12/art/runtime/jit/ |
H A D | profile_saver.cc | 701 profile_info->AddMethod(profile_index, method.GetDexMethodIndex(), flags); in UpdateProfile() 714 profile_info->AddMethod(profile_index, method->GetDexMethodIndex(), flags); in UpdateProfile()
|
H A D | jit_code_cache.cc | 167 void AddMethod(ArtMethod* method) { in AddMethod() function in art::jit::JitCodeCache::JniStubData 1635 data->AddMethod(method); in NotifyCompilationOf()
|
/aosp12/art/dexlayout/ |
H A D | dexlayout_test.cc | 356 pfi.AddMethod(ProfileMethodInfo(MethodReference(dex_file.get(), /*index=*/ i)), in CreateProfile()
|
/aosp12/art/runtime/ |
H A D | common_runtime_test.cc | 584 EXPECT_TRUE(profile.AddMethod( in GenerateProfile()
|