Lines Matching refs:package

57   const LoadedPackage* package =  in TEST()  local
59 ASSERT_THAT(package, NotNull()); in TEST()
60 EXPECT_THAT(package->GetPackageName(), StrEq("com.android.app")); in TEST()
61 EXPECT_THAT(package->GetPackageId(), Eq(0x7f)); in TEST()
66 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
146 const LoadedPackage* package = in TEST() local
148 ASSERT_THAT(package, NotNull()); in TEST()
153 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
157 auto type_name16 = package->GetTypeStringPool()->stringAt(type_spec->type_spec->id - 1); in TEST()
191 const auto& package = loaded_arsc->GetPackages()[0]; in TEST() local
192 ASSERT_THAT(package, NotNull()); in TEST()
194 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(0); in TEST()
198 type_spec = package->GetTypeSpecByTypeIndex(1); in TEST()
212 const LoadedPackage* package = loaded_arsc->GetPackageById( in TEST() local
215 const OverlayableInfo* info = package->GetOverlayableInfo( in TEST()
219 info = package->GetOverlayableInfo(overlayable::R::string::overlayable1); in TEST()
225 info = package->GetOverlayableInfo(overlayable::R::string::overlayable2); in TEST()
233 info = package->GetOverlayableInfo(overlayable::R::string::overlayable3); in TEST()
241 info = package->GetOverlayableInfo(overlayable::R::string::overlayable4); in TEST()
329 const LoadedPackage* package = in TEST() local
331 ASSERT_THAT(package, NotNull()); in TEST()
332 EXPECT_THAT(package->GetPackageName(), StrEq("com.android.loader")); in TEST()
333 EXPECT_THAT(package->GetPackageId(), Eq(0x7f)); in TEST()
338 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
363 const LoadedPackage* package = in TEST_P() local
365 ASSERT_THAT(package, NotNull()); in TEST_P()
370 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST_P()
386 const LoadedPackage* package = in TEST_P() local
388 ASSERT_THAT(package, NotNull()); in TEST_P()
392 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST_P()
419 auto id = package->FindEntryByName(u"string", u"only_land"); in TEST_P()