Searched refs:decoded_message (Results 1 – 3 of 3) sorted by relevance
/external/openscreen/osp/msgs/ |
D | messages_unittest.cc | 156 PresentationConnectionMessage decoded_message; in TEST() local 158 DecodePresentationConnectionMessage(buffer, bytes_out, &decoded_message); in TEST() 161 EXPECT_EQ(message.connection_id, decoded_message.connection_id); in TEST() 162 ASSERT_EQ(message.message.which, decoded_message.message.which); in TEST() 163 EXPECT_EQ(message.message.str, decoded_message.message.str); in TEST() 178 PresentationConnectionMessage decoded_message; in TEST() local 180 DecodePresentationConnectionMessage(buffer, bytes_out, &decoded_message); in TEST() 183 EXPECT_EQ(message.connection_id, decoded_message.connection_id); in TEST() 184 ASSERT_EQ(message.message.which, decoded_message.message.which); in TEST() 185 EXPECT_EQ(message.message.bytes, decoded_message.message.bytes); in TEST()
|
/external/python/apitools/apitools/base/py/ |
D | encoding_helper.py | 531 decoded_message = json.loads(six.ensure_str(encoded_message)) 534 field.name in decoded_message and 537 field.name, decoded_message[field.name], messages.Variant.ENUM) 559 decoded_message = json.loads(six.ensure_str(encoded_message)) 562 missing_fields = [x for x in decoded_message.keys() 565 message.set_unrecognized_field(field_name, decoded_message[field_name], 701 decoded_message = json.loads(encoded_message) 703 if json_name in decoded_message: 704 decoded_message[python_name] = decoded_message.pop(json_name) 705 encoded_message = json.dumps(decoded_message)
|
/external/python/apitools/apitools/base/protorpclite/ |
D | protojson_test.py | 394 decoded_message = protojson.encode_message( 397 self.CompareEncoded(expected_decoding, decoded_message) 421 decoded_message = protojson.encode_message(MyMessage(a_custom=1)) 422 self.CompareEncoded('{"a_custom": 1}', decoded_message)
|