Home
last modified time | relevance | path

Searched refs:Uint64FromString (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/system/gd/common/
Dstrings_test.cc39 using bluetooth::common::Uint64FromString;
194 ASSERT_THAT(Uint64FromString("42"), Optional(Eq(uint64_t(42)))); in TEST()
195 ASSERT_THAT(Uint64FromString("0"), Optional(Eq(uint64_t(0)))); in TEST()
196 ASSERT_FALSE(Uint64FromString("")); in TEST()
198 ASSERT_FALSE(Uint64FromString("0x42ab")); in TEST()
200 ASSERT_FALSE(Uint64FromString("-42")); in TEST()
202 ASSERT_FALSE(Uint64FromString("42.0")); in TEST()
203 ASSERT_FALSE(Uint64FromString("-42.0")); in TEST()
204 ASSERT_FALSE(Uint64FromString("42abc")); in TEST()
205 ASSERT_FALSE(Uint64FromString("")); in TEST()
[all …]
Dstrings.h112 std::optional<uint64_t> Uint64FromString(const std::string& str);
Dstrings.cc138 std::optional<uint64_t> Uint64FromString(const std::string& str) { in Uint64FromString() function
/packages/modules/Bluetooth/system/gd/storage/
Dconfig_cache_helper.cc54 return common::Uint64FromString(*value_str); in GetUint64()
/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger.cc1386 … auto max_packets_per_file_number = common::Uint64FromString(max_packets_per_file_prop.value()); in GetMaxPacketsPerFile()