Searched refs:IsAndroidPackageName (Results 1 – 4 of 4) sorted by relevance
123 TEST(UtilTest, IsAndroidPackageName) { in TEST() argument124 EXPECT_TRUE(util::IsAndroidPackageName("android")); in TEST()125 EXPECT_TRUE(util::IsAndroidPackageName("android.test")); in TEST()126 EXPECT_TRUE(util::IsAndroidPackageName("com.foo")); in TEST()127 EXPECT_TRUE(util::IsAndroidPackageName("com.foo.test_thing")); in TEST()128 EXPECT_TRUE(util::IsAndroidPackageName("com.foo.testing_thing_")); in TEST()129 EXPECT_TRUE(util::IsAndroidPackageName("com.foo.test_99_")); in TEST()130 EXPECT_TRUE(util::IsAndroidPackageName(kMaxPackageName)); in TEST()132 EXPECT_FALSE(util::IsAndroidPackageName("android._test")); in TEST()133 EXPECT_FALSE(util::IsAndroidPackageName("com")); in TEST()[all …]
83 bool IsAndroidPackageName(android::StringPiece str);
176 bool IsAndroidPackageName(StringPiece str) { in IsAndroidPackageName() function
289 } else if (!util::IsAndroidPackageName(attr->value)) { in VerifyManifest()