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()
126 if (util::IsJavaClassName(attr.value)) { in Visit()
135 if (util::IsJavaClassName(attr.value)) { in Visit()
160 util::IsJavaClassName(attr.value)) { in Visit()
191 if (attr && util::IsJavaClassName(attr->value)) { in Visit()
213 if (util::IsJavaClassName(name)) { in Visit()
236 if (attr && util::IsJavaClassName(attr->value)) { in Visit()
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp62 if (!util::IsJavaClassName(qualified_class_name)) { in NameIsJavaClassName()