Searched refs:ProtocolRole (Results 1 – 15 of 15) sorted by relevance
34 public static enum ProtocolRole { enum in OptionsMessage41 private ProtocolRole(int intVal) { in ProtocolRole() method in OptionsMessage.ProtocolRole45 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 …]
33 private OptionsMessage.ProtocolRole mClientRole;36 OptionsMessage.ProtocolRole role) { in ConfigurationMessage()46 public OptionsMessage.ProtocolRole getClientRole() { in getClientRole()
32 enum ProtocolRole { enum57 void set_protocol_role_preference(ProtocolRole preference);60 ProtocolRole protocol_role_preference() const;72 ProtocolRole protocol_role_preference_;
34 OptionsMessage::ProtocolRole client_role);40 OptionsMessage::ProtocolRole client_role() const;56 OptionsMessage::ProtocolRole client_role_;
32 OptionsMessage::ProtocolRole preference) { in set_protocol_role_preference()36 OptionsMessage::ProtocolRole OptionsMessage::protocol_role_preference() const { in protocol_role_preference()
27 message::OptionsMessage::ProtocolRole client_role) in ConfigurationMessage()37 OptionsMessage::ProtocolRole ConfigurationMessage::client_role() const { in client_role()
29 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()
24 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()
400 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()
31 import com.google.polo.pairing.message.OptionsMessage.ProtocolRole;236 ProtocolRole role = ProtocolRole.fromIntVal( in getOptionsMessage()258 ProtocolRole role = ProtocolRole.fromIntVal( in getConfigMessage()
136 pairing::message::OptionsMessage::ProtocolRole role);140 pairing::message::OptionsMessage::ProtocolRole RoleFromProto(
240 pairing::message::OptionsMessage::ProtocolRole role = in ParseConfigurationMessage()449 pairing::message::OptionsMessage::ProtocolRole role) { in RoleToProto()460 pairing::message::OptionsMessage::ProtocolRole
31 import com.google.polo.pairing.message.OptionsMessage.ProtocolRole;296 ProtocolRole role = ProtocolRole.fromIntVal( in getOptionsMessage()319 ProtocolRole role = ProtocolRole.fromIntVal( in getConfigMessage()
122 message::OptionsMessage::ProtocolRole GetLocalRole() const;
287 message::OptionsMessage::ProtocolRole PairingSession::GetLocalRole() const { in GetLocalRole()