Searched refs:InitFlags (Results 1 – 13 of 13) sorted by relevance
23 using bluetooth::common::InitFlags;27 InitFlags::Load(input); in TEST()28 ASSERT_TRUE(InitFlags::IsDebugLoggingEnabledForTag("foo")); in TEST()29 ASSERT_TRUE(InitFlags::IsDebugLoggingEnabledForTag("bar")); in TEST()30 ASSERT_TRUE(InitFlags::IsDebugLoggingEnabledForAll()); in TEST()35 InitFlags::Load(input); in TEST()36 ASSERT_TRUE(InitFlags::IsDebugLoggingEnabledForTag("foo")); in TEST()37 ASSERT_TRUE(InitFlags::IsDebugLoggingEnabledForTag("bar")); in TEST()38 ASSERT_TRUE(InitFlags::IsDebugLoggingEnabledForTag("hello")); in TEST()39 ASSERT_FALSE(InitFlags::IsDebugLoggingEnabledForTag("Foo")); in TEST()[all …]
29 bool InitFlags::logging_debug_enabled_for_all = false;30 std::unordered_map<std::string, bool> InitFlags::logging_debug_explicit_tag_settings = {};44 void InitFlags::Load(const char** flags) { in Load()93 void InitFlags::SetAll(bool value) { in SetAll()98 void InitFlags::SetAllForTesting() { in SetAllForTesting()
28 class InitFlags final {
8 struct InitFlags {14 *FLAGS.lock().unwrap() = InitFlags { $($flag: true,)* };17 impl InitFlags { impl104 static ref FLAGS: Mutex<InitFlags> = Mutex::new(InitFlags::default());111 let flags = InitFlags::parse(flags); in load()
25 class InitFlags {
21 flatbuffers::Offset<bluetooth::common::InitFlagsData> bluetooth::dumpsys::InitFlags::Dump( in Dump()
44 if (bluetooth::common::InitFlags::IsDebugLoggingEnabledForTag(LOG_TAG)) { \51 if (bluetooth::common::InitFlags::IsDebugLoggingEnabledForTag(LOG_TAG)) { \
242 if (bluetooth::common::InitFlags::IsDebugLoggingEnabledForAll()) { in load_levels_from_config()
105 bluetooth::common::InitFlags::SetAllForTesting(); in main()
143 auto init_flags_offset = dumpsys::InitFlags::Dump(&builder); in DumpState()
281 bluetooth::common::InitFlags::SetAllForTesting(); in SetUp()
273 bluetooth::common::InitFlags::SetAllForTesting(); in SetUp()
164 bluetooth::common::InitFlags::Load(init_flags); in init()