Home
last modified time | relevance | path

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

/packages/modules/adb/
Dtransport.h48 using FeatureSet = std::vector<std::string>; variable
58 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_;
Dtransport_test.cpp72 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()
Dtransport.cpp1184 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()
Dadb.cpp1372 FeatureSet features = supported_features(); in handle_host_request()
/packages/modules/adb/client/
Dadb_client.h83 const std::optional<FeatureSet>& adb_get_feature_set(std::string* _Nullable error);
Dadb_client.cpp432 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()
Dcommandline.h121 const std::optional<FeatureSet>& adb_get_feature_set_or_die(void);
Dcommandline.cpp1438 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()
Dfile_sync_client.cpp291 const FeatureSet& Features() const { return *features_; } in Features()
961 const FeatureSet* features_ = nullptr;