OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SecretAckMessage
(Results
1 - 16
of
16
) sorted by null
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/message/
secretackmessage.cc
15
#include "polo/pairing/message/
secretackmessage
.h"
24
SecretAckMessage
::
SecretAckMessage
(const std::vector<uint8_t>& secret)
29
const std::vector<uint8_t>&
SecretAckMessage
::secret() const {
33
std::string
SecretAckMessage
::ToString() const {
35
ss << "[
SecretAckMessage
secret="
secretackmessage.h
28
class
SecretAckMessage
: public PoloMessage {
32
explicit
SecretAckMessage
(const std::vector<uint8_t>& secret);
42
DISALLOW_COPY_AND_ASSIGN(
SecretAckMessage
);
messagelistener.h
24
#include "polo/pairing/message/
secretackmessage
.h"
59
virtual void OnSecretAckMessage(const
SecretAckMessage
& message) = 0;
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/
SecretAckMessage.java
27
public class
SecretAckMessage
extends PoloMessage {
31
public
SecretAckMessage
(byte[] secret) {
57
if (!(obj instanceof
SecretAckMessage
)) {
61
SecretAckMessage
other = (
SecretAckMessage
) obj;
/external/google-tv-pairing-protocol/cpp/src/polo/wire/
polowireadapter.h
73
const pairing::message::
SecretAckMessage
& message) = 0;
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/
mocks.h
54
void(const pairing::message::
SecretAckMessage
& message));
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
JsonMessageBuilder.java
36
import com.google.polo.pairing.message.
SecretAckMessage
;
100
//
SecretAckMessage
JSON key names
294
* Generates a new {@link
SecretAckMessage
} from a JSON payload.
300
static
SecretAckMessage
getSecretAckMessage(JSONObject body)
305
return new
SecretAckMessage
(secretBytes);
348
} else if (message instanceof
SecretAckMessage
) {
349
return toJson((
SecretAckMessage
) message);
510
* Translates a {@link
SecretAckMessage
} to a {@link JSONObject}.
514
static JSONObject toJson(
SecretAckMessage
message) throws JSONException {
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlMessageBuilder.java
36
import com.google.polo.pairing.message.
SecretAckMessage
;
358
* Generates a new {@link
SecretAckMessage
} from a JSON payload.
363
SecretAckMessage
getSecretAckMessage(JSONObject body) {
364
return new
SecretAckMessage
(null);
401
} else if (message instanceof
SecretAckMessage
) {
402
return toXML((
SecretAckMessage
) message);
570
* Translates a {@link
SecretAckMessage
} to an XML string.
572
String toXML(
SecretAckMessage
message) {
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
pairingsession.h
112
virtual void OnSecretAckMessage(const message::
SecretAckMessage
& message);
pairingsession.cc
238
message::
SecretAckMessage
ack(*alpha);
247
const message::
SecretAckMessage
& message) {
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
protobufwireadapter.h
65
const pairing::message::
SecretAckMessage
& message);
protobufwireadapter.cc
142
const pairing::message::
SecretAckMessage
& message) {
347
LOG(ERROR) << "Invalid
SecretAckMessage
";
355
pairing::message::
SecretAckMessage
message(secret_bytes);
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
PairingSession.java
32
import com.google.polo.pairing.message.
SecretAckMessage
;
514
SecretAckMessage
secretAck =
515
(
SecretAckMessage
) getNextMessage(PoloMessageType.SECRET_ACK);
560
SecretAckMessage
secretAck = new
SecretAckMessage
(inbandAlpha);
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/
ProtobufWireAdapter.java
32
import com.google.polo.pairing.message.
SecretAckMessage
;
295
} else if (poloMessage instanceof
SecretAckMessage
) {
296
return toProto((
SecretAckMessage
) poloMessage);
431
* Converts a {@link
SecretAckMessage
} to a {@link PoloProto.SecretAck}.
433
private PoloProto.SecretAck toProto(
SecretAckMessage
poloMessage) {
547
* Converts a {@link PoloProto.SecretAck} to a {@link
SecretAckMessage
}.
549
private
SecretAckMessage
fromProto(PoloProto.SecretAck protoMessage) {
550
return new
SecretAckMessage
(protoMessage.secret);
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
pairingsessiontest.cc
61
void TestOnSecretAckmessage(const message::
SecretAckMessage
& message) {
264
message::
SecretAckMessage
message(alpha);
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
protobufwireadaptertest.cc
53
void(const pairing::message::
SecretAckMessage
& message));
281
// Verifies that a
SecretAckMessage
is successfully sent over the interface.
302
pairing::message::
SecretAckMessage
message(secret);
Completed in 822 milliseconds