Searched refs:dlc_id (Results 1 – 15 of 15) sorted by relevance
/system/update_engine/ |
D | boot_control_chromeos.cc | 156 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()
|
D | update_attempter_unittest.cc | 2388 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 …]
|
D | update_attempter.cc | 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() [all …]
|
D | omaha_request_params.cc | 250 string OmahaRequestParams::GetDlcAppId(const std::string& dlc_id) const { in GetDlcAppId() 253 return GetAppId() + "_" + dlc_id; in GetDlcAppId()
|
D | dbus_service.cc | 106 const string& dlc_id) { in SetDlcActiveValue() argument 107 return common_->SetDlcActiveValue(error, is_active, dlc_id); in SetDlcActiveValue()
|
D | boot_control_chromeos.h | 87 std::string* dlc_id,
|
D | common_service.h | 78 const std::string& dlc_id);
|
D | common_service.cc | 147 const string& dlc_id) { in SetDlcActiveValue() argument 149 dlc_id)) { in SetDlcActiveValue()
|
D | update_attempter.h | 167 virtual bool SetDlcActiveValue(bool is_active, const std::string& dlc_id); 449 bool ResetDlcPrefs(const std::string& dlc_id);
|
D | dbus_service.h | 73 const std::string& dlc_id) override;
|
D | omaha_request_action.cc | 417 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()
|
D | omaha_request_params.h | 229 virtual std::string GetDlcAppId(const std::string& dlc_id) const;
|
/system/update_engine/client_library/include/update_engine/ |
D | client.h | 68 virtual bool SetDlcActiveValue(bool is_active, const std::string& dlc_id) = 0;
|
/system/update_engine/client_library/ |
D | client_dbus.cc | 94 const std::string& dlc_id) { in SetDlcActiveValue() argument 95 return proxy_->SetDlcActiveValue(is_active, dlc_id, /*error=*/nullptr); in SetDlcActiveValue()
|
D | client_dbus.h | 48 bool SetDlcActiveValue(bool is_active, const std::string& dlc_id) override;
|