Searched refs:PairingEvent (Results 1 – 7 of 7) sorted by relevance
/system/bt/gd/security/ |
D | pairing_handler_le.h | 64 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 79 …PairingEvent(UI_ACTION_TYPE ui_action, uint32_t ui_value) : type(UI), ui_action(ui_action), ui_val… in PairingEvent() function 80 PairingEvent(hci::EventView hci_event) : type(HCI_EVENT), hci_event(hci_event) {} in PairingEvent() function 155 PairingEvent e = WaitForEvent(); in WaitEncryptionChanged() 156 …if (e.type != PairingEvent::HCI_EVENT) return PairingFailure("Was expecting HCI event but received… in WaitEncryptionChanged() 180 PairingEvent e = WaitForEvent(); in WaitLeLongTermKeyRequest() 181 …if (e.type != PairingEvent::HCI_EVENT) return PairingFailure("Was expecting HCI event but received… in WaitLeLongTermKeyRequest() 261 queue.push(PairingEvent(PairingEvent::EXIT)); in SendExitSignal() [all …]
|
D | pairing_handler_le_unittest.cc | 306 …pairing_handler->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success *… in TEST_F() 356 …pairing_handler->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success *… in TEST_F()
|
D | pairing_handler_le_secure_connections.cc | 303 std::optional<PairingEvent> response = WaitUiPasskey(); in SecureConnectionsPasskeyEntry() 421 std::optional<PairingEvent> confirmyesno = WaitUiConfirmYesNo(); in SecureConnectionsNumericComparison()
|
D | pairing_handler_le_legacy.cc | 103 std::optional<PairingEvent> response = WaitUiPasskey(); in LegacyPasskeyEntry()
|
D | pairing_handler_le.cc | 46 std::optional<PairingEvent> pairingAccepted = WaitUiPairingAccept(); in PairingMain()
|
/system/bt/gd/security/test/ |
D | pairing_handler_le_pair_test.cc | 260 … (*handler)->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success */); in RecordPairingPromptHandling() 341 …pairing_handler_b->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success… in TEST_F() 429 …pairing_handler_a->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success… in TEST_F() 473 pairing_handler_a->OnUiAction(PairingEvent::CONFIRM_YESNO, 0x01); in TEST_F() 474 pairing_handler_b->OnUiAction(PairingEvent::CONFIRM_YESNO, 0x01); in TEST_F() 516 pairing_handler_a->OnUiAction(PairingEvent::PASSKEY, passkey_); in TEST_F() 523 pairing_handler_a->OnUiAction(PairingEvent::PASSKEY, passkey_); in TEST_F() 671 pairing_handler_b->OnUiAction(PairingEvent::PASSKEY, data.GetNumericValue()); in TEST_F()
|
/system/bt/gd/security/internal/ |
D | security_manager_impl.cc | 391 …pending_le_pairing_.handler_->OnUiAction(PairingEvent::UI_ACTION_TYPE::PAIRING_ACCEPTED, confirmed… in OnPairingPromptAccepted() 402 … pending_le_pairing_.handler_->OnUiAction(PairingEvent::UI_ACTION_TYPE::CONFIRM_YESNO, confirmed); in OnConfirmYesNo() 413 pending_le_pairing_.handler_->OnUiAction(PairingEvent::UI_ACTION_TYPE::PASSKEY, passkey); in OnPasskeyEntry()
|