Searched refs:attr_name (Results 1 - 2 of 2) sorted by relevance

/system/sepolicy/tools/
H A Dcheckfc.c72 static int get_attr_bit(policydb_t *policydb, const char *attr_name) argument
74 struct type_datum *attr = hashtab_search(policydb->p_types.table, (char *)attr_name);
76 fprintf(stderr, "Error: \"%s\" is not defined in this policy.\n", attr_name);
81 fprintf(stderr, "Error: \"%s\" is not an attribute in this policy.\n", attr_name);
/system/media/audio_route/
H A Daudio_route.c446 const XML_Char *attr_name = NULL; local
462 attr_name = attr[i + 1];
471 if (attr_name == NULL) {
476 state->path = path_create(ar, (char *)attr_name);
479 struct mixer_path *sub_path = path_get_by_name(ar, attr_name);
481 ALOGE("unable to find sub path '%s'", attr_name);
491 ctl = mixer_get_ctl_by_name(ar->mixer, attr_name);
493 ALOGE("Control '%s' doesn't exist - skipping", attr_name);

Completed in 49 milliseconds