Lines Matching refs:session_id
55 void(const std::string& session_id,
58 MOCK_METHOD1(OnPairingEnd, void(const std::string& session_id));
90 std::string session_id; in PairAndAuthenticate() local
94 CryptoType::kSpake_p224, &session_id, in PairAndAuthenticate()
96 EXPECT_FALSE(session_id.empty()); in PairAndAuthenticate()
104 EXPECT_TRUE(security_.ConfirmPairing(session_id, client_commitment_base64, in PairAndAuthenticate()
117 std::vector<uint8_t>{session_id.begin(), session_id.end()})}; in PairAndAuthenticate()
210 std::string session_id; in TEST_F() local
214 CryptoType::kSpake_p224, &session_id, in TEST_F()
216 EXPECT_FALSE(session_id.empty()); in TEST_F()
221 EXPECT_CALL(callbacks, OnPairingEnd(Eq(session_id))); in TEST_F()
228 security_.ConfirmPairing(session_id, client_commitment + commitment_suffix, in TEST_F()
241 std::string session_id; in TEST_F() local
245 CryptoType::kSpake_p224, &session_id, in TEST_F()
247 EXPECT_CALL(callbacks, OnPairingEnd(Eq(session_id))); in TEST_F()
248 EXPECT_TRUE(security_.CancelPairing(session_id, nullptr)); in TEST_F()
253 std::string session_id; in TEST_F() local
257 CryptoType::kSpake_p224, &session_id, in TEST_F()
297 std::string session_id; in TEST_F() local
300 CryptoType::kSpake_p224, &session_id, in TEST_F()
302 EXPECT_TRUE(security_.CancelPairing(session_id, nullptr)); in TEST_F()