Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/util/
DUtil_test.cpp87 TEST(UtilTest, IsJavaClassName) { in TEST() argument
88 EXPECT_TRUE(util::IsJavaClassName("android.test.Class")); in TEST()
89 EXPECT_TRUE(util::IsJavaClassName("android.test.Class$Inner")); in TEST()
90 EXPECT_TRUE(util::IsJavaClassName("android_test.test.Class")); in TEST()
91 EXPECT_TRUE(util::IsJavaClassName("_android_.test._Class_")); in TEST()
92 EXPECT_TRUE(util::IsJavaClassName("android.test.$Inner")); in TEST()
93 EXPECT_TRUE(util::IsJavaClassName("android.test.Inner$")); in TEST()
94 EXPECT_TRUE(util::IsJavaClassName("com.foo.FøøBar")); in TEST()
96 EXPECT_FALSE(util::IsJavaClassName(".test.Class")); in TEST()
97 EXPECT_FALSE(util::IsJavaClassName("android")); in TEST()
[all …]
DUtil.cpp144 bool IsJavaClassName(const StringPiece& str) { in IsJavaClassName() function
202 if (util::IsJavaClassName(classname)) { in GetFullyQualifiedClassName()
216 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()
126 if (util::IsJavaClassName(attr.value)) { in Visit()
135 if (util::IsJavaClassName(attr.value)) { in Visit()
165 util::IsJavaClassName(attr.value)) { in Visit()
197 if (attr && util::IsJavaClassName(attr->value)) { in Visit()
219 if (util::IsJavaClassName(name)) { in Visit()
242 if (attr && util::IsJavaClassName(attr->value)) { in Visit()
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp62 if (!util::IsJavaClassName(qualified_class_name)) { in NameIsJavaClassName()