Lines Matching refs:peer

51     hci::Address peer;  in CreateBond()  local
52 ASSERT(hci::Address::FromString(request->address().address(), peer)); in CreateBond()
54 security_module_->GetSecurityManager()->CreateBond(hci::AddressWithType(peer, peer_type)); in CreateBond()
60 hci::Address peer; in CreateBondLe() local
61 ASSERT(hci::Address::FromString(request->address().address(), peer)); in CreateBondLe()
63 security_module_->GetSecurityManager()->CreateBondLe(hci::AddressWithType(peer, peer_type)); in CreateBondLe()
69 hci::Address peer; in CancelBond() local
70 ASSERT(hci::Address::FromString(request->address().address(), peer)); in CancelBond()
72 security_module_->GetSecurityManager()->CancelBond(hci::AddressWithType(peer, peer_type)); in CancelBond()
78 hci::Address peer; in RemoveBond() local
79 ASSERT(hci::Address::FromString(request->address().address(), peer)); in RemoveBond()
81 security_module_->GetSecurityManager()->RemoveBond(hci::AddressWithType(peer, peer_type)); in RemoveBond()
92 hci::Address peer; in SendUiCallback() local
93 ASSERT(hci::Address::FromString(request->address().address().address(), peer)); in SendUiCallback()
99 hci::AddressWithType(peer, remote_type), request->numeric_value()); in SendUiCallback()
102 … security_module_->GetSecurityManager()->OnConfirmYesNo(hci::AddressWithType(peer, remote_type), in SendUiCallback()
107 hci::AddressWithType(peer, remote_type), request->boolean()); in SendUiCallback()
214 hci::Address peer; in EnforceSecurityPolicy() local
215 ASSERT(hci::Address::FromString(request->address().address().address(), peer)); in EnforceSecurityPolicy()
217 hci::AddressWithType peer_with_type(peer, peer_type); in EnforceSecurityPolicy()
248 hci::Address peer; in SetOutOfBandData() local
249 ASSERT(hci::Address::FromString(request->address().address().address(), peer)); in SetOutOfBandData()
251 hci::AddressWithType peer_with_type(peer, peer_type); in SetOutOfBandData()
267 void DisplayPairingPrompt(const bluetooth::hci::AddressWithType& peer, std::string name) { in DisplayPairingPrompt() argument
268 LOG_INFO("%s", peer.ToString().c_str()); in DisplayPairingPrompt()
270 display_yes_no.mutable_peer()->mutable_address()->set_address(peer.ToString()); in DisplayPairingPrompt()
271 …display_yes_no.mutable_peer()->set_type(static_cast<facade::BluetoothAddressTypeEnum>(peer.GetAddr… in DisplayPairingPrompt()
277 virtual void DisplayConfirmValue(const bluetooth::hci::AddressWithType& peer, std::string name, in DisplayConfirmValue() argument
279 LOG_INFO("%s value = 0x%x", peer.ToString().c_str(), numeric_value); in DisplayConfirmValue()
281 display_with_value.mutable_peer()->mutable_address()->set_address(peer.ToString()); in DisplayConfirmValue()
282 …display_with_value.mutable_peer()->set_type(static_cast<facade::BluetoothAddressTypeEnum>(peer.Get… in DisplayConfirmValue()
289 void DisplayYesNoDialog(const bluetooth::hci::AddressWithType& peer, std::string name) override { in DisplayYesNoDialog() argument
290 LOG_INFO("%s", peer.ToString().c_str()); in DisplayYesNoDialog()
292 display_yes_no.mutable_peer()->mutable_address()->set_address(peer.ToString()); in DisplayYesNoDialog()
293 …display_yes_no.mutable_peer()->set_type(static_cast<facade::BluetoothAddressTypeEnum>(peer.GetAddr… in DisplayYesNoDialog()
299 …void DisplayPasskey(const bluetooth::hci::AddressWithType& peer, std::string name, uint32_t passke… in DisplayPasskey() argument
300 LOG_INFO("%s value = 0x%x", peer.ToString().c_str(), passkey); in DisplayPasskey()
302 display_passkey.mutable_peer()->mutable_address()->set_address(peer.ToString()); in DisplayPasskey()
303 …display_passkey.mutable_peer()->set_type(static_cast<facade::BluetoothAddressTypeEnum>(peer.GetAdd… in DisplayPasskey()
310 …void DisplayEnterPasskeyDialog(const bluetooth::hci::AddressWithType& peer, std::string name) over… in DisplayEnterPasskeyDialog() argument
311 LOG_INFO("%s", peer.ToString().c_str()); in DisplayEnterPasskeyDialog()
313 display_passkey_input.mutable_peer()->mutable_address()->set_address(peer.ToString()); in DisplayEnterPasskeyDialog()
315 static_cast<facade::BluetoothAddressTypeEnum>(peer.GetAddressType())); in DisplayEnterPasskeyDialog()
321 void Cancel(const bluetooth::hci::AddressWithType& peer) override { in Cancel() argument
322 LOG_INFO("%s", peer.ToString().c_str()); in Cancel()
324 display_cancel.mutable_peer()->mutable_address()->set_address(peer.ToString()); in Cancel()
325 …display_cancel.mutable_peer()->set_type(static_cast<facade::BluetoothAddressTypeEnum>(peer.GetAddr… in Cancel()
331 void OnDeviceBonded(hci::AddressWithType peer) override { in OnDeviceBonded() argument
332 LOG_INFO("%s", peer.ToString().c_str()); in OnDeviceBonded()
334 bonded.mutable_peer()->mutable_address()->set_address(peer.ToString()); in OnDeviceBonded()
335 …bonded.mutable_peer()->set_type(static_cast<facade::BluetoothAddressTypeEnum>(peer.GetAddressType(… in OnDeviceBonded()
342 void OnDeviceUnbonded(hci::AddressWithType peer) override { in OnDeviceUnbonded() argument
343 LOG_INFO("%s", peer.ToString().c_str()); in OnDeviceUnbonded()
345 unbonded.mutable_peer()->mutable_address()->set_address(peer.ToString()); in OnDeviceUnbonded()
346 …unbonded.mutable_peer()->set_type(static_cast<facade::BluetoothAddressTypeEnum>(peer.GetAddressTyp… in OnDeviceUnbonded()
351 void OnDeviceBondFailed(hci::AddressWithType peer) override { in OnDeviceBondFailed() argument
352 LOG_INFO("%s", peer.ToString().c_str()); in OnDeviceBondFailed()
354 bond_failed.mutable_peer()->mutable_address()->set_address(peer.ToString()); in OnDeviceBondFailed()
355 …bond_failed.mutable_peer()->set_type(static_cast<facade::BluetoothAddressTypeEnum>(peer.GetAddress… in OnDeviceBondFailed()