/system/update_engine/common/ |
D | prefs_unittest.cc | 98 TEST_F(PrefsTest, SetString) { in TEST_F() argument 100 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F() 108 EXPECT_FALSE(prefs_.SetString(kKeyWithDots, "some value")); in TEST_F() 116 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F() 124 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F() 129 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F() 294 prefs_.SetString(kKey, "value"); in TEST_F() 312 prefs_.SetString(kKey, "value"); in TEST_F() 324 EXPECT_TRUE(prefs_.SetString(kKey, "value")); in TEST_F() 326 EXPECT_TRUE(prefs_.SetString(kKey, "other value")); in TEST_F() [all …]
|
D | prefs.cc | 36 bool PrefsBase::SetString(const string& key, const string& value) { in SetString() function in chromeos_update_engine::PrefsBase 57 return SetString(key, base::Int64ToString(value)); in SetInt64() 77 return SetString(key, value ? "true" : "false"); in SetBoolean()
|
D | mock_prefs.h | 33 MOCK_METHOD2(SetString,
|
D | prefs_interface.h | 54 virtual bool SetString(const std::string& key, const std::string& value) = 0;
|
D | fake_prefs.h | 43 bool SetString(const std::string& key, const std::string& value) override;
|
D | prefs.h | 64 bool SetString(const std::string& key, const std::string& value) override;
|
D | fake_prefs.cc | 68 bool FakePrefs::SetString(const string& key, const string& value) { in SetString() function in chromeos_update_engine::FakePrefs
|
/system/update_engine/ |
D | update_attempter_android_unittest.cc | 75 prefs_.SetString(kPrefsPreviousVersion, build_version); in TEST_F() 76 prefs_.SetString(kPrefsBootId, "oldboot"); in TEST_F() 97 prefs_.SetString(kPrefsPreviousVersion, "00001"); // Set the fake version in TEST_F() 123 prefs_.SetString(kPrefsPreviousVersion, "56789"); in TEST_F()
|
D | certificate_checker_unittest.cc | 83 EXPECT_CALL(prefs_, SetString(cert_key_, digest_hex_)).WillOnce(Return(true)); in TEST_F() 100 EXPECT_CALL(prefs_, SetString(_, _)).Times(0); in TEST_F() 120 EXPECT_CALL(prefs_, SetString(cert_key_, digest_hex_)).WillOnce(Return(true)); in TEST_F()
|
D | certificate_checker.cc | 170 if (!prefs_->SetString(storage_key, digest_string)) { in CheckCertificateChange() 181 if (!prefs_->SetString(storage_key, digest_string)) { in CheckCertificateChange()
|
D | update_attempter_android.cc | 202 if (!prefs_->SetString(kPrefsUpdateCheckResponseHash, payload_id)) { in ApplyPayload() 662 prefs_->SetString(kPrefsUpdateCompletedOnBootId, boot_id); in WriteUpdateCompletedMarker() 767 prefs_->SetString(kPrefsBootId, current_boot_id); in UpdatePrefsAndReportUpdateMetricsOnReboot() 768 prefs_->SetString(kPrefsPreviousVersion, current_version); in UpdatePrefsAndReportUpdateMetricsOnReboot() 784 prefs_->SetString(kPrefsBootId, current_boot_id); in UpdatePrefsAndReportUpdateMetricsOnReboot() 794 prefs_->SetString(kPrefsBootId, current_boot_id); in UpdatePrefsAndReportUpdateMetricsOnReboot() 795 prefs_->SetString(kPrefsPreviousVersion, current_version); in UpdatePrefsAndReportUpdateMetricsOnReboot()
|
D | omaha_response_handler_action.cc | 119 !system_state_->prefs()->SetString(kPrefsUpdateCheckResponseHash, in PerformAction() 138 system_state_->prefs()->SetString(current_channel_key, in PerformAction()
|
D | common_service.cc | 219 if (!prefs->SetString(kPrefsOmahaCohortHint, in_cohort_hint)) { in SetCohortHint() 325 !prefs->SetString(kPrefsUpdateOverCellularTargetVersion, in SetUpdateOverCellularTarget()
|
D | image_properties_chromeos.cc | 144 lsb_release.SetString(kLsbReleaseUpdateChannelKey, properties.target_channel); in StoreMutableImageProperties()
|
D | real_system_state.cc | 133 prefs_->SetString(kPrefsBootId, boot_id); in Initialize()
|
D | common_service_unittest.cc | 181 fake_prefs.SetString(kPrefsOmahaEolStatus, "security-only"); in TEST_F()
|
D | omaha_request_action_unittest.cc | 997 fake_prefs_.SetString(kPrefsUpdateOverCellularTargetVersion, diff_version); in TEST_F() 1035 fake_prefs_.SetString(kPrefsUpdateOverCellularTargetVersion, new_version); in TEST_F() 1444 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohort, "old_value")); in TEST_F() 1445 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohortHint, "old_hint")); in TEST_F() 1446 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohortName, "old_name")); in TEST_F() 1474 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohort, "old_value")); in TEST_F() 1767 fake_prefs_.SetString(kPrefsOmahaCohort, "evil\nstring"); in TEST_F() 1768 fake_prefs_.SetString(kPrefsOmahaCohortHint, "evil&string\\"); in TEST_F() 1769 fake_prefs_.SetString( in TEST_F() 1847 EXPECT_CALL(prefs, SetString(kPrefsPreviousVersion, _)).Times(0); in TEST_F() [all …]
|
D | payload_state.cc | 865 prefs_->SetString(kPrefsCurrentResponseSignature, response_signature_); in SetResponseSignature() 1131 powerwash_safe_prefs_->SetString(kPrefsRollbackVersion, rollback_version); in SetRollbackVersion() 1328 prefs_->SetString(kPrefsTargetVersionUniqueId, target_version_uid); in ExpectRebootInNewVersion()
|
/system/update_engine/update_manager/ |
D | evaluation_context.cc | 232 variables->SetString(it.first->GetName(), it.second.ToString()); in DumpContext() 237 value.SetString( in DumpContext() 240 value.SetString( in DumpContext()
|
/system/update_engine/payload_generator/ |
D | fake_filesystem.cc | 54 store->SetString("PAYLOAD_MINOR_VERSION", std::to_string(minor_version_)); in LoadSettings()
|
D | payload_signer.cc | 448 properties->SetString(kPayloadPropertyFileSize, std::to_string(file_size)); in ExtractPayloadProperties() 449 properties->SetString(kPayloadPropertyMetadataSize, in ExtractPayloadProperties() 461 properties->SetString(kPayloadPropertyFileHash, in ExtractPayloadProperties() 463 properties->SetString(kPayloadPropertyMetadataHash, in ExtractPayloadProperties()
|
/system/testing/gtest_extras/ |
D | Options.cpp | 49 {"gtest_filter", {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE, &Options::SetString}}, 61 {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE | FLAG_CHILD, &Options::SetString}}, 152 bool Options::SetString(const std::string& arg, const std::string& value, bool) { in SetString() function in android::gtest_extras::Options
|
D | Options.h | 84 bool SetString(const std::string&, const std::string&, bool);
|
/system/update_engine/payload_consumer/ |
D | delta_performer.cc | 1598 !prefs_->SetString(kPrefsUpdateStateSignatureBlob, in ExtractSignatureMessage() 1898 prefs->SetString(kPrefsUpdateStateSHA256Context, ""); in ResetUpdateProgress() 1899 prefs->SetString(kPrefsUpdateStateSignedSHA256Context, ""); in ResetUpdateProgress() 1900 prefs->SetString(kPrefsUpdateStateSignatureBlob, ""); in ResetUpdateProgress() 1923 TEST_AND_RETURN_FALSE(prefs_->SetString( in CheckpointUpdateProgress() 1926 prefs_->SetString(kPrefsUpdateStateSignedSHA256Context, in CheckpointUpdateProgress()
|
/system/core/libcutils/ |
D | properties_test.cpp | 96 TEST_F(PropertiesTest, SetString) { in TEST_F() argument
|