Lines Matching refs:cookie

66                                    ApkAssetsCookie cookie) {  in GetStringFromApkAssets()  argument
68 const ResStringPool* string_pool = assets[cookie]->GetLoadedArsc()->GetStringPool(); in GetStringFromApkAssets()
81 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::string::overlayable5, in TEST_F() local
85 ASSERT_EQ(cookie, 2U); in TEST_F()
87 ASSERT_EQ(GetStringFromApkAssets(asset_manager, val, cookie), "Overlay One"); in TEST_F()
97 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::string::overlayable10, in TEST_F() local
101 ASSERT_EQ(cookie, 0U); in TEST_F()
103 ASSERT_EQ(GetStringFromApkAssets(asset_manager, val, cookie), "yes"); in TEST_F()
113 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::string::overlayable8, in TEST_F() local
117 ASSERT_EQ(cookie, 2U); in TEST_F()
129 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::integer::config_integer, in TEST_F() local
133 ASSERT_EQ(cookie, 2U); in TEST_F()
146 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::string::overlayable11, in TEST_F() local
150 ASSERT_EQ(cookie, 2U); in TEST_F()
152 ASSERT_EQ(GetStringFromApkAssets(asset_manager, val, cookie), "Hardcoded string"); in TEST_F()
162 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::string::overlayable9, in TEST_F() local
166 ASSERT_EQ(cookie, 2U); in TEST_F()
178 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::layout::hello_view, in TEST_F() local
182 ASSERT_EQ(cookie, 2U); in TEST_F()
184 ASSERT_EQ(GetStringFromApkAssets(asset_manager, val, cookie), "res/layout/hello_view.xml"); in TEST_F()
186 auto asset = asset_manager.OpenNonAsset("res/layout/hello_view.xml", cookie, in TEST_F()
188 auto dynamic_ref_table = asset_manager.GetDynamicRefTableForCookie(cookie); in TEST_F()
237 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::string::overlayable11, in TEST_F() local
242 ASSERT_EQ(cookie, 1U); in TEST_F()
244 ASSERT_EQ(GetStringFromApkAssets(asset_manager, val, cookie), "loader"); in TEST_F()