Exemplo n.º 1
0
bool adb_get_feature_set(FeatureSet* feature_set, std::string* error) {
    std::string result;
    if (adb_query(format_host_command("features", __adb_transport, __adb_serial), &result, error)) {
        *feature_set = StringToFeatureSet(result);
        return true;
    }
    feature_set->clear();
    return false;
}
Exemplo n.º 2
0
void atransport::SetFeatures(const std::string& features_string) {
    features_ = StringToFeatureSet(features_string);
}