• Home
  • Raw
  • Download

Lines Matching refs:cookie

94   ApkAssetsCookie cookie =  in TEST_F()  local
97 ASSERT_NE(kInvalidCookie, cookie); in TEST_F()
100 EXPECT_EQ(0, cookie); in TEST_F()
124 ApkAssetsCookie cookie = in TEST_F() local
127 ASSERT_NE(kInvalidCookie, cookie); in TEST_F()
130 EXPECT_EQ(1, cookie); in TEST_F()
152 ApkAssetsCookie cookie = in TEST_F() local
155 ASSERT_NE(kInvalidCookie, cookie); in TEST_F()
158 EXPECT_EQ(2, cookie); in TEST_F()
162 cookie = assetmanager.GetResource(value.data, false /* may_be_bag */, 0 /* density_override*/, in TEST_F()
164 ASSERT_NE(kInvalidCookie, cookie); in TEST_F()
165 EXPECT_EQ(1, cookie); in TEST_F()
168 GetStringFromPool(assetmanager.GetStringPoolForCookie(cookie), value.data)); in TEST_F()
170 cookie = assetmanager.GetResource(libclient::R::string::foo_two, false /*may_be_bag*/, in TEST_F()
172 ASSERT_NE(kInvalidCookie, cookie); in TEST_F()
175 EXPECT_EQ(2, cookie); in TEST_F()
179 cookie = assetmanager.GetResource(value.data, false /* may_be_bag */, 0 /* density_override*/, in TEST_F()
181 ASSERT_NE(kInvalidCookie, cookie); in TEST_F()
182 EXPECT_EQ(0, cookie); in TEST_F()
185 GetStringFromPool(assetmanager.GetStringPoolForCookie(cookie), value.data)); in TEST_F()
197 ApkAssetsCookie cookie = assetmanager.GetResource( in TEST_F() local
200 ASSERT_NE(kInvalidCookie, cookie); in TEST_F()
215 EXPECT_EQ(0, bag->entries[0].cookie); in TEST_F()
219 EXPECT_EQ(0, bag->entries[1].cookie); in TEST_F()
223 EXPECT_EQ(0, bag->entries[2].cookie); in TEST_F()
241 EXPECT_EQ(1, bag->entries[0].cookie); in TEST_F()
243 EXPECT_EQ(1, bag->entries[1].cookie); in TEST_F()
258 EXPECT_EQ(0, bag_one->entries[0].cookie); in TEST_F()
263 EXPECT_EQ(0, bag_one->entries[1].cookie); in TEST_F()
273 EXPECT_EQ(0, bag_two->entries[0].cookie); in TEST_F()
278 EXPECT_EQ(0, bag_two->entries[1].cookie); in TEST_F()
287 EXPECT_EQ(0, bag_two->entries[2].cookie); in TEST_F()
292 EXPECT_EQ(0, bag_two->entries[3].cookie); in TEST_F()
297 EXPECT_EQ(0, bag_two->entries[4].cookie); in TEST_F()
302 EXPECT_EQ(0, bag_two->entries[5].cookie); in TEST_F()
312 ApkAssetsCookie cookie = in TEST_F() local
315 ASSERT_NE(kInvalidCookie, cookie); in TEST_F()
321 cookie = assetmanager.ResolveReference(cookie, &value, &selected_config, &flags, &last_ref); in TEST_F()
322 ASSERT_NE(kInvalidCookie, cookie); in TEST_F()
335 ApkAssetsCookie cookie = in TEST_F() local
338 ASSERT_NE(kInvalidCookie, cookie); in TEST_F()
344 cookie = assetmanager.ResolveReference(cookie, &value, &selected_config, &flags, &last_ref); in TEST_F()
345 ASSERT_NE(kInvalidCookie, cookie); in TEST_F()