Searched refs:expected_volume (Results 1 – 2 of 2) sorted by relevance
872 const uint8_t expected_volume = g_volume > volume_step ? g_volume - volume_step : 0; in test_vol_down() local883 WAIT_FOR_COND(expected_volume == g_volume); in test_vol_down()889 const uint8_t expected_volume = MIN((uint16_t)g_volume + volume_step, UINT8_MAX); in test_vol_up() local900 WAIT_FOR_COND(expected_volume == g_volume); in test_vol_up()923 const uint8_t expected_volume = g_volume > volume_step ? g_volume - volume_step : 0; in test_unmute_vol_down() local935 WAIT_FOR_COND(expected_volume == g_volume && expected_mute == g_mute); in test_unmute_vol_down()941 const uint8_t expected_volume = MIN((uint16_t)g_volume + volume_step, UINT8_MAX); in test_unmute_vol_up() local953 WAIT_FOR_COND(expected_volume == g_volume && expected_mute == g_mute); in test_unmute_vol_up()976 const uint8_t expected_volume = g_volume - 5; /* any underflow is fine too */ in test_set_vol() local979 err = bt_vcp_vol_rend_set_vol(expected_volume); in test_set_vol()[all …]
957 const uint8_t expected_volume = g_volume + 5; /* Overflow is OK */ in test_set_vol() local963 err = bt_vcp_vol_ctlr_set_vol(NULL, expected_volume); in test_set_vol()970 err = bt_vcp_vol_ctlr_set_vol(vol_ctlr, expected_volume); in test_set_vol()976 WAIT_FOR_COND(g_volume == expected_volume && g_cb && g_write_complete); in test_set_vol()