Searched refs:ResourceNamedType (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | Resource_test.cpp | 133 EXPECT_THAT(type, Optional(Eq(ResourceNamedType("anim", ResourceType::kAnim)))); in TEST() 136 EXPECT_THAT(type, Optional(Eq(ResourceNamedType("layout", ResourceType::kLayout)))); in TEST() 139 EXPECT_THAT(type, Optional(Eq(ResourceNamedType("layout.2", ResourceType::kLayout)))); in TEST() 142 EXPECT_THAT(type, Optional(Eq(ResourceNamedType("layout.another", ResourceType::kLayout)))); in TEST() 156 EXPECT_THAT(type, Eq(ResourceNamedType("anim", ResourceType::kAnim))); in TEST() 159 EXPECT_THAT(type, Eq(ResourceNamedType("animator", ResourceType::kAnimator))); in TEST() 162 EXPECT_THAT(type, Eq(ResourceNamedType("array", ResourceType::kArray))); in TEST() 165 EXPECT_THAT(type, Eq(ResourceNamedType("attr", ResourceType::kAttr))); in TEST() 168 EXPECT_THAT(type, Eq(ResourceNamedType("^attr-private", ResourceType::kAttrPrivate))); in TEST() 171 EXPECT_THAT(type, Eq(ResourceNamedType("bool", ResourceType::kBool))); in TEST() [all …]
|
D | Resource.h | 85 struct ResourceNamedType { struct 89 ResourceNamedType() = default; argument 90 ResourceNamedType(android::StringPiece n, ResourceType t); 92 int compare(const ResourceNamedType& other) const; 110 ResourceNamedTypeRef(const ResourceNamedType& rhs); // NOLINT(google-explicit-constructor) 114 ResourceNamedTypeRef& operator=(const ResourceNamedType& rhs); 116 ResourceNamedType ToResourceNamedType() const; 131 ResourceNamedType type; 347 inline ResourceNamedType::ResourceNamedType(android::StringPiece n, ResourceType t) in ResourceNamedType() function 351 inline int ResourceNamedType::compare(const ResourceNamedType& other) const { in compare() [all …]
|
D | ResourceTable.h | 172 const ResourceNamedType named_type; 224 ResourceNamedType named_type;
|
D | ResourceUtils.cpp | 43 static std::optional<ResourceNamedType> ToResourceNamedType(const char16_t* type16, in ToResourceNamedType() 70 std::optional<ResourceNamedType> type = in ToResourceName() 95 std::optional<ResourceNamedType> type = in ToResourceName()
|
D | ResourceTable.cpp | 431 std::map<ResourceNamedType, size_t> type_new_package_index; in GetPartitionedView()
|
/frameworks/base/tools/aapt2/optimize/ |
D | Obfuscator.h | 53 const ResourceNamedType& type_name, const ResourceTableEntryView& entry,
|
D | Obfuscator.cpp | 131 const ResourceNamedType& type_name, const ResourceTableEntryView& entry, in ObfuscateResourceName()
|