/system/bt/gd/rust/linux/mgmt/src/bin/btmanagerd/ |
D | state_machine.rs | 64 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 …]
|
D | main.rs | 44 |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/ |
D | hci_layer_linux.cc | 101 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()
|
D | hci_inject.cc | 51 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/ |
D | bluetooth_hci.cc | 76 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()
|
D | bluetooth_hci.h | 68 int waitHciDev(int hci_interface);
|
/system/bt/hci/include/ |
D | hci_inject.h | 28 bool (*open)(const hci_t* hci_interface);
|
D | vendor.h | 54 bool (*open)(const uint8_t* local_bdaddr, const hci_t* hci_interface);
|
/system/bt/gd/hal/ |
D | hci_hal_host.cc | 88 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/ |
D | controller.h | 126 const hci_t* hci_interface,
|
/system/bt/stack/btm/ |
D | btm_ble_multi_adv.cc | 168 : 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/ |
D | controller.cc | 846 const hci_t* hci_interface, in controller_get_test_interface() argument 849 local_hci = hci_interface; in controller_get_test_interface()
|