Home
last modified time | relevance | path

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

/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.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/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.h59 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/device/include/
Dcontroller.h95 const hci_t* hci_interface,
/system/bt/stack/btm/
Dbtm_ble_multi_adv.cc167 : hci_interface(interface), weak_factory_(this) { in BleAdvertisingManagerImpl()
168 hci_interface->ReadInstanceCount( in BleAdvertisingManagerImpl()
212 auto hci_interface = instance_weakptr.get()->GetHciInterface(); in ConfigureRpa() local
216 hci_interface->Enable(false, p_inst->inst_id, 0x00, 0x00, in ConfigureRpa()
221 hci_interface->SetRandomAddress( in ConfigureRpa()
233 hci_interface->Enable(true, p_inst->inst_id, 0x00, 0x00, in ConfigureRpa()
998 BleAdvertiserHciInterface* GetHciInterface() { return hci_interface; } in GetHciInterface()
1000 BleAdvertiserHciInterface* hci_interface = nullptr; member in __anonbc2499050111::BleAdvertisingManagerImpl
/system/bt/device/src/
Dcontroller.cc599 const hci_t* hci_interface, in controller_get_test_interface() argument
602 hci = hci_interface; in controller_get_test_interface()