Home
last modified time | relevance | path

Searched refs:conn_id (Results 1 – 25 of 89) sorted by relevance

1234

/system/bt/bta/gatt/
Dbta_gattc_queue.cc40 void BtaGattQueue::mark_as_not_executing(uint16_t conn_id) { in mark_as_not_executing() argument
41 gatt_op_queue_executing.erase(conn_id); in mark_as_not_executing()
44 void BtaGattQueue::gatt_read_op_finished(uint16_t conn_id, tGATT_STATUS status, in gatt_read_op_finished() argument
53 mark_as_not_executing(conn_id); in gatt_read_op_finished()
54 gatt_execute_next_op(conn_id); in gatt_read_op_finished()
57 tmp_cb(conn_id, status, handle, len, value, tmp_cb_data); in gatt_read_op_finished()
67 void BtaGattQueue::gatt_write_op_finished(uint16_t conn_id, tGATT_STATUS status, in gatt_write_op_finished() argument
75 mark_as_not_executing(conn_id); in gatt_write_op_finished()
76 gatt_execute_next_op(conn_id); in gatt_write_op_finished()
79 tmp_cb(conn_id, status, handle, tmp_cb_data); in gatt_write_op_finished()
[all …]
Dbta_gattc_api.cc183 void BTA_GATTC_Close(uint16_t conn_id) { in BTA_GATTC_Close() argument
187 p_buf->layer_specific = conn_id; in BTA_GATTC_Close()
206 void BTA_GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu) { in BTA_GATTC_ConfigureMTU() argument
207 BTA_GATTC_ConfigureMTU(conn_id, mtu, NULL, NULL); in BTA_GATTC_ConfigureMTU()
210 void BTA_GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu, in BTA_GATTC_ConfigureMTU() argument
216 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ConfigureMTU()
241 void BTA_GATTC_ServiceSearchRequest(uint16_t conn_id, const Uuid* p_srvc_uuid) { in BTA_GATTC_ServiceSearchRequest() argument
246 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ServiceSearchRequest()
257 void BTA_GATTC_DiscoverServiceByUuid(uint16_t conn_id, const Uuid& srvc_uuid) { in BTA_GATTC_DiscoverServiceByUuid() argument
264 conn_id, GATT_DISC_SRVC_BY_UUID, 0x0001, 0xFFFF, srvc_uuid)); in BTA_GATTC_DiscoverServiceByUuid()
[all …]
/system/bt/include/hardware/
Dbt_gatt_client.h103 typedef void (*connect_callback)(int conn_id, int status, int client_if,
107 typedef void (*disconnect_callback)(int conn_id, int status, int client_if,
114 typedef void (*search_complete_callback)(int conn_id, int status);
117 typedef void (*register_for_notification_callback)(int conn_id, int registered,
124 typedef void (*notify_callback)(int conn_id,
128 typedef void (*read_characteristic_callback)(int conn_id, int status,
132 typedef void (*write_characteristic_callback)(int conn_id, int status,
136 typedef void (*execute_write_callback)(int conn_id, int status);
139 typedef void (*read_descriptor_callback)(int conn_id, int status,
143 typedef void (*write_descriptor_callback)(int conn_id, int status,
[all …]
Dbt_gatt_server.h50 typedef void (*connection_callback)(int conn_id, int server_if, int connected,
69 typedef void (*request_read_callback)(int conn_id, int trans_id,
77 typedef void (*request_write_callback)(int conn_id, int trans_id,
83 typedef void (*request_exec_write_callback)(int conn_id, int trans_id,
97 typedef void (*indication_sent_callback)(int conn_id, int status);
105 typedef void (*congestion_callback)(int conn_id, bool congested);
108 typedef void (*mtu_changed_callback)(int conn_id, int mtu);
111 typedef void (*phy_updated_callback)(int conn_id, uint8_t tx_phy,
116 typedef void (*conn_updated_callback)(int conn_id, uint16_t interval,
153 int conn_id);
[all …]
/system/nfc/src/nfc/nfc/
Dnfc_utils.cc53 if (nfc_cb.conn_cb[xx].conn_id == NFC_ILLEGAL_CONN_ID) { in nfc_alloc_conn_cb()
54 nfc_cb.conn_cb[xx].conn_id = in nfc_alloc_conn_cb()
74 void nfc_set_conn_id(tNFC_CONN_CB* p_cb, uint8_t conn_id) { in nfc_set_conn_id() argument
79 p_cb->conn_id = conn_id; in nfc_set_conn_id()
81 nfc_cb.conn_id[conn_id] = handle; in nfc_set_conn_id()
83 << StringPrintf("nfc_set_conn_id conn_id:%d, handle:%d", conn_id, handle); 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() argument
125 if (conn_id == NFC_PEND_CONN_ID) { in nfc_find_conn_cb_by_conn_id()
127 if (nfc_cb.conn_cb[xx].conn_id == NFC_PEND_CONN_ID) { in nfc_find_conn_cb_by_conn_id()
133 id = conn_id & NFC_CONN_ID_ID_MASK; in nfc_find_conn_cb_by_conn_id()
[all …]
/system/bt/stack/gatt/
Dgatt_attr.cc61 static void gatt_request_cback(uint16_t conn_id, uint32_t trans_id,
64 const RawAddress& bda, uint16_t conn_id,
67 static void gatt_disc_res_cback(uint16_t conn_id, tGATT_DISC_TYPE disc_type,
69 static void gatt_disc_cmpl_cback(uint16_t conn_id, tGATT_DISC_TYPE disc_type,
71 static void gatt_cl_op_cmpl_cback(uint16_t conn_id, tGATTC_OPTYPE op,
79 static tGATT_STATUS gatt_sr_read_db_hash(uint16_t conn_id,
81 static tGATT_STATUS gatt_sr_read_cl_supp_feat(uint16_t conn_id,
83 static tGATT_STATUS gatt_sr_write_cl_supp_feat(uint16_t conn_id,
106 uint16_t conn_id = GATT_INVALID_CONN_ID; in gatt_profile_find_conn_id_by_bd_addr() local
107 GATT_GetConnIdIfConnected(gatt_cb.gatt_if, remote_bda, &conn_id, in gatt_profile_find_conn_id_by_bd_addr()
[all …]
Dgatt_api.cc437 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication() argument
439 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTS_HandleValueIndication()
440 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTS_HandleValueIndication()
446 LOG(ERROR) << __func__ << ": Unknown conn_id=" << loghex(conn_id); in GATTS_HandleValueIndication()
453 indication.conn_id = conn_id; in GATTS_HandleValueIndication()
498 tGATT_STATUS GATTS_HandleValueNotification(uint16_t conn_id, in GATTS_HandleValueNotification() argument
502 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTS_HandleValueNotification()
503 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTS_HandleValueNotification()
510 LOG(ERROR) << __func__ << "Unknown conn_id: " << conn_id; in GATTS_HandleValueNotification()
553 tGATT_STATUS GATTS_SendRsp(uint16_t conn_id, uint32_t trans_id, in GATTS_SendRsp() argument
[all …]
/system/bt/bta/include/
Dbta_gatt_api.h134 uint16_t conn_id; member
142 uint16_t conn_id; member
148 uint16_t conn_id; member
153 uint16_t conn_id; member
158 uint16_t conn_id; member
163 uint16_t conn_id; member
170 uint16_t conn_id; member
178 uint16_t conn_id; member
186 uint16_t conn_id; member
196 uint16_t conn_id; member
[all …]
Dbta_gatt_queue.h38 static void Clean(uint16_t conn_id);
39 static void ReadCharacteristic(uint16_t conn_id, uint16_t handle,
41 static void ReadDescriptor(uint16_t conn_id, uint16_t handle,
43 static void WriteCharacteristic(uint16_t conn_id, uint16_t handle,
47 static void WriteDescriptor(uint16_t conn_id, uint16_t handle,
51 static void ConfigureMtu(uint16_t conn_id, uint16_t mtu);
70 static void mark_as_not_executing(uint16_t conn_id);
71 static void gatt_execute_next_op(uint16_t conn_id);
72 static void gatt_read_op_finished(uint16_t conn_id, tGATT_STATUS status,
75 static void gatt_write_op_finished(uint16_t conn_id, tGATT_STATUS status,
[all …]
/system/bt/test/mock/
Dmock_bta_gattc_api.cc44 const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id, in BTA_GATTC_GetCharacteristic() argument
49 const gatt::Characteristic* BTA_GATTC_GetOwningCharacteristic(uint16_t conn_id, in BTA_GATTC_GetOwningCharacteristic() argument
54 const gatt::Descriptor* BTA_GATTC_GetDescriptor(uint16_t conn_id, in BTA_GATTC_GetDescriptor() argument
59 const gatt::Service* BTA_GATTC_GetOwningService(uint16_t conn_id, in BTA_GATTC_GetOwningService() argument
64 const std::list<gatt::Service>* BTA_GATTC_GetServices(uint16_t conn_id) { in BTA_GATTC_GetServices() argument
91 void BTA_GATTC_Close(uint16_t conn_id) { mock_function_count_map[__func__]++; } in BTA_GATTC_Close() argument
92 void BTA_GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu) { in BTA_GATTC_ConfigureMTU() argument
95 void BTA_GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu, in BTA_GATTC_ConfigureMTU() argument
99 void BTA_GATTC_DiscoverServiceByUuid(uint16_t conn_id, in BTA_GATTC_DiscoverServiceByUuid() argument
103 void BTA_GATTC_ExecuteWrite(uint16_t conn_id, bool is_execute) { in BTA_GATTC_ExecuteWrite() argument
[all …]
Dmock_stack_gatt.cc71 bool GATT_GetConnectionInfor(uint16_t conn_id, tGATT_IF* p_gatt_if, in GATT_GetConnectionInfor() argument
90 tGATT_STATUS GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu) { in GATTC_ConfigureMTU() argument
94 tGATT_STATUS GATTC_Discover(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in GATTC_Discover() argument
99 tGATT_STATUS GATTC_Discover(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in GATTC_Discover() argument
105 tGATT_STATUS GATTC_ExecuteWrite(uint16_t conn_id, bool is_execute) { in GATTC_ExecuteWrite() argument
109 tGATT_STATUS GATTC_Read(uint16_t conn_id, tGATT_READ_TYPE type, in GATTC_Read() argument
114 tGATT_STATUS GATTC_SendHandleValueConfirm(uint16_t conn_id, uint16_t cid) { in GATTC_SendHandleValueConfirm() argument
118 tGATT_STATUS GATTC_Write(uint16_t conn_id, tGATT_WRITE_TYPE type, in GATTC_Write() argument
128 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication() argument
133 tGATT_STATUS GATTS_HandleValueNotification(uint16_t conn_id, in GATTS_HandleValueNotification() argument
[all …]
/system/bt/stack/srvc/
Dsrvc_eng.cc29 static void srvc_eng_s_request_cback(uint16_t conn_id, uint32_t trans_id,
32 const RawAddress& bda, uint16_t conn_id,
35 static void srvc_eng_c_cmpl_cback(uint16_t conn_id, tGATTC_OPTYPE op,
75 return p_clcb->conn_id; in srvc_eng_find_conn_id_by_bd_addr()
113 tSRVC_CLCB* srvc_eng_find_clcb_by_conn_id(uint16_t conn_id) { in srvc_eng_find_clcb_by_conn_id() argument
119 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == 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() argument
141 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == 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() argument
166 p_clcb->conn_id = conn_id; in srvc_eng_clcb_alloc()
[all …]
/system/bt/service/hal/
Dbluetooth_gatt_interface.cc111 void ConnectCallback(int conn_id, int status, int client_if, in ConnectCallback() argument
117 << " - BD_ADDR: " << BtAddrString(&bda) << " - conn_id: " << conn_id; in ConnectCallback()
120 ConnectCallback(g_interface, conn_id, status, client_if, bda)); in ConnectCallback()
123 void DisconnectCallback(int conn_id, int status, int client_if, in DisconnectCallback() argument
128 VLOG(2) << __func__ << " - conn_id: " << conn_id << " - status: " << status in DisconnectCallback()
132 DisconnectCallback(g_interface, conn_id, status, client_if, bda)); in DisconnectCallback()
135 void SearchCompleteCallback(int conn_id, int status) { in SearchCompleteCallback() argument
139 VLOG(2) << __func__ << " - conn_id: " << conn_id << " - status: " << status; in SearchCompleteCallback()
141 SearchCompleteCallback(g_interface, conn_id, status)); in SearchCompleteCallback()
144 void RegisterForNotificationCallback(int conn_id, int registered, int status, in RegisterForNotificationCallback() argument
[all …]
Dbluetooth_gatt_interface.h73 int conn_id, int status, int client_if,
77 int conn_id, int status, int client_if,
81 int conn_id, int status);
84 BluetoothGattInterface* gatt_iface, int conn_id, int registered,
87 virtual void NotifyCallback(BluetoothGattInterface* gatt_iface, int conn_id,
91 int conn_id, int status,
95 int conn_id, int status,
99 int conn_id, int status, int mtu);
102 int conn_id,
107 int conn_id, uint16_t start_handle,
[all …]
Dfake_bluetooth_gatt_interface.cc55 int conn_id) { in FakeDisconnect() argument
57 return g_client_handler->Disconnect(client_if, bd_addr, conn_id); in FakeDisconnect()
91 bt_status_t FakeSendIndication(int server_if, int attribute_handle, int conn_id, in FakeSendIndication() argument
95 conn_id, confirm, std::move(value)); in FakeSendIndication()
100 bt_status_t FakeSendResponse(int conn_id, int trans_id, int status, in FakeSendResponse() argument
103 return g_server_handler->SendResponse(conn_id, trans_id, status, response); in FakeSendResponse()
197 void FakeBluetoothGattInterface::NotifyConnectCallback(int conn_id, int status, in NotifyConnectCallback() argument
201 observer.ConnectCallback(this, conn_id, status, client_if, bda); in NotifyConnectCallback()
206 int conn_id, int status, int client_if, const RawAddress& bda) { in NotifyDisconnectCallback() argument
208 observer.DisconnectCallback(this, conn_id, status, client_if, bda); in NotifyDisconnectCallback()
[all …]
Dfake_bluetooth_gatt_interface.h46 int conn_id) = 0;
63 int conn_id, int confirm,
65 virtual bt_status_t SendResponse(int conn_id, int trans_id, int status,
90 void NotifyConnectCallback(int conn_id, int status, int client_if,
92 void NotifyDisconnectCallback(int conn_id, int status, int client_if,
98 void NotifyServerConnectionCallback(int conn_id, int server_if, int connected,
109 void NotifyRequestReadCharacteristicCallback(int conn_id, int trans_id,
113 void NotifyRequestReadDescriptorCallback(int conn_id, int trans_id,
117 void NotifyRequestWriteCharacteristicCallback(int conn_id, int trans_id,
122 void NotifyRequestWriteDescriptorCallback(int conn_id, int trans_id,
[all …]
/system/bt/bta/vc/
Dvc_test.cc81 void set_sample_database(uint16_t conn_id, bool vcs, bool vcs_broken, in set_sample_database() argument
128 services_map[conn_id] = builder.Build().Services(); in set_sample_database()
130 ON_CALL(gatt_queue, ReadCharacteristic(conn_id, _, _, _)) in set_sample_database()
131 .WillByDefault(Invoke([&](uint16_t conn_id, uint16_t handle, in set_sample_database()
156 cb(conn_id, GATT_SUCCESS, handle, value.size(), value.data(), in set_sample_database()
171 Invoke([&](uint16_t conn_id, in SetUp()
173 std::list<gatt::Service>& services = services_map[conn_id]; in SetUp()
188 [&](uint16_t conn_id, uint16_t handle) -> const gatt::Service* { in SetUp() argument
189 std::list<gatt::Service>& services = services_map[conn_id]; in SetUp()
202 Invoke([&](uint16_t conn_id) -> std::list<gatt::Service>* { in SetUp() argument
[all …]
/system/bt/btif/src/
Dbtif_gatt_client.cc138 p_data->exec_cmpl.conn_id, p_data->exec_cmpl.status); in btif_gattc_upstreams_evt()
144 p_data->search_cmpl.conn_id, p_data->search_cmpl.status); in btif_gattc_upstreams_evt()
158 HAL_CBACK(bt_gatt_callbacks, client->notify_cb, p_data->notify.conn_id, in btif_gattc_upstreams_evt()
162 BTA_GATTC_SendIndConfirm(p_data->notify.conn_id, p_data->notify.cid); in btif_gattc_upstreams_evt()
169 HAL_CBACK(bt_gatt_callbacks, client->open_cb, p_data->open.conn_id, in btif_gattc_upstreams_evt()
175 p_data->open.conn_id, p_data->open.status, p_data->open.mtu); in btif_gattc_upstreams_evt()
185 HAL_CBACK(bt_gatt_callbacks, client->close_cb, p_data->close.conn_id, in btif_gattc_upstreams_evt()
201 p_data->cfg_mtu.conn_id, p_data->cfg_mtu.status, in btif_gattc_upstreams_evt()
208 p_data->congest.conn_id, p_data->congest.congested); in btif_gattc_upstreams_evt()
213 p_data->phy_update.conn_id, p_data->phy_update.tx_phy, in btif_gattc_upstreams_evt()
[all …]
Dbtif_gatt_test.cc49 uint16_t conn_id; member
70 uint16_t conn_id, bool connected, in btif_test_connect_cback() argument
72 LOG_INFO("%s: conn_id=%d, connected=%d", __func__, conn_id, connected); in btif_test_connect_cback()
73 test_cb.conn_id = connected ? conn_id : 0; in btif_test_connect_cback()
76 static void btif_test_command_complete_cback(uint16_t conn_id, tGATTC_OPTYPE op, in btif_test_command_complete_cback() argument
80 conn_id, status); in btif_test_command_complete_cback()
91 GATTC_SendHandleValueConfirm(conn_id, p_data->cid); in btif_test_command_complete_cback()
100 static void btif_test_discovery_result_cback(UNUSED_ATTR uint16_t conn_id, in btif_test_discovery_result_cback() argument
155 UNUSED_ATTR uint16_t conn_id, UNUSED_ATTR tGATT_DISC_TYPE disc_type, in btif_test_discovery_complete_cback() argument
212 LOG_INFO("%s: DISCONNECT - conn_id=%d", __func__, test_cb.conn_id); in btif_gattc_test_command_impl()
[all …]
/system/bt/bta/test/common/
Dbta_gatt_queue_mock.cc26 void BtaGattQueue::Clean(uint16_t conn_id) { gatt_queue->Clean(conn_id); } in Clean() argument
28 void BtaGattQueue::ReadCharacteristic(uint16_t conn_id, uint16_t handle, in ReadCharacteristic() argument
30 gatt_queue->ReadCharacteristic(conn_id, handle, cb, cb_data); in ReadCharacteristic()
33 void BtaGattQueue::WriteCharacteristic(uint16_t conn_id, uint16_t handle, in WriteCharacteristic() argument
37 gatt_queue->WriteCharacteristic(conn_id, handle, value, write_type, cb, in WriteCharacteristic()
41 void BtaGattQueue::WriteDescriptor(uint16_t conn_id, uint16_t handle, in WriteDescriptor() argument
45 gatt_queue->WriteDescriptor(conn_id, handle, value, write_type, cb, cb_data); in WriteDescriptor()
Dbta_gatt_api_mock.cc53 void BTA_GATTC_Close(uint16_t conn_id) { gatt_interface->Close(conn_id); } in BTA_GATTC_Close() argument
55 void BTA_GATTC_ServiceSearchRequest(uint16_t conn_id, in BTA_GATTC_ServiceSearchRequest() argument
57 gatt_interface->ServiceSearchRequest(conn_id, p_srvc_uuid); in BTA_GATTC_ServiceSearchRequest()
60 const std::list<gatt::Service>* BTA_GATTC_GetServices(uint16_t conn_id) { in BTA_GATTC_GetServices() argument
61 return gatt_interface->GetServices(conn_id); in BTA_GATTC_GetServices()
64 const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id, in BTA_GATTC_GetCharacteristic() argument
66 return gatt_interface->GetCharacteristic(conn_id, handle); in BTA_GATTC_GetCharacteristic()
69 const gatt::Service* BTA_GATTC_GetOwningService(uint16_t conn_id, in BTA_GATTC_GetOwningService() argument
71 return gatt_interface->GetOwningService(conn_id, handle); in BTA_GATTC_GetOwningService()
Dbta_gatt_api_mock.h38 virtual void Close(uint16_t conn_id) = 0;
39 virtual void ServiceSearchRequest(uint16_t conn_id,
41 virtual const std::list<Service>* GetServices(uint16_t conn_id) = 0;
42 virtual const Characteristic* GetCharacteristic(uint16_t conn_id,
44 virtual const Service* GetOwningService(uint16_t conn_id,
71 MOCK_METHOD((void), Close, (uint16_t conn_id));
73 (uint16_t conn_id, const bluetooth::Uuid* p_srvc_uuid));
74 MOCK_METHOD((std::list<Service>*), GetServices, (uint16_t conn_id));
76 (uint16_t conn_id, uint16_t handle));
78 (uint16_t conn_id, uint16_t handle));
/system/bt/service/
Dgatt_server.cc170 ->send_response(connection->conn_id, request_id, error, response); in SendResponse()
210 if (pending_indications_.find(conn->conn_id) != in SendNotification()
213 << " is already pending for connection: " << conn->conn_id; in SendNotification()
223 conn->conn_id, confirm, value); in SendNotification()
233 pending_indications_[conn->conn_id] = pending_ind; in SendNotification()
246 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int server_id, in ConnectionCallback() argument
254 VLOG(1) << __func__ << " conn_id: " << conn_id << " connected: " << connected in ConnectionCallback()
260 conn_id_map_.erase(conn_id); in ConnectionCallback()
267 if ((*conn_iter)->conn_id != conn_id) continue; in ConnectionCallback()
279 if (conn_id_map_.find(conn_id) != conn_id_map_.end()) { in ConnectionCallback()
[all …]
Dlow_energy_client.cc79 std::map<const RawAddress, int>::iterator conn_id; in Disconnect() local
82 conn_id = connection_ids_.find(bda); in Disconnect()
83 if (conn_id == connection_ids_.end()) { in Disconnect()
91 client_id_, bda, conn_id->second); in Disconnect()
106 std::map<const RawAddress, int>::iterator conn_id; in SetMtu() local
109 conn_id = connection_ids_.find(bda); in SetMtu()
110 if (conn_id == connection_ids_.end()) { in SetMtu()
118 ->configure_mtu(conn_id->second, mtu); in SetMtu()
139 int conn_id, int status, int client_id, in ConnectCallback() argument
147 auto success = connection_ids_.emplace(bda, conn_id); in ConnectCallback()
[all …]
/system/bt/bta/test/
Dbta_gatt_test.cc34 uint16_t conn_id; member
42 void bta_gatt_read_complete_callback(uint16_t conn_id, tGATT_STATUS status, in bta_gatt_read_complete_callback() argument
45 param::bta_gatt_read_complete_callback.conn_id = conn_id; in bta_gatt_read_complete_callback()
55 uint16_t conn_id; member
62 void bta_gatt_write_complete_callback(uint16_t conn_id, tGATT_STATUS status, in bta_gatt_write_complete_callback() argument
64 param::bta_gatt_write_complete_callback.conn_id = conn_id; in bta_gatt_write_complete_callback()
72 uint16_t conn_id; member
78 void bta_gatt_configure_mtu_complete_callback(uint16_t conn_id, in bta_gatt_configure_mtu_complete_callback() argument
80 param::bta_gatt_configure_mtu_complete_callback.conn_id = conn_id; in bta_gatt_configure_mtu_complete_callback()
117 .conn_id = 1,
[all …]

1234