Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/test/common/
Dinit_flags.cc11 bool InitFlags::logging_debug_enabled_for_all = false;
12 bool InitFlags::leaudio_targeted_announcement_reconnection_mode = true;
14 InitFlags::logging_debug_explicit_tag_settings = {};
15 void InitFlags::Load(const char** flags) {} in Load()
16 void InitFlags::SetAll(bool value) { in SetAll()
17 InitFlags::logging_debug_enabled_for_all = value; in SetAll()
19 void InitFlags::SetAllForTesting() { in SetAllForTesting()
20 InitFlags::logging_debug_enabled_for_all = true; in SetAllForTesting()
/packages/modules/Bluetooth/system/gd/common/
Dinit_flags_test.cc23 using bluetooth::common::InitFlags;
27 InitFlags::Load(input); in TEST()
28 ASSERT_TRUE(InitFlags::IsBtmDmFlushDiscoveryQueueOnSearchCancel()); in TEST()
33 InitFlags::Load(input); in TEST()
34 ASSERT_TRUE(InitFlags::IsTargetedAnnouncementReconnectionMode()); in TEST()
39 InitFlags::Load(input); in TEST()
40 ASSERT_TRUE(InitFlags::UseRsiFromCachedInquiryResults()); in TEST()
Dinit_flags.h26 class InitFlags final {
/packages/modules/Bluetooth/system/gd/rust/topshim/btif/
Dbtif_shim.cc31 InitFlags::InitFlags() {} in InitFlags() function in bluetooth::topshim::rust::InitFlags
32 InitFlags::~InitFlags() { in ~InitFlags()
42 void InitFlags::Convert(::rust::Vec<::rust::String>& initFlags) { in Convert()
56 std::unique_ptr<InitFlags> ConvertFlags(::rust::Vec<::rust::String> flags) { in ConvertFlags()
57 auto ret = std::make_unique<InitFlags>(); in ConvertFlags()
Dbtif_shim.h27 class InitFlags {
29 InitFlags();
30 ~InitFlags();
41 std::unique_ptr<InitFlags> ConvertFlags(::rust::Vec<::rust::String> flags);
/packages/modules/Bluetooth/system/gd/rust/common/src/
Dinit_flags.rs197 fn parse_hci_adapter(flags: &mut InitFlags, values: Vec<&str>) { in parse_hci_adapter() argument
204 *FLAGS.lock().unwrap() = InitFlags::get_defaults_for_test(); in set_all_for_testing()
208 name: InitFlags
243 static ref FLAGS: Mutex<InitFlags> = Mutex::new(InitFlags::default());
254 let flags = InitFlags::parse(raw_flags); in load()
/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_utils_test.cc300 bluetooth::common::InitFlags::Load(hfp_test_flags_feature_disabled); in SetUp()
301 bluetooth::common::InitFlags::Load(test_flags_feature_disabled); in SetUp()
492 bluetooth::common::InitFlags::Load(test_flags_feature_enabled); in TEST_F()
505 bluetooth::common::InitFlags::Load(test_flags_feature_enabled); in TEST_F()
519 bluetooth::common::InitFlags::Load(test_flags_feature_enabled); in TEST_F()
541 bluetooth::common::InitFlags::Load(test_flags_feature_enabled); in TEST_F()
565 bluetooth::common::InitFlags::Load(test_flags_feature_enabled); in TEST_F()
581 bluetooth::common::InitFlags::Load(test_flags_feature_enabled); in TEST_F()
596 bluetooth::common::InitFlags::Load(test_flags_feature_enabled); in TEST_F()
626 bluetooth::common::InitFlags::Load(hfp_test_flags_feature_enabled); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/bta/test/
Dbta_av_test.cc45 bluetooth::common::InitFlags::SetAllForTesting(); in SetUp()
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_dumpsys_test.cc47 bluetooth::common::InitFlags::SetAllForTesting(); in SetUp()
/packages/modules/Bluetooth/system/stack/test/btm/
Dstack_btm_sec_test.cc119 bluetooth::common::InitFlags::SetAllForTesting(); in TEST_F()
268 bluetooth::common::InitFlags::SetAllForTesting(); in TEST_F()
Dstack_btm_test.cc147 bluetooth::common::InitFlags::SetAllForTesting(); in TEST_F()
236 bluetooth::common::InitFlags::SetAllForTesting(); in TEST_F()
Dstack_btm_power_mode_test.cc60 bluetooth::common::InitFlags::Load(test_flags); in SetUp()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sco_hfp_hal_linux.cc286 int hci = bluetooth::common::InitFlags::GetAdapterIndex(); in init()
453 int hci = bluetooth::common::InitFlags::GetAdapterIndex(); in notify_sco_connection_change()
/packages/modules/Bluetooth/system/stack/test/a2dp/
Da2dp_vendor_ldac_unittest.cc57 common::InitFlags::SetAllForTesting(); in SetUp()
Da2dp_opus_unittest.cc67 common::InitFlags::SetAllForTesting(); in SetUp()
Da2dp_aac_unittest.cc69 common::InitFlags::SetAllForTesting(); in SetUp()
Da2dp_sbc_unittest.cc70 common::InitFlags::SetAllForTesting(); in SetUp()
/packages/modules/Bluetooth/system/gd/hal/
Dmgmt.cc85 int hci = bluetooth::common::InitFlags::GetAdapterIndex(); in get_vs_opcode()
/packages/modules/Bluetooth/system/gd/facade/
Dfacade_main.cc123 bluetooth::common::InitFlags::SetAllForTesting(); in main()
/packages/modules/Bluetooth/system/gd/hci/
Dhci_layer_unittest.cc64 using common::InitFlags;
88 InitFlags::SetAllForTesting(); in SetUp()
/packages/modules/Bluetooth/system/main/shim/
Dstack.cc60 using ::bluetooth::common::InitFlags;
/packages/modules/Bluetooth/system/stack/test/
Dstack_l2cap_test.cc52 bluetooth::common::InitFlags::SetAllForTesting(); in SetUp()
/packages/modules/Bluetooth/system/gd/metrics/chromeos/
Dmetrics_event.cc660 int adapter_index = bluetooth::common::InitFlags::GetAdapterIndex(); in GetChipsetInfoModuleName()
673 int adapter_index = bluetooth::common::InitFlags::GetAdapterIndex(); in GetChipsetInfoTransport()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs920 type InitFlags; typedef
923 fn ConvertFlags(flags: Vec<String>) -> UniquePtr<InitFlags>; in ConvertFlags() argument
924 fn GetFlagsPtr(self: &InitFlags) -> *mut *const c_char; in GetFlagsPtr()
1221 let converted: cxx::UniquePtr<ffi::InitFlags> = ffi::ConvertFlags(init_flags); in initialize()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_hh_test.cc151 bluetooth::common::InitFlags::SetAllForTesting(); in SetUp()

12