Home
last modified time | relevance | path

Searched refs:control_name (Results 1 – 12 of 12) sorted by relevance

/external/adhd/cras/src/server/config/
Dcras_card_config.c23 const char *control_name) in create_simple_step_curve() argument
29 snprintf(ini_key, MAX_KEY_LEN, "%s:max_volume", control_name); in create_simple_step_curve()
32 snprintf(ini_key, MAX_KEY_LEN, "%s:volume_step", control_name); in create_simple_step_curve()
35 syslog(LOG_INFO, "Configure curve found for %s.", control_name); in create_simple_step_curve()
41 const char *control_name) in create_explicit_curve() argument
48 snprintf(ini_key, MAX_KEY_LEN, "%s:dB_at_%u", control_name, i); in create_explicit_curve()
52 syslog(LOG_INFO, "Explicit volume curve found for %s.", control_name); in create_explicit_curve()
95 const char *control_name) in cras_card_config_get_volume_curve_for_control() argument
100 if (card_config == NULL || control_name == NULL) in cras_card_config_get_volume_curve_for_control()
103 snprintf(ini_key, MAX_KEY_LEN, "%s:volume_curve", control_name); in cras_card_config_get_volume_curve_for_control()
[all …]
Dcras_card_config.h36 const char *control_name);
/external/autotest/server/cros/servo/
Dplankton.py73 def set(self, control_name, value): argument
79 assert control_name
80 self._server.set(control_name, value)
83 def get(self, control_name): argument
88 assert control_name
89 return self._server.get(control_name)
/external/adhd/cras/src/server/
Dcras_alsa_jack.c583 char *control_name; in open_and_monitor_gpio() local
584 control_name = ucm_get_cap_control(jack->jack_list->ucm, in open_and_monitor_gpio()
586 if (control_name) in open_and_monitor_gpio()
590 control_name); in open_and_monitor_gpio()
856 const char *control_name) in is_jack_control_in_list() argument
861 if (strncmp(control_name, list[i], strlen(list[i])) == 0) in is_jack_control_in_list()
935 char *control_name; in find_jack_controls() local
936 control_name = ucm_get_cap_control(jack->jack_list->ucm, in find_jack_controls()
938 if (control_name) in find_jack_controls()
942 control_name); in find_jack_controls()
Dcras_alsa_ucm.c489 char *control_name = NULL; in ucm_get_cap_control() local
495 control_name = strdup(value); in ucm_get_cap_control()
499 return control_name; in ucm_get_cap_control()
504 char *control_name = NULL; in ucm_get_mic_positions() local
510 control_name = strdup(value); in ucm_get_mic_positions()
514 return control_name; in ucm_get_mic_positions()
/external/skia/tools/
Dcompare_codereview.py335 control_name = '[control %s]' % control_url.split('/')[-1]
353 (control[bot].status, control_name, control[bot].url),
372 [(control[bot].status, control_name, control[bot].url),
379 printer(1, control_name + ' and ' + roll_name + ' failed identically')
/external/skqp/tools/
Dcompare_codereview.py335 control_name = '[control %s]' % control_url.split('/')[-1]
353 (control[bot].status, control_name, control[bot].url),
372 [(control[bot].status, control_name, control[bot].url),
379 printer(1, control_name + ' and ' + roll_name + ' failed identically')
/external/autotest/utils/
Dtest_importer.py203 control_name = "%s:%s"
204 control_name %= (test_new_name[-2],
206 test.name = re.sub('control.*\.', '', control_name)
250 control_name = "%s:%s"
251 control_name %= (test_new_test[-2],
253 new_test.name = control_name.replace('control.', '')
/external/adhd/cras/src/tests/
Dalsa_io_unittest.cc2621 const char *control_name) in cras_card_config_get_volume_curve_for_control() argument
2625 if (!control_name) in cras_card_config_get_volume_curve_for_control()
2627 it = cras_card_config_get_volume_curve_vals.find(control_name); in cras_card_config_get_volume_curve_for_control()
Dalsa_jack_unittest.cc1068 const char *control_name) in cras_alsa_mixer_get_input_matching_name() argument
Dalsa_card_unittest.cc1013 const char *control_name) in cras_card_config_get_volume_curve_for_control() argument
Dalsa_mixer_unittest.cc1727 const char *control_name) in cras_card_config_get_volume_curve_for_control() argument