Home
last modified time | relevance | path

Searched refs:GetString (Results 1 – 25 of 40) sorted by relevance

12

/system/bt/btif/test/
Dbtif_config_cache_test.cc173 EXPECT_THAT(test_btif_config_cache.GetString(kBtAddr1, "Name"), in TEST()
194 EXPECT_THAT(test_btif_config_cache.GetString(kBtAddr1, "Name"), in TEST()
206 EXPECT_THAT(test_btif_config_cache.GetString(kBtAddr1, "Name"), in TEST()
234 EXPECT_THAT(test_btif_config_cache.GetString(kBtAddr1, "Name"), in TEST()
247 EXPECT_THAT(test_btif_config_cache.GetString(kBtAddr1, "Name"), in TEST()
253 EXPECT_THAT(test_btif_config_cache.GetString(kBtAddr1, "Name"), in TEST()
258 EXPECT_THAT(test_btif_config_cache.GetString(kBtAddr1, "Name"), in TEST()
284 EXPECT_THAT(test_btif_config_cache.GetString(kBtAddr1, "Name"), in TEST()
289 EXPECT_THAT(test_btif_config_cache.GetString(kBtAddr1, "Name"), in TEST()
369 EXPECT_THAT(test_btif_config_cache.GetString(kBtAddr1, "LinkKey"), in TEST()
[all …]
/system/update_engine/payload_generator/
Dpayload_generation_config.cc128 store.GetString("POSTINSTALL_PATH_" + part.name, &part.postinstall.path); in LoadPostInstallConfig()
129 store.GetString("FILESYSTEM_TYPE_" + part.name, in LoadPostInstallConfig()
145 if (!store.GetString("super_partition_groups", &buf)) { in LoadDynamicPartitionMetadata()
153 if (!store.GetString("super_" + group_name + "_group_size", &buf) && in LoadDynamicPartitionMetadata()
154 !store.GetString(group_name + "_size", &buf)) { in LoadDynamicPartitionMetadata()
168 if (store.GetString("super_" + group_name + "_partition_list", &buf) || in LoadDynamicPartitionMetadata()
169 store.GetString(group_name + "_partition_list", &buf)) { in LoadDynamicPartitionMetadata()
Dext2_filesystem_unittest.cc205 EXPECT_TRUE(store.GetString("PAYLOAD_MINOR_VERSION", &minor_version)); in TEST_F()
/system/update_engine/
Dcertificate_checker_unittest.cc82 EXPECT_CALL(prefs_, GetString(cert_key_, _)).WillOnce(Return(false)); in TEST_F()
98 EXPECT_CALL(prefs_, GetString(cert_key_, _)) in TEST_F()
115 EXPECT_CALL(prefs_, GetString(cert_key_, _)) in TEST_F()
130 EXPECT_CALL(prefs_, GetString(_, _)).Times(0); in TEST_F()
Ddownload_action_android_unittest.cc71 EXPECT_CALL(prefs, GetString(kPrefsManifestBytes, _)) in TEST_F()
136 EXPECT_CALL(prefs, GetString(kPrefsManifestBytes, _)) in TEST_F()
Dcertificate_checker.cc169 if (!prefs_->GetString(storage_key, &stored_digest)) { in CheckCertificateChange()
/system/update_engine/common/
Dhwid_override.cc39 if (lsb_release.GetString(kHwidOverrideKey, &result)) in Read()
Dmock_prefs.h32 MOCK_CONST_METHOD2(GetString,
Dprefs.cc54 bool PrefsBase::GetString(const string& key, string* value) const { in GetString() function in chromeos_update_engine::PrefsBase
71 if (!GetString(key, &str_value)) in GetInt64()
84 if (!GetString(key, &str_value)) in GetBoolean()
Dprefs_interface.h51 virtual bool GetString(const std::string& key, std::string* value) const = 0;
Dfake_prefs.h43 bool GetString(const std::string& key, std::string* value) const override;
Dprefs_unittest.cc218 TEST_F(PrefsTest, GetString) { in TEST_F() argument
222 EXPECT_TRUE(prefs_.GetString(kKey, &value)); in TEST_F()
228 EXPECT_FALSE(prefs_.GetString(",bad", &value)); in TEST_F()
233 EXPECT_FALSE(prefs_.GetString("non-existent-key", &value)); in TEST_F()
Dprefs.h69 bool GetString(const std::string& key, std::string* value) const override;
Dfake_prefs.cc66 bool FakePrefs::GetString(const string& key, string* value) const { in GetString() function in chromeos_update_engine::FakePrefs
/system/update_engine/cros/
Domaha_request_action_unittest.cc1286 EXPECT_TRUE(fake_prefs_->GetString(kPrefsOmahaCohort, &value)); in TEST_F()
1289 EXPECT_TRUE(fake_prefs_->GetString(kPrefsOmahaCohortHint, &value)); in TEST_F()
1292 EXPECT_TRUE(fake_prefs_->GetString(kPrefsOmahaCohortName, &value)); in TEST_F()
1295 EXPECT_TRUE(fake_prefs_->GetString( in TEST_F()
1300 EXPECT_TRUE(fake_prefs_->GetString( in TEST_F()
1306 EXPECT_TRUE(fake_prefs_->GetString( in TEST_F()
1343 EXPECT_TRUE(fake_prefs_->GetString(kPrefsOmahaCohort, &value)); in TEST_F()
1346 EXPECT_TRUE(fake_prefs_->GetString(kPrefsOmahaCohortHint, &value)); in TEST_F()
1349 EXPECT_FALSE(fake_prefs_->GetString(kPrefsOmahaCohortName, &value)); in TEST_F()
1351 EXPECT_TRUE(fake_prefs_->GetString(dlc_cohort_key, &value)); in TEST_F()
[all …]
Domaha_request_builder_xml.cc176 if (!prefs->GetString(kPrefsPreviousVersion, &prev_version)) { in GetAppBody()
234 if (!prefs->GetString(prefs_key, &cohort_value) || cohort_value.empty()) in GetCohortArg()
353 if (!store.GetString(key, &version)) { in GetApp()
Dreal_system_state.cc115 system_rebooted_ = (!prefs_->GetString(kPrefsBootId, &prev_boot_id) || in Initialize()
Dimage_properties_chromeos.cc54 if (store.GetString(key, &result)) in GetStringWithDefault()
/system/bt/btif/src/
Dbtif_config_cache.cc216 std::optional<std::string> BtifConfigCache::GetString( in GetString() function in BtifConfigCache
246 auto value = GetString(section_name, key); in GetInt()
272 auto value = GetString(section_name, key); in GetUint64()
293 auto value = GetString(section_name, key); in GetBool()
Dbtif_config.cc307 auto time_str = btif_config_cache.GetString(INFO_SECTION, FILE_TIMESTAMP); in init()
484 auto stored_value = btif_config_cache.GetString(section, key); in btif_config_get_str()
521 auto value_str_from_config = btif_config_cache.GetString(section, key); in btif_config_get_bin()
581 auto value_str = btif_config_cache.GetString(section, key); in btif_config_get_bin_length()
758 file_source = btif_config_cache.GetString(INFO_SECTION, FILE_SOURCE); in btif_debug_config_dump()
/system/bt/btif/include/
Dbtif_config_cache.h45 std::optional<std::string> GetString(const std::string& section_name,
/system/update_engine/payload_consumer/
Ddelta_performer.cc780 ignore_result(prefs_->GetString(kPrefsUpdateCheckResponseHash, in PreparePartitionsForUpdate()
799 prefs->GetString(kPrefsDynamicPartitionMetadataUpdated, &last_hash)); in PreparePartitionsForUpdate()
1333 if (!(prefs->GetString(kPrefsUpdateCheckResponseHash, &interrupted_hash) && in CanResumeUpdate()
1352 if (!(prefs->GetString(kPrefsUpdateStateSHA256Context, &sha256_context) && in CanResumeUpdate()
1488 if (prefs_->GetString(kPrefsUpdateStateSignedSHA256Context, in PrimeUpdateState()
1494 prefs_->GetString(kPrefsUpdateStateSignatureBlob, &signatures_message_data_); in PrimeUpdateState()
1498 prefs_->GetString(kPrefsUpdateStateSHA256Context, &hash_context) && in PrimeUpdateState()
/system/update_engine/update_manager/
Dboxed_value.cc260 return val->GetString(); in ValuePrinter()
/system/update_engine/aosp/
Dupdate_attempter_android.cc802 prefs_->GetString(kPrefsUpdateCompletedOnBootId, in UpdateCompletedOnThisBoot()
851 prefs_->GetString(kPrefsPreviousVersion, &build_version); in CollectAndReportUpdateMetricsOnUpdateFinished()
910 if (prefs_->GetString(kPrefsPreviousVersion, &previous_version) && in UpdatePrefsAndReportUpdateMetricsOnReboot()
914 (prefs_->GetString(kPrefsBootId, &last_boot_id) && in UpdatePrefsAndReportUpdateMetricsOnReboot()
Dupdate_attempter_android_unittest.cc96 ASSERT_TRUE(prefs_.GetString(kPrefsBootId, &prefs_boot_id)); in TEST_F()

12