Home
last modified time | relevance | path

Searched defs:conn_id (Results 1 – 25 of 59) sorted by relevance

123

/system/bt/bta/gatt/
Dbta_gattc_api.cc184 void BTA_GATTC_Close(uint16_t conn_id) { in BTA_GATTC_Close()
206 void BTA_GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu) { in BTA_GATTC_ConfigureMTU()
234 void BTA_GATTC_ServiceSearchRequest(uint16_t conn_id, Uuid* p_srvc_uuid) { in BTA_GATTC_ServiceSearchRequest()
250 void BTA_GATTC_DiscoverServiceByUuid(uint16_t conn_id, const Uuid& srvc_uuid) { in BTA_GATTC_DiscoverServiceByUuid()
272 const std::list<gatt::Service>* BTA_GATTC_GetServices(uint16_t conn_id) { in BTA_GATTC_GetServices()
289 const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id, in BTA_GATTC_GetCharacteristic()
307 const gatt::Descriptor* BTA_GATTC_GetDescriptor(uint16_t conn_id, in BTA_GATTC_GetDescriptor()
314 const gatt::Characteristic* BTA_GATTC_GetOwningCharacteristic(uint16_t conn_id, in BTA_GATTC_GetOwningCharacteristic()
321 const gatt::Service* BTA_GATTC_GetOwningService(uint16_t conn_id, in BTA_GATTC_GetOwningService()
338 void BTA_GATTC_GetGattDb(uint16_t conn_id, uint16_t start_handle, in BTA_GATTC_GetGattDb()
[all …]
Dbta_gattc_queue.cc39 void BtaGattQueue::mark_as_not_executing(uint16_t conn_id) { in mark_as_not_executing()
43 void BtaGattQueue::gatt_read_op_finished(uint16_t conn_id, tGATT_STATUS status, in gatt_read_op_finished()
66 void BtaGattQueue::gatt_write_op_finished(uint16_t conn_id, tGATT_STATUS status, in gatt_write_op_finished()
83 void BtaGattQueue::gatt_execute_next_op(uint16_t conn_id) { in gatt_execute_next_op()
145 void BtaGattQueue::Clean(uint16_t conn_id) { in Clean()
150 void BtaGattQueue::ReadCharacteristic(uint16_t conn_id, uint16_t handle, in ReadCharacteristic()
159 void BtaGattQueue::ReadDescriptor(uint16_t conn_id, uint16_t handle, in ReadDescriptor()
168 void BtaGattQueue::WriteCharacteristic(uint16_t conn_id, uint16_t handle, in WriteCharacteristic()
181 void BtaGattQueue::WriteDescriptor(uint16_t conn_id, uint16_t handle, in WriteDescriptor()
Dbta_gattc_cache.cc133 tGATT_STATUS bta_gattc_discover_pri_service(uint16_t conn_id, in bta_gattc_discover_pri_service()
149 static void bta_gattc_explore_next_service(uint16_t conn_id, in bta_gattc_explore_next_service()
169 static void bta_gattc_explore_srvc_finished(uint16_t conn_id, in bta_gattc_explore_srvc_finished()
197 void bta_gattc_start_disc_char_dscp(uint16_t conn_id, in bta_gattc_start_disc_char_dscp()
288 static tGATT_STATUS bta_gattc_sdp_service_disc(uint16_t conn_id, in bta_gattc_sdp_service_disc()
320 void bta_gattc_disc_res_cback(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in bta_gattc_disc_res_cback()
355 void bta_gattc_disc_cmpl_cback(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in bta_gattc_disc_cmpl_cback()
428 const std::list<Service>* bta_gattc_get_services(uint16_t conn_id) { in bta_gattc_get_services()
445 const Service* bta_gattc_get_service_for_handle(uint16_t conn_id, in bta_gattc_get_service_for_handle()
467 const Characteristic* bta_gattc_get_characteristic(uint16_t conn_id, in bta_gattc_get_characteristic()
[all …]
Dbta_gatts_act.cc432 uint16_t conn_id; in bta_gatts_open() local
538 static void bta_gatts_send_request_cback(uint16_t conn_id, uint32_t trans_id, in bta_gatts_send_request_cback()
586 uint16_t conn_id, bool connected, in bta_gatts_conn_cback()
624 static void bta_gatts_phy_update_cback(tGATT_IF gatt_if, uint16_t conn_id, in bta_gatts_phy_update_cback()
642 static void bta_gatts_conn_update_cback(tGATT_IF gatt_if, uint16_t conn_id, in bta_gatts_conn_update_cback()
670 static void bta_gatts_cong_cback(uint16_t conn_id, bool congested) { in bta_gatts_cong_cback()
Dbta_gatts_api.cc234 void BTA_GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_id, in BTA_GATTS_HandleValueIndication()
266 void BTA_GATTS_SendRsp(uint16_t conn_id, uint32_t trans_id, tGATT_STATUS status, in BTA_GATTS_SendRsp()
351 void BTA_GATTS_Close(uint16_t conn_id) { in BTA_GATTS_Close()
Dbta_gattc_act.cc394 uint16_t conn_id; in bta_gattc_init_bk_conn() local
1040 uint16_t conn_id, bool connected, in bta_gattc_conn_cback()
1121 bool bta_gattc_process_srvc_chg_ind(uint16_t conn_id, tBTA_GATTC_RCB* p_clrcb, in bta_gattc_process_srvc_chg_ind()
1215 void bta_gattc_process_indicate(uint16_t conn_id, tGATTC_OPTYPE op, in bta_gattc_process_indicate()
1283 static void bta_gattc_cmpl_cback(uint16_t conn_id, tGATTC_OPTYPE op, in bta_gattc_cmpl_cback()
1312 static void bta_gattc_cmpl_sendmsg(uint16_t conn_id, tGATTC_OPTYPE op, in bta_gattc_cmpl_sendmsg()
1332 static void bta_gattc_cong_cback(uint16_t conn_id, bool congested) { in bta_gattc_cong_cback()
1343 static void bta_gattc_phy_update_cback(tGATT_IF gatt_if, uint16_t conn_id, in bta_gattc_phy_update_cback()
1362 static void bta_gattc_conn_update_cback(tGATT_IF gatt_if, uint16_t conn_id, in bta_gattc_conn_update_cback()
Dbta_gattc_utils.cc104 tBTA_GATTC_CLCB* bta_gattc_find_clcb_by_conn_id(uint16_t conn_id) { in bta_gattc_find_clcb_by_conn_id()
260 tBTA_GATTC_SERV* bta_gattc_find_scb_by_cid(uint16_t conn_id) { in bta_gattc_find_scb_by_cid()
366 uint16_t conn_id, uint16_t start_handle, in bta_gattc_clear_notif_registration()
491 const RawAddress& remote_bda, uint16_t conn_id, in bta_gattc_send_open_cback()
/system/bt/btif/src/
Dbtif_gatt_test.cc49 uint16_t conn_id; member
70 uint16_t conn_id, bool connected, in btif_test_connect_cback()
77 static void btif_test_command_complete_cback(uint16_t conn_id, tGATTC_OPTYPE op, in btif_test_command_complete_cback()
101 static void btif_test_discovery_result_cback(UNUSED_ATTR uint16_t conn_id, in btif_test_discovery_result_cback()
157 UNUSED_ATTR uint16_t conn_id, UNUSED_ATTR tGATT_DISC_TYPE disc_type, in btif_test_discovery_complete_cback()
Dbtif_gatt_client.cc323 void btif_gattc_close_impl(int client_if, RawAddress address, int conn_id) { in btif_gattc_close_impl()
335 int conn_id) { in btif_gattc_close()
346 bt_status_t btif_gattc_search_service(int conn_id, const Uuid* filter_uuid) { in btif_gattc_search_service()
359 void btif_gattc_discover_service_by_uuid(int conn_id, const Uuid& uuid) { in btif_gattc_discover_service_by_uuid()
363 void btif_gattc_get_gatt_db_impl(int conn_id) { in btif_gattc_get_gatt_db_impl()
372 bt_status_t btif_gattc_get_gatt_db(int conn_id) { in btif_gattc_get_gatt_db()
377 void read_char_cb(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in read_char_cb()
393 bt_status_t btif_gattc_read_char(int conn_id, uint16_t handle, int auth_req) { in btif_gattc_read_char()
399 void read_using_char_uuid_cb(uint16_t conn_id, tGATT_STATUS status, in read_using_char_uuid_cb()
416 bt_status_t btif_gattc_read_using_char_uuid(int conn_id, const Uuid& uuid, in btif_gattc_read_using_char_uuid()
[all …]
Dbtif_gatt_server.cc328 int conn_id) { in btif_gatts_close_impl()
340 int conn_id) { in btif_gatts_close()
389 int attribute_handle, int conn_id, in btif_gatts_send_indication()
402 static void btif_gatts_send_response_impl(int conn_id, int trans_id, int status, in btif_gatts_send_response_impl()
413 static bt_status_t btif_gatts_send_response(int conn_id, int trans_id, in btif_gatts_send_response()
/system/bt/stack/gatt/
Dgatt_attr.cc84 uint16_t conn_id = GATT_INVALID_CONN_ID; in gatt_profile_find_conn_id_by_bd_addr() local
102 static tGATT_PROFILE_CLCB* gatt_profile_find_clcb_by_conn_id(uint16_t conn_id) { in gatt_profile_find_clcb_by_conn_id()
149 tGATT_PROFILE_CLCB* gatt_profile_clcb_alloc(uint16_t conn_id, in gatt_profile_clcb_alloc()
194 static void gatt_request_cback(uint16_t conn_id, uint32_t trans_id, in gatt_request_cback()
242 const RawAddress& bda, uint16_t conn_id, in gatt_connect_cback()
312 static void gatt_disc_res_cback(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in gatt_disc_res_cback()
347 static void gatt_disc_cmpl_cback(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in gatt_disc_cmpl_cback()
373 static void gatt_cl_op_cmpl_cback(UNUSED_ATTR uint16_t conn_id, in gatt_cl_op_cmpl_cback()
Dgatt_api.cc411 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication()
468 tGATT_STATUS GATTS_HandleValueNotification(uint16_t conn_id, in GATTS_HandleValueNotification()
519 tGATT_STATUS GATTS_SendRsp(uint16_t conn_id, uint32_t trans_id, in GATTS_SendRsp()
569 tGATT_STATUS GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu) { in GATTC_ConfigureMTU()
618 tGATT_STATUS GATTC_Discover(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in GATTC_Discover()
662 tGATT_STATUS GATTC_Discover(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in GATTC_Discover()
682 tGATT_STATUS GATTC_Read(uint16_t conn_id, tGATT_READ_TYPE type, in GATTC_Read()
761 tGATT_STATUS GATTC_Write(uint16_t conn_id, tGATT_WRITE_TYPE type, in GATTC_Write()
815 tGATT_STATUS GATTC_ExecuteWrite(uint16_t conn_id, bool is_execute) { in GATTC_ExecuteWrite()
857 tGATT_STATUS GATTC_SendHandleValueConfirm(uint16_t conn_id, uint16_t handle) { in GATTC_SendHandleValueConfirm()
[all …]
Dgatt_main.cc463 uint16_t conn_id; in gatt_channel_congestion() local
495 uint16_t conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_notify_phy_updated() local
515 uint16_t conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_notify_conn_update() local
807 uint16_t conn_id; in gatt_send_conn_cback() local
908 uint16_t conn_id = gatt_profile_find_conn_id_by_bd_addr(peer_bda); in gatt_send_srv_chg_ind() local
/system/bt/stack/srvc/
Dsrvc_eng.cc113 tSRVC_CLCB* srvc_eng_find_clcb_by_conn_id(uint16_t conn_id) { in srvc_eng_find_clcb_by_conn_id()
135 uint8_t srvc_eng_find_clcb_idx_by_conn_id(uint16_t conn_id) { in srvc_eng_find_clcb_idx_by_conn_id()
158 tSRVC_CLCB* srvc_eng_clcb_alloc(uint16_t conn_id, const RawAddress& bda) { in srvc_eng_clcb_alloc()
183 bool srvc_eng_clcb_dealloc(uint16_t conn_id) { in srvc_eng_clcb_dealloc()
244 static void srvc_eng_s_request_cback(uint16_t conn_id, uint32_t trans_id, in srvc_eng_s_request_cback()
301 static void srvc_eng_c_cmpl_cback(uint16_t conn_id, tGATTC_OPTYPE op, in srvc_eng_c_cmpl_cback()
328 const RawAddress& bda, uint16_t conn_id, in srvc_eng_connect_cback()
375 void srvc_eng_release_channel(uint16_t conn_id) { in srvc_eng_release_channel()
426 uint16_t conn_id = srvc_eng_find_conn_id_by_bd_addr(remote_bda); in srvc_sr_notify() local
Dsrvc_dis.cc192 static void dis_gatt_c_read_dis_value_cmpl(uint16_t conn_id) { in dis_gatt_c_read_dis_value_cmpl()
217 bool dis_gatt_c_read_dis_req(uint16_t conn_id) { in dis_gatt_c_read_dis_req()
260 uint16_t conn_id = p_clcb->conn_id; in dis_c_cmpl_cback() local
431 uint16_t conn_id; in DIS_ReadDISInfo() local
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc53 int conn_id) { in FakeDisconnect()
87 bt_status_t FakeSendIndication(int server_if, int attribute_handle, int conn_id, in FakeSendIndication()
96 bt_status_t FakeSendResponse(int conn_id, int trans_id, int status, in FakeSendResponse()
193 void FakeBluetoothGattInterface::NotifyConnectCallback(int conn_id, int status, in NotifyConnectCallback()
202 int conn_id, int status, int client_if, const RawAddress& bda) { in NotifyDisconnectCallback()
216 int conn_id, int server_if, int connected, const RawAddress& bda) { in NotifyServerConnectionCallback()
230 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestReadCharacteristicCallback()
239 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestReadDescriptorCallback()
248 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestWriteCharacteristicCallback()
258 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestWriteDescriptorCallback()
[all …]
Dbluetooth_gatt_interface.cc110 void ConnectCallback(int conn_id, int status, int client_if, in ConnectCallback()
122 void DisconnectCallback(int conn_id, int status, int client_if, in DisconnectCallback()
134 void SearchCompleteCallback(int conn_id, int status) { in SearchCompleteCallback()
143 void RegisterForNotificationCallback(int conn_id, int registered, int status, in RegisterForNotificationCallback()
154 void NotifyCallback(int conn_id, const btgatt_notify_params_t& p_data) { in NotifyCallback()
166 void WriteCharacteristicCallback(int conn_id, int status, uint16_t handle) { in WriteCharacteristicCallback()
176 void WriteDescriptorCallback(int conn_id, int status, uint16_t handle) { in WriteDescriptorCallback()
186 void MtuChangedCallback(int conn_id, int status, int mtu) { in MtuChangedCallback()
197 void GetGattDbCallback(int conn_id, const btgatt_db_element_t* db, int size) { in GetGattDbCallback()
205 void ServicesRemovedCallback(int conn_id, uint16_t start_handle, in ServicesRemovedCallback()
[all …]
/system/bt/service/
Dlow_energy_client.cc76 std::map<const RawAddress, int>::iterator conn_id; in Disconnect() local
103 std::map<const RawAddress, int>::iterator conn_id; in SetMtu() local
136 int conn_id, int status, int client_id, in ConnectCallback()
156 hal::BluetoothGattInterface* gatt_iface, int conn_id, int status, in DisconnectCallback()
174 hal::BluetoothGattInterface* gatt_iface, int conn_id, int status, int mtu) { in MtuChangedCallback()
Dgatt_server.cc246 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int server_id, in ConnectionCallback()
338 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestReadCharacteristicCallback()
371 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestReadDescriptorCallback()
405 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestWriteCharacteristicCallback()
444 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestWriteDescriptorCallback()
483 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestExecWriteCallback()
516 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int status) { in IndicationSentCallback()
544 int conn_id, const RawAddress& bda, int request_id) { in GetConnection()
Dgatt_server_old.cc207 void RequestReadCallback(int conn_id, int trans_id, const RawAddress& bda, in RequestReadCallback()
250 void RequestWriteCallback(int conn_id, int trans_id, const RawAddress& bda, in RequestWriteCallback()
306 void RequestExecWriteCallback(int conn_id, int trans_id, const RawAddress& bda, in RequestExecWriteCallback()
329 void ConnectionCallback(int conn_id, int server_if, int connected, in ConnectionCallback()
384 void ClientConnectCallback(int conn_id, int status, int client_if, in ClientConnectCallback()
391 void ClientDisconnectCallback(int conn_id, int status, int client_if, in ClientDisconnectCallback()
398 void IndicationSentCallback(UNUSED_ATTR int conn_id, UNUSED_ATTR int status) { in IndicationSentCallback()
/system/bt/bta/include/
Dbta_gatt_api.h109 uint16_t conn_id; member
117 uint16_t conn_id; member
123 uint16_t conn_id; member
128 uint16_t conn_id; member
133 uint16_t conn_id; member
138 uint16_t conn_id; member
145 uint16_t conn_id; member
154 uint16_t conn_id; member
162 uint16_t conn_id; member
171 uint16_t conn_id; member
[all …]
/system/nfc/src/nfc/nfc/
Dnfc_utils.cc74 void nfc_set_conn_id(tNFC_CONN_CB* p_cb, uint8_t conn_id) { in nfc_set_conn_id()
119 tNFC_CONN_CB* nfc_find_conn_cb_by_conn_id(uint8_t conn_id) { in nfc_find_conn_cb_by_conn_id()
/system/bt/bta/hearing_aid/
Dhearing_aid.cc143 HearingDevice* FindByConnId(uint16_t conn_id) { in FindByConnId()
198 static void write_rpt_ctl_cfg_cb(uint16_t conn_id, tGATT_STATUS status, in write_rpt_ctl_cfg_cb()
346 void OnGattConnected(tGATT_STATUS status, uint16_t conn_id, in OnGattConnected()
429 void OnConnectionUpdateComplete(uint16_t conn_id, tBTA_GATTC* p_data) { in OnConnectionUpdateComplete()
599 void OnServiceSearchComplete(uint16_t conn_id, tGATT_STATUS status) { in OnServiceSearchComplete()
695 void OnNotificationEvent(uint16_t conn_id, uint16_t handle, uint16_t len, in OnNotificationEvent()
729 void OnReadOnlyPropertiesRead(uint16_t conn_id, tGATT_STATUS status, in OnReadOnlyPropertiesRead()
835 void OnAudioStatus(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in OnAudioStatus()
840 void OnPsmRead(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in OnPsmRead()
886 static void OnReadOnlyPropertiesReadStatic(uint16_t conn_id, in OnReadOnlyPropertiesReadStatic()
[all …]
/system/bt/bta/hh/
Dbta_hh_le.cc291 tBTA_HH_DEV_CB* bta_hh_le_find_dev_cb_by_conn_id(uint16_t conn_id) { in bta_hh_le_find_dev_cb_by_conn_id()
461 uint16_t conn_id, uint16_t char_handle, uint16_t short_uuid) { in find_descriptor_by_short_uuid()
689 static void write_rpt_ctl_cfg_cb(uint16_t conn_id, tGATT_STATUS status, in write_rpt_ctl_cfg_cb()
754 static void write_proto_mode_cb(uint16_t conn_id, tGATT_STATUS status, in write_proto_mode_cb()
836 static void get_protocol_mode_cb(uint16_t conn_id, tGATT_STATUS status, in get_protocol_mode_cb()
1234 static void read_hid_info_cb(uint16_t conn_id, tGATT_STATUS status, in read_hid_info_cb()
1255 static void read_hid_report_map_cb(uint16_t conn_id, tGATT_STATUS status, in read_hid_report_map_cb()
1278 static void read_ext_rpt_ref_desc_cb(uint16_t conn_id, tGATT_STATUS status, in read_ext_rpt_ref_desc_cb()
1304 static void read_report_ref_desc_cb(uint16_t conn_id, tGATT_STATUS status, in read_report_ref_desc_cb()
1332 void read_pref_conn_params_cb(uint16_t conn_id, tGATT_STATUS status, in read_pref_conn_params_cb()
[all …]
/system/bt/stack/gap/
Dgap_ble.cc41 uint16_t conn_id; member
87 tGAP_CLCB* ble_find_clcb_by_conn_id(uint16_t conn_id) { in ble_find_clcb_by_conn_id()
191 void server_attr_request_cback(uint16_t conn_id, uint32_t trans_id, in server_attr_request_cback()
287 void client_connect_cback(tGATT_IF, const RawAddress& bda, uint16_t conn_id, in client_connect_cback()
307 void client_cmpl_cback(uint16_t conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, in client_cmpl_cback()

123