Home
last modified time | relevance | path

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

12345678910>>...13

/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.rs111 fn on_discoverable_changed(&mut self, discoverable: bool) { in on_discoverable_changed()
127 fn on_discovering_changed(&mut self, discovering: bool) { in on_discovering_changed()
144 fn on_pin_request(&mut self, remote_device: BluetoothDevice, cod: u32, min_16_digit: bool) { in on_pin_request()
496 fn unregister_callback(&mut self, id: u32) -> bool { in unregister_callback()
509 fn unregister_connection_callback(&mut self, id: u32) -> bool { in unregister_connection_callback()
514 fn init(&mut self, _hci_index: i32) -> bool { in init()
519 fn enable(&mut self) -> bool { in enable()
524 fn disable(&mut self) -> bool { in disable()
549 fn set_name(&self, name: String) -> bool { in set_name()
559 fn set_bluetooth_class(&self, cod: u32) -> bool { in set_bluetooth_class()
[all …]
/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/Uwb/ranging/tests/multidevices/lib/
Dutils.py48 def request_hw_idle_vote(ad: android_device.AndroidDevice, enabled : bool):
55 state: bool,
90 def set_airplane_mode(ad: android_device.AndroidDevice, state: bool):
119 state: bool
134 state: bool
175 state: bool
193 ad: android_device.AndroidDevice, isLandscape: bool
212 ad: android_device.AndroidDevice, isForeground: bool
230 ad: android_device.AndroidDevice, on: bool
Dsession.py47 def start_and_assert_opened(self, start_responders: bool = True, check_responders: bool = True):
65 …rt_received_data(self, technologies: Set[RangingTechnology] = None, check_responders: bool = True):
73 def stop_and_assert_closed(self, stop_responders: bool = True, check_responders: bool = True):
89 def _assert_received_data_using_any_technologies(self, check_responders: bool = True):
100 self, technologies: Set[RangingTechnology] = None, check_responders: bool = True
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_a2dp_codec_config.cc109 bool A2DP_UsesRtpHeader(bool /* content_protection_enabled */, const uint8_t* /* p_codec_info */) { in A2DP_UsesRtpHeader() argument
133 const uint8_t* /* p_peer_codec_info */, bool /* is_capability */, in setCodecUserConfig() argument
134 uint8_t* /* p_result_codec_config */, bool* /* p_restart_input */, in setCodecUserConfig() argument
158 bool* /* p_restart_output */, bool* /* p_config_updated */) { in setCodecAudioConfig() argument
162 bool A2dpCodecs::setCodecConfig(const uint8_t* /* p_peer_codec_info */, bool /* is_capability */, in setCodecConfig() argument
171 uint8_t* /* p_result_codec_config */, bool* /* p_restart_input */, in setCodecOtaConfig() argument
180 bool* /* p_restart_input */, bool* /* p_restart_output */, in setCodecUserConfig() argument
193 bool A2dpCodecs::setSinkCodecConfig(const uint8_t* /* p_peer_codec_info */, in setSinkCodecConfig() argument
Dmock_main_shim_le_scanning_manager.cc37 void bluetooth::shim::set_ad_type_rsi_filter(bool /* enable */) { inc_func_call_count(__func__); } in set_ad_type_rsi_filter() argument
39 void bluetooth::shim::set_empty_filter(bool /* enable */) { inc_func_call_count(__func__); } in set_empty_filter() argument
41 void bluetooth::shim::set_target_announcements_filter(bool /* enable */) { in set_target_announcements_filter() argument
Dmock_bta_rfc_metrics.cc24 bool /* is_server */, uint64_t /* sdp_duration */) { in bta_collect_rfc_metrics_after_sdp_fail() argument
29 bool /* sdp_initiated */, in bta_collect_rfc_metrics_after_port_fail() argument
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
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()
Dconfig_util.rs43 pub fn write_floss_enabled(enabled: bool) -> bool { in write_floss_enabled()
72 pub fn is_hci_n_enabled(hci: VirtualHciIndex) -> bool { in is_hci_n_enabled()
76 fn is_hci_n_enabled_internal(config: String, hci: VirtualHciIndex) -> Option<bool> { in is_hci_n_enabled_internal()
96 pub fn modify_hci_n_enabled(hci: VirtualHciIndex, enabled: bool) -> bool { in modify_hci_n_enabled()
110 enabled: bool, in modify_hci_n_enabled_internal()
143 pub fn set_default_adapter(hci: VirtualHciIndex) -> bool { in set_default_adapter()
164 pub fn check_hci_device_exists(hci: RealHciIndex) -> bool { in check_hci_device_exists()
191 pub fn reset_hci_device(hci: RealHciIndex) -> bool { in reset_hci_device()
259 fn is_hci_n_enabled_internal_wrapper(config: String, n: i32) -> bool { in is_hci_n_enabled_internal_wrapper()
Dbluetooth_manager_dbus.rs42 fn get_adapter_enabled(&mut self, hci_interface: i32) -> bool { in get_adapter_enabled()
52 fn get_floss_enabled(&mut self) -> bool { in get_floss_enabled()
57 fn set_floss_enabled(&mut self, enabled: bool) { in set_floss_enabled()
82 fn set_tablet_mode(&mut self, tablet_mode: bool) { in set_tablet_mode()
94 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool) {} in on_hci_device_changed()
97 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/gd/rust/linux/stack/src/
Dbluetooth_media.rs116 fn register_callback(&mut self, callback: Box<dyn IBluetoothMediaCallback + Send>) -> bool; in register_callback()
119 fn initialize(&mut self) -> bool; in initialize()
122 fn is_initialized(&self) -> bool; in is_initialized()
125 fn cleanup(&mut self) -> bool; in cleanup()
160 ) -> bool; in set_audio_config()
169 fn start_audio_request(&mut self, connection_listener: File) -> bool; in start_audio_request()
173 fn get_a2dp_audio_started(&mut self, address: RawAddress) -> bool; in get_a2dp_audio_started()
185 sco_offload: bool, in start_sco_call()
188 ) -> bool; in start_sco_call()
207 fn host_start_audio_request(&mut self) -> bool; in host_start_audio_request()
[all …]
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()
51 pub fn new(is_debug: bool, is_verbose_debug: bool, log_output: &str) -> Self { in new()
88 fn should_enable_debug_mode(&self) -> bool { in should_enable_debug_mode()
122 fn is_debug_enabled(&self) -> bool { in is_debug_enabled()
126 fn set_debug_logging(&mut self, enabled: bool) { in set_debug_logging()
Dbluetooth.rs83 fn unregister_callback(&mut self, callback_id: u32) -> bool; in unregister_callback()
92 fn unregister_connection_callback(&mut self, callback_id: u32) -> bool; in unregister_connection_callback()
95 fn init(&mut self, hci_index: i32) -> bool; in init()
100 fn enable(&mut self) -> bool; in enable()
105 fn disable(&mut self) -> bool; in disable()
120 fn set_name(&self, name: String) -> bool; in set_name()
126 fn set_bluetooth_class(&self, cod: u32) -> bool; in set_bluetooth_class()
129 fn get_discoverable(&self) -> bool; in get_discoverable()
135 fn set_discoverable(&mut self, mode: BtDiscMode, duration: u32) -> bool; in set_discoverable()
139 fn is_multi_advertisement_supported(&self) -> bool; in is_multi_advertisement_supported()
[all …]
/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/modules/Virtualization/libs/libvmbase/src/
Dutil.rs71 fn is_within(&self, other: &Self) -> bool; in is_within()
74 fn overlaps(&self, other: &Self) -> bool; in overlaps()
78 fn is_within(&self, other: &Self) -> bool { in is_within()
82 fn overlaps(&self, other: &Self) -> bool { in overlaps()
88 fn is_within(&self, other: &Self) -> bool { in is_within()
92 fn overlaps(&self, other: &Self) -> bool { in overlaps()
/packages/services/Car/service/proto/android/car/watchdog/
Dcarwatchdog_daemon_dump.proto53 optional bool is_enabled = 1; field
54 optional bool is_monitor_registered = 2; field
55 optional bool is_system_shut_down_in_progress = 3; field
73 optional bool is_enabled = 1; field
76 optional bool is_client_registered = 4; field
/packages/modules/Virtualization/guest/microdroid_manager/src/
Dvm_payload_service.rs75 test_mode: bool, in requestAttestation()
121 fn isNewInstance(&self) -> binder::Result<bool> { in isNewInstance()
131 allow_restricted_apis: bool, in new()
134 is_new_instance: bool, in new()
152 allow_restricted_apis: bool, in register_vm_payload_service()
156 is_new_instance: bool, in register_vm_payload_service()
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/aware/integration/
Dwifi_aware_capabilities_test.py123 is_publish: bool,
128 term_ind_on: bool,
129 null_match: bool,
190 term_ind_on: bool,
191 null_match: bool,
210 term_ind_on: bool,
211 null_match: bool,
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Ddbus_iface.rs622 fn on_discoverable_changed(&mut self, discoverable: bool) {} in on_discoverable_changed()
634 fn on_discovering_changed(&mut self, discovering: bool) {} in on_discovering_changed()
647 fn on_pin_request(&mut self, remote_device: BluetoothDevice, cod: u32, min_16_digit: bool) {} in on_pin_request()
764 fn unregister_callback(&mut self, id: u32) -> bool { in unregister_callback()
777 fn unregister_connection_callback(&mut self, id: u32) -> bool { in unregister_connection_callback()
781 fn init(&mut self, _hci_index: i32) -> bool { in init()
786 fn enable(&mut self) -> bool { in enable()
791 fn disable(&mut self) -> bool { in disable()
816 fn set_name(&self, name: String) -> bool { in set_name()
826 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.rs50 fn lock_group(self: Pin<&mut CsisClientIntf>, group_id: i32, lock: bool); in lock_group()
67 locked: bool, in csis_group_lock_changed_callback()
123 fn is_enabled(&self) -> bool { in is_enabled()
127 fn enable(&mut self) -> bool { in enable()
139 fn disable(&mut self) -> bool { in disable()
162 pub fn is_initialized(&self) -> bool { in is_initialized()
168 pub fn initialize(&mut self, callbacks: CsisClientCallbacksDispatcher) -> bool { in initialize()
203 pub fn lock_group(&mut self, group_id: i32, lock: bool) { in lock_group()
/packages/modules/Virtualization/guest/pvmfw/src/
Drollback.rs45 ) -> Result<(bool, Hidden, bool), RebootReason> { in perform_rollback_protection() argument
104 ) -> Result<(bool, Hidden, bool), RebootReason> { in perform_legacy_rollback_protection() argument
163 fn should_defer_rollback_protection(fdt: &Fdt) -> Result<bool, RebootReason> { in should_defer_rollback_protection()
/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()

12345678910>>...13