Home
last modified time | relevance | path

Searched refs:value_str (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Bluetooth/system/gd/storage/
Dconfig_cache_helper.cc32 auto value_str = config_cache_.GetProperty(section, property); in GetBool() local
33 if (!value_str) { in GetBool()
36 if (*value_str == "true") { in GetBool()
38 } else if (*value_str == "false") { in GetBool()
50 auto value_str = config_cache_.GetProperty(section, property); in GetUint64() local
51 if (!value_str) { in GetUint64()
54 return common::Uint64FromString(*value_str); in GetUint64()
62 auto value_str = config_cache_.GetProperty(section, property); in GetUint32() local
63 if (!value_str) { in GetUint32()
81 auto value_str = config_cache_.GetProperty(section, property); in GetInt64() local
[all …]
Dconfig_cache.cc307 std::string value_str = in ConvertEncryptOrDecryptKeyIfNeeded() local
310 SetProperty(section, std::string(property), value_str); in ConvertEncryptOrDecryptKeyIfNeeded()
/packages/modules/Bluetooth/system/device/src/
Ddevice_iot_config.cc95 char value_str[32] = {0}; in device_iot_config_set_int() local
96 snprintf(value_str, sizeof(value_str), "%d", value); in device_iot_config_set_int()
97 if (device_iot_config_has_key_value(section, key, value_str)) return true; in device_iot_config_set_int()
99 config_set_string(config.get(), section, key, value_str); in device_iot_config_set_int()
157 char value_str[32] = {0}; in device_iot_config_set_hex() local
159 snprintf(value_str, sizeof(value_str), "%02x", value); in device_iot_config_set_hex()
161 snprintf(value_str, sizeof(value_str), "%04x", value); in device_iot_config_set_hex()
163 snprintf(value_str, sizeof(value_str), "%06x", value); in device_iot_config_set_hex()
165 snprintf(value_str, sizeof(value_str), "%08x", value); in device_iot_config_set_hex()
168 if (device_iot_config_has_key_value(section, key, value_str)) return true; in device_iot_config_set_hex()
[all …]
Ddevice_iot_config_int.cc218 const std::string& value_str) { in device_iot_config_has_key_value() argument
224 if (!stored_value || value_str.compare(*stored_value) != 0) return false; in device_iot_config_has_key_value()
Ddevice_iot_config_int.h81 const std::string& value_str);
/packages/modules/StatsD/statsd/tests/e2e/
DGaugeMetric_e2e_pull_test.cpp158 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
304 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
399 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
500 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
661 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
847 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
928 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
1023 data.dimensions_in_what().value_tuple().dimensions_value(0).value_str()); in TEST()
1055 data.dimensions_in_what().value_tuple().dimensions_value(0).value_str()); in TEST()
1129 data.dimensions_in_what().value_tuple().dimensions_value(0).value_str()); in TEST()
[all …]
DKllMetric_e2e_test.cpp161 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), "dim_1"); in TEST_F()
173 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), "dim_2"); in TEST_F()
DStringReplace_e2e_test.cpp134 EXPECT_EQ(dimValue.value_tuple().dimensions_value(0).value_str(), "dimA"); in TEST()
144 EXPECT_EQ(dimValue.value_tuple().dimensions_value(0).value_str(), "dimA123B"); in TEST()
154 EXPECT_EQ(dimValue.value_tuple().dimensions_value(0).value_str(), "dimC"); in TEST()
293 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), in TEST()
DValueMetric_pull_e2e_test.cpp286 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
411 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
612 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
DConfigUpdate_e2e_ab_test.cpp356 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), in TEST_P()
DConfigUpdate_e2e_test.cpp47 EXPECT_EQ(value.value_tuple().dimensions_value(0).value_str(), name); in ValidateSubsystemSleepDimension()
/packages/modules/StatsD/statsd/src/
Dstatsd_metadata.proto38 string value_str = 6; field
Dmetadata_util.cpp93 value = Value(metadataFieldValue.value_str()); in writeFieldValuesFromMetadata()
Dstats_log.proto31 string value_str = 2; field
/packages/services/Car/service/proto/android/car/telemetry/
Dstats_log.proto37 string value_str = 2; field
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.cpp1619 EXPECT_EQ(value.value_tuple().dimensions_value(1).value_str(), tag); in ValidateWakelockAttributionUidAndTagDimension()
1663 .value_tuple().dimensions_value(1).value_str()); in ValidateAttributionUidAndTagDimension()
1682 .value_tuple().dimensions_value(1).value_str(), tag); in ValidateAttributionUidAndTagDimension()
1772 return (s1.value_str() == s2.value_str()); in EqualsTo()
1829 return s1.value_str() < s2.value_str(); in LessThan()
DFieldValue_test.cpp785 EXPECT_EQ("tag", dim12.value_str()); in TEST()
841 EXPECT_EQ("tag", dim2.value_str()); in TEST()
/packages/modules/Bluetooth/system/device/test/
Ddevice_iot_config_test.cc3451 std::string section, key, value_str; in TEST_F_WITH_FLAGS() local
3556 EXPECT_FALSE(device_iot_config_set_str(section, key, value_str)); in TEST_F_WITH_FLAGS()
3563 EXPECT_FALSE(DEVICE_IOT_CONFIG_ADDR_SET_STR(peer_addr, key, value_str)); in TEST_F_WITH_FLAGS()