/system/update_engine/common/ |
D | prefs_unittest.cc | 97 TEST_F(PrefsTest, SetString) { in TEST_F() argument 99 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F() 107 EXPECT_FALSE(prefs_.SetString(kKeyWithDots, "some value")); in TEST_F() 115 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F() 123 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F() 128 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F() 291 prefs_.SetString(kKey, "value"); in TEST_F() 309 prefs_.SetString(kKey, "value"); in TEST_F() 321 EXPECT_TRUE(prefs_.SetString(kKey, "value")); in TEST_F() 323 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, bool(const std::string& key,
|
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 | weave_service.cc | 102 state.SetString("_updater.currentChannel", current_channel); in UpdateWeaveState() 103 state.SetString("_updater.trackingChannel", tracking_channel); in UpdateWeaveState() 104 state.SetString("_updater.status", UpdateStatusToWeaveStatus(update_status)); in UpdateWeaveState()
|
D | certificate_checker_unittest.cc | 86 EXPECT_CALL(prefs_, SetString(cert_key_, digest_hex_)).WillOnce(Return(true)); in TEST_F() 104 EXPECT_CALL(prefs_, SetString(_, _)).Times(0); in TEST_F() 125 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 | omaha_response_handler_action.cc | 103 LOG_IF(WARNING, !system_state_->prefs()->SetString( in PerformAction() 120 system_state_->prefs()->SetString(current_channel_key, in PerformAction()
|
D | omaha_response_handler_action_unittest.cc | 107 SetString(kPrefsUpdateCheckResponseHash, in.hash)) in DoTest() 112 EXPECT_CALL(*(fake_system_state_.mock_prefs()), SetString(key, testing::_)) in DoTest() 341 EXPECT_CALL(*fake_system_state_.mock_prefs(), SetString(_, "stable-channel")) in TEST_F() 376 EXPECT_CALL(*fake_system_state_.mock_prefs(), SetString(_, "canary-channel")) in TEST_F()
|
D | image_properties_android.cc | 121 prefs->SetString(kPrefsImgPropChannelName, properties.target_channel) && in StoreMutableImageProperties()
|
D | image_properties_chromeos.cc | 141 lsb_release.SetString(kLsbReleaseUpdateChannelKey, properties.target_channel); in StoreMutableImageProperties()
|
D | common_service_unittest.cc | 145 fake_prefs.SetString(kPrefsOmahaEolStatus, "security-only"); in TEST_F()
|
D | real_system_state.cc | 113 prefs_->SetString(kPrefsBootId, boot_id); in Initialize()
|
D | omaha_request_action_unittest.cc | 833 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohort, "old_value")); in TEST_F() 834 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohortHint, "old_hint")); in TEST_F() 835 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohortName, "old_name")); in TEST_F() 865 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohort, "old_value")); in TEST_F() 1153 fake_prefs_.SetString(kPrefsOmahaCohort, "evil\nstring"); in TEST_F() 1154 fake_prefs_.SetString(kPrefsOmahaCohortHint, "evil&string\\"); in TEST_F() 1155 fake_prefs_.SetString(kPrefsOmahaCohortName, in TEST_F() 1238 EXPECT_CALL(prefs, SetString(kPrefsPreviousVersion, _)).Times(0); in TEST_F() 1947 fake_prefs_.SetString(kPrefsPreviousVersion, ""); in TEST_F() 1972 fake_prefs_.SetString(kPrefsPreviousVersion, "1.2.3.4"); in TEST_F()
|
D | update_attempter_android.cc | 170 if (!prefs_->SetString(kPrefsUpdateCheckResponseHash, payload_id)) { in ApplyPayload() 530 prefs_->SetString(kPrefsUpdateCompletedOnBootId, boot_id); in WriteUpdateCompletedMarker()
|
D | common_service.cc | 197 if (!prefs->SetString(kPrefsOmahaCohortHint, in_cohort_hint)) { in SetCohortHint()
|
/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 | 56 store->SetString("PAYLOAD_MINOR_VERSION", std::to_string(minor_version_)); in LoadSettings()
|
D | payload_signer.cc | 536 properties->SetString(kPayloadPropertyFileSize, std::to_string(file_size)); in ExtractPayloadProperties() 537 properties->SetString(kPayloadPropertyMetadataSize, in ExtractPayloadProperties() 547 properties->SetString(kPayloadPropertyFileHash, in ExtractPayloadProperties() 549 properties->SetString(kPayloadPropertyMetadataHash, in ExtractPayloadProperties()
|
/system/media/brillo/audio/audioservice/test/ |
D | audio_volume_handler_test.cpp | 84 handler_.kv_store_->SetString(handler_.kCurrentIndexKey_ + ".1.2", "100"); in TEST_F() 111 kv_store.SetString("foo", "100"); in TEST_F()
|
/system/update_engine/payload_consumer/ |
D | delta_performer.cc | 1347 LOG_IF(WARNING, !prefs_->SetString(kPrefsUpdateStateSignatureBlob, in ExtractSignatureMessage() 1727 prefs->SetString(kPrefsUpdateCheckResponseHash, ""); in ResetUpdateProgress() 1730 prefs->SetString(kPrefsUpdateStateSHA256Context, ""); in ResetUpdateProgress() 1731 prefs->SetString(kPrefsUpdateStateSignedSHA256Context, ""); in ResetUpdateProgress() 1732 prefs->SetString(kPrefsUpdateStateSignatureBlob, ""); in ResetUpdateProgress() 1746 prefs_->SetString(kPrefsUpdateStateSHA256Context, in CheckpointUpdateProgress() 1749 prefs_->SetString(kPrefsUpdateStateSignedSHA256Context, in CheckpointUpdateProgress()
|
/system/media/brillo/audio/audioservice/ |
D | audio_volume_handler.cpp | 136 kv_store_->SetString(key, string_utils::ToString(index)); in PersistVolumeConfiguration()
|