Home
last modified time | relevance | path

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

/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()
409 auto key2 = prefs_.CreateSubKey({name_space, sub_pref, sub_key2}); in TEST_F() local
413 ASSERT_TRUE(prefs_.SetInt64(key2, 0)); in TEST_F()
420 ASSERT_TRUE(prefs_.Delete(key2)); in TEST_F()
/system/extras/libperfmgr/tests/
DPropertyNodeTest.cc60 std::string key2 = _InitProperty("test.libperfmgr.key2"); in TEST() local
61 PropertyNode t2("t2", key2, {{"value0"}, {"value1"}, {"value2"}}, 0, true); in TEST()
62 _VerifyPropertyValue(key2, "value0"); in TEST()
/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/extras/simpleperf/scripts/
Dtest.py1672 key2 = 'PlayScene::DoFrame()' # function in thread 10463
1676 self.assertIn(key2, output)
1679 self.assertNotIn(key2, output)
1682 self.assertIn(key2, output)
1686 key2 = 'PlayScene::DoFrame()' # function in thread 'e.sample.tunnel'
1690 self.assertIn(key2, output)
1693 self.assertNotIn(key2, output)
1696 self.assertIn(key2, output)