Searched refs:FeatureSet (Results 1 – 9 of 9) sorted by relevance
43 typedef std::unordered_set<std::string> FeatureSet; typedef45 const FeatureSet& supported_features();48 std::string FeatureSetToString(const FeatureSet& features);49 FeatureSet StringToFeatureSet(const std::string& features_string);52 bool CanUseFeature(const FeatureSet& feature_set, const std::string& feature);297 const FeatureSet& features() const { in features()340 FeatureSet features_;
59 t.SetFeatures(FeatureSetToString(FeatureSet{"foo"})); in TEST_F()63 t.SetFeatures(FeatureSetToString(FeatureSet{"foo", "bar"})); in TEST_F()68 t.SetFeatures(FeatureSetToString(FeatureSet{"foo", "bar", "foo"})); in TEST_F()73 t.SetFeatures(FeatureSetToString(FeatureSet{"bar", "baz"})); in TEST_F()
1045 const FeatureSet& supported_features() { in supported_features()1047 static const FeatureSet* features = new FeatureSet{ in supported_features()1065 std::string FeatureSetToString(const FeatureSet& features) { in FeatureSetToString()1069 FeatureSet StringToFeatureSet(const std::string& features_string) { in StringToFeatureSet()1071 return FeatureSet(); in StringToFeatureSet()1075 return FeatureSet(names.begin(), names.end()); in StringToFeatureSet()1078 bool CanUseFeature(const FeatureSet& feature_set, const std::string& feature) { in CanUseFeature()
1144 FeatureSet features = supported_features(); in handle_host_request()
73 bool adb_get_feature_set(FeatureSet* _Nonnull feature_set, std::string* _Nonnull error);
663 FeatureSet features; in adb_shell()770 FeatureSet features; in adb_abb()1162 FeatureSet features; in send_shell_command()1899 FeatureSet features; in adb_commandline()
400 bool adb_get_feature_set(FeatureSet* feature_set, std::string* error) { in adb_get_feature_set()
236 const FeatureSet& Features() const { return features_; } in Features()579 FeatureSet features_;
44 FeatureSet features; in can_use_feature()