Home
last modified time | relevance | path

Searched refs:dlc_id (Results 1 – 15 of 15) sorted by relevance

/system/update_engine/
Dboot_control_chromeos.cc156 std::string* dlc_id, in ParseDlcPartitionName() argument
158 CHECK_NE(dlc_id, nullptr); in ParseDlcPartitionName()
174 *dlc_id = tokens[1]; in ParseDlcPartitionName()
188 string dlc_id, dlc_package; in GetPartitionDevice() local
189 if (!ParseDlcPartitionName(partition_name, &dlc_id, &dlc_package)) in GetPartitionDevice()
193 .Append(dlc_id) in GetPartitionDevice()
Dupdate_attempter_unittest.cc2388 string dlc_id = "dlc0"; in TEST_F() local
2392 attempter_.dlc_ids_ = {dlc_id}; in TEST_F()
2396 EXPECT_EQ(1, params->dlc_apps_params().count(params->GetDlcAppId(dlc_id))); in TEST_F()
2398 params->dlc_apps_params().at(params->GetDlcAppId(dlc_id)); in TEST_F()
2399 EXPECT_STREQ(dlc_id.c_str(), dlc_app_params.name.c_str()); in TEST_F()
2404 {kDlcPrefsSubDir, dlc_id, kPrefsPingLastActive}); in TEST_F()
2407 {kDlcPrefsSubDir, dlc_id, kPrefsPingLastRollcall}); in TEST_F()
2412 string dlc_id = "dlc0"; in TEST_F() local
2417 DoAll(SetArgPointee<0>(std::vector<string>({dlc_id})), Return(true))); in TEST_F()
2423 EXPECT_EQ(1, params->dlc_apps_params().count(params->GetDlcAppId(dlc_id))); in TEST_F()
[all …]
Dupdate_attempter.cc662 bool UpdateAttempter::ResetDlcPrefs(const string& dlc_id) { in ResetDlcPrefs() argument
667 auto key = prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, sub_key}); in ResetDlcPrefs()
673 << " for DLC (" << dlc_id << ")."; in ResetDlcPrefs()
678 bool UpdateAttempter::SetDlcActiveValue(bool is_active, const string& dlc_id) { in SetDlcActiveValue() argument
679 if (dlc_id.empty()) { in SetDlcActiveValue()
683 LOG(INFO) << "Set DLC (" << dlc_id << ") to " in SetDlcActiveValue()
688 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingActive}); in SetDlcActiveValue()
695 return ResetDlcPrefs(dlc_id); in SetDlcActiveValue()
726 for (const auto& dlc_id : dlc_ids_) { in CalculateDlcParams() local
729 .name = dlc_id, in CalculateDlcParams()
[all …]
Domaha_request_params.cc250 string OmahaRequestParams::GetDlcAppId(const std::string& dlc_id) const { in GetDlcAppId()
253 return GetAppId() + "_" + dlc_id; in GetDlcAppId()
Ddbus_service.cc106 const string& dlc_id) { in SetDlcActiveValue() argument
107 return common_->SetDlcActiveValue(error, is_active, dlc_id); in SetDlcActiveValue()
Dboot_control_chromeos.h87 std::string* dlc_id,
Dcommon_service.h78 const std::string& dlc_id);
Dcommon_service.cc147 const string& dlc_id) { in SetDlcActiveValue() argument
149 dlc_id)) { in SetDlcActiveValue()
Dupdate_attempter.h167 virtual bool SetDlcActiveValue(bool is_active, const std::string& dlc_id);
449 bool ResetDlcPrefs(const std::string& dlc_id);
Ddbus_service.h73 const std::string& dlc_id) override;
Domaha_request_action.cc417 const string& dlc_id = dlc_params.name; in StorePingReply() local
425 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingActive}); in StorePingReply()
431 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingLastRollcall}); in StorePingReply()
440 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingLastActive}); in StorePingReply()
Domaha_request_params.h229 virtual std::string GetDlcAppId(const std::string& dlc_id) const;
/system/update_engine/client_library/include/update_engine/
Dclient.h68 virtual bool SetDlcActiveValue(bool is_active, const std::string& dlc_id) = 0;
/system/update_engine/client_library/
Dclient_dbus.cc94 const std::string& dlc_id) { in SetDlcActiveValue() argument
95 return proxy_->SetDlcActiveValue(is_active, dlc_id, /*error=*/nullptr); in SetDlcActiveValue()
Dclient_dbus.h48 bool SetDlcActiveValue(bool is_active, const std::string& dlc_id) override;