Lines Matching refs:ClassOfDevice
37 ClassOfDevice::ClassOfDevice(const uint8_t (&class_of_device)[kLength]) { in ClassOfDevice() function in bluetooth::hci::ClassOfDevice
41 std::string ClassOfDevice::ToString() const { in ToString()
49 std::string ClassOfDevice::ToLegacyConfigString() const { in ToLegacyConfigString()
53 std::optional<ClassOfDevice> ClassOfDevice::FromString(const std::string& str) { in FromString()
63 ClassOfDevice new_cod{}; in FromString()
96 bool ClassOfDevice::FromString(const std::string& from, ClassOfDevice& to) { in FromString()
106 std::optional<ClassOfDevice> ClassOfDevice::FromUint32Legacy(uint32_t cod_int) { in FromUint32Legacy()
110 ClassOfDevice result = {}; in FromUint32Legacy()
117 std::optional<ClassOfDevice> ClassOfDevice::FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString()
126 uint32_t ClassOfDevice::ToUint32Legacy() const { in ToUint32Legacy()
130 size_t ClassOfDevice::FromOctets(const uint8_t* from) { in FromOctets()
135 bool ClassOfDevice::IsValid(const std::string& cod) { in IsValid()
136 return ClassOfDevice::FromString(cod).has_value(); in IsValid()