Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/security/test/
Dpairing_handler_le_pair_test.cc107 if (std::holds_alternative<PairingResult>(r)) { in OnPairingFinishedCentral()
109 "pairing finished successfully with {}", std::get<PairingResult>(r).connection_address); in OnPairingFinishedCentral()
117 if (std::holds_alternative<PairingResult>(r)) { in OnPairingFinishedPeripheral()
119 "pairing finished successfully with {}", std::get<PairingResult>(r).connection_address); in OnPairingFinishedPeripheral()
360 EXPECT_TRUE(std::holds_alternative<PairingResult>(pairing_result_central.value())); in TEST_F()
361 EXPECT_TRUE(std::holds_alternative<PairingResult>(pairing_result_peripheral.value())); in TEST_F()
363 auto central_result = std::get<PairingResult>(pairing_result_central.value()); in TEST_F()
369 auto peripheral_result = std::get<PairingResult>(pairing_result_peripheral.value()); in TEST_F()
452 EXPECT_TRUE(std::holds_alternative<PairingResult>(pairing_result_central.value())); in TEST_F()
453 EXPECT_TRUE(std::holds_alternative<PairingResult>(pairing_result_peripheral.value())); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/gd/security/
Dinitial_informations.h53 struct PairingResult { struct
60 using PairingResultOrFailure = std::variant<PairingResult, PairingFailure>; argument
Dpairing_handler_le_unittest.cc62 if (std::holds_alternative<PairingResult>(r)) { in OnPairingFinished()
64 "pairing with {} finished successfully!", std::get<PairingResult>(r).connection_address); in OnPairingFinished()
Dpairing_handler_le.cc214 i.OnPairingFinished(PairingResult{ in PairingMain()
/packages/modules/Bluetooth/system/gd/security/pairing/
Dclassic_pairing_handler_unittest.cc149 ASSERT_TRUE(std::holds_alternative<PairingResult>(status)); in pairing_complete_callback()
151 ASSERT_FALSE(std::holds_alternative<PairingResult>(status)); in pairing_complete_callback()
Dclassic_pairing_handler.cc172 PairingResultOrFailure result = PairingResult(); in Cancel()
/packages/modules/Bluetooth/system/gd/security/internal/
Dsecurity_manager_impl.cc731 auto result = std::get<PairingResult>(pairing_result); in OnPairingFinished()