Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Dsystem_state_unittest.cc123 cras_system_set_volume(CRAS_MAX_SYSTEM_VOLUME); in TEST()
124 EXPECT_EQ(CRAS_MAX_SYSTEM_VOLUME, cras_system_get_volume()); in TEST()
125 cras_system_set_volume(CRAS_MAX_SYSTEM_VOLUME + 1); in TEST()
126 EXPECT_EQ(CRAS_MAX_SYSTEM_VOLUME, cras_system_get_volume()); in TEST()
/external/adhd/cras/src/server/
Dcras_system_state.c103 exp_state->volume = CRAS_MAX_SYSTEM_VOLUME; in cras_system_state_init()
175 if (volume > CRAS_MAX_SYSTEM_VOLUME) in cras_system_set_volume()
178 state.exp_state->volume = MIN(volume, CRAS_MAX_SYSTEM_VOLUME); in cras_system_set_volume()
Dcras_system_state.h20 #define CRAS_MAX_SYSTEM_VOLUME 100 macro
Dcras_alsa_io.c677 curve->get_dBFS(curve, CRAS_MAX_SYSTEM_VOLUME)); in set_alsa_volume_limits()