Home
last modified time | relevance | path

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

/system/core/adb/
Dtransport.h28 typedef std::unordered_set<std::string> FeatureSet; typedef
30 const FeatureSet& supported_features();
33 std::string FeatureSetToString(const FeatureSet& features);
34 FeatureSet StringToFeatureSet(const std::string& features_string);
37 bool CanUseFeature(const FeatureSet& feature_set, const std::string& feature);
102 const FeatureSet& features() const { in features()
136 FeatureSet features_;
Dtransport_test.cpp93 t.SetFeatures(FeatureSetToString(FeatureSet{"foo"})); in TEST()
97 t.SetFeatures(FeatureSetToString(FeatureSet{"foo", "bar"})); in TEST()
102 t.SetFeatures(FeatureSetToString(FeatureSet{"foo", "bar", "foo"})); in TEST()
107 t.SetFeatures(FeatureSetToString(FeatureSet{"bar", "baz"})); in TEST()
Dtransport.cpp783 const FeatureSet& supported_features() { in supported_features()
785 static const FeatureSet* features = new FeatureSet{ in supported_features()
796 std::string FeatureSetToString(const FeatureSet& features) { in FeatureSetToString()
800 FeatureSet StringToFeatureSet(const std::string& features_string) { in StringToFeatureSet()
802 return FeatureSet(); in StringToFeatureSet()
807 return FeatureSet(names.begin(), names.end()); in StringToFeatureSet()
810 bool CanUseFeature(const FeatureSet& feature_set, const std::string& feature) { in CanUseFeature()
Dadb_client.h66 bool adb_get_feature_set(FeatureSet* _Nonnull feature_set, std::string* _Nonnull error);
Dadb_client.cpp325 bool adb_get_feature_set(FeatureSet* feature_set, std::string* error) { in adb_get_feature_set()
Dcommandline.cpp715 FeatureSet features; in adb_shell()
1143 FeatureSet features; in send_shell_command()
1817 FeatureSet features; in adb_commandline()
1835 FeatureSet features; in adb_commandline()
1940 FeatureSet features; in adb_commandline()