Home
last modified time | relevance | path

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

/art/odrefresh/
Dodrefresh_test.cc89 MATCHER_P2(Flag, flag, matcher, "") {
101 Flag(flag, ResultOf(std::bind(Split, std::placeholders::_1, ":"), matcher)),
284 Contains(Flag("--dex-file=", core_oj_jar_)), in TEST_F()
285 Contains(Flag("--dex-file=", framework_jar_)), in TEST_F()
286 Not(Contains(Flag("--dex-file=", conscrypt_jar_))), in TEST_F()
287 Not(Contains(Flag("--dex-file=", framework_wifi_jar_))), in TEST_F()
288 Contains(Flag("--dex-fd=", FdOf(core_oj_jar_))), in TEST_F()
289 Contains(Flag("--dex-fd=", FdOf(framework_jar_))), in TEST_F()
290 Not(Contains(Flag("--dex-fd=", FdOf(conscrypt_jar_)))), in TEST_F()
291 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/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.cc74 Hotness::Flag flags) { in SaveProfilingInfo()
106 Hotness::Flag flags, in SaveProfilingInfoWithFakeInlineCaches()
193 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagPostStartup))); in TEST_F()
213 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup))); in TEST_F()
252 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F()
Dprofile_saver.cc606 return enum_cast<ProfileCompilationInfo::MethodHotness::Flag>(base_flags | Hotness::kFlagHot); in UpdateProfile()
609 return enum_cast<ProfileCompilationInfo::MethodHotness::Flag>(base_flags); in UpdateProfile()
611 return enum_cast<ProfileCompilationInfo::MethodHotness::Flag>(0u); in UpdateProfile()
662 ProfileCompilationInfo::MethodHotness::Flag flags = get_method_flags(method); in UpdateProfile()
675 ProfileCompilationInfo::MethodHotness::Flag flags = get_method_flags(*method); in UpdateProfile()
1279 Hotness::Flag ProfileSaver::AnnotateSampleFlags(uint32_t flags) { in AnnotateSampleFlags()
1281 return static_cast<Hotness::Flag>(flags | extra_flags); in AnnotateSampleFlags()
Dprofile_saver.h119 ProfileCompilationInfo::MethodHotness::Flag AnnotateSampleFlags(uint32_t flags);
/art/artd/
Dartd_test.cc206 MATCHER_P2(Flag, flag, matcher, "") {
218 Flag(flag, ResultOf(std::bind(Split, std::placeholders::_1, ":"), matcher)),
691 Contains(Flag("--zip-fd=", FdOf(dex_file_))), in TEST_F()
692 Contains(Flag("--zip-location=", dex_file_)), in TEST_F()
693 Contains(Flag("--oat-location=", scratch_path_ + "/a/oat/arm64/b.odex")), in TEST_F()
694 Contains(Flag("--instruction-set=", "arm64")), in TEST_F()
695 Contains(Flag("--compiler-filter=", "speed")), in TEST_F()
696 Contains(Flag( in TEST_F()
700 Contains(Flag("--input-vdex-fd=", in TEST_F()
702 Contains(Flag("--dm-fd=", FdOf(scratch_path_ + "/a/b.dm"))))), in TEST_F()
[all …]
/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()
328 MethodHotness::Flag flags,
395 void AddMethod(ProfileIndexType profile_index, uint32_t method_index, MethodHotness::Flag flags) { in AddMethod()
406 MethodHotness::Flag flags,
416 MethodHotness::Flag flags,
820 bool AddMethod(MethodHotness::Flag flags, size_t index);
829 void SetMethodHotness(size_t index, MethodHotness::Flag flags);
835 MethodFlagBitmapIndex(MethodHotness::Flag::kFlagStartup, method_index)); in IsStartupMethod()
[all …]
Dprofile_test_helper.h49 Hotness::Flag flags,
71 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()
1335 AddMethod(&info, dex1, index, static_cast<Hotness::Flag>(1 << index)); in TEST_F()
1342 .HasFlagSet(static_cast<Hotness::Flag>(1 << index))) << index << " " in TEST_F()
1364 AddMethod(&info, dex1, 0, static_cast<Hotness::Flag>(1 << index)); in TEST_F()
1371 .HasFlagSet(static_cast<Hotness::Flag>(1 << index))); in TEST_F()
1394 AddMethod(&info1, dex1, 0, static_cast<Hotness::Flag>(1 << index)); in TEST_F()
1395 AddMethod(&info2, dex1, 1, static_cast<Hotness::Flag>(1 << index)); in TEST_F()
1402 AddMethod(&info2, dex1, 1, static_cast<Hotness::Flag>(1 << index)); in TEST_F()
[all …]
Dprofile_compilation_info.cc679 MethodHotness::Flag flags, in AddMethods()
1319 MethodHotness::Flag flags, 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()
2402 MethodHotness::Flag flags) { in SetMethodHotness()
2404 ForMethodBitmapHotnessFlags([&](MethodHotness::Flag flag) { in SetMethodHotness()
2407 static_cast<MethodHotness::Flag>(flag), index), /*value=*/ true); in SetMethodHotness()
2416 ForMethodBitmapHotnessFlags([&](MethodHotness::Flag flag) { in GetHotnessInfo()
2418 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.cc1502 methods, static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), annotation); in ProcessLine()
1626 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in ProcessLine()
1630 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in ProcessLine()
1635 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in ProcessLine()
1641 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/runtime/
Dcommon_runtime_test.cc591 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags))); in GenerateProfile()