Home
last modified time | relevance | path

Searched refs:IsJavaClassName (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt2/util/
DUtil_test.cpp76 TEST(UtilTest, IsJavaClassName) { in TEST() argument
77 EXPECT_TRUE(util::IsJavaClassName("android.test.Class")); in TEST()
78 EXPECT_TRUE(util::IsJavaClassName("android.test.Class$Inner")); in TEST()
79 EXPECT_TRUE(util::IsJavaClassName("android_test.test.Class")); in TEST()
80 EXPECT_TRUE(util::IsJavaClassName("_android_.test._Class_")); in TEST()
81 EXPECT_TRUE(util::IsJavaClassName("android.test.$Inner")); in TEST()
82 EXPECT_TRUE(util::IsJavaClassName("android.test.Inner$")); in TEST()
83 EXPECT_TRUE(util::IsJavaClassName("com.foo.FøøBar")); in TEST()
85 EXPECT_FALSE(util::IsJavaClassName(".test.Class")); in TEST()
86 EXPECT_FALSE(util::IsJavaClassName("android")); in TEST()
[all …]
DUtil.cpp139 bool IsJavaClassName(const StringPiece& str) { in IsJavaClassName() function
185 if (util::IsJavaClassName(classname)) { in GetFullyQualifiedClassName()
199 if (!IsJavaClassName(result)) { in GetFullyQualifiedClassName()
DUtil.h75 bool IsJavaClassName(const android::StringPiece& str);
/frameworks/base/tools/aapt2/java/
DProguardRules.cpp56 if (util::IsJavaClassName(package)) { in Visit()
60 } else if (util::IsJavaClassName(node->name)) { in Visit()
131 if (util::IsJavaClassName(attr.value)) { in Visit()
140 if (is_fragment && util::IsJavaClassName(attr.value)) { in Visit()
165 util::IsJavaClassName(attr.value)) { in Visit()
196 if (attr && util::IsJavaClassName(attr->value)) { in Visit()
218 if (util::IsJavaClassName(name)) { in Visit()
241 if (attr && util::IsJavaClassName(attr->value)) { in Visit()
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp62 if (!util::IsJavaClassName(qualified_class_name)) { in NameIsJavaClassName()