Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/util/
DUtil_test.cpp134 EXPECT_TRUE(util::isJavaPackageName(u"android")); in TEST()
135 EXPECT_TRUE(util::isJavaPackageName(u"android.test")); in TEST()
136 EXPECT_TRUE(util::isJavaPackageName(u"android.test_thing")); in TEST()
137 EXPECT_FALSE(util::isJavaPackageName(u"_android")); in TEST()
138 EXPECT_FALSE(util::isJavaPackageName(u"android_")); in TEST()
139 EXPECT_FALSE(util::isJavaPackageName(u"android.")); in TEST()
140 EXPECT_FALSE(util::isJavaPackageName(u".android")); in TEST()
141 EXPECT_FALSE(util::isJavaPackageName(u"android._test")); in TEST()
142 EXPECT_FALSE(util::isJavaPackageName(u"..")); in TEST()
DUtil.h90 bool isJavaPackageName(const StringPiece16& str);
DUtil.cpp141 bool isJavaPackageName(const StringPiece16& str) { in isJavaPackageName() function
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp79 } else if (!util::isJavaPackageName(attr->value)) { in verifyManifest()
91 if (!util::isJavaPackageName(mOptions.renameManifestPackage.value())) { in buildRules()
99 if (!util::isJavaPackageName(mOptions.renameInstrumentationTargetPackage.value())) { in buildRules()
DLink.cpp1098 if (!util::isJavaPackageName(mContext->getCompilationPackage())) { in run()