Home
last modified time | relevance | path

Searched refs:req_code (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/host/l2cap/
H A Dfake_signaling_channel.cc105 bool FakeSignalingChannel::SendRequest(CommandCode req_code, in SendRequest() argument
117 EXPECT_EQ(transaction.request_code, req_code); in SendRequest()
134 return (transaction.request_code == req_code); in SendRequest()
156 void FakeSignalingChannel::ServeRequest(CommandCode req_code, in ServeRequest() argument
158 request_handlers_[req_code] = std::move(cb); in ServeRequest()
164 CommandCode req_code, in AddOutbound() argument
169 req_code, in AddOutbound()
176 void FakeSignalingChannel::ReceiveExpect(CommandCode req_code, in ReceiveExpect() argument
180 ReceiveExpectInternal(req_code, req_payload, &expecter); in ReceiveExpect()
184 CommandCode req_code, const ByteBuffer& req_payload) { in ReceiveExpectRejectNotUnderstood() argument
[all …]
H A Dsignaling_channel.cc54 bool SignalingChannel::SendRequest(CommandCode req_code, in SendRequest() argument
78 req_code); in SendRequest()
83 auto command_packet = BuildPacket(req_code, id, payload); in SendRequest()
85 CommandCode response_code = req_code + 1; in SendRequest()
91 void SignalingChannel::ServeRequest(CommandCode req_code, RequestDelegate cb) { in ServeRequest() argument
92 PW_CHECK(!IsSupportedResponse(req_code)); in ServeRequest()
94 inbound_handlers_[req_code] = std::move(cb); in ServeRequest()
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/l2cap/
H A Dfake_signaling_channel.h26 #define EXPECT_OUTBOUND_REQ(fake_sig, req_code, req_payload, ...) \ argument
28 __FILE__, __LINE__, req_code, req_payload, {__VA_ARGS__})
47 bool SendRequest(CommandCode req_code,
50 void ServeRequest(CommandCode req_code, RequestDelegate cb) override;
60 CommandCode req_code,
70 void ReceiveExpect(CommandCode req_code,
76 void ReceiveExpectRejectNotUnderstood(CommandCode req_code,
82 void ReceiveExpectRejectInvalidChannelId(CommandCode req_code,
114 void ReceiveExpectInternal(CommandCode req_code,
H A Dsignaling_channel.h71 virtual bool SendRequest(CommandCode req_code,
104 virtual void ServeRequest(CommandCode req_code, RequestDelegate cb) = 0;
122 bool SendRequest(CommandCode req_code,
125 void ServeRequest(CommandCode req_code, RequestDelegate cb) override;
/aosp_15_r20/system/authgraph/core/src/
H A Dta.rs70 let (req_code, rsp) = match PerformOpReq::from_slice(req_data) { in process()
80 trace!("<- TA: send response {:?} rc {:?}", req_code, rsp.error_code); in process()
/aosp_15_r20/external/autotest/client/common_lib/cros/bluetooth/
H A Dbluetooth_sdp_socket.py173 def send_request_and_wait(self, req_code, req_data, forced_pdu_size=None): argument
193 self.send_request(req_code, req_tid, req_data, forced_pdu_size)
/aosp_15_r20/system/secretkeeper/core/src/
H A Dta.rs186 let (req_code, rsp) = match PerformOpReq::from_slice(req_data) { in process()
196 trace!("<- TA: send response for {:?} rc {:?}", req_code, rsp.err_code()); in process()
/aosp_15_r20/external/crosvm/devices/src/virtio/snd/vios_backend/
H A Dshm_vios.rs504 req_code: u32, in request_info()
511 code: req_code.into(), in request_info()
/aosp_15_r20/system/keymint/ta/src/
H A Dlib.rs668 let (req_code, rsp) = match PerformOpReq::from_slice(req_data) { in process()
682 trace!("<- TA: send response {:?} rc {}", req_code, rsp.error_code); in process()