/system/bt/btif/test/ |
D | btif_config_cache_test.cc | 61 test_btif_config_cache.SetString(kBtInfo, "FileSource", ""); in TEST() 62 test_btif_config_cache.SetString(kBtInfo, "TimeCreated", in TEST() 65 test_btif_config_cache.SetString(kBtMetrics, "Salt256Bit", in TEST() 68 test_btif_config_cache.SetString(kBtAdapter, "Address", kBtLocalAddr); in TEST() 72 test_btif_config_cache.SetString(kBtAddr1, "Name", "Headset_1"); in TEST() 79 test_btif_config_cache.SetString(kBtAddr2, "Name", "Headset_2"); in TEST() 83 test_btif_config_cache.SetString(kBtAddr3, "Name", "Headset_3"); in TEST() 87 test_btif_config_cache.SetString(kBtAddr4, "Name", "Headset_4"); in TEST() 105 test_btif_config_cache.SetString(kBtAddrInvalid1, "Name", "Headset_1"); in TEST() 109 test_btif_config_cache.SetString(kBtAddrInvalid1, "LinkKey", in TEST() [all …]
|
/system/update_engine/payload_generator/ |
D | payload_properties.cc | 63 properties.SetString(kPayloadPropertyJsonMetadataSignature, in GetPropertiesAsJson() 66 properties.SetString(kPayloadPropertyJsonPayloadHash, payload_hash_); in GetPropertiesAsJson() 68 properties.SetString(kPayloadPropertyJsonTargetVersion, target_version_); in GetPropertiesAsJson() 70 properties.SetString(kPayloadPropertyJsonSourceVersion, source_version_); in GetPropertiesAsJson() 80 properties.SetString(kPayloadPropertyFileSize, std::to_string(payload_size_)); in GetPropertiesAsKeyValue() 81 properties.SetString(kPayloadPropertyMetadataSize, in GetPropertiesAsKeyValue() 83 properties.SetString(kPayloadPropertyFileHash, payload_hash_); in GetPropertiesAsKeyValue() 84 properties.SetString(kPayloadPropertyMetadataHash, metadata_hash_); in GetPropertiesAsKeyValue()
|
D | fake_filesystem.cc | 54 store->SetString("PAYLOAD_MINOR_VERSION", std::to_string(minor_version_)); in LoadSettings()
|
/system/update_engine/ |
D | update_status_utils.cc | 80 key_value_store.SetString(kLastCheckedTime, in UpdateEngineStatusToString() 82 key_value_store.SetString(kProgress, base::NumberToString(status.progress)); in UpdateEngineStatusToString() 83 key_value_store.SetString(kNewSize, in UpdateEngineStatusToString() 85 key_value_store.SetString(kCurrentOp, UpdateStatusToString(status.status)); in UpdateEngineStatusToString() 86 key_value_store.SetString(kNewVersion, status.new_version); in UpdateEngineStatusToString()
|
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 | update_attempter_android_unittest.cc | 81 prefs_.SetString(kPrefsPreviousVersion, build_version); in TEST_F() 82 prefs_.SetString(kPrefsBootId, "oldboot"); in TEST_F() 103 prefs_.SetString(kPrefsPreviousVersion, "00001"); // Set the fake version in TEST_F() 129 prefs_.SetString(kPrefsPreviousVersion, "56789"); 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 | excluder_chromeos.cc | 44 return prefs_->SetString(key, ""); in Exclude()
|
D | update_engine_client.cc | 566 last_attempt_error_store.SetString( in ProcessFlags() 568 last_attempt_error_store.SetString("ERROR_MESSAGE", in ProcessFlags() 582 eol_status_store.SetString("EOL_DATE", EolDateToString(eol_date_code)); in ProcessFlags()
|
D | update_attempter_android.cc | 237 if (!prefs_->SetString(kPrefsUpdateCheckResponseHash, payload_id)) { in ApplyPayload() 766 prefs_->SetString(kPrefsUpdateCompletedOnBootId, boot_id); in WriteUpdateCompletedMarker() 875 prefs_->SetString(kPrefsBootId, current_boot_id); in UpdatePrefsAndReportUpdateMetricsOnReboot() 876 prefs_->SetString(kPrefsPreviousVersion, current_version); in UpdatePrefsAndReportUpdateMetricsOnReboot() 892 prefs_->SetString(kPrefsBootId, current_boot_id); in UpdatePrefsAndReportUpdateMetricsOnReboot() 902 prefs_->SetString(kPrefsBootId, current_boot_id); in UpdatePrefsAndReportUpdateMetricsOnReboot() 903 prefs_->SetString(kPrefsPreviousVersion, current_version); in UpdatePrefsAndReportUpdateMetricsOnReboot()
|
D | omaha_response_handler_action.cc | 125 !system_state_->prefs()->SetString(kPrefsUpdateCheckResponseHash, in PerformAction() 144 system_state_->prefs()->SetString(current_channel_key, in PerformAction()
|
D | common_service.cc | 225 if (!prefs->SetString(kPrefsOmahaCohortHint, in_cohort_hint)) { in SetCohortHint() 331 !prefs->SetString(kPrefsUpdateOverCellularTargetVersion, in SetUpdateOverCellularTarget()
|
D | omaha_request_action_unittest.cc | 934 fake_prefs_.SetString(kPrefsUpdateOverCellularTargetVersion, diff_version); in TEST_F() 968 fake_prefs_.SetString(kPrefsUpdateOverCellularTargetVersion, new_version); in TEST_F() 1290 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohort, "old_value")); in TEST_F() 1291 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohortHint, "old_hint")); in TEST_F() 1292 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohortName, "old_name")); in TEST_F() 1314 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohort, "old_value")); in TEST_F() 1532 fake_prefs_.SetString(kPrefsOmahaCohort, "evil\nstring"); in TEST_F() 1533 fake_prefs_.SetString(kPrefsOmahaCohortHint, "evil&string\\"); in TEST_F() 1534 fake_prefs_.SetString( in TEST_F() 1595 EXPECT_CALL(prefs, SetString(kPrefsPreviousVersion, _)).Times(0); in TEST_F() [all …]
|
D | image_properties_chromeos.cc | 144 lsb_release.SetString(kLsbReleaseUpdateChannelKey, properties.target_channel); in StoreMutableImageProperties()
|
/system/update_engine/common/ |
D | prefs_unittest.cc | 64 EXPECT_TRUE(common_prefs_->SetString(key0, "")); in MultiNamespaceKeyTest() 65 EXPECT_TRUE(common_prefs_->SetString(key0corner, "")); in MultiNamespaceKeyTest() 66 EXPECT_TRUE(common_prefs_->SetString(key1A, "")); in MultiNamespaceKeyTest() 67 EXPECT_TRUE(common_prefs_->SetString(key1B, "")); in MultiNamespaceKeyTest() 68 EXPECT_TRUE(common_prefs_->SetString(key2, "")); in MultiNamespaceKeyTest() 69 EXPECT_TRUE(common_prefs_->SetString(key2corner, "")); in MultiNamespaceKeyTest() 219 TEST_F(PrefsTest, SetString) { in TEST_F() argument 221 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F() 229 EXPECT_FALSE(prefs_.SetString(kKeyWithDots, "some value")); in TEST_F() 237 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F() [all …]
|
D | mock_prefs.h | 34 MOCK_METHOD2(SetString,
|
D | prefs.cc | 56 bool PrefsBase::SetString(const string& key, const string& value) { in SetString() function in chromeos_update_engine::PrefsBase 77 return SetString(key, base::NumberToString(value)); in SetInt64() 97 return SetString(key, value ? "true" : "false"); in SetBoolean()
|
D | prefs_interface.h | 55 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;
|
/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/bt/btif/src/ |
D | btif_config_cache.cc | 166 void BtifConfigCache::SetString(std::string section_name, std::string key, in SetString() function in BtifConfigCache 241 SetString(std::move(section_name), std::move(key), std::to_string(value)); in SetInt() 267 SetString(std::move(section_name), std::move(key), std::to_string(value)); in SetUint64() 288 SetString(std::move(section_name), std::move(key), value ? "true" : "false"); in SetBool()
|
D | btif_config.cc | 300 btif_config_cache.SetString(INFO_SECTION, FILE_SOURCE, file_source); in init() 315 btif_config_cache.SetString(INFO_SECTION, FILE_TIMESTAMP, in init() 482 btif_config_cache.SetString(section, key, value); in btif_config_set_str() 546 btif_config_cache.SetString(section, key, ENCRYPTED_STR); in btif_config_get_bin() 550 btif_config_cache.SetString(section, key, *value_str); in btif_config_get_bin() 605 btif_config_cache.SetString(section, key, value_str); in btif_config_set_bin()
|
/system/testing/gtest_extras/ |
D | Options.cpp | 51 {"gtest_filter", {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE, &Options::SetString}}, 52 {"gtest_flagfile", {FLAG_REQUIRES_VALUE, &Options::SetString}}, 64 {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE | FLAG_CHILD, &Options::SetString}}, 153 bool Options::SetString(const std::string& arg, const std::string& value, bool) { in SetString() function in android::gtest_extras::Options
|
D | Options.h | 86 bool SetString(const std::string&, const std::string&, bool);
|
/system/bt/btif/include/ |
D | btif_config_cache.h | 44 void SetString(std::string section_name, std::string key, std::string value);
|