Home
last modified time | relevance | path

Searched refs:CreateSubKey (Results 1 – 10 of 10) sorted by relevance

/system/update_engine/common/
Dprefs_unittest.cc51 auto key0 = common_prefs_->CreateSubKey({"ns1", "key"}); in MultiNamespaceKeyTest()
53 auto key0corner = common_prefs_->CreateSubKey({"ns11", "key"}); in MultiNamespaceKeyTest()
54 auto key1A = common_prefs_->CreateSubKey({"ns1", "nsA", "keyA"}); in MultiNamespaceKeyTest()
55 auto key1B = common_prefs_->CreateSubKey({"ns1", "nsA", "keyB"}); in MultiNamespaceKeyTest()
56 auto key2 = common_prefs_->CreateSubKey({"ns1", "nsB", "key"}); in MultiNamespaceKeyTest()
58 auto key2corner = common_prefs_->CreateSubKey({"ns1", "nsB1", "key"}); in MultiNamespaceKeyTest()
124 key1A = common_prefs_->CreateSubKey({kDlcPrefsSubDir, "dlc1", "keyA"}); in MultiNamespaceKeyTest()
126 key1B = common_prefs_->CreateSubKey({kDlcPrefsSubDir, "dlc1", "keyB"}); in MultiNamespaceKeyTest()
128 auto key2A = common_prefs_->CreateSubKey({kDlcPrefsSubDir, "dlc2", "keyA"}); in MultiNamespaceKeyTest()
206 TEST_F(PrefsTest, CreateSubKey) { in TEST_F() argument
[all …]
Dprefs_interface.h90 static std::string CreateSubKey(const std::vector<std::string>& ns_with_key);
Dprefs.cc151 string PrefsInterface::CreateSubKey(const vector<string>& ns_and_key) { in CreateSubKey() function in chromeos_update_engine::PrefsInterface
/system/update_engine/cros/
Dexcluder_chromeos.cc41 auto key = prefs->CreateSubKey({kExclusionPrefsSubDir, name}); in Exclude()
47 auto key = prefs->CreateSubKey({kExclusionPrefsSubDir, name}); in IsExcluded()
Domaha_request_builder_xml.cc315 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsOmahaCohort}); in GetApp()
317 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsOmahaCohortName}); in GetApp()
319 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsOmahaCohortHint}); in GetApp()
Domaha_request_builder_xml_unittest.cc396 const string dlc_cohort_key = PrefsInterface::CreateSubKey( in TEST_F()
400 const string dlc_cohort_name_key = PrefsInterface::CreateSubKey( in TEST_F()
404 const string dlc_cohort_hint_key = PrefsInterface::CreateSubKey( in TEST_F()
Dupdate_attempter_unittest.cc2291 auto last_active_key = PrefsInterface::CreateSubKey( in TEST_F()
2294 auto last_rollcall_key = PrefsInterface::CreateSubKey( in TEST_F()
2330 PrefsInterface::CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingActive}); in TEST_F()
2331 auto last_active_key = PrefsInterface::CreateSubKey( in TEST_F()
2333 auto last_rollcall_key = PrefsInterface::CreateSubKey( in TEST_F()
2361 PrefsInterface::CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingActive}); in TEST_F()
2362 auto last_active_key = PrefsInterface::CreateSubKey( in TEST_F()
2364 auto last_rollcall_key = PrefsInterface::CreateSubKey( in TEST_F()
2388 PrefsInterface::CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingActive}); in TEST_F()
2389 auto last_active_key = PrefsInterface::CreateSubKey( in TEST_F()
[all …]
Domaha_request_action_unittest.cc481 active_key_ = PrefsInterface::CreateSubKey( in SetUp()
483 last_active_key_ = PrefsInterface::CreateSubKey( in SetUp()
485 last_rollcall_key_ = PrefsInterface::CreateSubKey( in SetUp()
1296 fake_prefs_->CreateSubKey({kDlcPrefsSubDir, kDlcId1, kPrefsOmahaCohort}), in TEST_F()
1301 fake_prefs_->CreateSubKey( in TEST_F()
1307 fake_prefs_->CreateSubKey( in TEST_F()
1318 fake_prefs_->CreateSubKey({kDlcPrefsSubDir, kDlcId1, kPrefsOmahaCohort}); in TEST_F()
1319 const string dlc_cohort_hint_key = fake_prefs_->CreateSubKey( in TEST_F()
1321 const string dlc_cohort_name_key = fake_prefs_->CreateSubKey( in TEST_F()
1365 fake_prefs_->CreateSubKey({kDlcPrefsSubDir, kDlcId1, kPrefsOmahaCohort}); in TEST_F()
[all …]
Dupdate_attempter.cc624 auto key = prefs_->CreateSubKey({kDlcPrefsSubDir, dlc_id, sub_key}); in ResetDlcPrefs()
644 auto key = prefs_->CreateSubKey({kDlcPrefsSubDir, dlc_id, pref_key}); in SetPref()
658 prefs_->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingActive}); in SetDlcActiveValue()
713 prefs_->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingActive}); in CalculateDlcParams()
719 prefs_->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingLastActive}); in CalculateDlcParams()
722 auto ping_last_rollcall_key = prefs_->CreateSubKey( in CalculateDlcParams()
Domaha_request_action.cc486 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingActive}); in StorePingReply()
492 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingLastRollcall}); in StorePingReply()
501 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingLastActive}); in StorePingReply()
1464 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsOmahaCohort}), in PersistCohorts()
1467 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsOmahaCohortName}), in PersistCohorts()
1470 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsOmahaCohortHint}), in PersistCohorts()