/packages/modules/Bluetooth/system/gd/storage/ |
D | config_cache_helper.cc | 32 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 …]
|
D | config_cache.cc | 307 std::string value_str = in ConvertEncryptOrDecryptKeyIfNeeded() local 310 SetProperty(section, std::string(property), value_str); in ConvertEncryptOrDecryptKeyIfNeeded()
|
/packages/modules/Bluetooth/system/device/src/ |
D | device_iot_config.cc | 95 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 …]
|
D | device_iot_config_int.cc | 218 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()
|
D | device_iot_config_int.h | 81 const std::string& value_str);
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | GaugeMetric_e2e_pull_test.cpp | 158 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 …]
|
D | KllMetric_e2e_test.cpp | 161 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()
|
D | StringReplace_e2e_test.cpp | 134 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()
|
D | ValueMetric_pull_e2e_test.cpp | 286 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()
|
D | ConfigUpdate_e2e_ab_test.cpp | 356 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), in TEST_P()
|
D | ConfigUpdate_e2e_test.cpp | 47 EXPECT_EQ(value.value_tuple().dimensions_value(0).value_str(), name); in ValidateSubsystemSleepDimension()
|
/packages/modules/StatsD/statsd/src/ |
D | statsd_metadata.proto | 38 string value_str = 6; field
|
D | metadata_util.cpp | 93 value = Value(metadataFieldValue.value_str()); in writeFieldValuesFromMetadata()
|
D | stats_log.proto | 31 string value_str = 2; field
|
/packages/services/Car/service/proto/android/car/telemetry/ |
D | stats_log.proto | 37 string value_str = 2; field
|
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.cpp | 1619 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()
|
D | FieldValue_test.cpp | 785 EXPECT_EQ("tag", dim12.value_str()); in TEST() 841 EXPECT_EQ("tag", dim2.value_str()); in TEST()
|
/packages/modules/Bluetooth/system/device/test/ |
D | device_iot_config_test.cc | 3451 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()
|