Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/hci/
Dclass_of_device.cc101 std::optional<ClassOfDevice> ClassOfDevice::FromUint32Legacy(uint32_t cod_int) { in FromUint32Legacy() argument
102 if (cod_int != 0 && (cod_int >> 24) != 0) { in FromUint32Legacy()
106 result.cod[2] = static_cast<uint8_t>(cod_int); in FromUint32Legacy()
107 result.cod[1] = static_cast<uint8_t>(cod_int >> 8); in FromUint32Legacy()
108 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);
/packages/modules/Bluetooth/system/pdl/hci/
Dclass_of_device.cc103 std::optional<ClassOfDevice> ClassOfDevice::FromUint32Legacy(uint32_t cod_int) { in FromUint32Legacy() argument
104 if (cod_int != 0 && (cod_int >> 24) != 0) { in FromUint32Legacy()
108 result.cod[2] = static_cast<uint8_t>(cod_int); in FromUint32Legacy()
109 result.cod[1] = static_cast<uint8_t>(cod_int >> 8); in FromUint32Legacy()
110 result.cod[0] = static_cast<uint8_t>(cod_int >> 16); in FromUint32Legacy()
/packages/modules/Bluetooth/system/pdl/hci/include/hci/
Dclass_of_device.h69 static std::optional<ClassOfDevice> FromUint32Legacy(uint32_t cod_int);