Home | History | Annotate | Download | only in tests

Lines Matching refs:packages

39   const std::vector<std::unique_ptr<const LoadedPackage>>& packages = loaded_arsc->GetPackages();
40 ASSERT_EQ(1u, packages.size());
41 EXPECT_EQ(std::string("com.android.app"), packages[0]->GetPackageName());
42 EXPECT_EQ(0x7f, packages[0]->GetPackageId());
89 const auto& packages = loaded_arsc->GetPackages();
90 ASSERT_EQ(1u, packages.size());
92 EXPECT_TRUE(packages[0]->IsDynamic());
93 EXPECT_EQ(std::string("com.android.lib_one"), packages[0]->GetPackageName());
94 EXPECT_EQ(0, packages[0]->GetPackageId());
96 const auto& dynamic_pkg_map = packages[0]->GetDynamicPackageMap();
111 const auto& packages = loaded_arsc->GetPackages();
112 ASSERT_EQ(1u, packages.size());
114 EXPECT_FALSE(packages[0]->IsDynamic());
115 EXPECT_EQ(std::string("com.android.libclient"), packages[0]->GetPackageName());
116 EXPECT_EQ(0x7f, packages[0]->GetPackageId());
118 const auto& dynamic_pkg_map = packages[0]->GetDynamicPackageMap();
139 const auto& packages = loaded_arsc->GetPackages();
140 ASSERT_EQ(1u, packages.size());
142 EXPECT_TRUE(packages[0]->IsDynamic());
143 EXPECT_EQ(0x7f, packages[0]->GetPackageId());