Home
last modified time | relevance | path

Searched refs:kPublic (Results 1 – 24 of 24) 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_test.cpp220 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x01, 0x0001), Visibility::Level::kPublic) in TEST_F()
224 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x01, 0x0001), Visibility::Level::kPublic) in TEST_F()
239 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x01, 0x0001), Visibility::Level::kPublic) in TEST_F()
243 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x02, 0x0001), Visibility::Level::kPublic) in TEST_F()
258 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x01, 0x0001), Visibility::Level::kPublic) in TEST_F()
262 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x01, 0x0002), Visibility::Level::kPublic) in TEST_F()
277 .SetSymbolState("bool/foo", ResourceId(0x7f, 0x01, 0x0001), Visibility::Level::kPublic) in TEST_F()
DTableMerger.cpp109 if (src_entry->visibility.level == Visibility::Level::kPublic) { in MergeEntry()
113 } else if (src_entry->visibility.level == Visibility::Level::kPublic && in MergeEntry()
114 dst_entry->visibility.level == Visibility::Level::kPublic && dst_entry->id && in MergeEntry()
DNoDefaultResourceRemover.cpp30 if (entry->visibility.level == Visibility::Level::kPublic) { in KeepResource()
DNoDefaultResourceRemover_test.cpp36 .SetSymbolState("android:string/baz", ResourceId(0x01020002), Visibility::Level::kPublic) in TEST()
/frameworks/base/tools/aapt2/cmd/
DDiff.cpp92 if (level_a == Visibility::Level::kPublic || level_b == Visibility::Level::kPublic) { in IsIdDiff()
186 if (entry_b.visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff()
195 if (entry_a.visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff()
261 if (type_b.visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
267 if (type_a.visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
DCompile.cpp240 case Visibility::Level::kPublic : in CompileTable()
726 options_.visibility = Visibility::Level::kPublic; in Action()
DLink.cpp1211 options.types = JavaClassGeneratorOptions::SymbolTypes::kPublic; in GenerateJavaClasses()
/frameworks/base/tools/aapt2/
DResourceTable_test.cpp179 case Visibility::Level::kPublic: in LevelToString()
227 visibility.level = Visibility::Level::kPublic; in TEST()
231 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPublic, "public")); in TEST()
237 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPublic, "public")); in TEST()
DResourceTable.cpp360 if (visibility.level == Visibility::Level::kPublic) { in InsertEntryIntoTableView()
362 view_type->visibility_level = Visibility::Level::kPublic; in InsertEntryIntoTableView()
518 if (res.visibility->level == Visibility::Level::kPublic) { in AddResource()
519 type->visibility_level = Visibility::Level::kPublic; in AddResource()
DResourceTable.h48 kPublic, enumerator
DResourceParser_test.cpp940 EXPECT_THAT(result.value().entry->visibility.level, Eq(Visibility::Level::kPublic)); in TEST_F()
948 EXPECT_THAT(result.value().entry->visibility.level, Eq(Visibility::Level::kPublic)); in TEST_F()
968 EXPECT_THAT(entry->visibility.level, Eq(Visibility::Level::kPublic)); in TEST_F()
DResourceParser.cpp964 out_resource->visibility_level = Visibility::Level::kPublic; in ParsePublic()
1065 parsed_entry.visibility_level = Visibility::Level::kPublic; in ParseStagingPublicGroup()
1087 parsed_entry.visibility_level = Visibility::Level::kPublic; in ParsePublicGroup()
1741 out_resource->visibility_level = Visibility::Level::kPublic; in ParseDeclareStyleable()
DDebug.cpp294 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()
615 const bool is_public = (options_.types == JavaClassGeneratorOptions::SymbolTypes::kPublic); in Generate()
DJavaClassGenerator.h54 kPublic, enumerator
DJavaClassGenerator_test.cpp184 .SetSymbolState("android:id/one", ResourceId(0x01020000), Visibility::Level::kPublic) in TEST()
195 options.types = JavaClassGeneratorOptions::SymbolTypes::kPublic; in TEST()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp64 .SetVisibility({Visibility::Level::kPublic}) in TEST()
67 .SetVisibility({.level = Visibility::Level::kPublic, .staged_api = true}) in TEST()
91 EXPECT_THAT(search_result.value().entry->visibility.level, Eq(Visibility::Level::kPublic)); in TEST()
96 EXPECT_THAT(search_result.value().entry->visibility.level, Eq(Visibility::Level::kPublic)); in TEST()
114 .SetVisibility({Visibility::Level::kPublic}) in TEST()
196 EXPECT_THAT(result.value().type->visibility_level, Eq(Visibility::Level::kPublic)); in TEST()
197 EXPECT_THAT(result.value().entry->visibility.level, Eq(Visibility::Level::kPublic)); in TEST()
DProtoDeserialize.cpp371 return Visibility::Level::kPublic; in DeserializeVisibilityFromPb()
463 if (level == Visibility::Level::kPublic) { in DeserializePackageFromPb()
465 type->visibility_level = Visibility::Level::kPublic; in DeserializePackageFromPb()
DProtoSerialize.cpp54 case Visibility::Level::kPublic: in SerializeVisibilityToPb()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp308 if (entry->entry->visibility.level == Visibility::Level::kPublic) { in WriteEntry()
573 if (entry.visibility.level == Visibility::Level::kPublic) { in FlattenTypeSpec()
DBinaryResourceParser.cpp402 Visibility visibility{Visibility::Level::kPublic}; in ParseType()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp198 symbol->is_public = (sr.entry->visibility.level == Visibility::Level::kPublic); in FindByName()