Home
last modified time | relevance | path

Searched refs:IsAndroidPackageName (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/util/
DUtil_test.cpp104 TEST(UtilTest, IsAndroidPackageName) { in TEST() argument
105 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 …]
DUtil.h84 bool IsAndroidPackageName(const android::StringPiece& str);
DUtil.cpp171 bool IsAndroidPackageName(const StringPiece& str) { in IsAndroidPackageName() function
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp155 } else if (!util::IsAndroidPackageName(attr->value)) { in VerifyManifest()