Home
last modified time | relevance | path

Searched refs:FeatureSet (Results 1 – 9 of 9) sorted by relevance

/system/core/adb/
Dtransport.h43 typedef std::unordered_set<std::string> FeatureSet; typedef
45 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_;
Dtransport_test.cpp59 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()
Dtransport.cpp1045 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()
Dadb.cpp1144 FeatureSet features = supported_features(); in handle_host_request()
/system/core/adb/client/
Dadb_client.h73 bool adb_get_feature_set(FeatureSet* _Nonnull feature_set, std::string* _Nonnull error);
Dcommandline.cpp663 FeatureSet features; in adb_shell()
770 FeatureSet features; in adb_abb()
1162 FeatureSet features; in send_shell_command()
1899 FeatureSet features; in adb_commandline()
Dadb_client.cpp400 bool adb_get_feature_set(FeatureSet* feature_set, std::string* error) { in adb_get_feature_set()
Dfile_sync_client.cpp236 const FeatureSet& Features() const { return features_; } in Features()
579 FeatureSet features_;
Dadb_install.cpp44 FeatureSet features; in can_use_feature()