• Home
  • Raw
  • Download

Lines Matching refs:InitPacket

54 static std::string InitPacket(uint16_t sequence, uint16_t version, uint16_t max_packet_size) {  in InitPacket()  function
92 mock_socket_->ExpectSend(InitPacket(seq, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
93 mock_socket_->AddReceive(InitPacket(seq, kProtocolVersion, 1024)); in TEST_F()
106 mock_socket_->ExpectSend(InitPacket(0x4455, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
124 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
125 mock_socket_->AddReceive(InitPacket(0, 2, 1024)); in TEST_F()
131 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
132 mock_socket_->AddReceive(InitPacket(0, 0, 1024)); in TEST_F()
157 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
167 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
185 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
188 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
189 mock_socket_->AddReceive(InitPacket(0, kProtocolVersion, 1024)); in TEST_F()
198 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
199 mock_socket_->AddReceive(InitPacket(0, kProtocolVersion, 1024) + "bar"); in TEST_F()
211 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
212 mock_socket_->AddReceive(InitPacket(1, kProtocolVersion, 1024)); in TEST_F()
213 mock_socket_->AddReceive(InitPacket(0, kProtocolVersion, 1024)); in TEST_F()
224 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
226 mock_socket_->AddReceive(InitPacket(0, kProtocolVersion, 1024)); in TEST_F()
254 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
255 mock_socket_->AddReceive(InitPacket(0, kProtocolVersion, 511)); in TEST_F()
262 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
263 mock_socket_->AddReceive(InitPacket(0, 0, 1024)); in TEST_F()
280 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
318 InitPacket(starting_sequence, kProtocolVersion, kHostMaxPacketSize)); in InitializeTransport()
320 InitPacket(starting_sequence, kProtocolVersion, device_max_packet_size)); in InitializeTransport()