Home
last modified time | relevance | path

Searched defs:bool (Results 1 – 25 of 260) sorted by relevance

1234567891011

/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth_telephony.rs36 ) -> bool { in register_telephony_callback()
41 fn set_network_available(&mut self, network_available: bool) { in set_network_available()
45 fn set_roaming(&mut self, roaming: bool) { in set_roaming()
49 fn set_signal_strength(&mut self, signal_strength: i32) -> bool { in set_signal_strength()
53 fn set_battery_level(&mut self, battery_level: i32) -> bool { in set_battery_level()
57 fn set_phone_ops_enabled(&mut self, enable: bool) { in set_phone_ops_enabled()
61 fn set_mps_qualification_enabled(&mut self, enable: bool) { in set_mps_qualification_enabled()
65 fn incoming_call(&mut self, number: String) -> bool { in incoming_call()
69 fn dialing_call(&mut self, number: String) -> bool { in dialing_call()
73 fn answer_call(&mut self) -> bool { in answer_call()
[all …]
Diface_bluetooth.rs114 fn on_discoverable_changed(&mut self, discoverable: bool) { in on_discoverable_changed()
126 fn on_discovering_changed(&mut self, discovering: bool) { in on_discovering_changed()
143 fn on_pin_request(&mut self, remote_device: BluetoothDevice, cod: u32, min_16_digit: bool) { in on_pin_request()
487 fn unregister_callback(&mut self, id: u32) -> bool { in unregister_callback()
500 fn unregister_connection_callback(&mut self, id: u32) -> bool { in unregister_connection_callback()
505 fn init(&mut self, _init_flags: Vec<String>) -> bool { in init()
510 fn enable(&mut self) -> bool { in enable()
515 fn disable(&mut self) -> bool { in disable()
540 fn set_name(&self, name: String) -> bool { in set_name()
550 fn set_bluetooth_class(&self, cod: u32) -> bool { in set_bluetooth_class()
[all …]
Diface_bluetooth_qa.rs23 fn unregister_qa_callback(&mut self, callback_id: u32) -> bool { in unregister_qa_callback()
27 fn add_media_player(&self, name: String, browsing_supported: bool) { in add_media_player()
43 fn set_connectable(&self, mode: bool) { in set_connectable()
75 fn on_fetch_connectable_completed(&mut self, connectable: bool) { in on_fetch_connectable_completed()
79 fn on_set_connectable_completed(&mut self, succeed: bool) { in on_set_connectable_completed()
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Dffi.rs66 pub extern "C" fn frontend_start(doh: &mut DohFrontend) -> bool { in frontend_start()
72 pub extern "C" fn frontend_stop(doh: &mut DohFrontend) -> bool { in frontend_stop()
105 ) -> bool { in frontend_set_certificate()
123 ) -> bool { in frontend_set_private_key()
135 pub extern "C" fn frontend_set_delay_queries(doh: &mut DohFrontend, count: i32) -> bool { in frontend_set_delay_queries()
141 pub extern "C" fn frontend_set_max_idle_timeout(doh: &mut DohFrontend, value: u64) -> bool { in frontend_set_max_idle_timeout()
151 pub extern "C" fn frontend_set_max_buffer_size(doh: &mut DohFrontend, value: u64) -> bool { in frontend_set_max_buffer_size()
158 pub extern "C" fn frontend_set_max_streams_bidi(doh: &mut DohFrontend, value: u64) -> bool { in frontend_set_max_streams_bidi()
164 pub extern "C" fn frontend_block_sending(doh: &mut DohFrontend, block: bool) -> bool { in frontend_block_sending()
172 pub extern "C" fn frontend_set_reset_stream_id(doh: &mut DohFrontend, stream_id: u64) -> bool { in frontend_set_reset_stream_id()
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dconfig_util.rs45 pub fn write_floss_enabled(enabled: bool) -> bool { in write_floss_enabled()
74 pub fn is_hci_n_enabled(hci: VirtualHciIndex) -> bool { in is_hci_n_enabled()
78 fn is_hci_n_enabled_internal(config: String, hci: VirtualHciIndex) -> Option<bool> { in is_hci_n_enabled_internal()
98 pub fn modify_hci_n_enabled(hci: VirtualHciIndex, enabled: bool) -> bool { in modify_hci_n_enabled()
112 enabled: bool, in modify_hci_n_enabled_internal()
145 pub fn set_default_adapter(hci: VirtualHciIndex) -> bool { in set_default_adapter()
166 pub fn check_hci_device_exists(hci: RealHciIndex) -> bool { in check_hci_device_exists()
193 pub fn reset_hci_device(hci: RealHciIndex) -> bool { in reset_hci_device()
267 pub fn write_coredump_state_to_file(enabled: bool) -> bool { in write_coredump_state_to_file()
287 fn is_hci_n_enabled_internal_wrapper(config: String, n: i32) -> bool { in is_hci_n_enabled_internal_wrapper()
Dbluetooth_manager.rs40 fn is_adapter_enabled(&self, hci_device: VirtualHciIndex) -> bool { in is_adapter_enabled()
44 fn is_adapter_present(&self, hci_device: VirtualHciIndex) -> bool { in is_adapter_present()
48 pub(crate) fn callback_hci_device_change(&mut self, hci: VirtualHciIndex, present: bool) { in callback_hci_device_change()
59 pub(crate) fn callback_hci_enabled_change(&mut self, hci: VirtualHciIndex, enabled: bool) { in callback_hci_enabled_change()
137 fn get_adapter_enabled(&mut self, hci_interface: i32) -> bool { in get_adapter_enabled()
154 fn get_floss_enabled(&mut self) -> bool { in get_floss_enabled()
158 fn set_floss_enabled(&mut self, enabled: bool) { in set_floss_enabled()
213 fn set_tablet_mode(&mut self, tablet_mode: bool) { in set_tablet_mode()
222 fn config_with_le_device_entry(filename: &str) -> bool { in config_with_le_device_entry()
273 fn set_ll_privacy(&mut self, enabled: bool) -> bool { in set_ll_privacy()
[all …]
Dbluetooth_manager_dbus.rs41 fn get_adapter_enabled(&mut self, hci_interface: i32) -> bool { in get_adapter_enabled()
51 fn get_floss_enabled(&mut self) -> bool { in get_floss_enabled()
56 fn set_floss_enabled(&mut self, enabled: bool) { in set_floss_enabled()
81 fn set_tablet_mode(&mut self, tablet_mode: bool) { in set_tablet_mode()
92 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool) {} in on_hci_device_changed()
95 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool) {} in on_hci_enabled_changed()
Diface_bluetooth_manager.rs29 fn get_adapter_enabled(&mut self, hci_interface: i32) -> bool; in get_adapter_enabled()
35 fn get_floss_enabled(&mut self) -> bool; in get_floss_enabled()
38 fn set_floss_enabled(&mut self, enabled: bool); in set_floss_enabled()
57 fn set_tablet_mode(&mut self, tablet_mode: bool); in set_tablet_mode()
63 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool); in on_hci_device_changed()
66 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool); in on_hci_enabled_changed()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_a2dp_codec_config.cc125 bool A2DP_UsesRtpHeader(bool /* content_protection_enabled */, in A2DP_UsesRtpHeader() argument
153 bool A2dpCodecConfig::setCodecUserConfig( in setCodecUserConfig() argument
158 uint8_t* /* p_result_codec_config */, bool* /* p_restart_input */, in setCodecUserConfig() argument
183 uint8_t* /* p_result_codec_config */, bool* /* p_restart_output */, in setCodecAudioConfig() argument
188 bool A2dpCodecs::setCodecConfig(const uint8_t* /* p_peer_codec_info */, in setCodecConfig() argument
198 uint8_t* /* p_result_codec_config */, bool* /* p_restart_input */, in setCodecOtaConfig() argument
207 uint8_t* /* p_result_codec_config */, bool* /* p_restart_input */, in setCodecUserConfig() argument
222 bool A2dpCodecs::setSinkCodecConfig(const uint8_t* /* p_peer_codec_info */, in setSinkCodecConfig() argument
Dmock_bta_pan_ci.cc28 bool* /* p_ext */, bool* /* p_forward */) { in bta_pan_ci_readbuf() argument
38 bool /* ext */) { in bta_pan_ci_rx_write() argument
44 bool /* ext */) { in bta_pan_ci_rx_writebuf() argument
47 void bta_pan_ci_tx_flow(uint16_t /* handle */, bool /* enable */) { in bta_pan_ci_tx_flow() argument
Dmock_main_shim_le_scanning_manager.cc37 void bluetooth::shim::set_ad_type_rsi_filter(bool /* enable */) { in set_ad_type_rsi_filter() argument
41 void bluetooth::shim::set_empty_filter(bool /* enable */) { in set_empty_filter() argument
45 void bluetooth::shim::set_target_announcements_filter(bool /* enable */) { in set_target_announcements_filter() argument
Dmock_stack_acl_ble.cc31 uint16_t /* handle */, bool /* enhanced */, in acl_ble_connection_fail() argument
37 tHCI_ROLE /* role */, bool /* match */, uint16_t /* conn_interval */, in acl_ble_enhanced_connection_complete() argument
50 bool /* can_read_discoverable_characteristics */) { in acl_ble_enhanced_connection_complete_from_shim() argument
Dmock_stack_gatt_attr.cc38 base::OnceCallback<void(const RawAddress&, bool)> /* cb */) { in gatt_profile_get_eatt_support() argument
64 tGATT_VALUE* /* p_value */, bool /* is_long */) { in read_attr_value() argument
69 bool /* enable */, in GATT_ConfigServiceChangeCCC() argument
80 void gatt_sr_update_cl_status(tGATT_TCB& /* tcb */, bool /* chg_aware */) { in gatt_sr_update_cl_status() argument
Dmock_bta_gatts_api.cc41 bool /* eatt_support */) { in BTA_GATTS_AppRegister() argument
46 bool /* is_direct */) { in BTA_GATTS_CancelOpen() argument
61 bool /* need_confirm */) { in BTA_GATTS_HandleValueIndication() argument
66 tBLE_ADDR_TYPE /* addr_type */, bool /* is_direct */, in BTA_GATTS_Open() argument
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_logging.rs16 fn is_debug_enabled(&self) -> bool; in is_debug_enabled()
19 fn set_debug_logging(&mut self, enabled: bool); in set_debug_logging()
49 pub fn new(is_debug: bool, is_verbose_debug: bool, log_output: &str) -> Self { in new()
100 fn is_debug_enabled(&self) -> bool { in is_debug_enabled()
104 fn set_debug_logging(&mut self, enabled: bool) { in set_debug_logging()
Dbluetooth_media.rs104 fn register_callback(&mut self, callback: Box<dyn IBluetoothMediaCallback + Send>) -> bool; in register_callback()
107 fn initialize(&mut self) -> bool; in initialize()
110 fn cleanup(&mut self) -> bool; in cleanup()
145 ) -> bool; in set_audio_config()
154 fn start_audio_request(&mut self) -> bool; in start_audio_request()
158 fn get_a2dp_audio_started(&mut self, address: RawAddress) -> bool; in get_a2dp_audio_started()
170 sco_offload: bool, in start_sco_call()
172 ) -> bool; in start_sco_call()
191 fn host_start_audio_request(&mut self) -> bool; in host_start_audio_request()
193 fn peer_start_audio_request(&mut self) -> bool; in peer_start_audio_request()
[all …]
Dbluetooth.rs87 fn unregister_callback(&mut self, callback_id: u32) -> bool; in unregister_callback()
96 fn unregister_connection_callback(&mut self, callback_id: u32) -> bool; in unregister_connection_callback()
99 fn init(&mut self, init_flags: Vec<String>) -> bool; in init()
104 fn enable(&mut self) -> bool; in enable()
109 fn disable(&mut self) -> bool; in disable()
124 fn set_name(&self, name: String) -> bool; in set_name()
130 fn set_bluetooth_class(&self, cod: u32) -> bool; in set_bluetooth_class()
133 fn get_discoverable(&self) -> bool; in get_discoverable()
139 fn set_discoverable(&mut self, mode: BtDiscMode, duration: u32) -> bool; in set_discoverable()
143 fn is_multi_advertisement_supported(&self) -> bool; in is_multi_advertisement_supported()
[all …]
Dbluetooth_qa.rs14 fn unregister_qa_callback(&mut self, callback_id: u32) -> bool; in unregister_qa_callback()
16 fn add_media_player(&self, name: String, browsing_supported: bool); in add_media_player()
27 fn set_connectable(&self, mode: bool); in set_connectable()
47 fn on_fetch_connectable_completed(&mut self, connectable: bool); in on_fetch_connectable_completed()
48 fn on_set_connectable_completed(&mut self, succeed: bool); in on_set_connectable_completed()
72 pub fn on_fetch_connectable_completed(&mut self, connectable: bool) { in on_fetch_connectable_completed()
77 pub fn on_set_connectable_completed(&mut self, succeed: bool) { in on_set_connectable_completed()
109 fn unregister_qa_callback(&mut self, callback_id: u32) -> bool { in unregister_qa_callback()
112 fn add_media_player(&self, name: String, browsing_supported: bool) { in add_media_player()
136 fn set_connectable(&self, mode: bool) { in set_connectable()
/packages/modules/Bluetooth/system/blueberry/utils/ui_pages/
Dui_core.py66 do_go_home: bool = True,
67 safe_get: bool = False) -> None:
556 self, from_all: bool = False) -> Iterable[ui_node.UINode]:
565 from_all: bool = False) -> OptUINode:
585 func: Callable[[ui_node.UINode], bool], argument
586 from_all: bool = False) -> OptUINode:
603 def get_node_by_text(self, text: str, from_all: bool = False) -> OptUINode:
623 from_all: bool = False) -> NodeGenerator:
632 from_all: bool = False) -> List[ui_node.UINode]:
648 from_all: bool = False) -> Optional[ui_node.UINode]:
[all …]
/packages/services/Car/service/proto/android/car/watchdog/
Dcarwatchdog_daemon_dump.proto48 optional bool is_enabled = 1; field
49 optional bool is_monitor_registered = 2; field
50 optional bool is_system_shut_down_in_progress = 3; field
68 optional bool is_enabled = 1; field
71 optional bool is_client_registered = 4; field
/packages/modules/Virtualization/libs/devicemapper/src/
Dloopdevice.rs67 direct_io: bool, in attach()
68 writable: bool, in attach()
105 direct_io: bool, in try_attach()
106 writable: bool, in try_attach()
170 fn is_direct_io(dev: &Path) -> bool { in is_direct_io()
176 fn is_direct_io_writable(dev: &Path) -> bool { in is_direct_io_writable()
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Ddbus_iface.rs620 fn on_discoverable_changed(&mut self, discoverable: bool) {} in on_discoverable_changed()
629 fn on_discovering_changed(&mut self, discovering: bool) {} in on_discovering_changed()
642 fn on_pin_request(&mut self, remote_device: BluetoothDevice, cod: u32, min_16_digit: bool) {} in on_pin_request()
753 fn unregister_callback(&mut self, id: u32) -> bool { in unregister_callback()
766 fn unregister_connection_callback(&mut self, id: u32) -> bool { in unregister_connection_callback()
770 fn init(&mut self, _init_flags: Vec<String>) -> bool { in init()
775 fn enable(&mut self) -> bool { in enable()
780 fn disable(&mut self) -> bool { in disable()
805 fn set_name(&self, name: String) -> bool { in set_name()
815 fn set_bluetooth_class(&self, cod: u32) -> bool { in set_bluetooth_class()
[all …]
/packages/modules/Bluetooth/tools/rootcanal/rust/src/
Dffi.rs110 ) -> bool {
128 ) -> bool {
160 ) -> bool { in link_manager_ingest_hci()
189 ) -> bool {
238 ) -> bool {
255 pub unsafe extern "C" fn link_layer_remove_link(ll: *const LinkLayer, handle: u16) -> bool { in link_layer_remove_link()
289 ) -> bool { in link_layer_ingest_hci()
318 ) -> bool { in link_layer_ingest_llcp()
347 ) -> bool { in link_layer_get_cis_connection_handle()
376 ) -> bool { in link_layer_get_cis_information()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dcsis.rs49 fn lock_group(self: Pin<&mut CsisClientIntf>, group_id: i32, lock: bool); in lock_group()
66 locked: bool, in csis_group_lock_changed_callback()
116 fn is_enabled(&self) -> bool { in is_enabled()
120 fn enable(&mut self) -> bool { in enable()
132 fn disable(&mut self) -> bool { in disable()
154 pub fn is_initialized(&self) -> bool { in is_initialized()
159 pub fn initialize(&mut self, callbacks: CsisClientCallbacksDispatcher) -> bool { in initialize()
190 pub fn lock_group(&mut self, group_id: i32, lock: bool) { in lock_group()
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/procedure/
Dfeatures.rs51 async fn supported_on_both_page(ctx: &impl Context, page_number: u8, feature_mask: u64) -> bool { in supported_on_both_page()
68 ) -> bool { in supported_on_both_page1()
75 ) -> bool { in supported_on_both_page2()

1234567891011