• Home
  • Raw
  • Download

Lines Matching refs:raw_value

38   auto raw_value = common::Int64FromString(str);  in FromLegacyConfigString()  local
39 if (!raw_value) { in FromLegacyConfigString()
42 if (*raw_value < hci::DeviceType::UNKNOWN || *raw_value > hci::DeviceType::DUAL) { in FromLegacyConfigString()
45 return static_cast<hci::DeviceType>(*raw_value); in FromLegacyConfigString()
51 auto raw_value = common::Int64FromString(str); in FromLegacyConfigString() local
52 if (!raw_value) { in FromLegacyConfigString()
55 if (*raw_value < static_cast<int64_t>(hci::AddressType::PUBLIC_DEVICE_ADDRESS) || in FromLegacyConfigString()
56 *raw_value > static_cast<int64_t>(hci::AddressType::RANDOM_IDENTITY_ADDRESS)) { in FromLegacyConfigString()
59 return static_cast<hci::AddressType>(*raw_value); in FromLegacyConfigString()
65 auto raw_value = common::Int64FromString(str); in FromLegacyConfigString() local
66 if (!raw_value) { in FromLegacyConfigString()
69 if (*raw_value < static_cast<int64_t>(hci::KeyType::COMBINATION) || in FromLegacyConfigString()
70 *raw_value > static_cast<int64_t>(hci::KeyType::AUTHENTICATED_P256)) { in FromLegacyConfigString()
73 return static_cast<hci::KeyType>(*raw_value); in FromLegacyConfigString()
79 auto raw_value = common::Int64FromString(str); in FromLegacyConfigString() local
80 if (!raw_value) { in FromLegacyConfigString()
83 if (*raw_value < static_cast<int64_t>(hci::LegacyScanMode::BT_SCAN_MODE_NONE) || in FromLegacyConfigString()
84 … *raw_value > static_cast<int64_t>(hci::LegacyScanMode::BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE)) { in FromLegacyConfigString()
87 return static_cast<hci::LegacyScanMode>(*raw_value); in FromLegacyConfigString()