Searched refs:FeatureSet (Results 1 – 9 of 9) sorted by relevance
48 using FeatureSet = std::vector<std::string>; variable58 const FeatureSet& supported_features();61 std::string FeatureSetToString(const FeatureSet& features);62 FeatureSet StringToFeatureSet(const std::string& features_string);65 bool CanUseFeature(const FeatureSet& feature_set, const std::string& feature);355 const FeatureSet& features() const { return features_; } in features()407 FeatureSet features_;
72 t.SetFeatures(FeatureSetToString(FeatureSet{"foo"})); in TEST_F()76 t.SetFeatures(FeatureSetToString(FeatureSet{"foo", "bar"})); in TEST_F()81 t.SetFeatures(FeatureSetToString(FeatureSet{"foo", "bar", "foo"})); in TEST_F()86 t.SetFeatures(FeatureSetToString(FeatureSet{"bar", "baz"})); in TEST_F()
1184 const FeatureSet& supported_features() { in supported_features()1185 static const android::base::NoDestructor<FeatureSet> features([]() { in supported_features()1192 FeatureSet result { in supported_features()1229 std::string FeatureSetToString(const FeatureSet& features) { in FeatureSetToString()1233 FeatureSet StringToFeatureSet(const std::string& features_string) { in StringToFeatureSet()1235 return FeatureSet(); in StringToFeatureSet()1246 bool CanUseFeature(const FeatureSet& feature_set, const std::string& feature) { in CanUseFeature()
1372 FeatureSet features = supported_features(); in handle_host_request()
83 const std::optional<FeatureSet>& adb_get_feature_set(std::string* _Nullable error);
432 const std::optional<FeatureSet>& adb_get_feature_set(std::string* error) { in adb_get_feature_set()434 static std::optional<FeatureSet> features [[clang::no_destroy]] GUARDED_BY(feature_mutex); in adb_get_feature_set()
121 const std::optional<FeatureSet>& adb_get_feature_set_or_die(void);
1438 const std::optional<FeatureSet>& adb_get_feature_set_or_die(void) { in adb_get_feature_set_or_die()1440 const std::optional<FeatureSet>& features = adb_get_feature_set(&error); in adb_get_feature_set_or_die()
291 const FeatureSet& Features() const { return *features_; } in Features()961 const FeatureSet* features_ = nullptr;