Searched refs:PairingResult (Results 1 – 7 of 7) sorted by relevance
107 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 …]
53 struct PairingResult { struct60 using PairingResultOrFailure = std::variant<PairingResult, PairingFailure>; argument
62 if (std::holds_alternative<PairingResult>(r)) { in OnPairingFinished()64 "pairing with {} finished successfully!", std::get<PairingResult>(r).connection_address); in OnPairingFinished()
214 i.OnPairingFinished(PairingResult{ in PairingMain()
149 ASSERT_TRUE(std::holds_alternative<PairingResult>(status)); in pairing_complete_callback()151 ASSERT_FALSE(std::holds_alternative<PairingResult>(status)); in pairing_complete_callback()
172 PairingResultOrFailure result = PairingResult(); in Cancel()
731 auto result = std::get<PairingResult>(pairing_result); in OnPairingFinished()