Searched refs:IsJavaPackageName (Results 1 – 4 of 4) sorted by relevance
126 TEST(UtilTest, IsJavaPackageName) { in TEST() argument127 EXPECT_TRUE(util::IsJavaPackageName("android")); in TEST()128 EXPECT_TRUE(util::IsJavaPackageName("android.test")); in TEST()129 EXPECT_TRUE(util::IsJavaPackageName("android.test_thing")); in TEST()130 EXPECT_FALSE(util::IsJavaPackageName("_android")); in TEST()131 EXPECT_FALSE(util::IsJavaPackageName("android_")); in TEST()132 EXPECT_FALSE(util::IsJavaPackageName("android.")); in TEST()133 EXPECT_FALSE(util::IsJavaPackageName(".android")); in TEST()134 EXPECT_FALSE(util::IsJavaPackageName("android._test")); in TEST()135 EXPECT_FALSE(util::IsJavaPackageName("..")); in TEST()
87 bool IsJavaPackageName(const android::StringPiece& str);
142 bool IsJavaPackageName(const StringPiece& str) { in IsJavaPackageName() function
72 return util::IsJavaPackageName(attr->value); in RequiredNameIsJavaPackage()130 } else if (!util::IsJavaPackageName(attr->value)) { in VerifyManifest()139 if (!util::IsJavaPackageName(attr->value)) { in VerifyManifest()196 if (!util::IsJavaPackageName(options_.rename_manifest_package.value())) { in BuildRules()205 if (!util::IsJavaPackageName(options_.rename_instrumentation_target_package.value())) { in BuildRules()