/system/update_engine/payload_generator/ |
D | payload_properties.cc | 65 properties.SetString(kPayloadPropertyJsonMetadataSizeStr, in GetPropertiesAsJson() 67 properties.SetString(kPayloadPropertyJsonMetadataSignature, in GetPropertiesAsJson() 70 properties.SetString(kPayloadPropertyJsonPayloadSizeStr, in GetPropertiesAsJson() 72 properties.SetString(kPayloadPropertyJsonPayloadHash, payload_hash_); in GetPropertiesAsJson() 82 properties.SetString(kPayloadPropertyFileSize, std::to_string(payload_size_)); in GetPropertiesAsKeyValue() 83 properties.SetString(kPayloadPropertyMetadataSize, in GetPropertiesAsKeyValue() 85 properties.SetString(kPayloadPropertyFileHash, payload_hash_); in GetPropertiesAsKeyValue() 86 properties.SetString(kPayloadPropertyMetadataHash, metadata_hash_); in GetPropertiesAsKeyValue()
|
/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() 125 EXPECT_TRUE(common_prefs_->SetString(key1A, "fp_1A")); in MultiNamespaceKeyTest() 127 EXPECT_TRUE(common_prefs_->SetString(key1B, "fp_1B")); in MultiNamespaceKeyTest() 129 EXPECT_TRUE(common_prefs_->SetString(key2A, "fp_A2")); in MultiNamespaceKeyTest() 236 TEST_F(PrefsTest, SetString) { in TEST_F() argument [all …]
|
D | mock_prefs.h | 33 MOCK_METHOD2(SetString, bool(std::string_view key, std::string_view value));
|
D | prefs_interface.h | 55 virtual bool SetString(std::string_view key, std::string_view value) = 0;
|
D | prefs.cc | 61 bool PrefsBase::SetString(std::string_view key, std::string_view value) { in SetString() function in chromeos_update_engine::PrefsBase 91 return SetString(key, base::NumberToString(value)); in SetInt64() 111 return SetString(key, value ? "true" : "false"); in SetBoolean()
|
D | fake_prefs.h | 45 bool SetString(std::string_view key, std::string_view value) override;
|
D | prefs.h | 82 bool SetString(std::string_view key, std::string_view value) override;
|
/system/update_engine/ |
D | update_status_utils.cc | 100 key_value_store.SetString(kLastCheckedTime, in UpdateEngineStatusToString() 102 key_value_store.SetString(kProgress, base::NumberToString(status.progress)); in UpdateEngineStatusToString() 103 key_value_store.SetString(kNewSize, in UpdateEngineStatusToString() 105 key_value_store.SetString(kCurrentOp, UpdateStatusToString(status.status)); in UpdateEngineStatusToString() 106 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 | certificate_checker.cc | 170 if (!prefs_->SetString(storage_key, digest_string)) { in CheckCertificateChange() 181 if (!prefs_->SetString(storage_key, digest_string)) { in CheckCertificateChange()
|
D | metrics_utils.h | 139 prefs_->SetString(key_, value);
|
/system/update_engine/aosp/ |
D | update_attempter_android_unittest.cc | 100 prefs_.SetString(kPrefsPreviousVersion, build_version); in TEST_F() 101 prefs_.SetString(kPrefsBootId, "oldboot"); in TEST_F() 124 prefs_.SetString(kPrefsPreviousVersion, "00001"); // Set the fake version in TEST_F() 151 prefs_.SetString(kPrefsPreviousVersion, "56789"); in TEST_F()
|
D | update_attempter_android.cc | 305 if (!prefs_->SetString(kPrefsUpdateCheckResponseHash, payload_id)) { in ApplyPayload() 940 prefs_->SetString(kPrefsUpdateCompletedOnBootId, boot_id)); in WriteUpdateCompletedMarker() 1112 prefs_->SetString(kPrefsBootId, current_boot_id); in UpdateStateAfterReboot() 1122 prefs_->SetString(kPrefsPreviousVersion, current_version); in UpdateStateAfterReboot() 1152 prefs_->SetString(kPrefsPreviousVersion, current_version); in UpdateStateAfterReboot()
|
/system/testing/gtest_extras/gtest_isolated/ |
D | Options.cpp | 52 {"gtest_filter", {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE, &Options::SetString}}, 53 {"gtest_flagfile", {FLAG_REQUIRES_VALUE, &Options::SetString}}, 65 {FLAG_ENVIRONMENT_VARIABLE | FLAG_REQUIRES_VALUE | FLAG_CHILD, &Options::SetString}}, 154 bool Options::SetString(const std::string& arg, const std::string& value, bool) { in SetString() function in android::gtest_extras::Options
|
D | Options.h | 88 bool SetString(const std::string&, const std::string&, bool);
|
/system/update_engine/payload_consumer/ |
D | delta_performer.cc | 584 prefs_->SetString(kPrefsManifestBytes, {begin, buffer_.size()}); in ParseManifest() 925 TEST_AND_RETURN_FALSE(prefs->SetString(kPrefsDynamicPartitionMetadataUpdated, in PreparePartitionsForUpdate() 1461 prefs->SetString(kPrefsUpdateStateSHA256Context, ""); in ResetUpdateProgress() 1462 prefs->SetString(kPrefsUpdateStateSignedSHA256Context, ""); in ResetUpdateProgress() 1463 prefs->SetString(kPrefsUpdateStateSignatureBlob, ""); in ResetUpdateProgress() 1508 !prefs_->SetString(kPrefsUpdateStateSignatureBlob, in CheckpointUpdateProgress() 1512 TEST_AND_RETURN_FALSE(prefs_->SetString( in CheckpointUpdateProgress() 1515 prefs_->SetString(kPrefsUpdateStateSignedSHA256Context, in CheckpointUpdateProgress()
|
D | delta_performer_integration_test.cc | 730 EXPECT_CALL(prefs, SetString(_, IsEmpty())).WillRepeatedly(Return(true)); in ApplyDeltaFile() 748 EXPECT_CALL(prefs, SetString(kPrefsUpdateStateSHA256Context, _)) in ApplyDeltaFile() 750 EXPECT_CALL(prefs, SetString(kPrefsUpdateStateSignedSHA256Context, _)) in ApplyDeltaFile() 752 EXPECT_CALL(prefs, SetString(kPrefsDynamicPartitionMetadataUpdated, _)) in ApplyDeltaFile() 755 SetString(kPrefsManifestBytes, in ApplyDeltaFile() 761 SetString(kPrefsUpdateStateSignatureBlob, Not(IsEmpty()))) in ApplyDeltaFile()
|
/system/sepolicy/build/soong/ |
D | bug_map.go | 84 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", b.stem())
|
D | sepolicy_vers.go | 101 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", v.stem())
|
D | validate_bindings.go | 105 entries.SetString("LOCAL_ADDITIONAL_DEPENDENCIES", m.testTimestamp.String())
|
D | compat_cil.go | 111 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", c.stem()) 254 entries.SetString("LOCAL_ADDITIONAL_DEPENDENCIES", f.compatTestTimestamp.String())
|
D | policy.go | 308 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", c.stem()) 464 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", c.stem()) 604 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", c.stem())
|
D | sepolicy_freeze.go | 168 entries.SetString("LOCAL_ADDITIONAL_DEPENDENCIES", f.freezeTestTimestamp.String())
|
D | versioned_policy.go | 177 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", m.installSource.Base())
|
D | cil_compat_map.go | 174 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", String(c.properties.Stem))
|