Searched refs:IsAndroidPackageName (Results 1 – 4 of 4) sorted by relevance
104 TEST(UtilTest, IsAndroidPackageName) { in TEST() argument105 EXPECT_TRUE(util::IsAndroidPackageName("android")); in TEST()106 EXPECT_TRUE(util::IsAndroidPackageName("android.test")); in TEST()107 EXPECT_TRUE(util::IsAndroidPackageName("com.foo")); in TEST()108 EXPECT_TRUE(util::IsAndroidPackageName("com.foo.test_thing")); in TEST()109 EXPECT_TRUE(util::IsAndroidPackageName("com.foo.testing_thing_")); in TEST()110 EXPECT_TRUE(util::IsAndroidPackageName("com.foo.test_99_")); in TEST()112 EXPECT_FALSE(util::IsAndroidPackageName("android._test")); in TEST()113 EXPECT_FALSE(util::IsAndroidPackageName("com")); in TEST()114 EXPECT_FALSE(util::IsAndroidPackageName("_android")); in TEST()[all …]
84 bool IsAndroidPackageName(const android::StringPiece& str);
171 bool IsAndroidPackageName(const StringPiece& str) { in IsAndroidPackageName() function
155 } else if (!util::IsAndroidPackageName(attr->value)) { in VerifyManifest()