Searched refs:new_field (Results 1 – 2 of 2) sorted by relevance
200 const auto& new_field = new_fields.at(i); in are_compatible_parcelables() local201 compatible &= are_compatible_types(old_field->GetType(), new_field->GetType()); in are_compatible_parcelables()204 const string new_value = new_field->ValueString(AidlConstantValueDecorator); in are_compatible_parcelables()206 AIDL_ERROR(new_field) << "Changed default value: " << old_value << " to " << new_value << "."; in are_compatible_parcelables()213 const auto& new_field = new_fields.at(i); in are_compatible_parcelables() local214 auto found = std::find_if(old_fields.begin(), old_fields.end(), [&new_field](const auto& f) { in are_compatible_parcelables()215 return new_field->GetName() == f->GetName(); in are_compatible_parcelables()220 AIDL_ERROR(new_field) << "Reordered " << new_field->GetName() << " from " << old_index in are_compatible_parcelables()228 const auto& new_field = new_fields.at(i); in are_compatible_parcelables() local229 if (!new_field->GetDefaultValue() && !has_usable_nil_type(new_field->GetType())) { in are_compatible_parcelables()[all …]
184 new_field = repeated_field.add()185 new_field.CopyFrom(field_val)