Lines Matching refs:packages
83 const auto& packages = loaded_arsc->GetPackages(); in TEST() local
84 ASSERT_THAT(packages, SizeIs(1u)); in TEST()
85 EXPECT_TRUE(packages[0]->IsDynamic()); in TEST()
86 EXPECT_THAT(packages[0]->GetPackageName(), StrEq("com.android.lib_one")); in TEST()
87 EXPECT_THAT(packages[0]->GetPackageId(), Eq(0)); in TEST()
89 const auto& dynamic_pkg_map = packages[0]->GetDynamicPackageMap(); in TEST()
104 const auto& packages = loaded_arsc->GetPackages(); in TEST() local
105 ASSERT_THAT(packages, SizeIs(1u)); in TEST()
106 EXPECT_FALSE(packages[0]->IsDynamic()); in TEST()
107 EXPECT_THAT(packages[0]->GetPackageName(), StrEq("com.android.libclient")); in TEST()
108 EXPECT_THAT(packages[0]->GetPackageId(), Eq(0x7f)); in TEST()
110 const auto& dynamic_pkg_map = packages[0]->GetDynamicPackageMap(); in TEST()
132 const auto& packages = loaded_arsc->GetPackages(); in TEST() local
133 ASSERT_THAT(packages, SizeIs(1u)); in TEST()
134 EXPECT_TRUE(packages[0]->IsDynamic()); in TEST()
135 EXPECT_THAT(packages[0]->GetPackageId(), Eq(0x7f)); in TEST()
257 const std::vector<std::unique_ptr<const LoadedPackage>>& packages = loaded_arsc->GetPackages(); in TEST() local
258 ASSERT_EQ(1u, packages.size()); in TEST()
259 ASSERT_EQ(std::string("com.android.basic"), packages[0]->GetPackageName()); in TEST()
261 const auto& loaded_package = packages[0]; in TEST()
306 const std::vector<std::unique_ptr<const LoadedPackage>>& packages = loaded_arsc->GetPackages(); in TEST() local
307 ASSERT_EQ(1u, packages.size()); in TEST()
308 ASSERT_EQ(std::string("com.android.overlayable"), packages[0]->GetPackageName()); in TEST()
310 const auto map = packages[0]->GetOverlayableMap(); in TEST()