Home
last modified time | relevance | path

Searched refs:dcid (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/blueberry/tests/gd/l2cap/classic/
Dcert_l2cap.py42 def __init__(self, device, scid, dcid, acl_stream, acl, control_channel, fcs=None): argument
45 self._dcid = dcid
152 dcid = request.GetDestinationCid()
153 if dcid not in self.parent.scid_to_channel:
156 self.parent.scid_to_channel[dcid].send_configuration_response(request, result, options)
220 dcid = request.get().GetSourceCid()
222 scid = dcid
223 …channel = CertL2capChannel(self._device, scid, dcid, self._acl.acl_stream, self._acl, self.control…
227 sid, scid, dcid, l2cap_packets.ConnectionResponseResult.SUCCESS,
241 dcid = request.get().GetSourceCid()
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dmatchers.py301 def ConfigurationRequestView(dcid): argument
302 return lambda request_view: request_view.GetDestinationCid() == dcid
305 def DisconnectionRequest(scid, dcid): argument
306 return lambda packet: L2capMatchers._is_matching_disconnection_request(packet, scid, dcid)
309 def DisconnectionResponse(scid, dcid): argument
310 return lambda packet: L2capMatchers._is_matching_disconnection_response(packet, scid, dcid)
348 def LeDisconnectionRequest(scid, dcid): argument
349 … return lambda packet: L2capMatchers._is_matching_le_disconnection_request(packet, scid, dcid)
352 def LeDisconnectionResponse(scid, dcid): argument
353 … return lambda packet: L2capMatchers._is_matching_le_disconnection_response(packet, scid, dcid)
[all …]
/packages/modules/DnsResolver/tests/doh/src/
Dclient.rs269 let dcid = hdr.dcid.as_ref().to_vec(); in get_or_create() localVariable
270 let client = if !self.clients.contains_key(&dcid) { in get_or_create()
274 let scid = generate_conn_id(&self.conn_id_seed, &dcid); in get_or_create()
287 self.clients.get_mut(&dcid).unwrap() in get_or_create()
310 fn generate_conn_id(conn_id_seed: &hmac::Key, dcid: &[u8]) -> ConnectionID { in generate_conn_id()
311 let conn_id = hmac::sign(conn_id_seed, dcid); in generate_conn_id()
/packages/modules/Bluetooth/system/blueberry/tests/gd/l2cap/le/
Dcert_le_l2cap.py33 def __init__(self, device, scid, dcid, acl_stream, acl, control_channel, initial_credits=0): argument
36 self._dcid = dcid
132 (scid, dcid) = self._respond_connection_request_default(request.get(), result, our_scid)
133 channel = CertLeL2capChannel(self._device, scid, dcid, self._get_acl_stream(), self._le_acl,
177 dcid = disconnection_request.GetDestinationCid()
178 response = l2cap_packets.LeDisconnectionResponseBuilder(sid, dcid, scid)
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dsignalling_manager.h70 static PendingCommand DisconnectionRequest(SignalId signal_id, Cid scid, Cid dcid) { in DisconnectionRequest()
75 pending_command.destination_cid_ = dcid; in DisconnectionRequest()
Dsignalling_manager.cc81 void LeSignallingManager::SendDisconnectRequest(Cid scid, Cid dcid) { in SendDisconnectRequest() argument
82 …PendingCommand pending_command = PendingCommand::DisconnectionRequest(next_signal_id_, scid, dcid); in SendDisconnectRequest()