Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/util/
DUtil_test.cpp123 TEST(UtilTest, IsAndroidPackageName) { in TEST() argument
124 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 …]
DUtil.h83 bool IsAndroidPackageName(android::StringPiece str);
DUtil.cpp176 bool IsAndroidPackageName(StringPiece str) { in IsAndroidPackageName() function
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp289 } else if (!util::IsAndroidPackageName(attr->value)) { in VerifyManifest()