Searched refs:IsJavaPackageName (Results 1 – 4 of 4) sorted by relevance
90 TEST(UtilTest, IsJavaPackageName) { in TEST() argument91 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 …]
78 bool IsJavaPackageName(const android::StringPiece& str);
143 bool IsJavaPackageName(const StringPiece& str) { in IsJavaPackageName() function
96 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()