Searched refs:PairingEvent (Results 1 – 11 of 11) sorted by relevance
/packages/modules/Bluetooth/system/gd/security/ |
D | pairing_handler_le.h | 60 class PairingEvent { 73 PairingEvent(TYPE type) : type(type) {} in PairingEvent() function 74 PairingEvent(CommandView l2cap_packet) : type(L2CAP), l2cap_packet(l2cap_packet) {} in PairingEvent() function 75 …PairingEvent(UI_ACTION_TYPE ui_action, uint32_t ui_value) : type(UI), ui_action(ui_action), ui_val… in PairingEvent() function 76 PairingEvent(hci::EventView hci_event) : type(HCI_EVENT), hci_event(hci_event) {} in PairingEvent() function 156 PairingEvent e = WaitForEvent(); in WaitEncryptionChanged() 157 …if (e.type != PairingEvent::HCI_EVENT) return PairingFailure("Was expecting HCI event but received… in WaitEncryptionChanged() 181 PairingEvent e = WaitForEvent(); in WaitLeLongTermKeyRequest() 182 …if (e.type != PairingEvent::HCI_EVENT) return PairingFailure("Was expecting HCI event but received… in WaitLeLongTermKeyRequest() 272 queue.push(PairingEvent(PairingEvent::EXIT)); in SendExitSignal() [all …]
|
D | pairing_handler_le_unittest.cc | 309 …pairing_handler->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success *… in TEST_F() 359 …pairing_handler->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success *… in TEST_F()
|
D | pairing_handler_le_secure_connections.cc | 309 std::optional<PairingEvent> response = WaitUiPasskey(); in SecureConnectionsPasskeyEntry() 427 std::optional<PairingEvent> confirmyesno = WaitUiConfirmYesNo(); in SecureConnectionsNumericComparison()
|
D | pairing_handler_le_legacy.cc | 108 std::optional<PairingEvent> response = WaitUiPasskey(); in LegacyPasskeyEntry()
|
D | pairing_handler_le.cc | 51 std::optional<PairingEvent> pairingAccepted = WaitUiPairingAccept(); in PairingMain()
|
/packages/modules/Bluetooth/system/gd/security/test/ |
D | pairing_handler_le_pair_test.cc | 267 PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success */); in RecordPairingPromptHandling() 351 PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success */); in TEST_F() 439 …pairing_handler_a->OnUiAction(PairingEvent::PAIRING_ACCEPTED, 0x01 /* Non-zero value means success… in TEST_F() 483 pairing_handler_a->OnUiAction(PairingEvent::CONFIRM_YESNO, 0x01); in TEST_F() 484 pairing_handler_b->OnUiAction(PairingEvent::CONFIRM_YESNO, 0x01); in TEST_F() 526 pairing_handler_a->OnUiAction(PairingEvent::PASSKEY, passkey_); in TEST_F() 533 pairing_handler_a->OnUiAction(PairingEvent::PASSKEY, passkey_); in TEST_F() 682 pairing_handler_b->OnUiAction(PairingEvent::PASSKEY, data.GetNumericValue()); in TEST_F()
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | RfcommTest.kt | 52 import pandora.SecurityProto.PairingEvent 81 private val mPairingEventIterator: Iterator<PairingEvent>, 99 val pairingEvent: PairingEvent = mPairingEventIterator.next() in onReceive() 136 private val mPairingEventStreamObserver: StreamObserverSpliterator<PairingEvent> =
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/pairing/ |
D | PairingTest.java | 73 import pandora.SecurityProto.PairingEvent; 116 private final StreamObserverSpliterator<PairingEvent> mPairingEventStreamObserver = 203 PairingEvent pairingEvent = mPairingEventStreamObserver.iterator().next(); in testBrEdrPairing_phoneInitiatedBrEdrInquiryOnlyJustWorks() 265 PairingEvent pairingEvent = mPairingEventStreamObserver.iterator().next(); in testBrEdrPairing_phoneInitiatedBrEdrInquiryOnlyJustWorksWhileSdpConnected()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Security.kt | 234 responseObserver: StreamObserver<PairingEvent> in <lambda>() 266 val eventBuilder = PairingEvent.newBuilder().setAddress(device.toByteString()) in <lambda>()
|
/packages/modules/Bluetooth/floss/pandora/server/ |
D | security.py | 182 … context: grpc.ServicerContext) -> AsyncGenerator[security_pb2.PairingEvent, None]: 259 event = security_pb2.PairingEvent()
|
/packages/modules/Bluetooth/system/gd/security/internal/ |
D | security_manager_impl.cc | 406 …pending_le_pairing_.handler_->OnUiAction(PairingEvent::UI_ACTION_TYPE::PAIRING_ACCEPTED, confirmed… in OnPairingPromptAccepted() 417 … pending_le_pairing_.handler_->OnUiAction(PairingEvent::UI_ACTION_TYPE::CONFIRM_YESNO, confirmed); in OnConfirmYesNo() 428 pending_le_pairing_.handler_->OnUiAction(PairingEvent::UI_ACTION_TYPE::PASSKEY, passkey); in OnPasskeyEntry()
|