Home
last modified time | relevance | path

Searched refs:InitFlags (Results 1 – 13 of 13) sorted by relevance

/system/bt/gd/common/
Dinit_flags_test.cc23 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 …]
Dinit_flags.cc29 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()
Dinit_flags.h28 class InitFlags final {
/system/bt/gd/rust/common/src/
Dinit_flags.rs8 struct InitFlags {
14 *FLAGS.lock().unwrap() = InitFlags { $($flag: true,)* };
17 impl InitFlags { impl
104 static ref FLAGS: Mutex<InitFlags> = Mutex::new(InitFlags::default());
111 let flags = InitFlags::parse(flags); in load()
/system/bt/gd/dumpsys/
Dinit_flags.h25 class InitFlags {
Dinit_flags.cc21 flatbuffers::Offset<bluetooth::common::InitFlagsData> bluetooth::dumpsys::InitFlags::Dump( in Dump()
/system/bt/gd/os/
Dlog.h44 if (bluetooth::common::InitFlags::IsDebugLoggingEnabledForTag(LOG_TAG)) { \
51 if (bluetooth::common::InitFlags::IsDebugLoggingEnabledForTag(LOG_TAG)) { \
/system/bt/main/
Dbte_logmsg.cc242 if (bluetooth::common::InitFlags::IsDebugLoggingEnabledForAll()) { in load_levels_from_config()
/system/bt/gd/facade/
Dfacade_main.cc105 bluetooth::common::InitFlags::SetAllForTesting(); in main()
/system/bt/gd/
Dmodule.cc143 auto init_flags_offset = dumpsys::InitFlags::Dump(&builder); in DumpState()
/system/bt/gd/hci/
Dle_address_manager_test.cc281 bluetooth::common::InitFlags::SetAllForTesting(); in SetUp()
Dcontroller_test.cc273 bluetooth::common::InitFlags::SetAllForTesting(); in SetUp()
/system/bt/btif/src/
Dbluetooth.cc164 bluetooth::common::InitFlags::Load(init_flags); in init()