Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 4 of 4) sorted by relevance

/system/extras/simpleperf/scripts/test/
Dpprof_proto_generator_test.py54 key2 = 'PlayScene::DoFrame()' # function in thread 10463
58 self.assertIn(key2, output)
61 self.assertNotIn(key2, output)
64 self.assertIn(key2, output)
68 key2 = 'PlayScene::DoFrame()' # function in thread 'e.sample.tunnel'
72 self.assertIn(key2, output)
75 self.assertNotIn(key2, output)
78 self.assertIn(key2, output)
/system/update_engine/common/
Dprefs_unittest.cc56 auto key2 = common_prefs_->CreateSubKey({"ns1", "nsB", "key"}); in MultiNamespaceKeyTest() local
62 EXPECT_FALSE(common_prefs_->Exists(key2)); in MultiNamespaceKeyTest()
68 EXPECT_TRUE(common_prefs_->SetString(key2, "")); in MultiNamespaceKeyTest()
75 EXPECT_TRUE(common_prefs_->Exists(key2)); in MultiNamespaceKeyTest()
80 EXPECT_THAT(keys2, ElementsAre(key2)); in MultiNamespaceKeyTest()
87 EXPECT_FALSE(common_prefs_->Exists(key2)); in MultiNamespaceKeyTest()
426 auto key2 = prefs_.CreateSubKey({name_space, sub_pref, sub_key2}); in TEST_F() local
430 ASSERT_TRUE(prefs_.SetInt64(key2, 0)); in TEST_F()
437 ASSERT_TRUE(prefs_.Delete(key2)); in TEST_F()
/system/core/libutils/
DLruCache_test.cpp334 KeyWithPointer key2; in TEST_F() local
335 key2.ptr = new int(2); in TEST_F()
341 cache.put(key2, "two"); in TEST_F()
343 EXPECT_STREQ("two", cache.get(key2)); in TEST_F()
/system/update_engine/cros/
Dupdate_attempter_unittest.cc2451 string key2 = kPrefsPingLastRollcall; in TEST_F() local
2454 EXPECT_TRUE(fake_prefs.SetString(key2, "current-rollcall")); in TEST_F()
2459 EXPECT_TRUE(powerwash_safe_prefs.SetString(key2, "powerwash-last-rollcall")); in TEST_F()
2463 attempter_.MoveToPrefs({key1, key2}); in TEST_F()
2470 fake_prefs.GetString(key2, &pref_value_2); in TEST_F()
2476 EXPECT_FALSE(FakeSystemState::Get()->powerwash_safe_prefs()->Exists(key2)); in TEST_F()