Lines Matching refs:dlc_id
662 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()
736 ResetDlcPrefs(dlc_id); in CalculateDlcParams()
737 SetDlcActiveValue(true, dlc_id); in CalculateDlcParams()
744 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingActive}); in CalculateDlcParams()
750 prefs->CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingLastActive}); in CalculateDlcParams()
754 {kDlcPrefsSubDir, dlc_id, kPrefsPingLastRollcall}); in CalculateDlcParams()
760 dlc_apps_params[omaha_request_params_->GetDlcAppId(dlc_id)] = dlc_params; in CalculateDlcParams()