Home
last modified time | relevance | path

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

/system/extras/simpleperf/scripts/test/
Dpprof_proto_generator_test.py69 key2 = 'PlayScene::DoFrame()' # function in thread 10463
73 self.assertIn(key2, output)
76 self.assertNotIn(key2, output)
79 self.assertIn(key2, output)
83 key2 = 'PlayScene::DoFrame()' # function in thread 'e.sample.tunnel'
87 self.assertIn(key2, output)
90 self.assertNotIn(key2, output)
93 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/libcppbor/
DREADME.md82 Map val("key1", Array(Map("key_a", 99 "key_b", vec), "foo"), "key2", true);
106 val.add("key1", Array().add(Map().add("key_a", 99).add("key_b", vec)).add("foo")).add("key2", true);
168 s = "key2";
/system/extras/simpleperf/
Dcmd_inject.cpp457 [](const BinaryKey& key1, const BinaryKey& key2) { return key1.path < key2.path; }); in Write() argument