Home
last modified time | relevance | path

Searched refs:PairingEvent (Results 1 – 7 of 7) sorted by relevance

/system/bt/gd/security/
Dpairing_handler_le.h64 class PairingEvent {
77 PairingEvent(TYPE type) : type(type) {} in PairingEvent() function
78 PairingEvent(CommandView l2cap_packet) : type(L2CAP), l2cap_packet(l2cap_packet) {} in PairingEvent() function
79PairingEvent(UI_ACTION_TYPE ui_action, uint32_t ui_value) : type(UI), ui_action(ui_action), ui_val… in PairingEvent() function
80 PairingEvent(hci::EventPacketView hci_event) : type(HCI_EVENT), hci_event(hci_event) {} in PairingEvent() function
149 PairingEvent e = WaitForEvent(); in WaitEncryptionChanged()
150 …if (e.type != PairingEvent::HCI_EVENT) return PairingFailure("Was expecting HCI event but received… in WaitEncryptionChanged()
230 queue.push(PairingEvent(PairingEvent::EXIT)); in SendExitSignal()
239 queue.push(PairingEvent(std::move(packet))); in OnCommandView()
248 queue.push(PairingEvent(std::move(hci_event))); in OnHciEvent()
[all …]
Dpairing_handler_le_unittest.cc300 …pairing_handler->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success *… in TEST_F()
343 …pairing_handler->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success *… in TEST_F()
Dpairing_handler_le_secure_connections.cc298 std::optional<PairingEvent> response = WaitUiPasskey(); in SecureConnectionsPasskeyEntry()
415 std::optional<PairingEvent> confirmyesno = WaitUiConfirmYesNo(); in SecureConnectionsNumericComparison()
Dpairing_handler_le_legacy.cc102 std::optional<PairingEvent> response = WaitUiPasskey(); in LegacyPasskeyEntry()
Dpairing_handler_le.cc46 std::optional<PairingEvent> pairingAccepted = WaitUiPairingAccept(); in PairingMain()
/system/bt/gd/security/test/
Dpairing_handler_le_pair_test.cc247 … (*handler)->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success */); in RecordPairingPromptHandling()
324 …pairing_handler_b->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success… in TEST_F()
396 …pairing_handler_a->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success… in TEST_F()
441 pairing_handler_a->OnUiAction(PairingEvent::CONFIRM_YESNO, 0x01); in TEST_F()
442 pairing_handler_b->OnUiAction(PairingEvent::CONFIRM_YESNO, 0x01); in TEST_F()
485 pairing_handler_a->OnUiAction(PairingEvent::PASSKEY, passkey); in TEST_F()
493 pairing_handler_a->OnUiAction(PairingEvent::PASSKEY, passkey_); in TEST_F()
642 pairing_handler_b->OnUiAction(PairingEvent::PASSKEY, passkey); in TEST_F()
/system/bt/gd/security/internal/
Dsecurity_manager_impl.cc324 …pending_le_pairing_.handler_->OnUiAction(PairingEvent::UI_ACTION_TYPE::PAIRING_ACCEPTED, confirmed… in OnPairingPromptAccepted()
335 … pending_le_pairing_.handler_->OnUiAction(PairingEvent::UI_ACTION_TYPE::CONFIRM_YESNO, confirmed); in OnConfirmYesNo()
346 pending_le_pairing_.handler_->OnUiAction(PairingEvent::UI_ACTION_TYPE::PASSKEY, passkey); in OnPasskeyEntry()