Lines Matching refs:features
663 FeatureSet features; in adb_shell() local
665 if (!adb_get_feature_set(&features, &error_message)) { in adb_shell()
674 bool use_shell_protocol = CanUseFeature(features, kFeatureShell2); // -x in adb_shell()
750 !CanUseFeature(features, kFeatureShell2) ? "device" : "-x"); in adb_shell()
770 FeatureSet features; in adb_abb() local
772 if (!adb_get_feature_set(&features, &error_message)) { in adb_abb()
777 if (!CanUseFeature(features, kFeatureAbb)) { in adb_abb()
1162 FeatureSet features; in send_shell_command() local
1164 if (adb_get_feature_set(&features, &error)) { in send_shell_command()
1165 use_shell_protocol = CanUseFeature(features, kFeatureShell2); in send_shell_command()
1899 FeatureSet features; in adb_commandline() local
1901 if (!adb_get_feature_set(&features, &error)) { in adb_commandline()
1906 for (const std::string& name : features) { in adb_commandline()
1907 if (CanUseFeature(features, name)) { in adb_commandline()