Home
last modified time | relevance | path

Searched refs:default_node_gain (Results 1 – 4 of 4) sorted by relevance

/external/adhd/cras/src/tests/
Dalsa_io_unittest.cc591 long default_node_gain = -1000; in TEST() local
600 ucm_get_default_node_gain_values["Internal Mic"] = default_node_gain; in TEST()
611 iodev->active_node->capture_gain = default_node_gain; in TEST()
615 ASSERT_EQ(system_gain + default_node_gain, in TEST()
740 long default_node_gain = -1000; in TEST() local
744 ucm_get_default_node_gain_values["Internal Mic"] = default_node_gain; in TEST()
757 EXPECT_EQ(default_node_gain, iodev->active_node->capture_gain); in TEST()
766 EXPECT_EQ(system_gain + default_node_gain, alsa_mixer_set_capture_dBFS_value); in TEST()
Dalsa_ucm_unittest.cc835 long default_node_gain; in TEST() local
845 ret = ucm_get_default_node_gain(mgr, "Internal Mic", &default_node_gain); in TEST()
848 EXPECT_EQ(-2000, default_node_gain); in TEST()
853 ret = ucm_get_default_node_gain(mgr, "Internal Mic", &default_node_gain); in TEST()
/external/adhd/cras/src/server/
Dcras_alsa_ucm.c53 static const char default_node_gain[] = "DefaultNodeGain"; variable
693 rc = get_int(mgr, default_node_gain, dev, uc_verb(mgr), &value); in ucm_get_default_node_gain()
Dcras_alsa_io.c1121 long default_node_gain; in set_input_default_node_gain() local
1128 &default_node_gain); in set_input_default_node_gain()
1132 input->base.capture_gain = default_node_gain; in set_input_default_node_gain()