Searched refs:readMessage (Results 1 – 2 of 2) sorted by relevance
256 byte[] receivedMessage = readMessage(MessageType.SECURE_MESSAGE); in receiveSecureMessage()263 private byte[] readMessage(MessageType expected) in readMessage() method in SecureChannel385 ByteBuffer nextInitMessage = ByteBuffer.wrap(readMessage(MessageType.HANDSHAKE_INIT)); in handleHandshakeCollision()407 byte[] handshakeInitMessage = readMessage(MessageType.HANDSHAKE_INIT); in exchangeHandshake()437 mHandshakeContext.parseHandshakeMessage(readMessage(MessageType.HANDSHAKE_FINISH)); in exchangeHandshake()483 byte[] receivedAuthToken = readMessage(MessageType.PRE_SHARED_KEY); in exchangePreSharedKey()517 byte[] remoteAttestation = readMessage(MessageType.ATTESTATION); in exchangeAttestation()531 byte[] remoteVerificationResult = readMessage(MessageType.AVF_RESULT); in exchangeAttestation()
1694 AssertionResult readMessage(const std::string& expectedMessage = kMessage) { in readMessage() function in android::RpcTransportTestUtils::Client1696 std::string readMessage(expectedMessage.size(), '\0'); in readMessage() local1697 iovec readMessageIov{readMessage.data(), readMessage.size()}; in readMessage()1704 if (readMessage != expectedMessage) { in readMessage()1706 << "Expected " << expectedMessage << ", actual " << readMessage; in readMessage()1716 ASSERT_EQ(readOk, readMessage()); in run()1954 ASSERT_TRUE(client.readMessage(RpcTransportTestUtils::kMessage)); in TEST_P()1967 ASSERT_FALSE(client.readMessage(msg2)); in TEST_P()2012 ASSERT_TRUE(client.readMessage(RpcTransportTestUtils::kMessage)); in TEST_P()