Home
last modified time | relevance | path

Searched refs:IsJavaPackageName (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/util/
DUtil_test.cpp90 TEST(UtilTest, IsJavaPackageName) { in TEST() argument
91 EXPECT_TRUE(util::IsJavaPackageName("android")); in TEST()
92 EXPECT_TRUE(util::IsJavaPackageName("android.test")); in TEST()
93 EXPECT_TRUE(util::IsJavaPackageName("android.test_thing")); in TEST()
94 EXPECT_TRUE(util::IsJavaPackageName("_android")); in TEST()
95 EXPECT_TRUE(util::IsJavaPackageName("android_")); in TEST()
96 EXPECT_TRUE(util::IsJavaPackageName("android._test")); in TEST()
97 EXPECT_TRUE(util::IsJavaPackageName("cøm.foo")); in TEST()
99 EXPECT_FALSE(util::IsJavaPackageName("android.")); in TEST()
100 EXPECT_FALSE(util::IsJavaPackageName(".android")); in TEST()
[all …]
DUtil.h78 bool IsJavaPackageName(const android::StringPiece& str);
DUtil.cpp143 bool IsJavaPackageName(const StringPiece& str) { in IsJavaPackageName() function
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp96 if (!util::IsJavaPackageName(attr->value)) { in RequiredNameIsJavaPackage()
164 if (!util::IsJavaPackageName(attr->value)) { in VerifyManifest()
221 if (!util::IsJavaPackageName(options_.rename_manifest_package.value())) { in BuildRules()
230 if (!util::IsJavaPackageName(options_.rename_instrumentation_target_package.value())) { in BuildRules()
240 if (!util::IsJavaPackageName(options_.rename_overlay_target_package.value())) { in BuildRules()