Searched refs:connection_id (Results 1 – 10 of 10) sorted by relevance
/system/bt/bta/vc/ |
D | vc.cc | 104 void OnGattConnected(tGATT_STATUS status, uint16_t connection_id, in OnGattConnected() argument 108 << ", connection_id=" << connection_id; in OnGattConnected() 123 device->connection_id = connection_id; in OnGattConnected() 164 BTA_GATTC_ServiceSearchRequest(device->connection_id, in OnEncryptionComplete() 179 BtaGattQueue::Clean(device->connection_id); in OnServiceChangeEvent() 191 BTA_GATTC_ServiceSearchRequest(device->connection_id, in OnServiceDiscDoneEvent() 195 void OnServiceSearchComplete(uint16_t connection_id, tGATT_STATUS status) { in OnServiceSearchComplete() argument 197 volume_control_devices_.FindByConnId(connection_id); in OnServiceSearchComplete() 200 << loghex(connection_id); in OnServiceSearchComplete() 296 void OnGattWriteCcc(uint16_t connection_id, tGATT_STATUS status, in OnGattWriteCcc() argument [all …]
|
D | device.cc | 41 BtaGattQueue::Clean(connection_id); in Disconnect() 42 BTA_GATTC_Close(connection_id); in Disconnect() 43 connection_id = GATT_INVALID_CONN_ID; in Disconnect() 58 BTA_GATTC_GetCharacteristic(connection_id, chrc_handle); in find_ccc_handle() 113 BTA_GATTC_GetServices(connection_id); in UpdateHandles() 134 BtaGattQueue::Clean(connection_id); in ResetHandles() 151 BtaGattQueue::WriteCharacteristic(connection_id, volume_control_point_handle, in ControlPointOperation() 169 BtaGattQueue::WriteDescriptor(connection_id, ccc_handle, std::move(value), in subscribe_for_notifications() 194 BtaGattQueue::ReadCharacteristic(connection_id, volume_state_handle, in EnqueueInitialRequests() 219 BtaGattQueue::ReadCharacteristic(connection_id, handles.first, chrc_read_cb, in EnqueueRemainingRequests()
|
D | devices.h | 52 uint16_t connection_id; variable 73 connection_id(GATT_INVALID_CONN_ID), in VolumeControlDevice() 87 bool IsConnected() { return connection_id != GATT_INVALID_CONN_ID; } in IsConnected() 150 VolumeControlDevice* FindByConnId(uint16_t connection_id) { in FindByConnId() argument 153 [&connection_id](const VolumeControlDevice& device) { in FindByConnId() 154 return device.connection_id == connection_id; in FindByConnId()
|
D | devices_test.cc | 118 test_device->connection_id = 0x0005; in TEST_F() 119 ASSERT_NE(nullptr, devices_->FindByConnId(test_device->connection_id)); in TEST_F() 128 test_device_0->connection_id = 0x0005; in TEST_F() 130 EXPECT_CALL(gatt_interface, Close(test_device_0->connection_id)); in TEST_F() 144 uint16_t connection_id = i; in TEST_F() local 147 device->connection_id = connection_id; in TEST_F() 153 WriteCharacteristic(connection_id, control_point_handle, in TEST_F() 174 uint16_t connection_id = i; in TEST_F() local 177 device->connection_id = connection_id; in TEST_F() 183 WriteCharacteristic(connection_id, control_point_handle, in TEST_F() [all …]
|
/system/bt/stack/sdp/ |
D | sdp_main.cc | 127 p_ccb->connection_id = l2cap_cid; in sdp_connect_ind() 355 p_ccb->connection_id = cid; in sdp_conn_originate() 369 SDP_TRACE_EVENT("SDP - disconnect CID: 0x%x", p_ccb->connection_id); in sdp_disconnect() 372 if (p_ccb->connection_id != 0) { in sdp_disconnect() 373 L2CA_DisconnectReq(p_ccb->connection_id); in sdp_disconnect() 400 p_ccb->connection_id); in sdp_conn_timer_timeout() 402 L2CA_DisconnectReq(p_ccb->connection_id); in sdp_conn_timer_timeout()
|
D | sdpint.h | 138 uint16_t connection_id; member
|
D | sdp_server.cc | 295 L2CA_DataWrite(p_ccb->connection_id, p_buf); in process_service_search() 528 L2CA_DataWrite(p_ccb->connection_id, p_buf); in process_service_attr_req() 844 L2CA_DataWrite(p_ccb->connection_id, p_buf); in process_service_search_attr_req()
|
D | sdp_discovery.cc | 164 L2CA_DataWrite(p_ccb->connection_id, p_cmd); in sdp_snd_service_search_req() 499 L2CA_DataWrite(p_ccb->connection_id, p_msg); in process_service_attr_rsp() 620 L2CA_DataWrite(p_ccb->connection_id, p_msg); in process_service_search_attr_rsp()
|
D | sdp_utils.cc | 305 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->connection_id == cid)) in sdpu_find_ccb_by_cid() 528 error_code, p_ccb->connection_id); in sdpu_build_n_send_error() 555 L2CA_DataWrite(p_ccb->connection_id, p_buf); in sdpu_build_n_send_error()
|
/system/bt/stack/gap/ |
D | gap_conn.cc | 50 uint16_t connection_id; /* L2CAP CID */ member 282 p_ccb->connection_id = cid; in GAP_ConnOpen() 291 p_ccb->connection_id = cid; in GAP_ConnOpen() 322 L2CA_DisconnectLECocReq(p_ccb->connection_id); in GAP_ConnClose() 324 L2CA_DisconnectReq(p_ccb->connection_id); in GAP_ConnClose() 440 status = L2CA_LECocDataWrite(p_ccb->connection_id, p_buf); in gap_try_write_queued_data() 442 status = L2CA_DataWrite(p_ccb->connection_id, p_buf); in gap_try_write_queued_data() 564 return (p_ccb->connection_id); in GAP_ConnGetL2CAPCid() 631 p_ccb->connection_id = l2cap_cid; in gap_connect_ind() 645 p_ccb->connection_id); in gap_connect_ind() [all …]
|