/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | security_manager.cc | 84 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()
|
D | security_manager.h | 79 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,
|
D | link_layer_controller.cc | 396 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()
|
D | link_layer_controller.h | 50 …hci::Status IoCapabilityRequestReply(const Address& peer, uint8_t io_capability, uint8_t oob_data_…
|
D | dual_mode_controller.cc | 416 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/ |
D | io_capability_builder.h | 33 …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()
|
D | link_layer_packet_builder.cc | 83 … 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()
|
D | link_layer_packet_builder.h | 62 … 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/ |
D | link_layer_packet_builder_test.cc | 268 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/ |
D | event_packet_builder.h | 210 …ptr<EventPacketBuilder> CreateIoCapabilityResponseEvent(const Address& peer, uint8_t io_capability,
|
D | event_packet_builder.cc | 489 …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()
|