Home | History | Annotate | Download | only in adb

Lines Matching defs:features

674     FeatureSet features;
676 if (!adb_get_feature_set(&features, &error)) {
685 bool use_shell_protocol = CanUseFeature(features, kFeatureShell2); // -x
761 !CanUseFeature(features, kFeatureShell2) ? "device" : "-x");
1088 FeatureSet features;
1090 if (adb_get_feature_set(&features, &error)) {
1091 use_shell_protocol = CanUseFeature(features, kFeatureShell2);
1324 FeatureSet features;
1326 if (!adb_get_feature_set(&features, &error)) {
1330 return !CanUseFeature(features, kFeatureCmd);
1810 } else if (!strcmp(argv[0], "features")) {
1811 // Only list the features common to both the adb client and the device.
1812 FeatureSet features;
1814 if (!adb_get_feature_set(&features, &error)) {
1819 for (const std::string& name : features) {
1820 if (CanUseFeature(features, name)) {
1825 } else if (!strcmp(argv[0], "host-features")) {
1826 return adb_query_command("host:host-features");