Home
last modified time | relevance | path

Searched refs:loaded_arsc (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp35 std::unique_ptr<const LoadedArsc> loaded_arsc = in TEST() local
37 ASSERT_NE(nullptr, loaded_arsc); in TEST()
39 const std::vector<std::unique_ptr<const LoadedPackage>>& packages = loaded_arsc->GetPackages(); in TEST()
53 loaded_arsc->FindEntry(app::R::string::string_one, config, &entry, &selected_config, &flags)); in TEST()
62 std::unique_ptr<const LoadedArsc> loaded_arsc = in TEST() local
64 ASSERT_NE(nullptr, loaded_arsc); in TEST()
75 ASSERT_TRUE(loaded_arsc->FindEntry(basic::R::string::test1, desired_config, &entry, in TEST()
85 std::unique_ptr<const LoadedArsc> loaded_arsc = in TEST() local
87 ASSERT_NE(nullptr, loaded_arsc); in TEST()
89 const auto& packages = loaded_arsc->GetPackages(); in TEST()
[all …]
DApkAssets_test.cpp43 const LoadedArsc* loaded_arsc = loaded_apk->GetLoadedArsc(); in TEST() local
44 ASSERT_NE(nullptr, loaded_arsc); in TEST()
45 ASSERT_EQ(1u, loaded_arsc->GetPackages().size()); in TEST()
46 EXPECT_FALSE(loaded_arsc->GetPackages()[0]->IsDynamic()); in TEST()
51 loaded_arsc = loaded_apk->GetLoadedArsc(); in TEST()
52 ASSERT_NE(nullptr, loaded_arsc); in TEST()
53 ASSERT_EQ(1u, loaded_arsc->GetPackages().size()); in TEST()
54 EXPECT_TRUE(loaded_arsc->GetPackages()[0]->IsDynamic()); in TEST()
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp692 std::unique_ptr<LoadedArsc> loaded_arsc(new LoadedArsc()); in Load() local
693 loaded_arsc->system_ = system; in Load()
700 if (!loaded_arsc->LoadTable(chunk, load_as_shared_library)) { in Load()
717 return std::move(loaded_arsc); in Load()