Home | History | Annotate | Download | only in health

Lines Matching defs:role

176 	const char *role;
196 dbus_message_iter_get_basic(string, &role);
197 if (g_ascii_strcasecmp(role, HDP_SINK_ROLE_AS_STRING) == 0) {
198 app->role = HDP_SINK;
199 } else if (g_ascii_strcasecmp(role, HDP_SOURCE_ROLE_AS_STRING) == 0) {
200 app->role = HDP_SOURCE;
203 "Role value should be \"source\" or \"sink\"");
286 {"Role", parse_role},
312 static gboolean is_app_role(GSList *app_list, HdpRole role)
319 if (app->role == role)
326 static gboolean set_sdp_services_uuid(sdp_record_t *record, HdpRole role)
336 if (role == HDP_SOURCE) {
339 } else if (role == HDP_SINK) {
546 *role = NULL,
558 role = sdp_data_alloc(SDP_UINT8, &app->role);
559 if (!role)
575 if (!sdp_list_append(f_list, role))
591 if (role)
592 sdp_data_free(role);
754 static gboolean get_mdep_from_rec(const sdp_record_t *rec, uint8_t role,
794 !check_role(role_t->val.uint8, role))
825 if (!get_mdep_from_rec(recs->data, mdep_data->app->role,