Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceTable.cpp235 Attribute* existing_attr = ValueCast<Attribute>(existing); in ResolveValueCollision() local
251 if (!existing_attr) { in ResolveValueCollision()
262 CHECK(incoming_attr != nullptr && existing_attr != nullptr); in ResolveValueCollision()
270 if (existing_attr->type_mask == incoming_attr->type_mask) { in ResolveValueCollision()
274 return existing_attr->IsWeak() ? CollisionResult::kTakeNew : CollisionResult::kKeepOriginal; in ResolveValueCollision()
277 if (existing_attr->IsWeak() && existing_attr->type_mask == android::ResTable_map::TYPE_ANY) { in ResolveValueCollision()