Home
last modified time | relevance | path

Searched refs:existing_attr (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceTable.cpp253 Attribute* existing_attr = ValueCast<Attribute>(existing); in ResolveValueCollision() local
269 if (!existing_attr) { in ResolveValueCollision()
280 CHECK(incoming_attr != nullptr && existing_attr != nullptr); in ResolveValueCollision()
288 if (existing_attr->IsCompatibleWith(*incoming_attr)) { in ResolveValueCollision()
291 return existing_attr->IsWeak() ? CollisionResult::kTakeNew : CollisionResult::kKeepOriginal; in ResolveValueCollision()
294 if (existing_attr->IsWeak() && existing_attr->type_mask == android::ResTable_map::TYPE_ANY) { in ResolveValueCollision()