Home
last modified time | relevance | path

Searched refs:GetString (Results 1 – 25 of 36) 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()
Dimage_properties_android.cc72 if (osrelease.GetString(key, &result)) in GetStringWithDefault()
210 !system_state->prefs()->GetString(current_channel_key, &current_channel)) in LoadImageProperties()
Domaha_request_builder_xml.cc169 if (!prefs_->GetString(kPrefsPreviousVersion, &prev_version)) { in GetAppBody()
216 if (!prefs_->GetString(prefs_key, &cohort_value) || cohort_value.empty()) in GetCohortArg()
317 if (!store.GetString(key, &version)) { in GetApp()
Domaha_request_action_unittest.cc1279 EXPECT_TRUE(fake_prefs_.GetString(kPrefsOmahaCohort, &value)); in TEST_F()
1282 EXPECT_TRUE(fake_prefs_.GetString(kPrefsOmahaCohortHint, &value)); in TEST_F()
1285 EXPECT_TRUE(fake_prefs_.GetString(kPrefsOmahaCohortName, &value)); in TEST_F()
1302 EXPECT_TRUE(fake_prefs_.GetString(kPrefsOmahaCohort, &value)); in TEST_F()
1305 EXPECT_TRUE(fake_prefs_.GetString(kPrefsOmahaCohortHint, &value)); in TEST_F()
1308 EXPECT_FALSE(fake_prefs_.GetString(kPrefsOmahaCohortName, &value)); in TEST_F()
1318 EXPECT_TRUE(fake_prefs_.GetString(kPrefsOmahaCohort, &value)); in TEST_F()
1321 EXPECT_FALSE(fake_prefs_.GetString(kPrefsOmahaCohortHint, &value)); in TEST_F()
1322 EXPECT_FALSE(fake_prefs_.GetString(kPrefsOmahaCohortName, &value)); in TEST_F()
1337 EXPECT_TRUE(fake_prefs_.GetString(kPrefsOmahaCohort, &value)); in TEST_F()
[all …]
Dimage_properties_chromeos.cc54 if (store.GetString(key, &result)) in GetStringWithDefault()
Dcertificate_checker.cc169 if (!prefs_->GetString(storage_key, &stored_digest)) { in CheckCertificateChange()
Dreal_system_state.cc129 system_rebooted_ = (!prefs_->GetString(kPrefsBootId, &prev_boot_id) || in Initialize()
Dupdate_attempter_android.cc779 prefs_->GetString(kPrefsUpdateCompletedOnBootId, in UpdateCompletedOnThisBoot()
829 prefs_->GetString(kPrefsPreviousVersion, &build_version); in CollectAndReportUpdateMetricsOnUpdateFinished()
883 if (prefs_->GetString(kPrefsPreviousVersion, &previous_version) && in UpdatePrefsAndReportUpdateMetricsOnReboot()
887 (prefs_->GetString(kPrefsBootId, &last_boot_id) && in UpdatePrefsAndReportUpdateMetricsOnReboot()
Dupdate_attempter_android_unittest.cc93 EXPECT_TRUE(prefs_.GetString(kPrefsBootId, &prefs_boot_id)); in TEST_F()
/system/update_engine/common/
Dhwid_override.cc39 if (lsb_release.GetString(kHwidOverrideKey, &result)) in Read()
Dmock_prefs.h32 MOCK_CONST_METHOD2(GetString,
Dprefs.cc52 bool PrefsBase::GetString(const string& key, string* value) const { in GetString() function in chromeos_update_engine::PrefsBase
69 if (!GetString(key, &str_value)) in GetInt64()
82 if (!GetString(key, &str_value)) in GetBoolean()
Dprefs_interface.h51 virtual bool GetString(const std::string& key, std::string* value) const = 0;
Dfake_prefs.h42 bool GetString(const std::string& key, std::string* value) const override;
Dprefs_unittest.cc201 TEST_F(PrefsTest, GetString) { in TEST_F() argument
205 EXPECT_TRUE(prefs_.GetString(kKey, &value)); in TEST_F()
211 EXPECT_FALSE(prefs_.GetString(",bad", &value)); in TEST_F()
216 EXPECT_FALSE(prefs_.GetString("non-existent-key", &value)); in TEST_F()
Dprefs.h68 bool GetString(const std::string& key, std::string* value) const override;
Dfake_prefs.cc65 bool FakePrefs::GetString(const string& key, string* value) const { in GetString() function in chromeos_update_engine::FakePrefs
/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.cc309 auto time_str = btif_config_cache.GetString(INFO_SECTION, FILE_TIMESTAMP); in init()
467 auto stored_value = btif_config_cache.GetString(section, key); in btif_config_get_str()
504 auto value_str_from_config = btif_config_cache.GetString(section, key); in btif_config_get_bin()
564 auto value_str = btif_config_cache.GetString(section, key); in btif_config_get_bin_length()
742 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.cc930 ignore_result(prefs_->GetString(kPrefsUpdateCheckResponseHash, in PreparePartitionsForUpdate()
949 prefs->GetString(kPrefsDynamicPartitionMetadataUpdated, &last_hash)); in PreparePartitionsForUpdate()
1789 if (!(prefs->GetString(kPrefsUpdateCheckResponseHash, &interrupted_hash) && in CanResumeUpdate()
1808 if (!(prefs->GetString(kPrefsUpdateStateSHA256Context, &sha256_context) && in CanResumeUpdate()
1915 if (prefs_->GetString(kPrefsUpdateStateSignedSHA256Context, in PrimeUpdateState()
1921 prefs_->GetString(kPrefsUpdateStateSignatureBlob, &signatures_message_data_); in PrimeUpdateState()
1925 prefs_->GetString(kPrefsUpdateStateSHA256Context, &hash_context) && in PrimeUpdateState()
/system/extras/libjsonpb/verify/
Dtest.cpp56 object->GetReflection()->GetString( in TestParseOkWithUnknownKey()

12