Searched refs:IsAndroidSharedUserId (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/aapt2/util/ |
D | Util_test.cpp | 142 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 …]
|
D | Util.h | 96 bool IsAndroidSharedUserId(android::StringPiece package_name, android::StringPiece shared_user_id);
|
D | Util.cpp | 183 bool IsAndroidSharedUserId(android::StringPiece package_name, android::StringPiece shared_user_id) { in IsAndroidSharedUserId() function
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 1806 if (util::IsAndroidSharedUserId(context_->GetCompilationPackage(), shared_user_id)) { in VerifySharedUserId()
|