Lines Matching refs:key_state
808 if (p_remote_cmd->key_state == AVRC_STATE_PRESS) { in handle_rc_passthrough_cmd()
830 int pressed = (p_remote_cmd->key_state == AVRC_STATE_PRESS) ? 1 : 0; in handle_rc_passthrough_cmd()
864 const char* status = (p_remote_rsp->key_state == 1) ? "released" : "pressed"; in handle_rc_passthrough_rsp()
873 p_remote_rsp->rc_id, p_remote_rsp->key_state)); in handle_rc_passthrough_rsp()
898 int key_state; in handle_rc_vendorunique_rsp() local
899 if (p_remote_rsp->key_state == AVRC_STATE_RELEASE) { in handle_rc_vendorunique_rsp()
901 key_state = 1; in handle_rc_vendorunique_rsp()
904 key_state = 0; in handle_rc_vendorunique_rsp()
918 vendor_id, key_state)); in handle_rc_vendorunique_rsp()
1062 p_data->remote_cmd.key_state); in btif_rc_handler()
1072 p_data->remote_rsp.rc_id, p_data->remote_rsp.key_state); in btif_rc_handler()
1236 remote_cmd.key_state = AVRC_STATE_PRESS; in btif_rc_check_handle_pending_play()
1241 remote_cmd.key_state = AVRC_STATE_RELEASE; in btif_rc_check_handle_pending_play()
5226 uint8_t key_state) { in send_groupnavigation_cmd() argument
5230 key_state); in send_groupnavigation_cmd()
5244 (tBTA_AV_STATE)key_state, buffer, in send_groupnavigation_cmd()
5270 uint8_t key_code, uint8_t key_state) { in send_passthrough_cmd() argument
5280 key_state); in send_passthrough_cmd()
5285 (tBTA_AV_RC)key_code, (tBTA_AV_STATE)key_state); in send_passthrough_cmd()