Home
last modified time | relevance | path

Searched refs:hci_interface (Results 1 – 12 of 12) sorted by relevance

/system/bt/gd/rust/linux/mgmt/src/bin/btmanagerd/
Dstate_machine.rs64 hci_interface: i32, in start_bluetooth()
66 self.tx.send(StateMachineActions::StartBluetooth(hci_interface)).await in start_bluetooth()
69 …pub async fn stop_bluetooth(&self, hci_interface: i32,) -> Result<(), SendError<StateMachineAction… in stop_bluetooth()
70 self.tx.send(StateMachineActions::StopBluetooth(hci_interface)).await in stop_bluetooth()
199 fn start(&mut self, hci_interface: String); in start()
200 fn stop(&mut self, hci_interface: String); in stop()
214 fn start(&mut self, hci_interface: String) { in start()
223 fn stop(&mut self, hci_interface: String) { in stop()
248 fn start(&mut self, hci_interface: String) { in start()
252 .arg(format!("HCI={}", hci_interface)) in start()
[all …]
Dmain.rs44 |mut ctx, cr, (hci_interface,): (i32,)| { in main()
47 println!("Incoming Start call for hci {}!", hci_interface); in main()
49 let result = proxy.start_bluetooth(hci_interface).await; in main()
59 … b.method_with_cr_async("Stop", ("hci_interface",), (), |mut ctx, cr, (hci_interface,) : (i32,)| { in main()
64 let result = proxy.stop_bluetooth(hci_interface).await; in main()
/system/bt/hci/src/
Dhci_layer_linux.cc101 static int hci_interface; variable
177 hci_interface = strtol(prop_value, NULL, 10); in hci_initialize()
179 hci_interface = strtol(prop_value + 3, NULL, 10); in hci_initialize()
180 if (errno) hci_interface = 0; in hci_initialize()
182 LOG(INFO) << "Using interface hci" << +hci_interface; in hci_initialize()
197 LOG(FATAL) << "HCI interface hci" << +hci_interface << " not found"; in hci_initialize()
203 addr.hci_dev = hci_interface; in hci_initialize()
343 if (ev.opcode == MGMT_EV_INDEX_ADDED && ev.index == hci_interface) { in wait_hcidev()
354 if (cc->index[i] == hci_interface) goto end; in wait_hcidev()
Dhci_inject.cc51 static bool hci_inject_open(const hci_t* hci_interface);
68 static bool hci_inject_open(const hci_t* hci_interface) { in hci_inject_open() argument
76 CHECK(hci_interface != NULL); in hci_inject_open()
78 hci = hci_interface; in hci_inject_open()
/system/bt/vendor_libs/linux/interface/
Dbluetooth_hci.cc76 int hci_interface = 0; in openBtHci() local
87 if (waitHciDev(hci_interface)) { in openBtHci()
88 ALOGE( "HCI interface (%d) not found", hci_interface); in openBtHci()
95 addr.hci_dev = hci_interface; in openBtHci()
115 int BluetoothHci::waitHciDev(int hci_interface) { in waitHciDev() argument
176 if (ev.opcode == MGMT_EV_INDEX_ADDED && ev.index == hci_interface) { in waitHciDev()
187 if (cc->index[i] == hci_interface) goto end; in waitHciDev()
Dbluetooth_hci.h68 int waitHciDev(int hci_interface);
/system/bt/hci/include/
Dhci_inject.h28 bool (*open)(const hci_t* hci_interface);
Dvendor.h54 bool (*open)(const uint8_t* local_bdaddr, const hci_t* hci_interface);
/system/bt/gd/hal/
Dhci_hal_host.cc88 int waitHciDev(int hci_interface) { in waitHciDev() argument
147 if (ev.opcode == MGMT_EV_INDEX_ADDED && ev.index == hci_interface) { in waitHciDev()
159 if (cc->index[i] == hci_interface) { in waitHciDev()
180 int hci_interface = 0; // Assume we only have HCI 0 in ConnectToSocket() local
182 if (waitHciDev(hci_interface) != 0) { in ConnectToSocket()
190 addr.hci_dev = hci_interface; in ConnectToSocket()
/system/bt/device/include/
Dcontroller.h126 const hci_t* hci_interface,
/system/bt/stack/btm/
Dbtm_ble_multi_adv.cc168 : hci_interface(interface), weak_factory_(this) { in BleAdvertisingManagerImpl()
169 hci_interface->ReadInstanceCount( in BleAdvertisingManagerImpl()
213 auto hci_interface = instance_weakptr.get()->GetHciInterface(); in ConfigureRpa() local
217 hci_interface->Enable(false, p_inst->inst_id, 0x00, 0x00, in ConfigureRpa()
222 hci_interface->SetRandomAddress( in ConfigureRpa()
234 hci_interface->Enable(true, p_inst->inst_id, 0x00, 0x00, in ConfigureRpa()
1004 BleAdvertiserHciInterface* GetHciInterface() { return hci_interface; } in GetHciInterface()
1006 BleAdvertiserHciInterface* hci_interface = nullptr; member in __anon57eb6ca30111::BleAdvertisingManagerImpl
/system/bt/device/src/
Dcontroller.cc846 const hci_t* hci_interface, in controller_get_test_interface() argument
849 local_hci = hci_interface; in controller_get_test_interface()