Lines Matching refs:newer
35 const AidlAnnotatable& newer) { in have_compatible_annotations() argument
38 set<AidlAnnotation> newerAnnotations(newer.GetAnnotations().begin(), in have_compatible_annotations()
39 newer.GetAnnotations().end()); in have_compatible_annotations()
42 const string to = newer.ToString().empty() ? "(empty)" : newer.ToString(); in have_compatible_annotations()
43 AIDL_ERROR(newer) << "Changed annotations: " << from << " to " << to; in have_compatible_annotations()
49 static bool are_compatible_types(const AidlTypeSpecifier& older, const AidlTypeSpecifier& newer) { in are_compatible_types() argument
51 if (older.ToString() != newer.ToString()) { in are_compatible_types()
52 AIDL_ERROR(newer) << "Type changed: " << older.ToString() << " to " << newer.ToString() << "."; in are_compatible_types()
55 compatible &= have_compatible_annotations(older, newer); in are_compatible_types()
59 static bool are_compatible_interfaces(const AidlInterface& older, const AidlInterface& newer) { in are_compatible_interfaces() argument
61 compatible &= have_compatible_annotations(older, newer); in are_compatible_interfaces()
64 for (const auto& m : newer.AsInterface()->GetMethods()) { in are_compatible_interfaces()
115 for (const auto& c : newer.AsInterface()->GetConstantDeclarations()) { in are_compatible_interfaces()
134 AIDL_ERROR(newer) << "Changed constant value: " << older.GetCanonicalName() << "." in are_compatible_interfaces()
143 const AidlStructuredParcelable& newer) { in are_compatible_parcelables() argument
145 const auto& new_fields = newer.GetFields(); in are_compatible_parcelables()
148 AIDL_ERROR(newer) << "Number of fields in " << older.GetCanonicalName() << " is reduced from " in are_compatible_parcelables()
163 AIDL_ERROR(newer) << "Renamed field: " << old_field->GetName() << " to " in are_compatible_parcelables()
171 AIDL_ERROR(newer) << "Changed default value: " << old_value << " to " << new_value << "."; in are_compatible_parcelables()