Searched refs:IsAndroidSharedUserId (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/aapt2/util/ |
D | Util_test.cpp | 134 TEST(UtilTest, IsAndroidSharedUserId) { in TEST() argument 135 EXPECT_TRUE(util::IsAndroidSharedUserId("android", "foo")); in TEST() 136 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", "android.test")); in TEST() 137 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", "com.foo")); in TEST() 138 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", "com.foo.test_thing")); in TEST() 139 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", "com.foo.testing_thing_")); in TEST() 140 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", "com.foo.test_99_")); in TEST() 141 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", "")); in TEST() 142 EXPECT_TRUE(util::IsAndroidSharedUserId("com.foo", kMaxPackageName)); in TEST() 144 EXPECT_FALSE(util::IsAndroidSharedUserId("com.foo", "android._test")); in TEST() [all …]
|
D | Util.h | 97 bool IsAndroidSharedUserId(const android::StringPiece& package_name,
|
D | Util.cpp | 182 bool IsAndroidSharedUserId(const android::StringPiece& package_name, in IsAndroidSharedUserId() function
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 1680 if (util::IsAndroidSharedUserId(context_->GetCompilationPackage(), shared_user_id)) { in VerifySharedUserId()
|