/aosp12/system/bt/btif/test/ |
H A 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() 72 test_btif_config_cache.SetString(kBtAddr1, "Name", "Headset_1"); in TEST() 109 test_btif_config_cache.SetString(kBtAddrInvalid1, "LinkKey", in TEST() 120 test_btif_config_cache.SetString(kBtAddrInvalid2, "LinkKey", in TEST() 131 test_btif_config_cache.SetString(kBtAddrInvalid3, "LinkKey", in TEST() 142 test_btif_config_cache.SetString(kBtAddrInvalid4, "LinkKey", in TEST() 192 test_btif_config_cache.SetString(kBtAddr1, "Name", ""); in TEST() 232 test_btif_config_cache.SetString(kBtAddr1, "Name", ""); in TEST() [all …]
|
/aosp12/build/soong/cc/ |
H A D | androidmk.go | 127 entries.SetString("SOONG_SDK_VARIANT_MODULES", 443 entries.SetString("LOCAL_MODULE_SUFFIX", suffix) 460 entries.SetString("LOCAL_MODULE_SUFFIX", suffix) 461 entries.SetString("LOCAL_MODULE_PATH", path) 462 entries.SetString("LOCAL_MODULE_STEM", stem) 478 entries.SetString("LOCAL_MODULE_SUFFIX", suffix) 479 entries.SetString("LOCAL_MODULE_PATH", path) 480 entries.SetString("LOCAL_MODULE_STEM", stem) 502 entries.SetString("LOCAL_MODULE_STEM", stem) 541 entries.SetString("LOCAL_MODULE_STEM", stem) [all …]
|
/aosp12/system/update_engine/common/ |
H A D | prefs_unittest.cc | 64 EXPECT_TRUE(common_prefs_->SetString(key0, "")); in MultiNamespaceKeyTest() 68 EXPECT_TRUE(common_prefs_->SetString(key2, "")); in MultiNamespaceKeyTest() 236 TEST_F(PrefsTest, SetString) { in TEST_F() argument 238 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F() 254 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F() 453 EXPECT_TRUE(prefs_.SetString(key1_fp, "3.7")); in TEST_F() 457 EXPECT_TRUE(prefs_.SetString(key2_fp, "3.9")); in TEST_F() 520 prefs_.SetString(kKey, "value"); in TEST_F() 533 prefs_.SetString(key1, "value"); in TEST_F() 551 prefs_.SetString(kKey, "value"); in TEST_F() [all …]
|
H A D | prefs.cc | 58 bool PrefsBase::SetString(const string& key, std::string_view value) { in SetString() function in chromeos_update_engine::PrefsBase 79 return SetString(key, base::NumberToString(value)); in SetInt64() 99 return SetString(key, value ? "true" : "false"); in SetBoolean()
|
/aosp12/system/update_engine/payload_generator/ |
H A D | payload_properties.cc | 61 properties.SetString(kPayloadPropertyJsonMetadataSignature, in GetPropertiesAsJson() 64 properties.SetString(kPayloadPropertyJsonPayloadHash, payload_hash_); in GetPropertiesAsJson() 74 properties.SetString(kPayloadPropertyFileSize, std::to_string(payload_size_)); in GetPropertiesAsKeyValue() 75 properties.SetString(kPayloadPropertyMetadataSize, in GetPropertiesAsKeyValue() 77 properties.SetString(kPayloadPropertyFileHash, payload_hash_); in GetPropertiesAsKeyValue() 78 properties.SetString(kPayloadPropertyMetadataHash, metadata_hash_); in GetPropertiesAsKeyValue()
|
/aosp12/system/update_engine/ |
H A 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()
|
H A 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()
|
H A D | certificate_checker.cc | 170 if (!prefs_->SetString(storage_key, digest_string)) { in CheckCertificateChange() 181 if (!prefs_->SetString(storage_key, digest_string)) { in CheckCertificateChange()
|
/aosp12/build/soong/java/ |
H A D | androidmk.go | 52 entries.SetString("LOCAL_MODULE_STEM", library.Stem()+"-hostdex") 109 entries.SetString("LOCAL_SDK_VERSION", library.sdkVersion.String()) 125 entries.SetString("LOCAL_MODULE_STEM", library.Stem()) 144 entries.SetString("LOCAL_MODULE_TAGS", "tests") 163 entries.SetString("LOCAL_DISABLE_AUTO_GENERATE_TEST_CONFIG", "true") 208 entries.SetString("LOCAL_SDK_VERSION", prebuilt.sdkVersion.String()) 209 entries.SetString("LOCAL_MODULE_STEM", prebuilt.Stem()) 233 entries.SetString("LOCAL_MODULE_STEM", prebuilt.Stem()) 258 entries.SetString("LOCAL_SDK_VERSION", prebuilt.sdkVersion.String()) 329 entries.SetString("LOCAL_MODULE", app.installApkName) [all …]
|
H A D | classpath_fragment.go | 184 entries.SetString("LOCAL_MODULE_PATH", c.installDirPath.ToMakePath().String()) 185 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", c.outputFilepath.Base())
|
/aosp12/build/soong/android/ |
H A D | androidmk.go | 171 func (a *AndroidMkEntries) SetString(name, value string) { func 500 a.SetString("LOCAL_PATH", ctx.ModuleDir(mod)) 501 a.SetString("LOCAL_MODULE", name+a.SubName) 511 a.SetString("LOCAL_MODULE_CLASS", a.Class) 528 a.SetString("LOCAL_MODULE_HOST_CROSS_ARCH", archStr) 533 a.SetString("LOCAL_MODULE_HOST_ARCH", archStr) 543 a.SetString("LOCAL_MODULE_TARGET_ARCH", hostArchStr) 546 a.SetString("LOCAL_MODULE_TARGET_ARCH", archStr) 558 a.SetString("LOCAL_VENDOR_MODULE", "true") 577 a.SetString("LOCAL_MODULE_HOST_OS", makeOs) [all …]
|
/aosp12/build/soong/rust/ |
H A D | androidmk.go | 105 entries.SetString("LOCAL_FULL_TEST_CONFIG", test.testConfig.String()) 121 entries.SetString("LOCAL_FULL_TEST_CONFIG", benchmark.testConfig.String()) 165 entries.SetString("LOCAL_MODULE_SUFFIX", suffix) 166 entries.SetString("LOCAL_MODULE_STEM", stem) 198 entries.SetString("LOCAL_MODULE_SUFFIX", suffix) 199 entries.SetString("LOCAL_MODULE_PATH", path) 200 entries.SetString("LOCAL_MODULE_STEM", stem)
|
/aosp12/build/soong/python/ |
H A D | androidmk.go | 65 entries.SetString("LOCAL_FULL_TEST_CONFIG", p.testConfig.String()) 90 entries.SetString("LOCAL_MODULE_SUFFIX", filepath.Ext(file)) 91 entries.SetString("LOCAL_MODULE_PATH", path) 92 entries.SetString("LOCAL_MODULE_STEM", stem)
|
/aosp12/system/update_engine/aosp/ |
H A D | update_attempter_android_unittest.cc | 82 prefs_.SetString(kPrefsPreviousVersion, build_version); in TEST_F() 83 prefs_.SetString(kPrefsBootId, "oldboot"); in TEST_F() 106 prefs_.SetString(kPrefsPreviousVersion, "00001"); // Set the fake version in TEST_F() 132 prefs_.SetString(kPrefsPreviousVersion, "56789"); in TEST_F()
|
H A D | update_attempter_android.cc | 239 if (!prefs_->SetString(kPrefsUpdateCheckResponseHash, payload_id)) { in ApplyPayload() 789 prefs_->SetString(kPrefsUpdateCompletedOnBootId, boot_id); in WriteUpdateCompletedMarker() 898 prefs_->SetString(kPrefsBootId, current_boot_id); in UpdatePrefsAndReportUpdateMetricsOnReboot() 899 prefs_->SetString(kPrefsPreviousVersion, current_version); in UpdatePrefsAndReportUpdateMetricsOnReboot() 919 prefs_->SetString(kPrefsBootId, current_boot_id); in UpdatePrefsAndReportUpdateMetricsOnReboot() 929 prefs_->SetString(kPrefsBootId, current_boot_id); in UpdatePrefsAndReportUpdateMetricsOnReboot() 930 prefs_->SetString(kPrefsPreviousVersion, current_version); in UpdatePrefsAndReportUpdateMetricsOnReboot()
|
/aosp12/build/soong/linkerconfig/ |
H A D | linkerconfig.go | 158 entries.SetString("LOCAL_MODULE_PATH", l.installDirPath.ToMakePath().String()) 159 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", l.outputFilePath.Base()) 161 entries.SetString("LINKER_CONFIG_PATH_"+l.Name(), l.OutputFile().String())
|
/aosp12/build/soong/apex/ |
H A D | prebuilt.go | 202 entries.SetString("LOCAL_MODULE_PATH", p.installDir.ToMakePath().String()) 203 entries.SetString("LOCAL_MODULE_STEM", p.installFilename) 209 entries.SetString("LOCAL_POST_INSTALL_CMD", strings.Join(postInstallCommands, " && ")) 238 entries.SetString("LOCAL_MODULE_PATH", p.installDir.ToMakePath().String()) 243 entries.SetString("LOCAL_MODULE_STEM", strings.TrimSuffix(fi.stem(), ".jar")) 253 entries.SetString("LOCAL_SOONG_CLASSES_JAR", classesJar.String()) 254 entries.SetString("LOCAL_SOONG_HEADER_JAR", headerJar.String()) 255 entries.SetString("LOCAL_SOONG_DEX_JAR", fi.builtFile.String()) 256 entries.SetString("LOCAL_DEX_PREOPT", "false")
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
H A D | valuetest.cpp | 236 v1.SetString("foo"); in TestCopyFrom() 625 x.SetString("World", 5); in TEST() 637 z.SetString("Hello"); in TEST() 639 z.SetString("Hello", 5); in TEST() 644 z.SetString("Hello"); in TEST() 650 z.SetString(StringRef(mstr)); in TEST() 654 z.SetString(cstr); in TEST() 998 name.SetString(C0D.GetString(), 3); in TEST() 999 value.SetString("CherryD", 7); in TEST() 1012 name.SetString("C\0D"); in TEST() [all …]
|
/aosp12/system/bt/btif/src/ |
H A 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()
|
H A D | btif_config.cc | 298 btif_config_cache.SetString(INFO_SECTION, FILE_SOURCE, file_source); in init() 313 btif_config_cache.SetString(INFO_SECTION, FILE_TIMESTAMP, in init() 499 btif_config_cache.SetString(section, key, value); in btif_config_set_str() 563 btif_config_cache.SetString(section, key, ENCRYPTED_STR); in btif_config_get_bin() 567 btif_config_cache.SetString(section, key, *value_str); in btif_config_get_bin() 622 btif_config_cache.SetString(section, key, value_str); in btif_config_set_bin()
|
/aosp12/system/update_engine/update_manager/ |
H A D | evaluation_context.cc | 234 variables->SetString(it.first->GetName(), it.second.ToString()); in DumpContext() 239 value.SetString( in DumpContext() 242 value.SetString( in DumpContext()
|
/aosp12/system/testing/gtest_extras/ |
H A 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
|
/aosp12/system/update_engine/cros/ |
H A D | omaha_request_builder_xml_unittest.cc | 399 EXPECT_TRUE(fake_prefs->SetString(dlc_cohort_key, kDlcCohortVal)); in TEST_F() 403 EXPECT_TRUE(fake_prefs->SetString(dlc_cohort_name_key, kDlcCohortNameVal)); in TEST_F() 407 EXPECT_TRUE(fake_prefs->SetString(dlc_cohort_hint_key, kDlcCohortHintVal)); in TEST_F()
|
H A 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()
|
/aosp12/system/update_engine/payload_consumer/ |
H A D | delta_performer.cc | 440 prefs_->SetString(kPrefsManifestBytes, {begin, buffer_.size()}); in Write() 824 TEST_AND_RETURN_FALSE(prefs->SetString(kPrefsDynamicPartitionMetadataUpdated, in PreparePartitionsForUpdate() 1379 prefs->SetString(kPrefsUpdateStateSHA256Context, ""); in ResetUpdateProgress() 1380 prefs->SetString(kPrefsUpdateStateSignedSHA256Context, ""); in ResetUpdateProgress() 1381 prefs->SetString(kPrefsUpdateStateSignatureBlob, ""); in ResetUpdateProgress() 1424 !prefs_->SetString(kPrefsUpdateStateSignatureBlob, in CheckpointUpdateProgress() 1428 TEST_AND_RETURN_FALSE(prefs_->SetString( in CheckpointUpdateProgress() 1431 prefs_->SetString(kPrefsUpdateStateSignedSHA256Context, in CheckpointUpdateProgress()
|