/system/bt/btif/test/ |
D | btif_config_cache_test.cc | 173 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/ |
D | payload_generation_config.cc | 128 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()
|
D | ext2_filesystem_unittest.cc | 205 EXPECT_TRUE(store.GetString("PAYLOAD_MINOR_VERSION", &minor_version)); in TEST_F()
|
/system/update_engine/ |
D | certificate_checker_unittest.cc | 82 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()
|
D | image_properties_android.cc | 72 if (osrelease.GetString(key, &result)) in GetStringWithDefault() 210 !system_state->prefs()->GetString(current_channel_key, ¤t_channel)) in LoadImageProperties()
|
D | omaha_request_builder_xml.cc | 169 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()
|
D | omaha_request_action_unittest.cc | 1279 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 …]
|
D | image_properties_chromeos.cc | 54 if (store.GetString(key, &result)) in GetStringWithDefault()
|
D | certificate_checker.cc | 169 if (!prefs_->GetString(storage_key, &stored_digest)) { in CheckCertificateChange()
|
D | real_system_state.cc | 129 system_rebooted_ = (!prefs_->GetString(kPrefsBootId, &prev_boot_id) || in Initialize()
|
D | update_attempter_android.cc | 779 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()
|
D | update_attempter_android_unittest.cc | 93 EXPECT_TRUE(prefs_.GetString(kPrefsBootId, &prefs_boot_id)); in TEST_F()
|
/system/update_engine/common/ |
D | hwid_override.cc | 39 if (lsb_release.GetString(kHwidOverrideKey, &result)) in Read()
|
D | mock_prefs.h | 32 MOCK_CONST_METHOD2(GetString,
|
D | prefs.cc | 52 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()
|
D | prefs_interface.h | 51 virtual bool GetString(const std::string& key, std::string* value) const = 0;
|
D | fake_prefs.h | 42 bool GetString(const std::string& key, std::string* value) const override;
|
D | prefs_unittest.cc | 201 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()
|
D | prefs.h | 68 bool GetString(const std::string& key, std::string* value) const override;
|
D | fake_prefs.cc | 65 bool FakePrefs::GetString(const string& key, string* value) const { in GetString() function in chromeos_update_engine::FakePrefs
|
/system/bt/btif/src/ |
D | btif_config_cache.cc | 216 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()
|
D | btif_config.cc | 309 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/ |
D | btif_config_cache.h | 45 std::optional<std::string> GetString(const std::string& section_name,
|
/system/update_engine/payload_consumer/ |
D | delta_performer.cc | 930 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/ |
D | test.cpp | 56 object->GetReflection()->GetString( in TestParseOkWithUnknownKey()
|