Home
last modified time | relevance | path

Searched refs:SecretAckMessage (Results 1 – 16 of 16) sorted by relevance

/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/
DSecretAckMessage.java27 public class SecretAckMessage extends PoloMessage { class
31 public SecretAckMessage(byte[] secret) { in SecretAckMessage() method in SecretAckMessage
57 if (!(obj instanceof SecretAckMessage)) { in equals()
61 SecretAckMessage other = (SecretAckMessage) obj; in equals()
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/message/
Dsecretackmessage.cc24 SecretAckMessage::SecretAckMessage(const std::vector<uint8_t>& secret) in SecretAckMessage() function in polo::pairing::message::SecretAckMessage
29 const std::vector<uint8_t>& SecretAckMessage::secret() const { in secret()
33 std::string SecretAckMessage::ToString() const { in ToString()
Dsecretackmessage.h28 class SecretAckMessage : public PoloMessage {
32 explicit SecretAckMessage(const std::vector<uint8_t>& secret);
42 DISALLOW_COPY_AND_ASSIGN(SecretAckMessage);
Dmessagelistener.h59 virtual void OnSecretAckMessage(const SecretAckMessage& message) = 0;
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
DJsonMessageBuilder.java36 import com.google.polo.pairing.message.SecretAckMessage;
300 static SecretAckMessage getSecretAckMessage(JSONObject body) in getSecretAckMessage()
305 return new SecretAckMessage(secretBytes); in getSecretAckMessage()
348 } else if (message instanceof SecretAckMessage) { in poloMessageToJson()
349 return toJson((SecretAckMessage) message); in poloMessageToJson()
514 static JSONObject toJson(SecretAckMessage message) throws JSONException { in toJson()
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/
DProtobufWireAdapter.java32 import com.google.polo.pairing.message.SecretAckMessage;
294 } else if (poloMessage instanceof SecretAckMessage) { in poloMessageToProto()
295 return toProto((SecretAckMessage) poloMessage); in poloMessageToProto()
432 private PoloProto.SecretAck toProto(SecretAckMessage poloMessage) { in toProto()
548 private SecretAckMessage fromProto(PoloProto.SecretAck protoMessage) { in fromProto()
549 return new SecretAckMessage(protoMessage.secret); in fromProto()
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
DXmlMessageBuilder.java36 import com.google.polo.pairing.message.SecretAckMessage;
363 SecretAckMessage getSecretAckMessage(JSONObject body) { in getSecretAckMessage()
364 return new SecretAckMessage(null); in getSecretAckMessage()
401 } else if (message instanceof SecretAckMessage) { in poloMessageToXML()
402 return toXML((SecretAckMessage) message); in poloMessageToXML()
572 String toXML(SecretAckMessage message) { in toXML()
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DPairingSession.java32 import com.google.polo.pairing.message.SecretAckMessage;
514 SecretAckMessage secretAck = in doPairingPhase()
515 (SecretAckMessage) getNextMessage(PoloMessageType.SECRET_ACK); in doPairingPhase()
560 SecretAckMessage secretAck = new SecretAckMessage(inbandAlpha); in doPairingPhase()
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
Dpairingsession.cc238 message::SecretAckMessage ack(*alpha); in OnSecretMessage()
247 const message::SecretAckMessage& message) { in OnSecretAckMessage()
Dpairingsession.h112 virtual void OnSecretAckMessage(const message::SecretAckMessage& message);
/external/google-tv-pairing-protocol/cpp/src/polo/wire/
Dpolowireadapter.h73 const pairing::message::SecretAckMessage& message) = 0;
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/
Dmocks.h54 void(const pairing::message::SecretAckMessage& message));
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
Dprotobufwireadaptertest.cc53 void(const pairing::message::SecretAckMessage& message));
302 pairing::message::SecretAckMessage message(secret); in TEST_F()
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
Dpairingsessiontest.cc61 void TestOnSecretAckmessage(const message::SecretAckMessage& message) { in TestOnSecretAckmessage()
264 message::SecretAckMessage message(alpha); in TEST_F()
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
Dprotobufwireadapter.h65 const pairing::message::SecretAckMessage& message);
Dprotobufwireadapter.cc142 const pairing::message::SecretAckMessage& message) { in SendSecretAckMessage()
355 pairing::message::SecretAckMessage message(secret_bytes); in ParseSecretAckMessage()