Home
last modified time | relevance | path

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

/system/bt/gd/hci/
Denum_helper.h31 enum LegacyScanMode { BT_SCAN_MODE_NONE = 0, BT_SCAN_MODE_CONNECTABLE = 1, BT_SCAN_MODE_CONNECTABLE… enum
77 template <typename T, typename std::enable_if<std::is_same_v<T, hci::LegacyScanMode>, int>::type = …
78 std::optional<hci::LegacyScanMode> FromLegacyConfigString(const std::string& str) { 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()
/system/bt/gd/storage/
Dadapter_config.h68 GENERATE_PROPERTY_GETTER_SETTER_REMOVER(LegacyScanMode, hci::LegacyScanMode, "ScanMode");