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.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/device/include/
Dcontroller.h121 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 __anon08ab64bc0111::BleAdvertisingManagerImpl
/system/bt/device/src/
Dcontroller.cc734 const hci_t* hci_interface, in controller_get_test_interface() argument
737 local_hci = hci_interface; in controller_get_test_interface()