Home
last modified time | relevance | path

Searched refs:ProtocolRole (Results 1 – 15 of 15) sorted by relevance

/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/
DOptionsMessage.java34 public static enum ProtocolRole { enum in OptionsMessage
41 private ProtocolRole(int intVal) { in ProtocolRole() method in OptionsMessage.ProtocolRole
45 public static ProtocolRole fromIntVal(int intVal) { in fromIntVal()
46 for (ProtocolRole role : ProtocolRole.values()) { in fromIntVal()
51 return ProtocolRole.UNKNOWN; in fromIntVal()
62 private ProtocolRole mProtocolRolePreference;
77 mProtocolRolePreference = ProtocolRole.UNKNOWN; in OptionsMessage()
82 public void setProtocolRolePreference(ProtocolRole pref) { in setProtocolRolePreference()
86 public ProtocolRole getProtocolRolePreference() { in getProtocolRolePreference()
132 ProtocolRole role; in getBestConfiguration()
[all …]
DConfigurationMessage.java33 private OptionsMessage.ProtocolRole mClientRole;
36 OptionsMessage.ProtocolRole role) { in ConfigurationMessage()
46 public OptionsMessage.ProtocolRole getClientRole() { in getClientRole()
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/message/
Doptionsmessage.h32 enum ProtocolRole { enum
57 void set_protocol_role_preference(ProtocolRole preference);
60 ProtocolRole protocol_role_preference() const;
72 ProtocolRole protocol_role_preference_;
Dconfigurationmessage.h34 OptionsMessage::ProtocolRole client_role);
40 OptionsMessage::ProtocolRole client_role() const;
56 OptionsMessage::ProtocolRole client_role_;
Doptionsmessage.cc32 OptionsMessage::ProtocolRole preference) { in set_protocol_role_preference()
36 OptionsMessage::ProtocolRole OptionsMessage::protocol_role_preference() const { in protocol_role_preference()
Dconfigurationmessage.cc27 message::OptionsMessage::ProtocolRole client_role) in ConfigurationMessage()
37 OptionsMessage::ProtocolRole ConfigurationMessage::client_role() const { in client_role()
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DPairingSession.java29 import com.google.polo.pairing.message.OptionsMessage.ProtocolRole;
227 mLocalOptions.setProtocolRolePreference(ProtocolRole.DISPLAY_DEVICE); in PairingSession()
229 mLocalOptions.setProtocolRolePreference(ProtocolRole.INPUT_DEVICE); in PairingSession()
600 protected ProtocolRole getLocalRole() { in getLocalRole()
605 return (mSessionConfig.getClientRole() == ProtocolRole.DISPLAY_DEVICE) ? in getLocalRole()
606 ProtocolRole.INPUT_DEVICE : ProtocolRole.DISPLAY_DEVICE; in getLocalRole()
614 return (getLocalRole() == ProtocolRole.INPUT_DEVICE); in isInputDevice()
DServerPairingSession.java24 import com.google.polo.pairing.message.OptionsMessage.ProtocolRole;
90 if (getLocalRole() == ProtocolRole.DISPLAY_DEVICE) { in doConfigurationPhase()
95 } else if (getLocalRole() == ProtocolRole.INPUT_DEVICE) { in doConfigurationPhase()
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/
DProtobufWireAdapter.java400 private int toProto(OptionsMessage.ProtocolRole role) { in toProto()
492 optionsMessage.setProtocolRolePreference(OptionsMessage.ProtocolRole.INPUT_DEVICE); in fromProto()
495 … optionsMessage.setProtocolRolePreference(OptionsMessage.ProtocolRole.DISPLAY_DEVICE); in fromProto()
516 OptionsMessage.ProtocolRole role = OptionsMessage.ProtocolRole.UNKNOWN; in fromProto()
520 role = OptionsMessage.ProtocolRole.INPUT_DEVICE; in fromProto()
523 role = OptionsMessage.ProtocolRole.DISPLAY_DEVICE; in fromProto()
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
DJsonMessageBuilder.java31 import com.google.polo.pairing.message.OptionsMessage.ProtocolRole;
236 ProtocolRole role = ProtocolRole.fromIntVal( in getOptionsMessage()
258 ProtocolRole role = ProtocolRole.fromIntVal( in getConfigMessage()
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
Dprotobufwireadapter.h136 pairing::message::OptionsMessage::ProtocolRole role);
140 pairing::message::OptionsMessage::ProtocolRole RoleFromProto(
Dprotobufwireadapter.cc240 pairing::message::OptionsMessage::ProtocolRole role = in ParseConfigurationMessage()
449 pairing::message::OptionsMessage::ProtocolRole role) { in RoleToProto()
460 pairing::message::OptionsMessage::ProtocolRole
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
DXmlMessageBuilder.java31 import com.google.polo.pairing.message.OptionsMessage.ProtocolRole;
296 ProtocolRole role = ProtocolRole.fromIntVal( in getOptionsMessage()
319 ProtocolRole role = ProtocolRole.fromIntVal( in getConfigMessage()
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
Dpairingsession.h122 message::OptionsMessage::ProtocolRole GetLocalRole() const;
Dpairingsession.cc287 message::OptionsMessage::ProtocolRole PairingSession::GetLocalRole() const { in GetLocalRole()