/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 | download_action_android_unittest.cc | 71 EXPECT_CALL(prefs, GetString(kPrefsManifestBytes, _)) in TEST_F() 136 EXPECT_CALL(prefs, GetString(kPrefsManifestBytes, _)) in TEST_F()
|
D | certificate_checker.cc | 169 if (!prefs_->GetString(storage_key, &stored_digest)) { in CheckCertificateChange()
|
/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 | 54 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()
|
D | prefs_interface.h | 51 virtual bool GetString(const std::string& key, std::string* value) const = 0;
|
D | fake_prefs.h | 43 bool GetString(const std::string& key, std::string* value) const override;
|
D | prefs_unittest.cc | 218 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()
|
D | prefs.h | 69 bool GetString(const std::string& key, std::string* value) const override;
|
D | fake_prefs.cc | 66 bool FakePrefs::GetString(const string& key, string* value) const { in GetString() function in chromeos_update_engine::FakePrefs
|
/system/update_engine/cros/ |
D | omaha_request_action_unittest.cc | 1286 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 …]
|
D | omaha_request_builder_xml.cc | 176 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()
|
D | real_system_state.cc | 115 system_rebooted_ = (!prefs_->GetString(kPrefsBootId, &prev_boot_id) || in Initialize()
|
D | image_properties_chromeos.cc | 54 if (store.GetString(key, &result)) in GetStringWithDefault()
|
/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 | 307 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/ |
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 | 780 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/ |
D | boxed_value.cc | 260 return val->GetString(); in ValuePrinter()
|
/system/update_engine/aosp/ |
D | update_attempter_android.cc | 802 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()
|
D | update_attempter_android_unittest.cc | 96 ASSERT_TRUE(prefs_.GetString(kPrefsBootId, &prefs_boot_id)); in TEST_F()
|