Home
last modified time | relevance | path

Searched refs:config_util (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dbluetooth_manager.rs19 use crate::{config_util, migrate};
96 if !config_util::modify_hci_n_enabled(hci, true) { in start()
121 if !config_util::modify_hci_n_enabled(hci, false) { in stop()
161 config_util::write_floss_enabled(enabled); in set_floss_enabled()
169 if config_util::is_hci_n_enabled(hci) { in set_floss_enabled()
175 if config_util::is_hci_n_enabled(hci) { in set_floss_enabled()
275 let current_status = match config_util::read_floss_ll_privacy_enabled() { in set_ll_privacy()
279 let current_address_status = match config_util::read_floss_address_privacy_enabled() { in set_ll_privacy()
287 if let Err(e) = config_util::write_floss_ll_privacy_enabled(enabled) { in set_ll_privacy()
297 if let Err(e) = config_util::write_floss_address_privacy_enabled(enabled) { in set_ll_privacy()
[all …]
Dmain.rs16 use manager_service::{bluetooth_manager_dbus, config_util, state_machine};
55 .map(|()| log::set_max_level(config_util::get_log_level().unwrap_or(level_filter))); in main()
59 config_util::fix_config_file_format(); in main()
Dlib.rs4 pub mod config_util; module
Dstate_machine.rs2 use crate::config_util;
148 let floss_enabled = config_util::is_floss_enabled(); in create_new_state_machine_context()
149 let desired_adapter = config_util::get_default_adapter(); in create_new_state_machine_context()
313 let files = config_util::list_pid_files(PID_DIR); in configure_pid()
444 if let Some(d) = config_util::get_devpath_for_hci(hci) { in configure_hci()
466 if let Some(d) = config_util::get_devpath_for_hci(hci) { in configure_hci()
486 config_util::get_devpath_for_hci(hci).unwrap_or(String::new()); in configure_hci()
498 if !config_util::check_hci_device_exists(hci) { in configure_hci()
715 a.config_enabled = config_util::is_hci_n_enabled(hci); in mainloop()
1351 if !config_util::reset_hci_device(hci) { in reset_hci()