Home | History | Annotate | Download | only in pairing

Lines Matching refs:encoding

18 #include "polo/encoding/hexadecimalencoder.h"
61 const encoding::EncodingOption& encoding) {
63 LOG(ERROR) << "Attempt to add input encoding to active session";
67 if (!IsValidEncodingOption(encoding)) {
68 LOG(ERROR) << "Invalid input encoding: " << encoding.ToString();
72 local_options_.AddInputEncoding(encoding);
76 const encoding::EncodingOption& encoding) {
78 LOG(ERROR) << "Attempt to add output encoding to active session";
82 if (!IsValidEncodingOption(encoding)) {
83 LOG(ERROR) << "Invalid output encoding: " << encoding.ToString();
87 local_options_.AddOutputEncoding(encoding);
155 size_t nonce_length = configuration_->encoding().symbol_length() / 2;
186 const encoding::EncodingOption& encoding = message.encoding();
188 if (!IsValidEncodingOption(encoding)) {
189 LOG(ERROR) << "Invalid configuration: " << encoding.ToString();
198 switch (encoding.encoding_type()) {
199 case encoding::EncodingOption::kHexadecimal:
200 encoder_ = new encoding::HexadecimalEncoder();
203 LOG(ERROR) << "Unsupported encoding type: "
204 << encoding.encoding_type();
211 configuration_ = new message::ConfigurationMessage(message.encoding(),
307 const encoding::EncodingOption& option) const {
309 return option.encoding_type() != encoding::EncodingOption::kUnknown