/art/odrefresh/ |
D | odrefresh_test.cc | 91 MATCHER_P2(Flag, flag, matcher, "") { 103 Flag(flag, ResultOf(std::bind(Split, std::placeholders::_1, ":"), matcher)), 283 Contains(Flag("--dex-file=", core_oj_jar_)), in TEST_F() 284 Contains(Flag("--dex-file=", framework_jar_)), in TEST_F() 285 Not(Contains(Flag("--dex-file=", conscrypt_jar_))), in TEST_F() 286 Not(Contains(Flag("--dex-file=", framework_wifi_jar_))), in TEST_F() 287 Contains(Flag("--dex-fd=", FdOf(core_oj_jar_))), in TEST_F() 288 Contains(Flag("--dex-fd=", FdOf(framework_jar_))), in TEST_F() 289 Not(Contains(Flag("--dex-fd=", FdOf(conscrypt_jar_)))), in TEST_F() 290 Not(Contains(Flag("--dex-fd=", FdOf(framework_wifi_jar_)))), in TEST_F() [all …]
|
/art/libartbase/base/ |
D | flags.h | 158 class Flag : public FlagBase { 162 Flag(const std::string& name, Value default_value, FlagType type); 163 virtual ~Flag(); 259 Flag<int32_t> MyFeatureTestFlag{"my-feature-test.flag", 42, FlagType::kDeviceConfig}; 266 Flag<std::string> MetricsReportingSpec{ 270 Flag<std::string> MetricsReportingSpecSystemServer{ 280 Flag<uint32_t> MetricsReportingMods{"metrics.reporting-mods", 2, FlagType::kDeviceConfig}; 281 Flag<uint32_t> MetricsReportingModsServer{ 289 Flag<uint32_t> MetricsReportingNumMods{"metrics.reporting-num-mods", 100, 291 Flag<uint32_t> MetricsReportingNumModsServer{"metrics.reporting-num-mods-server", 100, [all …]
|
D | flags.cc | 100 Flag<Value>::Flag(const std::string& name, Value default_value, FlagType type) : in Flag() function in art::Flag 111 Flag<Value>::~Flag() { in ~Flag() 116 void Flag<Value>::Reload() { in Reload() 154 void Flag<Value>::Dump(std::ostream& oss) const { in Dump() 175 template class Flag<bool>; variable 176 template class Flag<int>; variable 177 template class Flag<std::string>; variable
|
D | flags_test.cc | 46 flag_.reset(new Flag<int>(flag_name_, /*default_value=*/ 42, flag_type)); in TestFlag() 92 std::unique_ptr<Flag<int>> flag_;
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | EncodedMethod.java | 52 return ((accessFlags & Flag.ACC_STATIC.getValue()) != 0); in isStatic() 56 return ((accessFlags & Flag.ACC_NATIVE.getValue()) != 0); in isNative() 64 accessFlags |= Flag.ACC_STATIC.getValue(); in setStatic() 66 accessFlags &= ~(Flag.ACC_STATIC.getValue()); in setStatic() 70 private static enum Flag { enum in EncodedMethod 87 private Flag(int value) { in Flag() method in EncodedMethod.Flag
|
D | EncodedField.java | 44 return ((accessFlags & Flag.ACC_VOLATILE.getValue()) != 0); in isVolatile() 52 accessFlags |= Flag.ACC_VOLATILE.getValue(); in setVolatile() 54 accessFlags &= ~(Flag.ACC_VOLATILE.getValue()); in setVolatile() 58 private static enum Flag { enum in EncodedField 71 private Flag(int value) { in Flag() method in EncodedField.Flag
|
/art/artd/ |
D | artd_test.cc | 192 MATCHER_P2(Flag, flag, matcher, "") { 204 Flag(flag, ResultOf(std::bind(Split, std::placeholders::_1, ":"), matcher)), 610 Contains(Flag("--zip-fd=", FdOf(dex_file_))), in TEST_F() 611 Contains(Flag("--zip-location=", dex_file_)), in TEST_F() 612 Contains(Flag("--oat-location=", scratch_path_ + "/a/oat/arm64/b.odex")), in TEST_F() 613 Contains(Flag("--instruction-set=", "arm64")), in TEST_F() 614 Contains(Flag("--compiler-filter=", "speed")), in TEST_F() 615 Contains(Flag( in TEST_F() 619 Contains(Flag("--input-vdex-fd=", in TEST_F() 621 Contains(Flag("--dm-fd=", FdOf(scratch_path_ + "/a/b.dm"))))), in TEST_F() [all …]
|
/art/runtime/jit/ |
D | profile_saver_test.cc | 58 Hotness::Flag AnnotateSampleFlags(uint32_t flags) { in AnnotateSampleFlags() 92 Hotness::Flag expected_flag = Is64BitInstructionSet(Runtime::Current()->GetInstructionSet()) in TEST_F() 95 Hotness::Flag actual = AnnotateSampleFlags(Hotness::kFlagHot); in TEST_F() 97 ASSERT_EQ(static_cast<Hotness::Flag>(expected_flag | Hotness::kFlagHot), actual); in TEST_F() 101 Hotness::Flag actual = AnnotateSampleFlags(Hotness::kFlagHot); in TEST_F()
|
D | profiling_info_test.cc | 72 Hotness::Flag flags) { in SaveProfilingInfo() 104 Hotness::Flag flags, in SaveProfilingInfoWithFakeInlineCaches() 188 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagPostStartup))); in TEST_F() 208 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup))); in TEST_F() 247 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F()
|
D | profile_saver.cc | 643 return enum_cast<ProfileCompilationInfo::MethodHotness::Flag>(base_flags | Hotness::kFlagHot); in UpdateProfile() 646 return enum_cast<ProfileCompilationInfo::MethodHotness::Flag>(base_flags); in UpdateProfile() 648 return enum_cast<ProfileCompilationInfo::MethodHotness::Flag>(0u); in UpdateProfile() 699 ProfileCompilationInfo::MethodHotness::Flag flags = get_method_flags(method); in UpdateProfile() 712 ProfileCompilationInfo::MethodHotness::Flag flags = get_method_flags(*method); in UpdateProfile() 1318 Hotness::Flag ProfileSaver::AnnotateSampleFlags(uint32_t flags) { in AnnotateSampleFlags() 1320 return static_cast<Hotness::Flag>(flags | extra_flags); in AnnotateSampleFlags()
|
D | profile_saver.h | 119 ProfileCompilationInfo::MethodHotness::Flag AnnotateSampleFlags(uint32_t flags);
|
/art/libprofile/profile/ |
D | profile_compilation_info.h | 177 enum Flag { enum 227 void AddFlag(Flag flag) { in AddFlag() 235 bool HasFlagSet(MethodHotness::Flag flag) { in HasFlagSet() 326 MethodHotness::Flag flags, 402 void AddMethod(ProfileIndexType profile_index, uint32_t method_index, MethodHotness::Flag flags) { in AddMethod() 413 MethodHotness::Flag flags, 422 MethodHotness::Flag flags, 826 bool AddMethod(MethodHotness::Flag flags, size_t index); 835 void SetMethodHotness(size_t index, MethodHotness::Flag flags); 841 MethodFlagBitmapIndex(MethodHotness::Flag::kFlagStartup, method_index)); in IsStartupMethod() [all …]
|
D | profile_test_helper.h | 49 Hotness::Flag flags, 69 Hotness::Flag flags,
|
D | profile_compilation_info_test.cc | 197 static_cast<Hotness::Flag>(1 << flag_index))); in SizeStressTest() 206 static_cast<Hotness::Flag>(1 << flag_index))); in SizeStressTest() 859 info.AddMethodsForDex(static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F() 1313 AddMethod(&info, dex1, index, static_cast<Hotness::Flag>(1 << index)); in TEST_F() 1320 .HasFlagSet(static_cast<Hotness::Flag>(1 << index))) << index << " " in TEST_F() 1342 AddMethod(&info, dex1, 0, static_cast<Hotness::Flag>(1 << index)); in TEST_F() 1349 .HasFlagSet(static_cast<Hotness::Flag>(1 << index))); in TEST_F() 1372 AddMethod(&info1, dex1, 0, static_cast<Hotness::Flag>(1 << index)); in TEST_F() 1373 AddMethod(&info2, dex1, 1, static_cast<Hotness::Flag>(1 << index)); in TEST_F() 1380 AddMethod(&info2, dex1, 1, static_cast<Hotness::Flag>(1 << index)); in TEST_F() [all …]
|
D | profile_compilation_info.cc | 675 MethodHotness::Flag flags, in AddMethods() 1315 MethodHotness::Flag flags, in AddMethod() 2264 data->AddMethod(static_cast<MethodHotness::Flag>(flags), method_idx); in GenerateTestProfile() 2324 data->AddMethod(static_cast<MethodHotness::Flag>(flags), method_index); in GenerateTestProfile() 2350 bool ProfileCompilationInfo::DexFileData::AddMethod(MethodHotness::Flag flags, size_t index) { in AddMethod() 2367 MethodHotness::Flag flags) { in SetMethodHotness() 2369 ForMethodBitmapHotnessFlags([&](MethodHotness::Flag flag) { in SetMethodHotness() 2372 static_cast<MethodHotness::Flag>(flag), index), /*value=*/ true); in SetMethodHotness() 2381 ForMethodBitmapHotnessFlags([&](MethodHotness::Flag flag) { in GetHotnessInfo() 2383 static_cast<MethodHotness::Flag>(flag), dex_method_index))) { in GetHotnessInfo() [all …]
|
/art/profman/ |
D | boot_image_profile.cc | 234 && ((metadata.GetFlags() & Hotness::Flag::kFlagStartup) != 0)) { in GenerateBootImageProfile() 235 metadata.AddFlag(Hotness::Flag::kFlagHot); in GenerateBootImageProfile()
|
D | profman.cc | 1476 methods, static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), annotation); in ProcessLine() 1601 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in ProcessLine() 1605 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in ProcessLine() 1610 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in ProcessLine() 1616 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in ProcessLine()
|
D | profile_assistant_test.cc | 78 Hotness::Flag flags = in SetupProfile() 79 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagPostStartup); in SetupProfile()
|
/art/dexlayout/ |
D | dexlayout_test.cc | 357 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags)); in CreateProfile()
|
/art/runtime/ |
D | common_runtime_test.cc | 609 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags))); in GenerateProfile()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 1271 info.AddMethodsForDex(static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F()
|