Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/util/
DUtil_test.cpp142 TEST(UtilTest, IsAndroidSharedUserId) { in TEST() argument
143 EXPECT_TRUE(util::IsAndroidSharedUserId("android", "foo")); in TEST()
144 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", "android.test")); in TEST()
145 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", "com.foo")); in TEST()
146 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", "com.foo.test_thing")); in TEST()
147 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", "com.foo.testing_thing_")); in TEST()
148 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", "com.foo.test_99_")); in TEST()
149 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", "")); in TEST()
150 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", kMaxPackageName)); in TEST()
152 EXPECT_FALSE(util::IsAndroidSharedUserId("com.foo", "android._test")); in TEST()
[all …]
DUtil.h96 bool IsAndroidSharedUserId(android::StringPiece package_name, android::StringPiece shared_user_id);
DUtil.cpp183 bool IsAndroidSharedUserId(android::StringPiece package_name, android::StringPiece shared_user_id) { in IsAndroidSharedUserId() function
/frameworks/base/tools/aapt2/cmd/
DLink.cpp1806 if (util::IsAndroidSharedUserId(context_->GetCompilationPackage(), shared_user_id)) { in VerifySharedUserId()