Home
last modified time | relevance | path

Searched refs:cod_int (Results 1 – 2 of 2) sorted by relevance

/system/bt/gd/hci/
Dclass_of_device.cc106 std::optional<ClassOfDevice> ClassOfDevice::FromUint32Legacy(uint32_t cod_int) { in FromUint32Legacy() argument
107 if (cod_int != 0 && (cod_int >> 24) != 0) { in FromUint32Legacy()
111 result.cod[2] = static_cast<uint8_t>(cod_int); in FromUint32Legacy()
112 result.cod[1] = static_cast<uint8_t>(cod_int >> 8); in FromUint32Legacy()
113 result.cod[0] = static_cast<uint8_t>(cod_int >> 16); in FromUint32Legacy()
Dclass_of_device.h83 static std::optional<ClassOfDevice> FromUint32Legacy(uint32_t cod_int);