Home
last modified time | relevance | path

Searched refs:io_capability (Results 1 – 11 of 11) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dsecurity_manager.cc84 void SecurityManager::SetPeerIoCapability(const Address& addr, uint8_t io_capability, uint8_t oob_p… in SetPeerIoCapability() argument
88 if (io_capability <= static_cast<uint8_t>(IoCapabilityType::NO_INPUT_NO_OUTPUT)) { in SetPeerIoCapability()
89 peer_io_capability_ = static_cast<IoCapabilityType>(io_capability); in SetPeerIoCapability()
103 void SecurityManager::SetLocalIoCapability(const Address& peer, uint8_t io_capability, uint8_t oob_… in SetLocalIoCapability() argument
106 CHECK(io_capability <= static_cast<uint8_t>(IoCapabilityType::NO_INPUT_NO_OUTPUT)) in SetLocalIoCapability()
107 << "io_capability = " << io_capability; in SetLocalIoCapability()
111 host_io_capability_ = static_cast<IoCapabilityType>(io_capability); in SetLocalIoCapability()
Dsecurity_manager.h79 void SetPeerIoCapability(const Address& addr, uint8_t io_capability, uint8_t oob_present_flag,
81 void SetLocalIoCapability(const Address& peer, uint8_t io_capability, uint8_t oob_present_flag,
Dlink_layer_controller.cc396 uint8_t io_capability = request.GetIoCapability(); in IncomingIoCapabilityRequestPacket() local
408 …security_manager_.SetPeerIoCapability(peer, io_capability, oob_data_present, authentication_requir… in IncomingIoCapabilityRequestPacket()
410 …send_event_(EventPacketBuilder::CreateIoCapabilityResponseEvent(peer, io_capability, oob_data_pres… in IncomingIoCapabilityRequestPacket()
421 uint8_t io_capability = response.GetIoCapability(); in IncomingIoCapabilityResponsePacket() local
425 …security_manager_.SetPeerIoCapability(peer, io_capability, oob_data_present, authentication_requir… in IncomingIoCapabilityResponsePacket()
427 …send_event_(EventPacketBuilder::CreateIoCapabilityResponseEvent(peer, io_capability, oob_data_pres… in IncomingIoCapabilityResponsePacket()
760 …i::Status LinkLayerController::IoCapabilityRequestReply(const Address& peer, uint8_t io_capability, in IoCapabilityRequestReply() argument
763 …security_manager_.SetLocalIoCapability(peer, io_capability, oob_data_present_flag, authentication_… in IoCapabilityRequestReply()
769 … IoCapabilityBuilder::Create(io_capability, oob_data_present_flag, authentication_requirements), in IoCapabilityRequestReply()
774 … IoCapabilityBuilder::Create(io_capability, oob_data_present_flag, authentication_requirements), in IoCapabilityRequestReply()
Dlink_layer_controller.h50 …hci::Status IoCapabilityRequestReply(const Address& peer, uint8_t io_capability, uint8_t oob_data_…
Ddual_mode_controller.cc416 uint8_t io_capability = args_itr.extract<uint8_t>(); in HciIoCapabilityRequestReply() local
420 …hci::Status status = link_layer_controller_.IoCapabilityRequestReply(peer, io_capability, oob_data… in HciIoCapabilityRequestReply()
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dio_capability_builder.h33 …static std::unique_ptr<IoCapabilityBuilder> Create(uint8_t io_capability, uint8_t oob_data_present, in Create() argument
36 new IoCapabilityBuilder(io_capability, oob_data_present, authentication_requirements)); in Create()
51 …explicit IoCapabilityBuilder(uint8_t io_capability, uint8_t oob_data_present, uint8_t authenticati… in IoCapabilityBuilder() argument
52 : io_capability_(io_capability), oob_data_present_(oob_data_present), in IoCapabilityBuilder()
Dlink_layer_packet_builder.cc83 … std::unique_ptr<IoCapabilityBuilder> io_capability, const Address& source, const Address& dest) { in WrapIoCapabilityRequest() argument
85 …new LinkLayerPacketBuilder(Link::PacketType::IO_CAPABILITY_REQUEST, std::move(io_capability), sour… in WrapIoCapabilityRequest()
89 … std::unique_ptr<IoCapabilityBuilder> io_capability, const Address& source, const Address& dest) { in WrapIoCapabilityResponse() argument
91 …new LinkLayerPacketBuilder(Link::PacketType::IO_CAPABILITY_RESPONSE, std::move(io_capability), sou… in WrapIoCapabilityResponse()
Dlink_layer_packet_builder.h62 … std::unique_ptr<IoCapabilityBuilder> io_capability, const Address& source, const Address& dest);
64 … std::unique_ptr<IoCapabilityBuilder> io_capability, const Address& source, const Address& dest);
/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dlink_layer_packet_builder_test.cc268 IoCapabilityView io_capability = IoCapabilityView::GetIoCapability(view); in TEST_F() local
269 ASSERT_EQ(io_capability.GetIoCapability(), io_cap); in TEST_F()
270 ASSERT_EQ(io_capability.GetOobDataPresent(), oob_data_present); in TEST_F()
271 ASSERT_EQ(io_capability.GetAuthenticationRequirements(), authentication_requirements); in TEST_F()
290 IoCapabilityView io_capability = IoCapabilityView::GetIoCapability(view); in TEST_F() local
291 ASSERT_EQ(io_capability.GetIoCapability(), io_cap); in TEST_F()
292 ASSERT_EQ(io_capability.GetOobDataPresent(), oob_data_present); in TEST_F()
293 ASSERT_EQ(io_capability.GetAuthenticationRequirements(), authentication_requirements); in TEST_F()
/system/bt/vendor_libs/test_vendor_lib/packets/hci/
Devent_packet_builder.h210 …ptr<EventPacketBuilder> CreateIoCapabilityResponseEvent(const Address& peer, uint8_t io_capability,
Devent_packet_builder.cc489 …const Address& peer, uint8_t io_capability, bool oob_data_present, uint8_t authentication_requirem… in CreateIoCapabilityResponseEvent() argument
494 CHECK(evt_ptr->AddPayloadOctets1(io_capability)); in CreateIoCapabilityResponseEvent()