Searched refs:random_pkt (Results 1 – 2 of 2) sorted by relevance
163 auto random_pkt = WaitPairingRandom(); in DoLegacyStage2() local164 if (std::holds_alternative<PairingFailure>(random_pkt)) { in DoLegacyStage2()165 return std::get<PairingFailure>(random_pkt); in DoLegacyStage2()167 srand = std::get<PairingRandomView>(random_pkt).GetRandomValue(); in DoLegacyStage2()214 auto random_pkt = WaitPairingRandom(); in DoLegacyStage2() local215 if (std::holds_alternative<PairingFailure>(random_pkt)) { in DoLegacyStage2()216 return std::get<PairingFailure>(random_pkt); in DoLegacyStage2()218 mrand = std::get<PairingRandomView>(random_pkt).GetRandomValue(); in DoLegacyStage2()
225 std::optional<bluetooth::security::CommandView> random_pkt = WaitForOutgoingL2capPacket(); in TEST_F() local226 EXPECT_TRUE(random_pkt.has_value()); in TEST_F()227 EXPECT_EQ(Code::PAIRING_RANDOM, random_pkt->GetCode()); in TEST_F()228 auto prv = PairingRandomView::Create(random_pkt.value()); in TEST_F()