Lines Matching refs:error_code
116 connection->error_code = AVDTP_ERROR_CODE_SEP_IN_USE; in avdtp_acceptor_handle_configuration_command()
121 if (connection->error_code == 0){ in avdtp_acceptor_handle_configuration_command()
124 …uint8_t error_code = avdtp_validate_media_configuration(stream_endpoint, connection->avdtp_cid, 0,… in avdtp_acceptor_handle_configuration_command() local
125 if (error_code != 0){ in avdtp_acceptor_handle_configuration_command()
126 log_info("media codec rejected by validator, error 0x%02x", error_code); in avdtp_acceptor_handle_configuration_command()
128 connection->error_code = error_code; in avdtp_acceptor_handle_configuration_command()
133 if (connection->error_code){ in avdtp_acceptor_handle_configuration_command()
147 connection->error_code = AVDTP_ERROR_CODE_SEP_IN_USE; in avdtp_acceptor_handle_configuration_command()
192 connection->error_code = AVDTP_ERROR_CODE_BAD_LENGTH; in avdtp_acceptor_stream_config_subsm()
224 connection->error_code = AVDTP_ERROR_CODE_BAD_ACP_SEID; in avdtp_acceptor_stream_config_subsm()
226 connection->error_code = AVDTP_ERROR_CODE_BAD_STATE; in avdtp_acceptor_stream_config_subsm()
252 connection->error_code = AVDTP_ERROR_CODE_BAD_ACP_SEID; in avdtp_acceptor_stream_config_subsm()
264 connection->error_code = AVDTP_ERROR_CODE_BAD_ACP_SEID; in avdtp_acceptor_stream_config_subsm()
322 connection->error_code = AVDTP_ERROR_CODE_BAD_STATE; in avdtp_acceptor_stream_config_subsm()
330 connection->error_code = AVDTP_ERROR_CODE_SEP_IN_USE; in avdtp_acceptor_stream_config_subsm()
345 if (connection->error_code){ in avdtp_acceptor_stream_config_subsm()
356 connection->error_code = AVDTP_ERROR_CODE_BAD_ACP_SEID; in avdtp_acceptor_stream_config_subsm()
384 connection->error_code = AVDTP_ERROR_CODE_BAD_STATE; in avdtp_acceptor_stream_config_subsm()
397 connection->error_code = AVDTP_ERROR_CODE_BAD_STATE; in avdtp_acceptor_stream_config_subsm()
420 connection->error_code = AVDTP_ERROR_CODE_BAD_STATE; in avdtp_acceptor_stream_config_subsm()
438 connection->error_code = AVDTP_ERROR_CODE_BAD_STATE; in avdtp_acceptor_stream_config_subsm()
456 connection->error_code = AVDTP_ERROR_CODE_BAD_STATE; in avdtp_acceptor_stream_config_subsm()
494 … cid, avdtp_signal_identifier_t identifier, uint8_t category, uint8_t error_code, uint8_t transac… in avdtp_acceptor_send_response_reject_service_category() argument
499 command[3] = error_code; in avdtp_acceptor_send_response_reject_service_category()
517 …error_code(uint16_t cid, avdtp_signal_identifier_t identifier, uint8_t error_code, uint8_t transac… in avdtp_acceptor_send_response_reject_with_error_code() argument
521 command[2] = error_code; in avdtp_acceptor_send_response_reject_with_error_code()
538 …l2cap_signaling_cid, connection->reject_signal_identifier, connection->error_code, connection->acc… in avdtp_acceptor_stream_config_subsm_run()
542 …ct_signal_identifier, connection->reject_service_category, connection->error_code, connection->acc… in avdtp_acceptor_stream_config_subsm_run()
562 uint8_t error_code = connection->error_code; in avdtp_acceptor_stream_config_subsm_run() local
693 …_reject_service_category(cid, reject_signal_identifier, reject_service_category, error_code, trid); in avdtp_acceptor_stream_config_subsm_run()
699 connection->error_code = 0; in avdtp_acceptor_stream_config_subsm_run()
700 …dtp_acceptor_send_response_reject_with_error_code(cid, reject_signal_identifier, error_code, trid); in avdtp_acceptor_stream_config_subsm_run()