Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceTable.cpp248 if (incoming->IsWeak()) { in ResolveValueCollision()
252 } else if (existing->IsWeak()) { in ResolveValueCollision()
262 if (existing->IsWeak()) { in ResolveValueCollision()
283 return existing_attr->IsWeak() ? CollisionResult::kTakeNew : CollisionResult::kKeepOriginal; in ResolveValueCollision()
286 if (existing_attr->IsWeak() && existing_attr->type_mask == android::ResTable_map::TYPE_ANY) { in ResolveValueCollision()
291 if (incoming_attr->IsWeak() && incoming_attr->type_mask == android::ResTable_map::TYPE_ANY) { in ResolveValueCollision()
DResourceTable_test.cpp119 EXPECT_TRUE(attr->IsWeak()); in TEST()
128 EXPECT_FALSE(attr->IsWeak()); in TEST()
DResourceValues.h51 bool IsWeak() const { in IsWeak() function
DResourceValues.cpp675 if (IsWeak()) { in Print()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp234 EXPECT_EQ(attr.IsWeak(), actual_attr->IsWeak()); in TEST_F()
DTableFlattener.cpp312 if (entry->value->IsWeak()) { in WriteEntry()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp190 EXPECT_THAT(new_id->IsWeak(), Eq(id->IsWeak())); in TEST()
DProtoSerialize.cpp707 out_value->set_weak(value.IsWeak()); in SerializeValueToPb()