Lines Matching refs:name
71 static bool setMixerValue(struct mixer* mixer, const char* name, const char* values)
77 struct mixer_ctl *ctl = mixer_get_ctl_by_name(mixer, name);
79 ALOGE("mixer_get_ctl_by_name failed for %s", name);
98 ALOGE("mixer_ctl_set_value failed for %s %d", name, intValue);
101 ALOGE("Could not parse %s as int for %d", intValue, name);
107 ALOGE("mixer_ctl_set_enum_by_string failed for %s %%s", name, stringValue);
110 ALOGE("Could not parse %s as enum for %d", stringValue, name);
114 ALOGE("unsupported mixer type %d for %s", type, name);
135 * mixer "<name>" = <value list>
136 * Since mixer names can contain spaces, the name must be enclosed in double quotes.
144 char name[MAX_LINE_LENGTH];
174 } else if (sscanf(l, "mixer \"%[0-9a-zA-Z _]s\"", name) == 1) {
178 ALOGD("name: \"%s\" = %s", name, values);
179 setMixerValue(mixer, name, values);
181 ALOGE("values missing for name: \"%s\"", name);