Home
last modified time | relevance | path

Searched refs:wire_ (Results 1 – 6 of 6) sorted by relevance

/external/libese/libese-teq1/tests/
Dteq1_unittests.cpp495 EseOperationsWrapper::InitializeEse(&ese_, &wire_); in SetUp()
501 wire_.invocations.resize(0); in TearDown()
505 EseWireFake wire_; member in Teq1TransceiveTest
515 wire_.invocations.resize(1); in TEST_F()
527 wire_.invocations[0].expected_tx.resize(frame_size); in TEST_F()
528 memcpy(wire_.invocations[0].expected_tx.data(), &frame.val[0], frame_size); in TEST_F()
536 wire_.invocations[0].rx.resize(frame_size); in TEST_F()
537 memcpy(wire_.invocations[0].rx.data(), &frame, frame_size); in TEST_F()
554 wire_.invocations.resize(2); in TEST_F()
566 wire_.invocations[0].expected_tx.resize(frame_size); in TEST_F()
[all …]
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
Dserverpairingsessiontest.cc56 wire_(&interface_), in ServerPairingSessionTest()
59 session_(&wire_, &context_, &challenge_) { in ServerPairingSessionTest()
72 EXPECT_CALL(wire_, GetNextMessage()); in InitSession()
78 StrictMock<wire::MockWireAdapter> wire_; member in polo::pairing::ServerPairingSessionTest
92 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
100 EXPECT_CALL(wire_, SendPairingRequestAckMessage(_)); in TEST_F()
101 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
110 EXPECT_CALL(wire_, SendOptionsMessage(_)); in TEST_F()
111 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
125 EXPECT_CALL(wire_, SendConfigurationAckMessage(_)); in TEST_F()
[all …]
Dclientpairingsessiontest.cc61 wire_(&interface_), in ClientPairingSessionTest()
64 session_(&wire_, &context_, &challenge_) { in ClientPairingSessionTest()
78 EXPECT_CALL(wire_, SendPairingRequestMessage( in InitSession()
81 EXPECT_CALL(wire_, GetNextMessage()); in InitSession()
87 StrictMock<wire::MockWireAdapter> wire_; member in polo::pairing::ClientPairingSessionTest
106 EXPECT_CALL(wire_, SendConfigurationMessage(_)); in TEST_F()
107 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
115 EXPECT_CALL(wire_, SendOptionsMessage(_)); in TEST_F()
116 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
131 EXPECT_CALL(wire_, SendConfigurationMessage(_)); in TEST_F()
[all …]
Dpairingsessiontest.cc83 wire_(&interface_), in PairingSessionTest()
86 session_(&wire_, &context_, &challenge_) { in PairingSessionTest()
105 StrictMock<wire::MockWireAdapter> wire_; member in polo::pairing::PairingSessionTest
159 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
212 EXPECT_CALL(wire_, SendSecretMessage(_)); in TEST_F()
213 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
242 EXPECT_CALL(wire_, SendSecretMessage(_)); in TEST_F()
243 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
253 EXPECT_CALL(wire_, SendSecretAckMessage(_)); in TEST_F()
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
Dpairingsession.cc28 wire_(wire), in PairingSession()
35 wire_->set_listener(this); in PairingSession()
118 wire_->SendSecretMessage(secret_message); in SetSecret()
121 wire_->GetNextMessage(); in SetSecret()
176 wire_->GetNextMessage(); in DoOutputPairing()
241 wire_->SendSecretAckMessage(ack); in OnSecretMessage()
Dpairingsession.h152 wire::PoloWireAdapter* wire() const { return wire_; } in wire()
186 wire::PoloWireAdapter* wire_; variable