OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OptionsMessage
(Results
1 - 25
of
27
) sorted by null
1
2
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/message/
configurationmessage.h
20
#include "polo/pairing/message/
optionsmessage
.h"
34
OptionsMessage
::ProtocolRole client_role);
40
OptionsMessage
::ProtocolRole client_role() const;
51
const
OptionsMessage
& local_options,
52
const
OptionsMessage
& peer_options);
56
OptionsMessage
::ProtocolRole client_role_;
optionsmessage.cc
15
#include "polo/pairing/message/
optionsmessage
.h"
26
OptionsMessage
::
OptionsMessage
()
31
void
OptionsMessage
::set_protocol_role_preference(
32
OptionsMessage
::ProtocolRole preference) {
36
OptionsMessage
::ProtocolRole
OptionsMessage
::protocol_role_preference() const {
40
void
OptionsMessage
::AddInputEncoding(
45
void
OptionsMessage
::AddOutputEncoding(
50
bool
OptionsMessage
::SupportsInputEncoding
[
all
...]
configurationmessage.cc
27
message::
OptionsMessage
::ProtocolRole client_role)
37
OptionsMessage
::ProtocolRole ConfigurationMessage::client_role() const {
49
const
OptionsMessage
&local_options,
50
const
OptionsMessage
&peer_options) {
94
==
OptionsMessage
::kDisplayDevice) {
97
OptionsMessage
::kDisplayDevice);
100
OptionsMessage
::kInputDevice);
105
OptionsMessage
::kInputDevice);
108
OptionsMessage
::kDisplayDevice);
optionsmessage.h
28
class
OptionsMessage
: public PoloMessage {
40
OptionsMessage
();
76
DISALLOW_COPY_AND_ASSIGN(
OptionsMessage
);
messagelistener.h
21
#include "polo/pairing/message/
optionsmessage
.h"
45
virtual void OnOptionsMessage(const
OptionsMessage
& message) = 0;
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/
ConfigurationMessage.java
33
private
OptionsMessage
.ProtocolRole mClientRole;
36
OptionsMessage
.ProtocolRole role) {
46
public
OptionsMessage
.ProtocolRole getClientRole() {
OptionsMessage.java
27
public class
OptionsMessage
extends PoloMessage {
74
public
OptionsMessage
() {
119
OptionsMessage
otherOptions) {
200
if (!(obj instanceof
OptionsMessage
)) {
204
OptionsMessage
other = (
OptionsMessage
) obj;
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
pairingsession.h
122
message::
OptionsMessage
::ProtocolRole GetLocalRole() const;
147
const message::
OptionsMessage
& local_options() const {
188
message::
OptionsMessage
local_options_;
clientpairingsession.h
49
virtual void OnOptionsMessage(const message::
OptionsMessage
& message);
serverpairingsession.h
48
const message::
OptionsMessage
& message);
pairingsession.cc
38
message::
OptionsMessage
::kDisplayDevice
39
: message::
OptionsMessage
::kInputDevice);
287
message::
OptionsMessage
::ProtocolRole PairingSession::GetLocalRole() const {
289
return message::
OptionsMessage
::kUnknown;
296
message::
OptionsMessage
::kDisplayDevice ?
297
message::
OptionsMessage
::kInputDevice
298
: message::
OptionsMessage
::kDisplayDevice;
303
return GetLocalRole() == message::
OptionsMessage
::kInputDevice;
serverpairingsession.cc
61
const message::
OptionsMessage
& message) {
79
if (GetLocalRole() == message::
OptionsMessage
::kDisplayDevice) {
clientpairingsession.cc
79
const message::
OptionsMessage
& message) {
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
protobufwireadapter.h
49
const pairing::message::
OptionsMessage
& message);
136
pairing::message::
OptionsMessage
::ProtocolRole role);
140
pairing::message::
OptionsMessage
::ProtocolRole RoleFromProto(
protobufwireadapter.cc
72
const pairing::message::
OptionsMessage
& message) {
240
pairing::message::
OptionsMessage
::ProtocolRole role =
263
LOG(ERROR) << "Invalid
OptionsMessage
";
268
pairing::message::
OptionsMessage
message;
449
pairing::message::
OptionsMessage
::ProtocolRole role) {
451
case pairing::message::
OptionsMessage
::kInputDevice:
453
case pairing::message::
OptionsMessage
::kDisplayDevice:
460
pairing::message::
OptionsMessage
::ProtocolRole
464
return pairing::message::
OptionsMessage
::kInputDevice;
466
return pairing::message::
OptionsMessage
::kDisplayDevice
[
all
...]
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
ClientPairingSession.java
21
import com.google.polo.pairing.message.
OptionsMessage
;
88
OptionsMessage
serverOptions = (
OptionsMessage
) getNextMessage(
/external/google-tv-pairing-protocol/cpp/src/polo/wire/
polowireadapter.h
57
const pairing::message::
OptionsMessage
& message) = 0;
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
clientpairingsessiontest.cc
103
message::
OptionsMessage
::kInputDevice);
134
message::
OptionsMessage
message;
137
message.set_protocol_role_preference(message::
OptionsMessage
::kInputDevice);
146
message::
OptionsMessage
::kInputDevice);
pairingsessiontest.cc
53
const message::
OptionsMessage
& GetLocalOptions() {
72
void(const pairing::message::
OptionsMessage
& message));
120
message::
OptionsMessage
::kInputDevice);
127
ASSERT_EQ(message::
OptionsMessage
::kInputDevice,
140
message::
OptionsMessage
::kInputDevice);
154
message::
OptionsMessage
::kDisplayDevice);
195
message::
OptionsMessage
::kInputDevice);
225
message::
OptionsMessage
::kInputDevice);
serverpairingsessiontest.cc
113
message::
OptionsMessage
message;
132
message::
OptionsMessage
::kInputDevice);
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/
ProtobufWireAdapter.java
28
import com.google.polo.pairing.message.
OptionsMessage
;
287
} else if (poloMessage instanceof
OptionsMessage
) {
288
return toProto((
OptionsMessage
) poloMessage);
328
* Converts a {@link
OptionsMessage
} to a {@link PoloProto.Options}.
330
private PoloProto.Options toProto(
OptionsMessage
poloMessage) {
398
* Converts a {@link
OptionsMessage
.ProtocolRole} to a
401
private int toProto(
OptionsMessage
.ProtocolRole role) {
486
* Converts a {@link PoloProto.Options} to a {@link
OptionsMessage
}.
488
private
OptionsMessage
fromProto(PoloProto.Options protoMessage) {
489
OptionsMessage
optionsMessage = new OptionsMessage()
[
all
...]
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
JsonMessageBuilder.java
30
import com.google.polo.pairing.message.
OptionsMessage
;
31
import com.google.polo.pairing.message.
OptionsMessage
.ProtocolRole;
83
//
OptionsMessage
JSON key names
195
* Generates a new {@link
OptionsMessage
} from a JSON payload.
201
static
OptionsMessage
getOptionsMessage(JSONObject body)
203
OptionsMessage
options = new
OptionsMessage
();
340
} else if (message instanceof
OptionsMessage
) {
341
return toJson((
OptionsMessage
) message);
445
* Translates a {@link
OptionsMessage
} to a {@link JSONObject}
[
all
...]
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlMessageBuilder.java
30
import com.google.polo.pairing.message.
OptionsMessage
;
31
import com.google.polo.pairing.message.
OptionsMessage
.ProtocolRole;
72
//
OptionsMessage
XML key names
192
* in the
OptionsMessage
, encodings are wrapped in an "<options>" container.
246
* Generates a new {@link
OptionsMessage
} from a JSON payload.
252
OptionsMessage
getOptionsMessage(JSONObject body) throws PoloException {
253
OptionsMessage
options = new
OptionsMessage
();
393
} else if (message instanceof
OptionsMessage
) {
394
return toXML((
OptionsMessage
) message)
[
all
...]
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/
mocks.h
46
void(const pairing::message::
OptionsMessage
& message));
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
protobufwireadaptertest.cc
41
void(const pairing::message::
OptionsMessage
& message));
143
pairing::message::
OptionsMessage
::kDisplayDevice);
166
// Verifies that an
OptionsMessage
is successfully sent over the interface.
196
pairing::message::
OptionsMessage
message;
198
pairing::message::
OptionsMessage
::kInputDevice);
Completed in 132 milliseconds
1
2