Home
last modified time | relevance | path

Searched refs:DEFAULT_ADAPTER (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dstate_machine.rs1781 const DEFAULT_ADAPTER: VirtualHciIndex = VirtualHciIndex(0); constant
1786 StateMachineInternal::new(Box::new(process_manager), true, DEFAULT_ADAPTER); in make_state_machine()
1795 assert_eq!(state_machine.get_process_state(DEFAULT_ADAPTER), ProcessState::Off); in initial_state_is_off()
1804 state_machine.action_stop_bluetooth(DEFAULT_ADAPTER); in off_turnoff_should_noop()
1805 assert_eq!(state_machine.get_process_state(DEFAULT_ADAPTER), ProcessState::Off); in off_turnoff_should_noop()
1816 state_machine.action_on_hci_presence_changed(DEFAULT_ADAPTER, true); in off_turnon_should_turningon()
1817 state_machine.set_config_enabled(DEFAULT_ADAPTER, true); in off_turnon_should_turningon()
1818 state_machine.action_start_bluetooth(DEFAULT_ADAPTER); in off_turnon_should_turningon()
1819 assert_eq!(state_machine.get_process_state(DEFAULT_ADAPTER), ProcessState::TurningOn); in off_turnon_should_turningon()
1831 state_machine.action_on_hci_presence_changed(DEFAULT_ADAPTER, true); in turningon_turnon_again_resends_start()
[all …]
Dconfig_util.rs30 const DEFAULT_ADAPTER: VirtualHciIndex = VirtualHciIndex(0); constant
142 .unwrap_or(DEFAULT_ADAPTER) in get_default_adapter()
/packages/modules/Bluetooth/floss/pandora/server/
Dbluetooth.py41 DEFAULT_ADAPTER = 0 variable in Bluetooth
67 self.adapter_client = adapter_client.FlossAdapterClient(self.bus, self.DEFAULT_ADAPTER)
68 …self.advertising_client = advertising_client.FlossAdvertisingClient(self.bus, self.DEFAULT_ADAPTER)
69 self.scanner_client = scanner_client.FlossScannerClient(self.bus, self.DEFAULT_ADAPTER)
70 self.qa_client = qa_client.FlossQAClient(self.bus, self.DEFAULT_ADAPTER)
71 self.media_client = media_client.FlossMediaClient(self.bus, self.DEFAULT_ADAPTER)
72 self.gatt_client = gatt_client.FlossGattClient(self.bus, self.DEFAULT_ADAPTER)
73 self.gatt_server = gatt_server.FlossGattServer(self.bus, self.DEFAULT_ADAPTER)
74 … self.socket_manager = socket_manager.FlossSocketManagerClient(self.bus, self.DEFAULT_ADAPTER)
75 … self.telephony_client = telephony_client.FlossTelephonyClient(self.bus, self.DEFAULT_ADAPTER)