Home
last modified time | relevance | path

Searched refs:Flag (Results 1 – 21 of 21) sorted by relevance

/art/odrefresh/
Dodrefresh_test.cc91 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/
Dflags.h158 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 …]
Dflags.cc100 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
Dflags_test.cc46 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/
DEncodedMethod.java52 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
DEncodedField.java44 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/
Dartd_test.cc192 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/
Dprofile_saver_test.cc58 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()
Dprofiling_info_test.cc72 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()
Dprofile_saver.cc643 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()
Dprofile_saver.h119 ProfileCompilationInfo::MethodHotness::Flag AnnotateSampleFlags(uint32_t flags);
/art/libprofile/profile/
Dprofile_compilation_info.h177 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 …]
Dprofile_test_helper.h49 Hotness::Flag flags,
69 Hotness::Flag flags,
Dprofile_compilation_info_test.cc197 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 …]
Dprofile_compilation_info.cc675 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/
Dboot_image_profile.cc234 && ((metadata.GetFlags() & Hotness::Flag::kFlagStartup) != 0)) { in GenerateBootImageProfile()
235 metadata.AddFlag(Hotness::Flag::kFlagHot); in GenerateBootImageProfile()
Dprofman.cc1476 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()
Dprofile_assistant_test.cc78 Hotness::Flag flags = in SetupProfile()
79 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagPostStartup); in SetupProfile()
/art/dexlayout/
Ddexlayout_test.cc357 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags)); in CreateProfile()
/art/runtime/
Dcommon_runtime_test.cc609 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags))); in GenerateProfile()
/art/dex2oat/
Ddex2oat_test.cc1271 info.AddMethodsForDex(static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F()