Searched refs:random_pkt (Results 1 – 2 of 2) sorted by relevance
164 auto random_pkt = WaitPairingRandom(); in DoLegacyStage2() local165 if (std::holds_alternative<PairingFailure>(random_pkt)) { in DoLegacyStage2()166 return std::get<PairingFailure>(random_pkt); in DoLegacyStage2()168 srand = std::get<PairingRandomView>(random_pkt).GetRandomValue(); in DoLegacyStage2()215 auto random_pkt = WaitPairingRandom(); in DoLegacyStage2() local216 if (std::holds_alternative<PairingFailure>(random_pkt)) { in DoLegacyStage2()217 return std::get<PairingFailure>(random_pkt); in DoLegacyStage2()219 mrand = std::get<PairingRandomView>(random_pkt).GetRandomValue(); in DoLegacyStage2()
228 std::optional<bluetooth::security::CommandView> random_pkt = WaitForOutgoingL2capPacket(); in TEST_F() local229 EXPECT_TRUE(random_pkt.has_value()); in TEST_F()230 EXPECT_EQ(Code::PAIRING_RANDOM, random_pkt->GetCode()); in TEST_F()231 auto prv = PairingRandomView::Create(random_pkt.value()); in TEST_F()