Home
last modified time | relevance | path

Searched refs:gatt_if (Results 1 – 25 of 43) sorted by relevance

12

/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gatts_act.cc47 static void bta_gatts_conn_cback(tGATT_IF gatt_if, const RawAddress& bda, tCONN_ID conn_id,
53 static void bta_gatts_phy_update_cback(tGATT_IF gatt_if, tCONN_ID conn_id, uint8_t tx_phy,
55 static void bta_gatts_conn_update_cback(tGATT_IF gatt_if, tCONN_ID conn_id, uint16_t interval,
57 static void bta_gatts_subrate_chg_cback(tGATT_IF gatt_if, tCONN_ID conn_id, uint16_t subrate_factor,
145 GATT_Deregister(p_cb->rcb[i].gatt_if); in bta_gatts_api_disable()
198 cb_data.reg_oper.server_if = p_cb->rcb[first_unuse].gatt_if = GATT_Register( in bta_gatts_register()
200 if (!p_cb->rcb[first_unuse].gatt_if) { in bta_gatts_register()
206 p_buf->server_if = p_cb->rcb[first_unuse].gatt_if; in bta_gatts_register()
255 if (p_cb->rcb[i].in_use && p_cb->rcb[i].gatt_if == p_msg->api_dereg.server_if) { in bta_gatts_deregister()
260 GATT_Deregister(p_cb->rcb[i].gatt_if); in bta_gatts_deregister()
[all …]
Dbta_gattc_act.cc63 static void bta_gattc_phy_update_cback(tGATT_IF gatt_if, tCONN_ID conn_id, uint8_t tx_phy,
65 static void bta_gattc_conn_update_cback(tGATT_IF gatt_if, tCONN_ID conn_id, uint16_t interval,
67 static void bta_gattc_subrate_chg_cback(tGATT_IF gatt_if, tCONN_ID conn_id, uint16_t subrate_factor,
141 for (auto& [gatt_if, p_rcb] : bta_gattc_cb.cl_rcb_map) { in bta_gattc_disable()
142 gatt_ifs.push_back(gatt_if); in bta_gattc_disable()
144 for (auto& gatt_if : gatt_ifs) { in bta_gattc_disable() local
145 bta_gattc_deregister(bta_gattc_cb.cl_rcb_map[gatt_if].get()); in bta_gattc_disable()
493 tGATT_IF gatt_if; in bta_gattc_conn() local
500 if (!GATT_GetConnectionInfor(p_clcb->bta_conn_id, &gatt_if, p_clcb->bda, &p_clcb->transport)) { in bta_gattc_conn()
1537 tGATT_IF gatt_if; in bta_gattc_process_indicate() local
[all …]
Dbta_gatts_utils.cc70 if (p_reg->in_use && p_reg->gatt_if == server_if) { in bta_gatts_find_app_rcb_by_app_if()
92 if (p_cb->rcb[i].in_use && p_cb->rcb[i].gatt_if == server_if) { in bta_gatts_find_app_rcb_idx_by_app_if()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_api.cc179 tGATT_STATUS GATTS_AddService(tGATT_IF gatt_if, btgatt_db_element_t* service, int count) { in GATTS_AddService() argument
182 tGATT_REG* p_reg = gatt_get_regcb(gatt_if); in GATTS_AddService()
190 log::error("Invalid gatt_if={}", gatt_if); in GATTS_AddService()
317 elem.gatt_if = gatt_if; in GATTS_AddService()
383 bool GATTS_DeleteService(tGATT_IF gatt_if, Uuid* p_svc_uuid, uint16_t svc_inst) { in GATTS_DeleteService() argument
386 tGATT_REG* p_reg = gatt_get_regcb(gatt_if); in GATTS_DeleteService()
464 tGATT_IF gatt_if = gatt_get_gatt_if(conn_id); in GATTS_HandleValueIndication() local
466 tGATT_REG* p_reg = gatt_get_regcb(gatt_if); in GATTS_HandleValueIndication()
562 tGATT_IF gatt_if = gatt_get_gatt_if(conn_id); in GATTS_HandleValueNotification() local
564 tGATT_REG* p_reg = gatt_get_regcb(gatt_if); in GATTS_HandleValueNotification()
[all …]
Dgatt_main.cc221 tBT_TRANSPORT transport, uint8_t /* initiating_phys */, tGATT_IF gatt_if) { in gatt_connect() argument
234 gatt_update_app_use_link_flag(gatt_if, p_tcb, true, true); in gatt_connect()
239 return connection_manager::direct_connect_add(gatt_if, rem_bda, addr_type); in gatt_connect()
310 static bool gatt_update_app_hold_link_status(tGATT_IF gatt_if, tGATT_TCB* p_tcb, bool is_add) { in gatt_update_app_hold_link_status() argument
311 log::debug("gatt_if={}, is_add={}, peer_bda={}", gatt_if, is_add, p_tcb->peer_bda); in gatt_update_app_hold_link_status()
315 auto ret = holders.insert(gatt_if); in gatt_update_app_hold_link_status()
317 log::info("added gatt_if={}", gatt_if); in gatt_update_app_hold_link_status()
319 log::warn("attempt to add already existing gatt_if={}", gatt_if); in gatt_update_app_hold_link_status()
331 if (!holders.erase(gatt_if)) { in gatt_update_app_hold_link_status()
332 log::warn("attempt to remove non-existing gatt_if={}", gatt_if); in gatt_update_app_hold_link_status()
[all …]
Dgatt_utils.cc433 std::string get_client_name(uint8_t gatt_if) { in get_client_name() argument
434 if (gatt_if == CONN_MGR_ID_L2CAP) { in get_client_name()
438 tGATT_REG* reg = gatt_get_regcb(gatt_if); in get_client_name()
450 for (auto gatt_if : p_tcb->app_hold_link) { in gatt_tcb_get_holders_info_string() local
451 stream << get_client_name(gatt_if) << " (" << +gatt_if << "), "; in gatt_tcb_get_holders_info_string()
889 tGATT_IF gatt_if = gatt_get_gatt_if(conn_id); in gatt_sr_send_req_callback() local
890 tGATT_REG* p_reg = gatt_get_regcb(gatt_if); in gatt_sr_send_req_callback()
1041 tGATT_REG* gatt_get_regcb(tGATT_IF gatt_if) { in gatt_get_regcb() argument
1042 uint8_t ii = (uint8_t)gatt_if; in gatt_get_regcb()
1045 auto it = gatt_cb.cl_rcb_map.find(gatt_if); in gatt_get_regcb()
[all …]
Dgatt_attr.cc119 if (!GATT_GetConnIdIfConnected(gatt_cb.gatt_if, remote_bda, &conn_id, BT_TRANSPORT_LE)) { in gatt_profile_find_conn_id_by_bd_addr()
123 remote_bda, gatt_cb.gatt_if, bt_transport_text(BT_TRANSPORT_LE)); in gatt_profile_find_conn_id_by_bd_addr()
126 if (!GATT_GetConnIdIfConnected(gatt_cb.gatt_if, remote_bda, &conn_id, BT_TRANSPORT_BR_EDR)) { in gatt_profile_find_conn_id_by_bd_addr()
130 remote_bda, gatt_cb.gatt_if, bt_transport_text(BT_TRANSPORT_BR_EDR)); in gatt_profile_find_conn_id_by_bd_addr()
415 gatt_cb.gatt_if = in gatt_profile_db_init()
417 GATT_StartIf(gatt_cb.gatt_if); in gatt_profile_db_init()
456 if (GATTS_AddService(gatt_cb.gatt_if, service, sizeof(service) / sizeof(btgatt_db_element_t)) != in gatt_profile_db_init()
458 log::warn("Unable to add GATT server service gatt_if:{}", gatt_cb.gatt_if); in gatt_profile_db_init()
470 log::verbose("gatt_if={} EATT supported", gatt_cb.gatt_if); in gatt_profile_db_init()
778 if (GATT_GetConnIdIfConnected(gatt_cb.gatt_if, remote_bda, &p_clcb->conn_id, transport)) { in GATT_ConfigServiceChangeCCC()
[all …]
Dgatt_int.h191 tGATT_IF gatt_if{0}; /* one based */
288 tGATT_IF gatt_if; /* this service is belong to which application */ member
411 tGATT_IF gatt_if; member
499 void gatt_update_app_use_link_flag(tGATT_IF gatt_if, tGATT_TCB* p_tcb, bool is_add,
569 tCONN_ID gatt_create_conn_id(tTCB_IDX tcb_idx, tGATT_IF gatt_if);
580 bool gatt_auto_connect_dev_remove(tGATT_IF gatt_if, const RawAddress& bd_addr);
584 tGATT_STATUS gatt_sr_process_app_rsp(tGATT_TCB& tcb, tGATT_IF gatt_if, uint32_t trans_id,
592 bool gatt_cancel_open(tGATT_IF gatt_if, const RawAddress& bda);
600 tGATT_REG* gatt_get_regcb(tGATT_IF gatt_if);
623 void gatt_sr_update_cback_cnt(tGATT_TCB& p_tcb, uint16_t cid, tGATT_IF gatt_if, bool is_inc,
[all …]
Dgatt_sr.cc315 tGATT_STATUS gatt_sr_process_app_rsp(tGATT_TCB& tcb, tGATT_IF gatt_if, uint32_t /* trans_id */, in gatt_sr_process_app_rsp() argument
321 log::verbose("gatt_if={}", gatt_if); in gatt_sr_process_app_rsp()
323 gatt_sr_update_cback_cnt(tcb, sr_res_p->cid, gatt_if, false, false); in gatt_sr_process_app_rsp()
332 gatt_sr_update_prep_cnt(tcb, gatt_if, true, false); in gatt_sr_process_app_rsp()
380 tGATT_IF gatt_if; in gatt_process_exec_write_req() local
412 gatt_if = prep_cnt_it->first; in gatt_process_exec_write_req()
413 conn_id = gatt_create_conn_id(tcb.tcb_idx, gatt_if); in gatt_process_exec_write_req()
530 gatt_sr_process_app_rsp(tcb, it->gatt_if, trans_id, op_code, GATT_SUCCESS, p_msg, in gatt_process_read_multi_req()
903 tCONN_ID conn_id = gatt_create_conn_id(tcb.tcb_idx, p_reg->gatt_if); in gatts_process_mtu_req()
1059 conn_id = gatt_create_conn_id(tcb.tcb_idx, el.gatt_if); in gatts_process_write_req()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_gatt_api.h177 std::function<tGATT_STATUS(tGATT_IF gatt_if, btgatt_db_element_t* service, int count)> body{
181 tGATT_STATUS operator()(tGATT_IF gatt_if, btgatt_db_element_t* service, int count) { in operator()
182 return body(gatt_if, service, count); in operator()
192 std::function<bool(tGATT_IF gatt_if, Uuid* p_svc_uuid, uint16_t svc_inst)> body{
196 bool operator()(tGATT_IF gatt_if, Uuid* p_svc_uuid, uint16_t svc_inst) { in operator()
197 return body(gatt_if, p_svc_uuid, svc_inst); in operator()
275 std::function<bool(tGATT_IF gatt_if, const RawAddress& bd_addr, bool is_direct)> body{
279 bool operator()(tGATT_IF gatt_if, const RawAddress& bd_addr, bool is_direct) { in operator()
280 return body(gatt_if, bd_addr, is_direct); in operator()
291 std::function<bool(tGATT_IF gatt_if, const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type,
[all …]
Dmock_stack_gatt_api.cc146 tGATT_STATUS GATTS_AddService(tGATT_IF gatt_if, btgatt_db_element_t* service, int count) { in GATTS_AddService() argument
148 return test::mock::stack_gatt_api::GATTS_AddService(gatt_if, service, count); in GATTS_AddService()
150 bool GATTS_DeleteService(tGATT_IF gatt_if, Uuid* p_svc_uuid, uint16_t svc_inst) { in GATTS_DeleteService() argument
152 return test::mock::stack_gatt_api::GATTS_DeleteService(gatt_if, p_svc_uuid, svc_inst); in GATTS_DeleteService()
179 bool GATT_CancelConnect(tGATT_IF gatt_if, const RawAddress& bd_addr, bool is_direct) { in GATT_CancelConnect() argument
181 return test::mock::stack_gatt_api::GATT_CancelConnect(gatt_if, bd_addr, is_direct); in GATT_CancelConnect()
183 bool GATT_Connect(tGATT_IF gatt_if, const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in GATT_Connect() argument
187 return test::mock::stack_gatt_api::GATT_Connect(gatt_if, bd_addr, addr_type, connection_type, in GATT_Connect()
191 void GATT_Deregister(tGATT_IF gatt_if) { in GATT_Deregister() argument
193 test::mock::stack_gatt_api::GATT_Deregister(gatt_if); in GATT_Deregister()
[all …]
/packages/modules/Bluetooth/system/bta/vc/
Ddevice.cc48 void VolumeControlDevice::DeregisterNotifications(tGATT_IF gatt_if) { in DeregisterNotifications() argument
50 BTA_GATTC_DeregisterForNotifications(gatt_if, address, volume_state_handle); in DeregisterNotifications()
54 BTA_GATTC_DeregisterForNotifications(gatt_if, address, volume_flags_handle); in DeregisterNotifications()
58 BTA_GATTC_DeregisterForNotifications(gatt_if, address, of.audio_descr_handle); in DeregisterNotifications()
59 BTA_GATTC_DeregisterForNotifications(gatt_if, address, of.audio_location_handle); in DeregisterNotifications()
60 BTA_GATTC_DeregisterForNotifications(gatt_if, address, of.state_handle); in DeregisterNotifications()
64 BTA_GATTC_DeregisterForNotifications(gatt_if, address, in.description_handle); in DeregisterNotifications()
65 BTA_GATTC_DeregisterForNotifications(gatt_if, address, in.state_handle); in DeregisterNotifications()
66 BTA_GATTC_DeregisterForNotifications(gatt_if, address, in.status_handle); in DeregisterNotifications()
70 void VolumeControlDevice::Disconnect(tGATT_IF gatt_if) { in Disconnect() argument
[all …]
Ddevices.h113 void Disconnect(tGATT_IF gatt_if);
115 void DeregisterNotifications(tGATT_IF gatt_if);
146 bool EnqueueInitialRequests(tGATT_IF gatt_if, GATT_READ_OP_CB chrc_read_cb,
148 void EnqueueRemainingRequests(tGATT_IF gatt_if, GATT_READ_OP_CB chrc_read_cb,
167 bool subscribe_for_notifications(tGATT_IF gatt_if, uint16_t handle, uint16_t ccc_handle,
222 void Disconnect(tGATT_IF gatt_if) { in Disconnect() argument
224 device.Disconnect(gatt_if); in Disconnect()
Ddevices_test.cc140 tGATT_IF gatt_if = 8; in TEST_F() local
142 devices_->Disconnect(gatt_if); in TEST_F()
577 tGATT_IF gatt_if = 0x0001; in TEST_F() local
600 EXPECT_CALL(gatt_interface, RegisterForNotifications(gatt_if, _, handle_pair.first)); in TEST_F()
607 ASSERT_EQ(true, device->EnqueueInitialRequests(gatt_if, chrc_read_cb, cccd_write_cb)); in TEST_F()
654 tGATT_IF gatt_if = 0x0001; in TEST_F() local
680 device->EnqueueRemainingRequests(gatt_if, chrc_read_cb, chrc_multi_read_cb, cccd_write_cb); in TEST_F()
690 tGATT_IF gatt_if = 0x0001; in TEST_F() local
756 device->EnqueueRemainingRequests(gatt_if, chrc_read_cb, chrc_multi_read_cb, cccd_write_cb); in TEST_F()
/packages/modules/Bluetooth/system/stack/include/
Dgatt_api.h713 typedef void(tGATT_CONN_CBACK)(tGATT_IF gatt_if, const RawAddress& bda, tCONN_ID conn_id,
725 typedef void(tGATT_ENC_CMPL_CB)(tGATT_IF gatt_if, const RawAddress& bda);
728 typedef void(tGATT_PHY_UPDATE_CB)(tGATT_IF gatt_if, tCONN_ID conn_id, uint8_t tx_phy,
732 typedef void(tGATT_CONN_UPDATE_CB)(tGATT_IF gatt_if, tCONN_ID conn_id, uint16_t interval,
736 typedef void(tGATT_SUBRATE_CHG_CB)(tGATT_IF gatt_if, tCONN_ID conn_id, uint16_t subrate_factor,
845 [[nodiscard]] tGATT_STATUS GATTS_AddService(tGATT_IF gatt_if, btgatt_db_element_t* service,
862 [[nodiscard]] bool GATTS_DeleteService(tGATT_IF gatt_if, bluetooth::Uuid* p_svc_uuid,
1138 void GATT_Deregister(tGATT_IF gatt_if);
1153 void GATT_StartIf(tGATT_IF gatt_if);
1175 [[nodiscard]] bool GATT_Connect(tGATT_IF gatt_if, const RawAddress& bd_addr,
[all …]
/packages/modules/Bluetooth/system/stack/test/gatt/
Dgatt_sr_test.cc141 el_.gatt_if = 1; in SetUp()
143 gatt_cb.cl_rcb_map.emplace(el_.gatt_if, std::make_unique<tGATT_REG>()); in SetUp()
144 tGATT_REG* p_reg = gatt_cb.cl_rcb_map[el_.gatt_if].get(); in SetUp()
146 p_reg->gatt_if = el_.gatt_if; in SetUp()
152 void TearDown() override { gatt_cb.cl_rcb_map.erase(el_.gatt_if); } in TearDown()
198 ASSERT_EQ(test_state_.application_request_callback.conn_id_, el_.gatt_if); in TEST_F()
232 ASSERT_EQ(test_state_.application_request_callback.conn_id_, el_.gatt_if); in TEST_F()
264 ASSERT_EQ(test_state_.application_request_callback.conn_id_, el_.gatt_if); in TEST_F()
297 ASSERT_EQ(test_state_.application_request_callback.conn_id_, el_.gatt_if); in TEST_F()
/packages/modules/Bluetooth/system/stack/ais/
Dais_ble.cc116 tGATT_IF gatt_if = GATT_Register(app_uuid, "Ais", &ais_cback, false); in ais_attr_db_init() local
118 GATT_StartIf(gatt_if); in ais_attr_db_init()
131 if (GATTS_AddService(gatt_if, android_information_service, in ais_attr_db_init()
134 error("Unable to add Android Information Server gatt_if:{}", gatt_if); in ais_attr_db_init()
/packages/modules/Bluetooth/system/bta/hearing_aid/
Dhearing_aid_test.cc205 ON_CALL(gatt_interface, RegisterForNotifications(gatt_if, _, _)) in set_sample_database()
209 ON_CALL(gatt_interface, DeregisterForNotifications(gatt_if, _, _)) in set_sample_database()
304 .client_if = gatt_if, in InjectConnectedEvent()
336 .client_if = gatt_if, in InjectDisconnectedEvent()
383 const uint8_t gatt_if = 0xfe; member in bluetooth::hearing_aid::internal::__anona567a3020111::HearingAidTestBase
405 app_register_callback.Run(gatt_if, GATT_SUCCESS); in SetUp()
410 EXPECT_CALL(gatt_interface, AppDeregister(gatt_if)); in TearDown()
432 EXPECT_CALL(gatt_interface, Open(gatt_if, test_address, BTM_BLE_DIRECT_CONNECTION, _)) in TEST_F()
448 EXPECT_CALL(gatt_interface, Open(gatt_if, test_address, BTM_BLE_DIRECT_CONNECTION, _)); in TEST_F()
/packages/modules/Bluetooth/system/stack/gap/
Dgap_ble.cc86 tGATT_IF gatt_if; variable
408 if (GATT_GetConnIdIfConnected(gatt_if, peer_bda, &p_clcb->conn_id, BT_TRANSPORT_LE)) { in accept_client_operation()
412 if (!GATT_Connect(gatt_if, p_clcb->bda, BTM_BLE_DIRECT_CONNECTION, BT_TRANSPORT_LE, true)) { in accept_client_operation()
444 gatt_if = GATT_Register(app_uuid, "Gap", &gap_cback, false); in gap_attr_db_init()
446 GATT_StartIf(gatt_if); in gap_attr_db_init()
479 if (GATTS_AddService(gatt_if, service, sizeof(service) / sizeof(btgatt_db_element_t)) != in gap_attr_db_init()
481 log::warn("Unable to add GATT services gatt_if:{}", gatt_if); in gap_attr_db_init()
602 if (!GATT_CancelConnect(gatt_if, peer_bda, true)) { in GAP_BleCancelReadPeerDevName()
/packages/modules/Bluetooth/system/stack/srvc/
Dsrvc_dis.cc100 if (GATT_GetConnIdIfConnected(srvc_eng_cb.gatt_if, req.addr, &_conn_id, BT_TRANSPORT_LE) && in dis_gatt_c_read_dis_value_cmpl()
265 if (!GATT_GetConnIdIfConnected(srvc_eng_cb.gatt_if, peer_bda, &conn_id, BT_TRANSPORT_LE)) { in DIS_ReadDISInfo()
282 if (!GATT_GetConnIdIfConnected(srvc_eng_cb.gatt_if, peer_bda, &conn_id, BT_TRANSPORT_LE)) { in DIS_ReadDISInfo()
287 return GATT_Connect(srvc_eng_cb.gatt_if, peer_bda, BTM_BLE_DIRECT_CONNECTION, BT_TRANSPORT_LE, in DIS_ReadDISInfo()
Dsrvc_eng.cc267 srvc_eng_cb.gatt_if = GATT_Register(app_uuid, "GattServiceEngine", &srvc_gatt_cback, false); in srvc_eng_init()
268 GATT_StartIf(srvc_eng_cb.gatt_if); in srvc_eng_init()
270 log::verbose("Srvc_Init: gatt_if={}", srvc_eng_cb.gatt_if); in srvc_eng_init()
/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_le.cc199 bta_hh_cb.gatt_if = BTA_GATTS_INVALID_IF; in bta_hh_le_enable()
211 bta_hh_cb.gatt_if = client_id; in bta_hh_le_enable()
214 bta_hh_cb.gatt_if = BTA_GATTS_INVALID_IF; in bta_hh_le_enable()
239 void bta_hh_le_deregister(void) { BTA_GATTC_AppDeregister(bta_hh_cb.gatt_if); } in bta_hh_le_deregister()
291 BTA_GATTC_Open(bta_hh_cb.gatt_if, p_cb->link_spec.addrt.bda, BTM_BLE_DIRECT_CONNECTION, false); in bta_hh_le_open_conn()
558 BTA_GATTC_RegisterForNotifications(bta_hh_cb.gatt_if, p_dev_cb->link_spec.addrt.bda, in bta_hh_le_register_input_notif()
565 BTA_GATTC_DeregisterForNotifications(bta_hh_cb.gatt_if, p_dev_cb->link_spec.addrt.bda, in bta_hh_le_register_input_notif()
571 BTA_GATTC_RegisterForNotifications(bta_hh_cb.gatt_if, p_dev_cb->link_spec.addrt.bda, in bta_hh_le_register_input_notif()
579 BTA_GATTC_DeregisterForNotifications(bta_hh_cb.gatt_if, p_dev_cb->link_spec.addrt.bda, in bta_hh_le_register_input_notif()
584 BTA_GATTC_RegisterForNotifications(bta_hh_cb.gatt_if, p_dev_cb->link_spec.addrt.bda, in bta_hh_le_register_input_notif()
[all …]
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_client_test.cc412 ON_CALL(gatt_interface, RegisterForNotifications(gatt_if, _, _)) in SetUp()
416 ON_CALL(gatt_interface, DeregisterForNotifications(gatt_if, _, _)) in SetUp()
445 app_register_callback.Run(gatt_if, GATT_SUCCESS); in TestAppRegister()
450 EXPECT_CALL(gatt_interface, AppDeregister(gatt_if)); in TestAppUnregister()
461 EXPECT_CALL(gatt_interface, Open(gatt_if, address, BTM_BLE_DIRECT_CONNECTION, _)); in TestConnect()
483 EXPECT_CALL(gatt_interface, Open(gatt_if, address, BTM_BLE_DIRECT_CONNECTION, true)) in TestAddFromStorage()
508 .client_if = gatt_if, in InjectConnectedEvent()
522 .client_if = gatt_if, in InjectDisconnectedEvent()
591 .client_if = gatt_if, in GetDisconnectedEvent()
626 const uint8_t gatt_if = 0xff; member in bluetooth::csis::internal::__anondad880ae0111::CsisClientTest
[all …]
/packages/modules/Bluetooth/system/rust/src/gatt/ffi/
Dgatt_shim.cc38 tGATT_IF gatt_if; in AddressOfConnection() local
42 GATT_GetConnectionInfor(static_cast<tCONN_ID>(conn_id), &gatt_if, remote_bda, &transport); in AddressOfConnection()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_gatt_client.cc76 tGATT_IF gatt_if; member
790 test_cb.gatt_if = GATT_Register(bluetooth::Uuid::From128BitBE(tmp), std::string("GattTest"), in btif_gattc_test_command_impl()
792 GATT_StartIf(test_cb.gatt_if); in btif_gattc_test_command_impl()
794 GATT_Deregister(test_cb.gatt_if); in btif_gattc_test_command_impl()
795 test_cb.gatt_if = 0; in btif_gattc_test_command_impl()
810 if (!GATT_Connect(test_cb.gatt_if, *params->bda1, BTM_BLE_DIRECT_CONNECTION, BT_TRANSPORT_LE, in btif_gattc_test_command_impl()

12