Home
last modified time | relevance | path

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

12

/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()
DNoDefaultResourceRemover.cpp30 if (entry->visibility.level == Visibility::Level::kPublic) { in KeepResource()
DTableMerger.cpp111 if (src_entry->visibility.level == Visibility::Level::kPublic) { in MergeEntry()
115 } else if (src_entry->visibility.level == Visibility::Level::kPublic && in MergeEntry()
116 dst_entry->visibility.level == Visibility::Level::kPublic && dst_entry->id && in MergeEntry()
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()
188 if (entry_b.visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff()
197 if (entry_a.visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff()
263 if (type_b.visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
269 if (type_a.visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
DCompile.cpp266 case Visibility::Level::kPublic : in CompileTable()
759 options_.visibility = Visibility::Level::kPublic; in Action()
/frameworks/base/tools/aapt2/
DResourceTable_test.cpp180 case Visibility::Level::kPublic: in LevelToString()
228 visibility.level = Visibility::Level::kPublic; in TEST()
232 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPublic, "public")); in TEST()
238 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPublic, "public")); in TEST()
DResourceTable.cpp369 if (visibility.level == Visibility::Level::kPublic) { in InsertEntryIntoTableView()
371 view_type->visibility_level = Visibility::Level::kPublic; in InsertEntryIntoTableView()
529 if (res.visibility->level == Visibility::Level::kPublic) { in AddResource()
530 type->visibility_level = Visibility::Level::kPublic; in AddResource()
DResourceTable.h47 kPublic, enumerator
DResourceParser_test.cpp942 EXPECT_THAT(result.value().entry->visibility.level, Eq(Visibility::Level::kPublic)); in TEST_F()
950 EXPECT_THAT(result.value().entry->visibility.level, Eq(Visibility::Level::kPublic)); in TEST_F()
970 EXPECT_THAT(entry->visibility.level, Eq(Visibility::Level::kPublic)); in TEST_F()
DResourceParser.cpp959 out_resource->visibility_level = Visibility::Level::kPublic; in ParsePublic()
1072 parsed_entry.visibility_level = Visibility::Level::kPublic; in ParseStagingPublicGroup()
1094 parsed_entry.visibility_level = Visibility::Level::kPublic; in ParsePublicGroup()
1749 out_resource->visibility_level = Visibility::Level::kPublic; in ParseDeclareStyleable()
DDebug.cpp307 case Visibility::Level::kPublic: in PrintTable()
/frameworks/base/tools/aapt2/compile/
DIdAssigner_test.cpp126 .SetVisibility({.staged_api = true, .level = Visibility::Level::kPublic}) in TEST_F()
139 .SetVisibility({.staged_api = true, .level = Visibility::Level::kPublic}) in TEST_F()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp203 case JavaClassGeneratorOptions::SymbolTypes::kPublic: in SkipSymbol()
204 return level != Visibility::Level::kPublic; in SkipSymbol()
211 return !symbol || (options_.types == JavaClassGeneratorOptions::SymbolTypes::kPublic && in SkipSymbol()
618 const bool is_public = (options_.types == JavaClassGeneratorOptions::SymbolTypes::kPublic); in Generate()
DJavaClassGenerator.h53 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.cpp372 return Visibility::Level::kPublic; in DeserializeVisibilityFromPb()
464 if (level == Visibility::Level::kPublic) { in DeserializePackageFromPb()
466 type->visibility_level = Visibility::Level::kPublic; in DeserializePackageFromPb()
DProtoSerialize.cpp57 case Visibility::Level::kPublic: in SerializeVisibilityToPb()
/frameworks/base/tools/aapt2/format/binary/
DResEntryWriter.cpp194 if (entry->entry->visibility.level == Visibility::Level::kPublic) { in WriteEntry()
DTableFlattener.cpp413 if (entry.visibility.level == Visibility::Level::kPublic) { in FlattenTypeSpec()
DBinaryResourceParser.cpp418 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()

12