/packages/modules/Bluetooth/system/bta/vc/ |
D | device.cc | 57 BtaGattQueue::Clean(connection_id); in Disconnect() 58 BTA_GATTC_Close(connection_id); in Disconnect() 59 connection_id = GATT_INVALID_CONN_ID; in Disconnect() 72 BTA_GATTC_GetCharacteristic(connection_id, chrc_handle); in find_ccc_handle() 171 BTA_GATTC_GetServices(connection_id); in UpdateHandles() 186 BTA_GATTC_GetOwningService(connection_id, included.start_handle); in UpdateHandles() 208 BtaGattQueue::Clean(connection_id); in ResetHandles() 227 BtaGattQueue::WriteCharacteristic(connection_id, volume_control_point_handle, in ControlPointOperation() 245 BtaGattQueue::WriteDescriptor(connection_id, ccc_handle, std::move(value), in subscribe_for_notifications() 278 BtaGattQueue::ReadCharacteristic(connection_id, offset.state_handle, in EnqueueInitialRequests() [all …]
|
D | vc.cc | 129 device->connection_id); in Connect() 135 OnGattConnected(GATT_SUCCESS, device->connection_id, gatt_if_, in Connect() 151 void OnGattConnected(tGATT_STATUS status, uint16_t connection_id, in OnGattConnected() argument 155 address, connection_id, bt_transport_text(transport), in OnGattConnected() 161 BTA_GATTC_Close(connection_id); in OnGattConnected() 178 device->connection_id = connection_id; in OnGattConnected() 220 BTA_GATTC_ServiceSearchRequest(device->connection_id, kVolumeControlUuid); in OnEncryptionComplete() 242 BTA_GATTC_ServiceSearchRequest(device->connection_id, kVolumeControlUuid); in ClearDeviceInformationAndStartSearch() 265 BTA_GATTC_ServiceSearchRequest(device->connection_id, kVolumeControlUuid); in OnServiceDiscDoneEvent() 269 void OnServiceSearchComplete(uint16_t connection_id, tGATT_STATUS status) { in OnServiceSearchComplete() argument [all …]
|
D | devices.h | 49 uint16_t connection_id; variable 72 connection_id(GATT_INVALID_CONN_ID), in VolumeControlDevice() 98 if (connection_id == GATT_INVALID_CONN_ID) in DebugDump() 101 stream << " Connected. Conn_id = " << connection_id << "\n"; in DebugDump() 114 bool IsConnected() { return connection_id != GATT_INVALID_CONN_ID; } in IsConnected() 192 VolumeControlDevice* FindByConnId(uint16_t connection_id) { in FindByConnId() argument 195 [&connection_id](const VolumeControlDevice& device) { in FindByConnId() 196 return device.connection_id == connection_id; in FindByConnId()
|
D | devices_test.cc | 121 test_device->connection_id = 0x0005; in TEST_F() 122 ASSERT_NE(nullptr, devices_->FindByConnId(test_device->connection_id)); in TEST_F() 131 test_device_0->connection_id = 0x0005; in TEST_F() 133 EXPECT_CALL(gatt_interface, Close(test_device_0->connection_id)); in TEST_F() 146 uint16_t connection_id = i; in TEST_F() local 149 device->connection_id = connection_id; in TEST_F() 155 WriteCharacteristic(connection_id, control_point_handle, in TEST_F() 176 uint16_t connection_id = i; in TEST_F() local 179 device->connection_id = connection_id; in TEST_F() 185 WriteCharacteristic(connection_id, control_point_handle, in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/stack/sdp/ |
D | sdp_main.cc | 69 p_ccb->connection_id = l2cap_cid; in sdp_connect_ind() 301 p_ccb->connection_id = cid; in sdp_conn_originate() 316 log::verbose("SDP - disconnect CID: 0x{:x}", ccb.connection_id); in sdp_disconnect() 319 if (ccb.connection_id != 0) { in sdp_disconnect() 326 if (!L2CA_DisconnectReq(ccb.connection_id)) { in sdp_disconnect() 328 ccb.device_address, ccb.connection_id); in sdp_disconnect() 383 ccb.connection_id); in sdp_conn_timer_timeout() 385 if (!L2CA_DisconnectReq(ccb.connection_id)) { in sdp_conn_timer_timeout() 387 ccb.connection_id); in sdp_conn_timer_timeout()
|
D | sdp_utils.cc | 342 (p_ccb->connection_id == cid)) { in sdpu_find_ccb_by_cid() 465 return p_ccb->connection_id; in sdpu_get_active_ccb_cid() 493 (p_ccb->connection_id == ccb.connection_id) && in sdpu_process_pend_ccb_same_cid() 525 (p_ccb->connection_id == ccb.connection_id) && in sdpu_process_pend_ccb_new_cid() 537 p_ccb->connection_id = new_cid; in sdpu_process_pend_ccb_new_cid() 565 (p_ccb->connection_id == ccb.connection_id) && in sdpu_clear_pend_ccb() 715 error_code, p_ccb->connection_id); in sdpu_build_n_send_error() 742 if (L2CA_DataWrite(p_ccb->connection_id, p_buf) != L2CAP_DW_SUCCESS) { in sdpu_build_n_send_error() 743 log::warn("Unable to write L2CAP data cid:{}", p_ccb->connection_id); in sdpu_build_n_send_error()
|
D | sdp_discovery.cc | 180 if (L2CA_DataWrite(p_ccb->connection_id, p_cmd) != L2CAP_DW_SUCCESS) { in sdp_snd_service_search_req() 182 p_ccb->device_address, p_ccb->connection_id, p_cmd->len); in sdp_snd_service_search_req() 690 if (L2CA_DataWrite(p_ccb->connection_id, p_msg) != L2CAP_DW_SUCCESS) { in process_service_search_attr_rsp() 692 p_ccb->device_address, p_ccb->connection_id, p_msg->len); in process_service_search_attr_rsp() 864 if (L2CA_DataWrite(p_ccb->connection_id, p_msg) != L2CAP_DW_SUCCESS) { in process_service_attr_rsp() 866 p_ccb->device_address, p_ccb->connection_id, p_msg->len); in process_service_attr_rsp()
|
D | sdp_server.cc | 306 if (L2CA_DataWrite(p_ccb->connection_id, p_buf) != L2CAP_DW_SUCCESS) { in process_service_search() 308 p_ccb->device_address, p_ccb->connection_id, p_buf->len); in process_service_search() 704 if (L2CA_DataWrite(p_ccb->connection_id, p_buf) != L2CAP_DW_SUCCESS) { in process_service_attr_req() 706 p_ccb->device_address, p_ccb->connection_id, p_buf->len); in process_service_attr_req() 1182 if (L2CA_DataWrite(p_ccb->connection_id, p_buf) != L2CAP_DW_SUCCESS) { in process_service_search_attr_req() 1184 p_ccb->device_address, p_ccb->connection_id, p_buf->len); in process_service_search_attr_req()
|
D | sdpint.h | 187 uint16_t connection_id; member
|
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/ |
D | dns_https_frontend.rs | 49 MaybeWrite { connection_id: ConnectionID }, 307 let connection_id = client.connection_id().clone(); in worker_thread() localVariable 308 event_tx.send(InternalCommand::MaybeWrite{connection_id})?; in worker_thread() 355 let connection_id = client.connection_id().clone(); in worker_thread() localVariable 356 event_tx.send(InternalCommand::MaybeWrite{connection_id})?; in worker_thread() 373 let connection_id = client.connection_id().clone(); in worker_thread() localVariable 374 event_tx.send(InternalCommand::MaybeWrite{connection_id})?; in worker_thread() 384 InternalCommand::MaybeWrite {connection_id} => { in worker_thread() 385 if let Some(client) = clients.get_mut(&connection_id) { in worker_thread() 417 … event_tx.send(InternalCommand::MaybeWrite { connection_id: client.connection_id().clone() })?; in worker_thread()
|
D | client.rs | 238 pub fn connection_id(&self) -> &ConnectionID { in connection_id() method
|
/packages/modules/Bluetooth/system/stack/gap/ |
D | gap_conn.cc | 56 uint16_t connection_id; /* L2CAP CID */ member 284 p_ccb->connection_id = cid; in GAP_ConnOpen() 293 p_ccb->connection_id = cid; in GAP_ConnOpen() 322 if (!L2CA_DisconnectLECocReq(p_ccb->connection_id)) { in GAP_ConnClose() 324 p_ccb->rem_dev_address, p_ccb->connection_id); in GAP_ConnClose() 327 if (!L2CA_DisconnectReq(p_ccb->connection_id)) { in GAP_ConnClose() 329 p_ccb->rem_dev_address, p_ccb->connection_id); in GAP_ConnClose() 439 status = L2CA_LECocDataWrite(p_ccb->connection_id, p_buf); in gap_try_write_queued_data() 441 status = L2CA_DataWrite(p_ccb->connection_id, p_buf); in gap_try_write_queued_data() 557 return (p_ccb->connection_id); in GAP_ConnGetL2CAPCid() [all …]
|
/packages/modules/Bluetooth/system/stack/test/sdp/ |
D | stack_sdp_test.cc | 105 sdp_cb.reg_info.pL2CA_ConfigCfm_Cb(p_ccb->connection_id, 0, &cfg); in TEST_F() 110 sdp_cb.reg_info.pL2CA_DisconnectCfm_Cb(p_ccb->connection_id, 0); in TEST_F() 121 if ((p_ccb->con_state == state) && (p_ccb->connection_id == cid)) { in find_ccb() 142 sdp_cb.reg_info.pL2CA_ConfigCfm_Cb(p_ccb1->connection_id, 0, &cfg); in TEST_F() 154 sdp_cb.reg_info.pL2CA_DisconnectCfm_Cb(p_ccb2->connection_id, 0); in TEST_F() 175 sdp_cb.reg_info.pL2CA_ConfigCfm_Cb(p_ccb1->connection_id, 0, &cfg); in TEST_F() 180 sdp_cb.reg_info.pL2CA_DisconnectCfm_Cb(p_ccb1->connection_id, 0); in TEST_F()
|
/packages/modules/Connectivity/remoteauth/service/jni/src/ |
D | remoteauth_jni_android_platform.rs | 90 connection_id: i32, in send_request() 148 connection_id: i32, in send_request() 169 jvalue::from(JValue::Int(connection_id)), in send_request()
|