Searched refs:allow_new (Results 1 – 14 of 14) sorted by relevance
/aosp14/frameworks/base/tools/aapt2/ |
H A D | ResourceTable_test.cpp | 245 AllowNew allow_new; in TEST() local 248 allow_new.comment = "first"; in TEST() 249 ASSERT_TRUE(table.AddResource(NewResourceBuilder(name).SetAllowNew(allow_new).Build(), in TEST() 253 ASSERT_TRUE(result.value().entry->allow_new); in TEST() 254 ASSERT_THAT(result.value().entry->allow_new.value().comment, StrEq("first")); in TEST() 256 allow_new.comment = "second"; in TEST() 257 ASSERT_TRUE(table.AddResource(NewResourceBuilder(name).SetAllowNew(allow_new).Build(), in TEST() 261 ASSERT_TRUE(result.value().entry->allow_new); in TEST() 262 ASSERT_THAT(result.value().entry->allow_new.value().comment, StrEq("second")); in TEST()
|
H A D | ResourceTable.cpp | 353 const std::optional<AllowNew>& allow_new, in InsertEntryIntoTableView() argument 377 .allow_new = allow_new, in InsertEntryIntoTableView() 407 entry->visibility, entry->allow_new, entry->overlayable_item, in GetPartitionedView() 413 entry->visibility, entry->allow_new, entry->overlayable_item, {}, in GetPartitionedView() 554 if (res.allow_new.has_value()) { in AddResource() 555 entry->allow_new = res.allow_new.value(); in AddResource() 676 new_entry->allow_new = entry->allow_new; in Clone() 723 NewResourceBuilder& NewResourceBuilder::SetAllowNew(AllowNew allow_new) { in SetAllowNew() argument 724 res_.allow_new = std::move(allow_new); in SetAllowNew()
|
H A D | ResourceTable.h | 128 std::optional<AllowNew> allow_new; variable 214 std::optional<AllowNew> allow_new; member 269 std::optional<AllowNew> allow_new; member 282 NewResourceBuilder& SetAllowNew(AllowNew allow_new);
|
H A D | ResourceParser.cpp | 110 bool allow_new = false; member 142 if (res->allow_new) { in AddResourcesToTable() 143 AllowNew allow_new; in AddResourcesToTable() local 144 allow_new.source = res->source; in AddResourcesToTable() 145 allow_new.comment = res->comment; in AddResourcesToTable() 146 res_builder.SetAllowNew(allow_new); in AddResourcesToTable() 1288 out_resource->allow_new = true; in ParseAddResource()
|
H A D | Resources.proto | 232 AllowNew allow_new = 4;
|
H A D | ResourceParser_test.cpp | 988 EXPECT_TRUE(entry->allow_new); in TEST_F()
|
/aosp14/frameworks/base/tools/aapt2/link/ |
H A D | TableMerger.cpp | 49 bool allow_new) { in MergeImpl() argument 61 error |= !DoMerge(src, package.get(), false /*mangle*/, overlay, allow_new); in MergeImpl() 126 if (src_entry->allow_new) { in MergeEntry() 127 dst_entry->allow_new = std::move(src_entry->allow_new); in MergeEntry() 252 if (allow_new_resources || src_entry->allow_new) { in DoMerge()
|
H A D | TableMerger.h | 90 bool allow_new);
|
/aosp14/frameworks/base/tools/aapt2/optimize/ |
H A D | Obfuscator.cpp | 179 .allow_new = entry->allow_new, in HandleCollapseKeyStringPool()
|
/aosp14/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoDeserialize.cpp | 476 const pb::AllowNew& pb_allow_new = pb_entry.allow_new(); in DeserializePackageFromPb() 478 AllowNew allow_new; in DeserializePackageFromPb() local 480 DeserializeSourceFromPb(pb_allow_new.source(), src_pool, &allow_new.source); in DeserializePackageFromPb() 482 allow_new.comment = pb_allow_new.comment(); in DeserializePackageFromPb() 483 entry->allow_new = std::move(allow_new); in DeserializePackageFromPb()
|
H A D | ProtoSerialize.cpp | 400 if (entry.allow_new) { in SerializeTableToPb() 403 SerializeSourceToPb(entry.allow_new.value().source, source_pool.get(), in SerializeTableToPb() 406 pb_allow_new->set_comment(entry.allow_new.value().comment); in SerializeTableToPb()
|
H A D | ProtoSerialize_test.cpp | 202 EXPECT_TRUE(result.value().entry->allow_new); in TEST()
|
/aosp14/frameworks/base/tools/aapt2/test/ |
H A D | Builders.cpp | 118 bool allow_new) { in SetSymbolState() argument
|
H A D | Builders.h | 68 Visibility::Level level, bool allow_new = false);
|