Home
last modified time | relevance | path

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

1234

/system/bt/test/mock/
Dmock_bta_gattc_api.cc44 const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id, in BTA_GATTC_GetCharacteristic()
49 const gatt::Characteristic* BTA_GATTC_GetOwningCharacteristic(uint16_t conn_id, in BTA_GATTC_GetOwningCharacteristic()
54 const gatt::Descriptor* BTA_GATTC_GetDescriptor(uint16_t conn_id, in BTA_GATTC_GetDescriptor()
59 const gatt::Service* BTA_GATTC_GetOwningService(uint16_t conn_id, in BTA_GATTC_GetOwningService()
64 const std::list<gatt::Service>* BTA_GATTC_GetServices(uint16_t conn_id) { in BTA_GATTC_GetServices()
91 void BTA_GATTC_Close(uint16_t conn_id) { mock_function_count_map[__func__]++; } in BTA_GATTC_Close()
92 void BTA_GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu) { in BTA_GATTC_ConfigureMTU()
95 void BTA_GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu, in BTA_GATTC_ConfigureMTU()
99 void BTA_GATTC_DiscoverServiceByUuid(uint16_t conn_id, in BTA_GATTC_DiscoverServiceByUuid()
103 void BTA_GATTC_ExecuteWrite(uint16_t conn_id, bool is_execute) { in BTA_GATTC_ExecuteWrite()
[all …]
Dmock_stack_gatt.cc71 bool GATT_GetConnectionInfor(uint16_t conn_id, tGATT_IF* p_gatt_if, in GATT_GetConnectionInfor()
90 tGATT_STATUS GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu) { in GATTC_ConfigureMTU()
94 tGATT_STATUS GATTC_Discover(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in GATTC_Discover()
99 tGATT_STATUS GATTC_Discover(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in GATTC_Discover()
105 tGATT_STATUS GATTC_ExecuteWrite(uint16_t conn_id, bool is_execute) { in GATTC_ExecuteWrite()
109 tGATT_STATUS GATTC_Read(uint16_t conn_id, tGATT_READ_TYPE type, in GATTC_Read()
114 tGATT_STATUS GATTC_SendHandleValueConfirm(uint16_t conn_id, uint16_t cid) { in GATTC_SendHandleValueConfirm()
118 tGATT_STATUS GATTC_Write(uint16_t conn_id, tGATT_WRITE_TYPE type, in GATTC_Write()
128 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication()
133 tGATT_STATUS GATTS_HandleValueNotification(uint16_t conn_id, in GATTS_HandleValueNotification()
[all …]
Dmock_stack_gatt_attr.cc50 tGATT_PROFILE_CLCB* gatt_profile_clcb_alloc(uint16_t conn_id, in gatt_profile_clcb_alloc()
56 tGATT_STATUS proc_read_req(uint16_t conn_id, tGATTS_REQ_TYPE, in proc_read_req()
61 tGATT_STATUS proc_write_req(uint16_t conn_id, tGATTS_REQ_TYPE, in proc_write_req()
66 tGATT_STATUS read_attr_value(uint16_t conn_id, uint16_t handle, in read_attr_value()
Dmock_bta_gatts_api.cc56 void BTA_GATTS_Close(uint16_t conn_id) { mock_function_count_map[__func__]++; } in BTA_GATTS_Close()
65 void BTA_GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_id, in BTA_GATTS_HandleValueIndication()
74 void BTA_GATTS_SendRsp(uint16_t conn_id, uint32_t trans_id, tGATT_STATUS status, in BTA_GATTS_SendRsp()
/system/bt/bta/gatt/
Dbta_gattc_api.cc183 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()
210 void BTA_GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu, in BTA_GATTC_ConfigureMTU()
241 void BTA_GATTC_ServiceSearchRequest(uint16_t conn_id, const Uuid* p_srvc_uuid) { in BTA_GATTC_ServiceSearchRequest()
257 void BTA_GATTC_DiscoverServiceByUuid(uint16_t conn_id, const Uuid& srvc_uuid) { in BTA_GATTC_DiscoverServiceByUuid()
279 const std::list<gatt::Service>* BTA_GATTC_GetServices(uint16_t conn_id) { in BTA_GATTC_GetServices()
296 const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id, in BTA_GATTC_GetCharacteristic()
314 const gatt::Descriptor* BTA_GATTC_GetDescriptor(uint16_t conn_id, in BTA_GATTC_GetDescriptor()
321 const gatt::Characteristic* BTA_GATTC_GetOwningCharacteristic(uint16_t conn_id, in BTA_GATTC_GetOwningCharacteristic()
328 const gatt::Service* BTA_GATTC_GetOwningService(uint16_t conn_id, in BTA_GATTC_GetOwningService()
[all …]
Dbta_gattc_queue.cc40 void BtaGattQueue::mark_as_not_executing(uint16_t 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()
67 void BtaGattQueue::gatt_write_op_finished(uint16_t conn_id, tGATT_STATUS status, in gatt_write_op_finished()
89 void BtaGattQueue::gatt_configure_mtu_op_finished(uint16_t conn_id, in gatt_configure_mtu_op_finished()
107 void BtaGattQueue::gatt_execute_next_op(uint16_t conn_id) { in gatt_execute_next_op()
177 void BtaGattQueue::Clean(uint16_t conn_id) { in Clean()
182 void BtaGattQueue::ReadCharacteristic(uint16_t conn_id, uint16_t handle, in ReadCharacteristic()
191 void BtaGattQueue::ReadDescriptor(uint16_t conn_id, uint16_t handle, in ReadDescriptor()
200 void BtaGattQueue::WriteCharacteristic(uint16_t conn_id, uint16_t handle, in WriteCharacteristic()
213 void BtaGattQueue::WriteDescriptor(uint16_t conn_id, uint16_t handle, in WriteDescriptor()
[all …]
Dbta_gattc_cache.cc134 tGATT_STATUS bta_gattc_discover_pri_service(uint16_t conn_id, in bta_gattc_discover_pri_service()
150 static void bta_gattc_explore_next_service(uint16_t conn_id, in bta_gattc_explore_next_service()
210 static void bta_gattc_explore_srvc_finished(uint16_t conn_id, in bta_gattc_explore_srvc_finished()
246 void bta_gattc_start_disc_char_dscp(uint16_t conn_id, in bta_gattc_start_disc_char_dscp()
337 static tGATT_STATUS bta_gattc_sdp_service_disc(uint16_t conn_id, in bta_gattc_sdp_service_disc()
393 void bta_gattc_disc_res_cback(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in bta_gattc_disc_res_cback()
433 void bta_gattc_disc_cmpl_cback(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in bta_gattc_disc_cmpl_cback()
526 const std::list<Service>* bta_gattc_get_services(uint16_t conn_id) { in bta_gattc_get_services()
543 const Service* bta_gattc_get_service_for_handle(uint16_t conn_id, in bta_gattc_get_service_for_handle()
565 const Characteristic* bta_gattc_get_characteristic(uint16_t conn_id, in bta_gattc_get_characteristic()
[all …]
/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()
76 static void btif_test_command_complete_cback(uint16_t conn_id, tGATTC_OPTYPE op, 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()
155 UNUSED_ATTR uint16_t conn_id, UNUSED_ATTR tGATT_DISC_TYPE disc_type, in btif_test_discovery_complete_cback()
Dbtif_gatt_client.cc359 void btif_gattc_close_impl(int client_if, RawAddress address, int conn_id) { in btif_gattc_close_impl()
371 int conn_id) { in btif_gattc_close()
383 static bt_status_t btif_gattc_search_service(int conn_id, in btif_gattc_search_service()
397 static void btif_gattc_discover_service_by_uuid(int conn_id, const Uuid& uuid) { in btif_gattc_discover_service_by_uuid()
401 void btif_gattc_get_gatt_db_impl(int conn_id) { in btif_gattc_get_gatt_db_impl()
410 static bt_status_t btif_gattc_get_gatt_db(int conn_id) { in btif_gattc_get_gatt_db()
415 void read_char_cb(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in read_char_cb()
431 static bt_status_t btif_gattc_read_char(int conn_id, uint16_t handle, in btif_gattc_read_char()
438 void read_using_char_uuid_cb(uint16_t conn_id, tGATT_STATUS status, in read_using_char_uuid_cb()
455 static bt_status_t btif_gattc_read_using_char_uuid(int conn_id, in btif_gattc_read_using_char_uuid()
[all …]
Dbtif_gatt_server.cc330 int conn_id) { in btif_gatts_close_impl()
342 int conn_id) { in btif_gatts_close()
391 int attribute_handle, int conn_id, in btif_gatts_send_indication()
404 static void btif_gatts_send_response_impl(int conn_id, int trans_id, int status, in btif_gatts_send_response_impl()
416 static bt_status_t btif_gatts_send_response(int conn_id, int trans_id, in btif_gatts_send_response()
/system/bt/bta/test/common/
Dbta_gatt_queue_mock.cc26 void BtaGattQueue::Clean(uint16_t conn_id) { gatt_queue->Clean(conn_id); } in Clean()
28 void BtaGattQueue::ReadCharacteristic(uint16_t conn_id, uint16_t handle, in ReadCharacteristic()
33 void BtaGattQueue::WriteCharacteristic(uint16_t conn_id, uint16_t handle, in WriteCharacteristic()
41 void BtaGattQueue::WriteDescriptor(uint16_t conn_id, uint16_t handle, in WriteDescriptor()
Dbta_gatt_api_mock.cc53 void BTA_GATTC_Close(uint16_t conn_id) { gatt_interface->Close(conn_id); } in BTA_GATTC_Close()
55 void BTA_GATTC_ServiceSearchRequest(uint16_t conn_id, in BTA_GATTC_ServiceSearchRequest()
60 const std::list<gatt::Service>* BTA_GATTC_GetServices(uint16_t conn_id) { in BTA_GATTC_GetServices()
64 const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id, in BTA_GATTC_GetCharacteristic()
69 const gatt::Service* BTA_GATTC_GetOwningService(uint16_t conn_id, in BTA_GATTC_GetOwningService()
/system/bt/stack/gatt/
Dgatt_attr.cc106 uint16_t conn_id = GATT_INVALID_CONN_ID; in gatt_profile_find_conn_id_by_bd_addr() local
124 static tGATT_PROFILE_CLCB* gatt_profile_find_clcb_by_conn_id(uint16_t conn_id) { in gatt_profile_find_clcb_by_conn_id()
171 tGATT_PROFILE_CLCB* gatt_profile_clcb_alloc(uint16_t conn_id, in gatt_profile_clcb_alloc()
208 tGATT_STATUS read_attr_value(uint16_t conn_id, uint16_t handle, in read_attr_value()
244 tGATT_STATUS proc_read_req(uint16_t conn_id, tGATTS_REQ_TYPE, in proc_read_req()
255 tGATT_STATUS proc_write_req(uint16_t conn_id, tGATTS_REQ_TYPE, in proc_write_req()
284 static void gatt_request_cback(uint16_t conn_id, uint32_t trans_id, in gatt_request_cback()
330 const RawAddress& bda, uint16_t conn_id, in gatt_connect_cback()
443 static void gatt_disc_res_cback(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in gatt_disc_res_cback()
484 static void gatt_disc_cmpl_cback(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in gatt_disc_cmpl_cback()
[all …]
Dgatt_api.cc437 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication()
498 tGATT_STATUS GATTS_HandleValueNotification(uint16_t conn_id, in GATTS_HandleValueNotification()
553 tGATT_STATUS GATTS_SendRsp(uint16_t conn_id, uint32_t trans_id, in GATTS_SendRsp()
604 tGATT_STATUS GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu) { in GATTC_ConfigureMTU()
663 tGATT_STATUS GATTC_Discover(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in GATTC_Discover()
717 tGATT_STATUS GATTC_Discover(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in GATTC_Discover()
737 tGATT_STATUS GATTC_Read(uint16_t conn_id, tGATT_READ_TYPE type, in GATTC_Read()
818 tGATT_STATUS GATTC_Write(uint16_t conn_id, tGATT_WRITE_TYPE type, in GATTC_Write()
872 tGATT_STATUS GATTC_ExecuteWrite(uint16_t conn_id, bool is_execute) { in GATTC_ExecuteWrite()
914 tGATT_STATUS GATTC_SendHandleValueConfirm(uint16_t conn_id, uint16_t cid) { in GATTC_SendHandleValueConfirm()
[all …]
/system/bt/stack/test/gatt/
Dstack_gatt_test.cc46 void tGATT_DISC_RES_CB(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in tGATT_DISC_RES_CB()
48 void tGATT_DISC_CMPL_CB(uint16_t conn_id, tGATT_DISC_TYPE disc_type, in tGATT_DISC_CMPL_CB()
50 void tGATT_CMPL_CBACK(uint16_t conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, in tGATT_CMPL_CBACK()
52 void tGATT_CONN_CBACK(tGATT_IF gatt_if, const RawAddress& bda, uint16_t conn_id, in tGATT_CONN_CBACK()
55 void tGATT_REQ_CBACK(uint16_t conn_id, uint32_t trans_id, tGATTS_REQ_TYPE type, in tGATT_REQ_CBACK()
57 void tGATT_CONGESTION_CBACK(uint16_t conn_id, bool congested) {} in tGATT_CONGESTION_CBACK()
59 void tGATT_PHY_UPDATE_CB(tGATT_IF gatt_if, uint16_t conn_id, uint8_t tx_phy, in tGATT_PHY_UPDATE_CB()
61 void tGATT_CONN_UPDATE_CB(tGATT_IF gatt_if, uint16_t conn_id, uint16_t interval, in tGATT_CONN_UPDATE_CB()
/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()
374 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/bta/vc/
Dvc_test.cc81 void set_sample_database(uint16_t conn_id, bool vcs, bool vcs_broken, in set_sample_database()
132 GATT_READ_OP_CB cb, void* cb_data) -> void { in set_sample_database()
188 [&](uint16_t conn_id, uint16_t handle) -> const gatt::Service* { in SetUp()
202 Invoke([&](uint16_t conn_id) -> std::list<gatt::Service>* { in SetUp()
219 GATT_WRITE_OP_CB cb, void* cb_data) -> void { in SetUp()
261 void TestDisconnect(const RawAddress& address, uint16_t conn_id) { in TestDisconnect()
284 void TestSubscribeNotifications(const RawAddress& address, uint16_t conn_id, in TestSubscribeNotifications()
310 void TestReadCharacteristic(const RawAddress& address, uint16_t conn_id, in TestReadCharacteristic()
328 void GetConnectedEvent(const RawAddress& address, uint16_t conn_id) { in GetConnectedEvent()
341 void GetDisconnectedEvent(const RawAddress& address, uint16_t conn_id) { in GetDisconnectedEvent()
[all …]
Ddevices_test.cc238 [&](uint16_t conn_id, uint16_t handle) -> const gatt::Service* { in SetUp()
357 auto cccd_write_cb = [](uint16_t conn_id, tGATT_STATUS status, in TEST_F()
371 uint16_t conn_id, uint16_t handle, std::vector<uint8_t> value, in TEST_F()
376 [&requested_handles](uint16_t conn_id, uint16_t handle, in TEST_F()
381 auto chrc_read_cb = [](uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in TEST_F()
383 auto cccd_write_cb = [](uint16_t conn_id, tGATT_STATUS status, in TEST_F()
384 uint16_t handle, void* data) {}; in TEST_F()
425 auto cccd_write_cb = [](uint16_t conn_id, tGATT_STATUS status, in TEST_F()
446 GATT_WRITE_OP_CB write_cb = [](uint16_t conn_id, tGATT_STATUS status, in TEST_F()
457 GATT_WRITE_OP_CB write_cb = [](uint16_t conn_id, tGATT_STATUS status, in TEST_F()
[all …]
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc55 int conn_id) { in FakeDisconnect()
91 bt_status_t FakeSendIndication(int server_if, int attribute_handle, int conn_id, in FakeSendIndication()
100 bt_status_t FakeSendResponse(int conn_id, int trans_id, int status, in FakeSendResponse()
197 void FakeBluetoothGattInterface::NotifyConnectCallback(int conn_id, int status, in NotifyConnectCallback()
206 int conn_id, int status, int client_if, const RawAddress& bda) { in NotifyDisconnectCallback()
220 int conn_id, int server_if, int connected, const RawAddress& bda) { in NotifyServerConnectionCallback()
234 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestReadCharacteristicCallback()
243 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestReadDescriptorCallback()
252 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestWriteCharacteristicCallback()
262 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestWriteDescriptorCallback()
[all …]
Dbluetooth_gatt_interface.cc111 void ConnectCallback(int conn_id, int status, int client_if, in ConnectCallback()
123 void DisconnectCallback(int conn_id, int status, int client_if, in DisconnectCallback()
135 void SearchCompleteCallback(int conn_id, int status) { in SearchCompleteCallback()
144 void RegisterForNotificationCallback(int conn_id, int registered, int status, in RegisterForNotificationCallback()
155 void NotifyCallback(int conn_id, const btgatt_notify_params_t& p_data) { in NotifyCallback()
167 void WriteCharacteristicCallback(int conn_id, int status, uint16_t handle) { in WriteCharacteristicCallback()
177 void WriteDescriptorCallback(int conn_id, int status, uint16_t handle) { in WriteDescriptorCallback()
187 void MtuChangedCallback(int conn_id, int status, int mtu) { in MtuChangedCallback()
198 void GetGattDbCallback(int conn_id, const btgatt_db_element_t* db, int size) { in GetGattDbCallback()
206 void ServicesRemovedCallback(int conn_id, uint16_t start_handle, in ServicesRemovedCallback()
[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()
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()
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()
/system/bt/service/
Dlow_energy_client.cc79 std::map<const RawAddress, int>::iterator conn_id; in Disconnect() local
106 std::map<const RawAddress, int>::iterator conn_id; in SetMtu() local
139 int conn_id, int status, int client_id, in ConnectCallback()
159 hal::BluetoothGattInterface* gatt_iface, int conn_id, int status, in DisconnectCallback()
177 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()
/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 …]

1234