Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/link/
DPrivateAttributeMover_test.cpp33 Visibility::Level::kPublic) in TEST()
35 Visibility::Level::kPublic) in TEST()
84 .SetSymbolState("android:attr/pub", ResourceId(0x01010000), Visibility::Level::kPublic) in TEST()
DPrivateAttributeMover.cpp65 if (type->visibility_level != Visibility::Level::kPublic) { in Consume()
75 return entry->visibility.level != Visibility::Level::kPublic; in Consume()
DTableMerger.cpp90 if (src_type->visibility_level == Visibility::Level::kPublic) { in MergeType()
95 } else if (dst_type->visibility_level == Visibility::Level::kPublic && in MergeType()
96 src_type->visibility_level == Visibility::Level::kPublic && dst_type->id && in MergeType()
121 if (src_entry->visibility.level == Visibility::Level::kPublic) { in MergeEntry()
125 } else if (src_entry->visibility.level == Visibility::Level::kPublic && in MergeEntry()
126 dst_entry->visibility.level == Visibility::Level::kPublic && dst_entry->id && in MergeEntry()
DTableMerger_test.cpp228 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x01, 0x0001), Visibility::Level::kPublic) in TEST_F()
233 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x01, 0x0001), Visibility::Level::kPublic) in TEST_F()
249 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x01, 0x0001), Visibility::Level::kPublic) in TEST_F()
254 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x02, 0x0001), Visibility::Level::kPublic) in TEST_F()
270 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x01, 0x0001), Visibility::Level::kPublic) in TEST_F()
275 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x01, 0x0002), Visibility::Level::kPublic) in TEST_F()
291 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x01, 0x0001), Visibility::Level::kPublic) in TEST_F()
542 overlayable_item.policies |= OverlayableItem::Policy::kPublic; in TEST_F()
564 EXPECT_THAT(result_overlayable_item.policies, Eq(OverlayableItem::Policy::kPublic in TEST_F()
DNoDefaultResourceRemover.cpp30 if (entry->visibility.level == Visibility::Level::kPublic) { in KeepResource()
DNoDefaultResourceRemover_test.cpp37 .SetSymbolState("android:string/baz", ResourceId(0x01020002), Visibility::Level::kPublic) in TEST()
/frameworks/base/tools/aapt2/cmd/
DDiff.cpp86 if (level_a == Visibility::Level::kPublic || level_b == Visibility::Level::kPublic) { in IsIdDiff()
165 if (entry_b->visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff()
171 if (entry_a->visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff()
232 if (type_b->visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
238 if (type_a->visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
DCompile.cpp244 case Visibility::Level::kPublic : in CompileTable()
723 options_.visibility = Visibility::Level::kPublic; in Action()
DLink.cpp1192 options.types = JavaClassGeneratorOptions::SymbolTypes::kPublic; in GenerateJavaClasses()
/frameworks/base/tools/aapt2/
DResourceTable_test.cpp166 case Visibility::Level::kPublic: in LevelToString()
212 visibility.level = Visibility::Level::kPublic; in TEST()
215 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPublic, "public")); in TEST()
220 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPublic, "public")); in TEST()
344 ASSERT_TRUE(table.SetVisibilityWithId(foo_name, Visibility{Visibility::Level::kPublic}, in TEST()
361 ASSERT_THAT(entry1->visibility.level, Visibility::Level::kPublic); in TEST()
DResourceTable.h46 kPublic, enumerator
85 kPublic = 0x00000001, enumerator
DResourceTable.cpp553 if (visibility.level == Visibility::Level::kPublic) { in SetVisibilityImpl()
554 type->visibility_level = Visibility::Level::kPublic; in SetVisibilityImpl()
DResourceParser.cpp886 out_resource->visibility_level = Visibility::Level::kPublic; in ParsePublic()
982 child_resource.visibility_level = Visibility::Level::kPublic; in ParsePublicGroup()
1151 {"public", OverlayableItem::Policy::kPublic}, in ParseOverlayable()
1647 out_resource->visibility_level = Visibility::Level::kPublic; in ParseDeclareStyleable()
DResourceParser_test.cpp840 EXPECT_THAT(entry->visibility.level, Eq(Visibility::Level::kPublic)); in TEST_F()
1012 EXPECT_THAT(result_overlayable_item.policies, Eq(OverlayableItem::Policy::kPublic)); in TEST_F()
1100 | OverlayableItem::Policy::kPublic)); in TEST_F()
DDebug.cpp306 case Visibility::Level::kPublic: in PrintTable()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp200 case JavaClassGeneratorOptions::SymbolTypes::kPublic: in SkipSymbol()
201 return level != Visibility::Level::kPublic; in SkipSymbol()
208 return !symbol || (options_.types == JavaClassGeneratorOptions::SymbolTypes::kPublic && in SkipSymbol()
613 (options_.types == JavaClassGeneratorOptions::SymbolTypes::kPublic); in Generate()
638 options_.types == JavaClassGeneratorOptions::SymbolTypes::kPublic) { in Generate()
DJavaClassGenerator.h54 kPublic, enumerator
DJavaClassGenerator_test.cpp191 .SetSymbolState("android:id/one", ResourceId(0x01020000), Visibility::Level::kPublic) in TEST()
202 options.types = JavaClassGeneratorOptions::SymbolTypes::kPublic; in TEST()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp54 public_symbol.level = Visibility::Level::kPublic; in TEST()
123 EXPECT_THAT(result.value().type->visibility_level, Eq(Visibility::Level::kPublic)); in TEST()
124 EXPECT_THAT(result.value().entry->visibility.level, Eq(Visibility::Level::kPublic)); in TEST()
522 overlayable_item_bar.policies |= OverlayableItem::Policy::kPublic; in TEST()
527 overlayable_item_baz.policies |= OverlayableItem::Policy::kPublic; in TEST()
575 EXPECT_THAT(overlayable_item.policies, Eq(OverlayableItem::Policy::kPublic in TEST()
584 EXPECT_THAT(overlayable_item.policies, Eq(OverlayableItem::Policy::kPublic)); in TEST()
DProtoDeserialize.cpp369 return Visibility::Level::kPublic; in DeserializeVisibilityFromPb()
382 out_overlayable->policies |= OverlayableItem::Policy::kPublic; in DeserializeOverlayableItemFromPb()
459 if (level == Visibility::Level::kPublic) { in DeserializePackageFromPb()
461 type->visibility_level = Visibility::Level::kPublic; in DeserializePackageFromPb()
DProtoSerialize.cpp52 case Visibility::Level::kPublic: in SerializeVisibilityToPb()
300 if (overlayable_item.policies & OverlayableItem::Policy::kPublic) { in SerializeOverlayableItemToPb()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp666 overlayable_item_one.policies |= OverlayableItem::Policy::kPublic; in TEST_F()
701 EXPECT_EQ(overlayable_item.policies, OverlayableItem::Policy::kPublic); in TEST_F()
723 overlayable_item_one.policies |= OverlayableItem::Policy::kPublic; in TEST_F()
767 EXPECT_EQ(result_overlayable.policies, OverlayableItem::Policy::kPublic); in TEST_F()
DTableFlattener.cpp298 if (entry->entry->visibility.level == Visibility::Level::kPublic) { in WriteEntry()
484 if (item.policies & OverlayableItem::Policy::kPublic) { in FlattenOverlayable()
595 if (entry->visibility.level == Visibility::Level::kPublic) { in FlattenTypeSpec()
DBinaryResourceParser.cpp403 visibility.level = Visibility::Level::kPublic; in ParseType()
460 policies |= OverlayableItem::Policy::kPublic; in ParseOverlayable()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp198 symbol->is_public = (sr.entry->visibility.level == Visibility::Level::kPublic); in FindByName()