Searched refs:IsJavaPackageName (Results 1 – 4 of 4) sorted by relevance
109 TEST(UtilTest, IsJavaPackageName) { in TEST() argument110 EXPECT_TRUE(util::IsJavaPackageName("android")); in TEST()111 EXPECT_TRUE(util::IsJavaPackageName("android.test")); in TEST()112 EXPECT_TRUE(util::IsJavaPackageName("android.test_thing")); in TEST()113 EXPECT_TRUE(util::IsJavaPackageName("_android")); in TEST()114 EXPECT_TRUE(util::IsJavaPackageName("android_")); in TEST()115 EXPECT_TRUE(util::IsJavaPackageName("android._test")); in TEST()116 EXPECT_TRUE(util::IsJavaPackageName("cøm.foo")); in TEST()118 EXPECT_FALSE(util::IsJavaPackageName("android.")); in TEST()119 EXPECT_FALSE(util::IsJavaPackageName(".android")); in TEST()[all …]
76 bool IsJavaPackageName(android::StringPiece str);
148 bool IsJavaPackageName(StringPiece str) { in IsJavaPackageName() function
183 if (!util::IsJavaPackageName(attr->value)) { in RequiredNameIsJavaPackage()304 if (!util::IsJavaPackageName(attr->value)) { in VerifyManifest()388 if (!util::IsJavaPackageName(options_.rename_manifest_package.value())) { in BuildRules()396 if (!util::IsJavaPackageName(options_.rename_instrumentation_target_package.value())) { in BuildRules()405 if (!util::IsJavaPackageName(options_.rename_overlay_target_package.value())) { in BuildRules()