OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PairingRequestMessage
(Results
1 - 20
of
20
) sorted by null
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/message/
pairingrequestmessage.cc
15
#include "polo/pairing/message/
pairingrequestmessage
.h"
24
PairingRequestMessage
::
PairingRequestMessage
(
31
PairingRequestMessage
::
PairingRequestMessage
(const std::string& service_name,
38
std::string
PairingRequestMessage
::service_name() const {
42
std::string
PairingRequestMessage
::client_name() const {
46
bool
PairingRequestMessage
::has_client_name() const {
50
std::string
PairingRequestMessage
::ToString() const {
52
ss << "[
PairingRequestMessage
service_name=" << service_name
[
all
...]
pairingrequestmessage.h
27
class
PairingRequestMessage
: public PoloMessage {
32
explicit
PairingRequestMessage
(const std::string& service_name);
38
PairingRequestMessage
(const std::string& service_name,
56
DISALLOW_COPY_AND_ASSIGN(
PairingRequestMessage
);
messagelistener.h
23
#include "polo/pairing/message/
pairingrequestmessage
.h"
49
const
PairingRequestMessage
& message) = 0;
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/
PairingRequestMessage.java
23
public class
PairingRequestMessage
extends PoloMessage {
35
public
PairingRequestMessage
(String serviceName) {
39
public
PairingRequestMessage
(String serviceName, String clientName) {
75
if (!(obj instanceof
PairingRequestMessage
)) {
79
PairingRequestMessage
other = (
PairingRequestMessage
) obj;
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
ClientPairingSession.java
23
import com.google.polo.pairing.message.
PairingRequestMessage
;
70
PairingRequestMessage
msg = new
PairingRequestMessage
(mServiceName, mClientName);
ServerPairingSession.java
26
import com.google.polo.pairing.message.
PairingRequestMessage
;
55
PairingRequestMessage
request = (
PairingRequestMessage
)
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
clientpairingsession.h
61
const message::
PairingRequestMessage
& message);
serverpairingsession.h
44
const message::
PairingRequestMessage
& message);
clientpairingsession.cc
41
message::
PairingRequestMessage
message(service_name_, client_name_);
44
message::
PairingRequestMessage
message(service_name_);
120
const message::
PairingRequestMessage
& message) {
121
LOG(ERROR) << "Received unexpected
PairingRequestMessage
";
serverpairingsession.cc
46
const message::
PairingRequestMessage
& message) {
/external/google-tv-pairing-protocol/cpp/src/polo/wire/
polowireadapter.h
61
const pairing::message::
PairingRequestMessage
& message) = 0;
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/
mocks.h
48
void(const pairing::message::
PairingRequestMessage
& message));
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
JsonMessageBuilder.java
33
import com.google.polo.pairing.message.
PairingRequestMessage
;
73
//
PairingRequestMessage
JSON key names
155
* Generates a new {@link
PairingRequestMessage
} from a JSON payload.
161
static
PairingRequestMessage
getPairingRequest(JSONObject body)
169
return new
PairingRequestMessage
(serviceName, clientName);
336
if (message instanceof
PairingRequestMessage
) {
337
return toJson((
PairingRequestMessage
) message);
417
* Translates a {@link
PairingRequestMessage
} to a {@link JSONObject}.
421
static JSONObject toJson(
PairingRequestMessage
message) throws JSONException {
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/
ProtobufWireAdapter.java
30
import com.google.polo.pairing.message.
PairingRequestMessage
;
282
if (poloMessage instanceof
PairingRequestMessage
) {
283
return toProto((
PairingRequestMessage
) poloMessage);
301
* Converts a {@link
PairingRequestMessage
} to a
304
private PoloProto.PairingRequest toProto(
PairingRequestMessage
poloMessage) {
470
* {@link
PairingRequestMessage
}.
472
private
PairingRequestMessage
fromProto(PoloProto.PairingRequest protoMessage) {
473
return new
PairingRequestMessage
(protoMessage.serviceName, protoMessage.clientName);
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlMessageBuilder.java
33
import com.google.polo.pairing.message.
PairingRequestMessage
;
68
//
PairingRequestMessage
XML key names
195
* the protocol buffer (for example, in
PairingRequestMessage
, "service_name"
200
* Generates a new {@link
PairingRequestMessage
} from a JSON payload.
206
PairingRequestMessage
getPairingRequest(JSONObject body)
217
return new
PairingRequestMessage
(serviceName, clientName);
389
if (message instanceof
PairingRequestMessage
) {
390
return toXML((
PairingRequestMessage
) message);
467
* Translates a {@link
PairingRequestMessage
} to an XML string.
471
String toXML(
PairingRequestMessage
message) throws JSONException
[
all
...]
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
protobufwireadapter.h
53
const pairing::message::
PairingRequestMessage
& message);
protobufwireadapter.cc
102
const pairing::message::
PairingRequestMessage
& message) {
296
LOG(ERROR) << "Invalid
PairingRequestMessage
";
302
pairing::message::
PairingRequestMessage
message(request.service_name(),
306
pairing::message::
PairingRequestMessage
message(request.service_name());
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
serverpairingsessiontest.cc
103
message::
PairingRequestMessage
message("service1");
pairingsessiontest.cc
74
void(const pairing::message::
PairingRequestMessage
& message));
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
protobufwireadaptertest.cc
44
void(const pairing::message::
PairingRequestMessage
& message));
215
// Verifies that a
PairingRequestMessage
is successfully sent over the
232
pairing::message::
PairingRequestMessage
message("foo-service", "foo-client");
Completed in 182 milliseconds