Home
last modified time | relevance | path

Searched refs:io_capability (Results 1 – 20 of 20) 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 …ASSERT_LOG(io_capability <= static_cast<uint8_t>(IoCapabilityType::NO_INPUT_NO_OUTPUT), "io_capabi… in SetLocalIoCapability()
107 static_cast<int>(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.cc696 uint8_t io_capability = request.GetIoCapability(); in IncomingIoCapabilityRequestPacket() local
709 security_manager_.SetPeerIoCapability(peer, io_capability, oob_data_present, in IncomingIoCapabilityRequestPacket()
713 peer, static_cast<bluetooth::hci::IoCapability>(io_capability), in IncomingIoCapabilityRequestPacket()
730 uint8_t io_capability = response.GetIoCapability(); in IncomingIoCapabilityResponsePacket() local
735 security_manager_.SetPeerIoCapability(peer, io_capability, oob_data_present, in IncomingIoCapabilityResponsePacket()
739 peer, static_cast<bluetooth::hci::IoCapability>(io_capability), in IncomingIoCapabilityResponsePacket()
1302 const Address& peer, uint8_t io_capability, uint8_t oob_data_present_flag, in IoCapabilityRequestReply() argument
1305 peer, io_capability, oob_data_present_flag, authentication_requirements); in IoCapabilityRequestReply()
1314 properties_.GetAddress(), peer, io_capability, oob_data_present_flag, in IoCapabilityRequestReply()
1320 properties_.GetAddress(), peer, io_capability, oob_data_present_flag, in IoCapabilityRequestReply()
Dlink_layer_controller.h57 ErrorCode IoCapabilityRequestReply(const Address& peer, uint8_t io_capability,
Ddual_mode_controller.cc593 uint8_t io_capability = static_cast<uint8_t>(command_view.GetIoCapability()); in IoCapabilityRequestReply() local
600 peer, io_capability, oob_data_present_flag, authentication_requirements); in IoCapabilityRequestReply()
/system/bt/gd/security/
Dfacade_configuration_api.cc27 void FacadeConfigurationApi::SetIoCapability(hci::IoCapability io_capability) { in SetIoCapability() argument
28 …r_->CallOn(security_manager_impl_, &internal::SecurityManagerImpl::SetIoCapability, io_capability); in SetIoCapability()
42 void FacadeConfigurationApi::SetLeIoCapability(security::IoCapability io_capability) { in SetLeIoCapability() argument
43 …->CallOn(security_manager_impl_, &internal::SecurityManagerImpl::SetLeIoCapability, io_capability); in SetLeIoCapability()
Dfacade_configuration_api.h41 void SetIoCapability(hci::IoCapability io_capability);
49 void SetLeIoCapability(security::IoCapability io_capability);
Dinitial_informations.h79 IoCapability io_capability; member
Dpairing_handler_le_unittest.cc138 .myPairingCapabilities = {.io_capability = IoCapability::NO_INPUT_NO_OUTPUT,
275 .myPairingCapabilities = {.io_capability = IoCapability::NO_INPUT_NO_OUTPUT,
314 .myPairingCapabilities = {.io_capability = IoCapability::NO_INPUT_NO_OUTPUT,
Dsmp_packets.pdl46 io_capability : IoCapability,
Dpairing_handler_le.cc202 …PairingRequestBuilder::Create(x.io_capability, x.oob_data_flag, x.auth_req, x.maximum_encryption_k… in ExchangePairingFeature()
272 …PairingResponseBuilder::Create(x.io_capability, x.oob_data_flag, x.auth_req, x.maximum_encryption_… in ExchangePairingFeature()
/system/bt/gd/security/test/
Dpairing_handler_le_pair_test.cc171 .myPairingCapabilities = {.io_capability = IoCapability::NO_INPUT_NO_OUTPUT, in SetUp()
193 .myPairingCapabilities = {.io_capability = IoCapability::NO_INPUT_NO_OUTPUT, in SetUp()
300 master_setup.myPairingCapabilities.io_capability = IoCapability::NO_INPUT_NO_OUTPUT; in TEST_F()
302 slave_setup.myPairingCapabilities.io_capability = IoCapability::NO_INPUT_NO_OUTPUT; in TEST_F()
341 .myPairingCapabilities = {.io_capability = IoCapability::NO_INPUT_NO_OUTPUT, in TEST_F()
361 .myPairingCapabilities = {.io_capability = IoCapability::NO_INPUT_NO_OUTPUT, in TEST_F()
414 master_setup.myPairingCapabilities.io_capability = IoCapability::DISPLAY_YES_NO; in TEST_F()
418 slave_setup.myPairingCapabilities.io_capability = IoCapability::DISPLAY_YES_NO; in TEST_F()
456 master_setup.myPairingCapabilities.io_capability = IoCapability::KEYBOARD_ONLY; in TEST_F()
460 slave_setup.myPairingCapabilities.io_capability = IoCapability::DISPLAY_ONLY; in TEST_F()
[all …]
/system/bt/vendor_libs/test_vendor_lib/packets/
Dlink_layer_packets.pdl103 io_capability : 8,
109 io_capability : 8,
/system/bt/gd/security/pairing/
Dclassic_pairing_handler.cc74 void ClassicPairingHandler::Initiate(bool locally_initiated, hci::IoCapability io_capability, in Initiate() argument
79 local_io_capability_ = io_capability; in Initiate()
147 hci::IoCapability io_capability = local_io_capability_; in OnReceive() local
151 …GetRecord()->GetPseudoAddress().GetAddress(), io_capability, oob_present, authentication_requireme… in OnReceive()
Dpairing_handler.h46 …virtual void Initiate(bool locally_initiated, hci::IoCapability io_capability, hci::OobDataPresent…
Dclassic_pairing_handler.h52 …void Initiate(bool locally_initiated, hci::IoCapability io_capability, hci::OobDataPresent oob_pre…
/system/bt/gd/security/internal/
Dsecurity_manager_impl.cc455 .myPairingCapabilities = {.io_capability = local_le_io_capability_, in OnSmpCommandLe()
525 .myPairingCapabilities = {.io_capability = local_le_io_capability_, in ConnectionIsReadyStartPairing()
632 void SecurityManagerImpl::SetIoCapability(hci::IoCapability io_capability) { in SetIoCapability() argument
633 this->local_io_capability_ = io_capability; in SetIoCapability()
636 void SecurityManagerImpl::SetLeIoCapability(security::IoCapability io_capability) { in SetLeIoCapability() argument
637 this->local_le_io_capability_ = io_capability; in SetLeIoCapability()
Dsecurity_manager_impl.h170 void SetIoCapability(hci::IoCapability io_capability);
173 void SetLeIoCapability(security::IoCapability io_capability);
/system/bt/gd/security/channel/
Dsecurity_manager_channel_unittest.cc267 hci::IoCapability io_capability = (hci::IoCapability)0x00; in TEST_F() local
270 …auto packet = hci::IoCapabilityRequestReplyBuilder::Create(device_.GetAddress(), io_capability, oo… in TEST_F()
301 hci::IoCapability io_capability = (hci::IoCapability)0x00; in TEST_F() local
304 …ingEvent(hci::IoCapabilityResponseBuilder::Create(device_.GetAddress(), io_capability, oob_present, in TEST_F()
/system/bt/gd/hci/
Dhci_packets.pdl1120 io_capability : IoCapability,
4156 io_capability : IoCapability,