Home
last modified time | relevance | path

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

/system/bt/vendor_libs/linux/
Dbt_vendor_linux.cc85 static int hci_interface; variable
108 hci_interface = strtol(prop_value, NULL, 10); in bt_vendor_init()
110 hci_interface = strtol(prop_value + 3, NULL, 10); in bt_vendor_init()
111 if (errno) hci_interface = 0; in bt_vendor_init()
113 LOG_INFO(LOG_TAG, "Using interface hci%d", hci_interface); in bt_vendor_init()
208 if (ev.opcode == MGMT_EV_INDEX_ADDED && ev.index == hci_interface) { in bt_vendor_wait_hcidev()
219 if (cc->index[i] == hci_interface) goto end; in bt_vendor_wait_hcidev()
311 addr.hci_dev = hci_interface; in bt_vendor_fw_cfg()
315 LOG_ERROR(LOG_TAG, "HCI interface (%d) not found", hci_interface); in bt_vendor_fw_cfg()
/system/bt/hci/src/
Dhci_layer_linux.cc100 static int hci_interface; variable
176 hci_interface = strtol(prop_value, NULL, 10); in hci_initialize()
178 hci_interface = strtol(prop_value + 3, NULL, 10); in hci_initialize()
179 if (errno) hci_interface = 0; in hci_initialize()
181 LOG(INFO) << "Using interface hci" << +hci_interface; in hci_initialize()
196 LOG(FATAL) << "HCI interface hci" << +hci_interface << " not found"; in hci_initialize()
202 addr.hci_dev = hci_interface; in hci_initialize()
342 if (ev.opcode == MGMT_EV_INDEX_ADDED && ev.index == hci_interface) { in wait_hcidev()
353 if (cc->index[i] == hci_interface) goto end; in wait_hcidev()
Dhci_inject.cc50 static bool hci_inject_open(const hci_t* hci_interface);
67 static bool hci_inject_open(const hci_t* hci_interface) { in hci_inject_open() argument
75 CHECK(hci_interface != NULL); in hci_inject_open()
77 hci = hci_interface; in hci_inject_open()
/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/device/include/
Dcontroller.h94 const hci_t* hci_interface,
/system/bt/stack/btm/
Dbtm_ble_multi_adv.cc153 this->hci_interface = interface; in BleAdvertisingManagerImpl()
154 hci_interface->ReadInstanceCount( in BleAdvertisingManagerImpl()
229 auto hci_interface = in ConfigureRpa() local
235 hci_interface->Enable(false, p_inst->inst_id, 0x00, 0x00, in ConfigureRpa()
240 hci_interface->SetRandomAddress( in ConfigureRpa()
252 hci_interface->Enable(true, p_inst->inst_id, 0x00, 0x00, in ConfigureRpa()
827 BleAdvertiserHciInterface* GetHciInterface() { return hci_interface; } in GetHciInterface()
829 BleAdvertiserHciInterface* hci_interface = nullptr; member in __anon08ab64bc0111::BleAdvertisingManagerImpl
/system/bt/device/src/
Dcontroller.cc562 const hci_t* hci_interface, in controller_get_test_interface() argument
565 hci = hci_interface; in controller_get_test_interface()