/frameworks/base/tools/aapt2/link/ |
D | PrivateAttributeMover_test.cpp | 33 Visibility::Level::kPublic) in TEST() 35 Visibility::Level::kPublic) in TEST() 84 .SetSymbolState("android:attr/pub", ResourceId(0x01010000), Visibility::Level::kPublic) in TEST()
|
D | PrivateAttributeMover.cpp | 65 if (type->visibility_level != Visibility::Level::kPublic) { in Consume() 75 return entry->visibility.level != Visibility::Level::kPublic; in Consume()
|
D | TableMerger.cpp | 90 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()
|
D | TableMerger_test.cpp | 228 .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()
|
D | NoDefaultResourceRemover.cpp | 30 if (entry->visibility.level == Visibility::Level::kPublic) { in KeepResource()
|
D | NoDefaultResourceRemover_test.cpp | 37 .SetSymbolState("android:string/baz", ResourceId(0x01020002), Visibility::Level::kPublic) in TEST()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Diff.cpp | 86 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()
|
D | Compile.cpp | 244 case Visibility::Level::kPublic : in CompileTable() 723 options_.visibility = Visibility::Level::kPublic; in Action()
|
D | Link.cpp | 1192 options.types = JavaClassGeneratorOptions::SymbolTypes::kPublic; in GenerateJavaClasses()
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable_test.cpp | 166 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()
|
D | ResourceTable.h | 46 kPublic, enumerator 85 kPublic = 0x00000001, enumerator
|
D | ResourceTable.cpp | 553 if (visibility.level == Visibility::Level::kPublic) { in SetVisibilityImpl() 554 type->visibility_level = Visibility::Level::kPublic; in SetVisibilityImpl()
|
D | ResourceParser.cpp | 886 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()
|
D | ResourceParser_test.cpp | 840 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()
|
D | Debug.cpp | 306 case Visibility::Level::kPublic: in PrintTable()
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 200 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()
|
D | JavaClassGenerator.h | 54 kPublic, enumerator
|
D | JavaClassGenerator_test.cpp | 191 .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/ |
D | ProtoSerialize_test.cpp | 54 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()
|
D | ProtoDeserialize.cpp | 369 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()
|
D | ProtoSerialize.cpp | 52 case Visibility::Level::kPublic: in SerializeVisibilityToPb() 300 if (overlayable_item.policies & OverlayableItem::Policy::kPublic) { in SerializeOverlayableItemToPb()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener_test.cpp | 666 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()
|
D | TableFlattener.cpp | 298 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()
|
D | BinaryResourceParser.cpp | 403 visibility.level = Visibility::Level::kPublic; in ParseType() 460 policies |= OverlayableItem::Policy::kPublic; in ParseOverlayable()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 198 symbol->is_public = (sr.entry->visibility.level == Visibility::Level::kPublic); in FindByName()
|