Home
last modified time | relevance | path

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

/system/sepolicy/tools/
Dcheckfc.c64 static int get_attr_bit(policydb_t *policydb, const char *attr_name) in get_attr_bit() argument
66 struct type_datum *attr = hashtab_search(policydb->p_types.table, (char *)attr_name); in get_attr_bit()
68 fprintf(stderr, "Error: \"%s\" is not defined in this policy.\n", attr_name); in get_attr_bit()
73 fprintf(stderr, "Error: \"%s\" is not an attribute in this policy.\n", attr_name); in get_attr_bit()
/system/media/audio_route/
Daudio_route.c436 const XML_Char *attr_name = NULL; in start_tag() local
452 attr_name = attr[i + 1]; in start_tag()
461 if (attr_name == NULL) { in start_tag()
466 state->path = path_create(ar, (char *)attr_name); in start_tag()
469 struct mixer_path *sub_path = path_get_by_name(ar, attr_name); in start_tag()
477 ctl = mixer_get_ctl_by_name(ar->mixer, attr_name); in start_tag()
479 ALOGE("Control '%s' doesn't exist - skipping", attr_name); in start_tag()