OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:secretmessage
(Results
1 - 18
of
18
) sorted by null
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/message/
secretmessage.cc
15
#include "polo/pairing/message/
secretmessage
.h"
24
SecretMessage
::
SecretMessage
(const std::vector<uint8_t>& secret)
29
const std::vector<uint8_t>&
SecretMessage
::secret() const {
33
std::string
SecretMessage
::ToString() const {
35
ss << "[
SecretMessage
secret="
secretmessage.h
29
class
SecretMessage
: public PoloMessage {
33
explicit
SecretMessage
(const std::vector<uint8_t>& secret);
43
DISALLOW_COPY_AND_ASSIGN(
SecretMessage
);
messagelistener.h
25
#include "polo/pairing/message/
secretmessage
.h"
56
virtual void OnSecretMessage(const
SecretMessage
& message) = 0;
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/
SecretMessage.java
27
public class
SecretMessage
extends PoloMessage {
31
public
SecretMessage
(byte[] secret) {
57
if (!(obj instanceof
SecretMessage
)) {
61
SecretMessage
other = (
SecretMessage
) obj;
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
JsonMessageBuilder.java
37
import com.google.polo.pairing.message.
SecretMessage
;
97
//
SecretMessage
JSON key names
277
* Generates a new {@link
SecretMessage
} from a JSON payload.
283
static
SecretMessage
getSecretMessage(JSONObject body) throws PoloException {
287
return new
SecretMessage
(secretBytes);
346
} else if (message instanceof
SecretMessage
) {
347
return toJson((
SecretMessage
) message);
491
* Translates a {@link
SecretMessage
} to a {@link JSONObject}.
495
static JSONObject toJson(
SecretMessage
message) throws JSONException {
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlMessageBuilder.java
37
import com.google.polo.pairing.message.
SecretMessage
;
86
//
SecretMessage
XML key names
339
* Generates a new {@link
SecretMessage
} from a JSON payload.
345
SecretMessage
getSecretMessage(JSONObject body) throws PoloException {
354
return new
SecretMessage
(secretBytes);
399
} else if (message instanceof
SecretMessage
) {
400
return toXML((
SecretMessage
) message);
556
* Translates a {@link
SecretMessage
} to an XML string.
560
String toXML(
SecretMessage
message) throws JSONException {
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/
ProtobufWireAdapter.java
33
import com.google.polo.pairing.message.
SecretMessage
;
292
} else if (poloMessage instanceof
SecretMessage
) {
293
return toProto((
SecretMessage
) poloMessage);
421
* Converts a {@link
SecretMessage
} to a {@link PoloProto.Secret}.
423
private PoloProto.Secret toProto(
SecretMessage
poloMessage) {
539
* Converts a {@link PoloProto.Secret} to a {@link
SecretMessage
}.
541
private
SecretMessage
fromProto(PoloProto.Secret protoMessage) {
542
return new
SecretMessage
(protoMessage.secret);
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/
mocks.h
52
void(const pairing::message::
SecretMessage
& message));
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
protobufwireadaptertest.cc
50
void(const pairing::message::
SecretMessage
& message));
256
// Verifies that a
SecretMessage
is successfully sent over the interface.
277
pairing::message::
SecretMessage
message(secret);
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
PairingSession.java
33
import com.google.polo.pairing.message.
SecretMessage
;
510
SecretMessage
secretMessage
= new
SecretMessage
(genAlpha);
511
mProtocol.sendMessage(
secretMessage
);
545
SecretMessage
secretMessage
=
546
(
SecretMessage
) getNextMessage(PoloMessageType.SECRET);
549
byte[] inbandAlpha =
secretMessage
.getSecret();
/external/google-tv-pairing-protocol/cpp/
Makefile.am
62
src/polo/pairing/message/
secretmessage
.h
132
src/polo/pairing/message/
secretmessage
.cc \
Makefile.in
117
libpolo_la-secretackmessage.lo libpolo_la-
secretmessage
.lo \
397
src/polo/pairing/message/
secretmessage
.h
450
src/polo/pairing/message/
secretmessage
.cc \
621
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpolo_la-
secretmessage
.Plo@am__quote@
[
all
...]
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
pairingsession.cc
115
message::
SecretMessage
secret_message(*gen_alpha);
216
void PairingSession::OnSecretMessage(const message::
SecretMessage
& message) {
pairingsession.h
109
virtual void OnSecretMessage(const message::
SecretMessage
& message);
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
pairingsessiontest.cc
57
void TestOnSecretMessage(const message::
SecretMessage
& message) {
256
message::
SecretMessage
message(alpha);
/external/google-tv-pairing-protocol/cpp/src/polo/wire/
polowireadapter.h
69
const pairing::message::
SecretMessage
& message) = 0;
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
protobufwireadapter.cc
131
const pairing::message::
SecretMessage
& message) {
332
LOG(ERROR) << "Invalid
SecretMessage
";
340
pairing::message::
SecretMessage
message(secret_bytes);
protobufwireadapter.h
61
const pairing::message::
SecretMessage
& message);
Completed in 301 milliseconds