Lines Matching refs:stream_endpoint

157 void avdtp_reset_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint){  in avdtp_reset_stream_endpoint()  argument
158 stream_endpoint->media_con_handle = 0; in avdtp_reset_stream_endpoint()
159 stream_endpoint->l2cap_media_cid = 0; in avdtp_reset_stream_endpoint()
160 stream_endpoint->l2cap_reporting_cid = 0; in avdtp_reset_stream_endpoint()
161 stream_endpoint->l2cap_recovery_cid = 0; in avdtp_reset_stream_endpoint()
163 stream_endpoint->state = AVDTP_STREAM_ENDPOINT_IDLE; in avdtp_reset_stream_endpoint()
164 stream_endpoint->acceptor_config_state = AVDTP_ACCEPTOR_STREAM_CONFIG_IDLE; in avdtp_reset_stream_endpoint()
165 stream_endpoint->initiator_config_state = AVDTP_INITIATOR_STREAM_CONFIG_IDLE; in avdtp_reset_stream_endpoint()
167 stream_endpoint->connection = NULL; in avdtp_reset_stream_endpoint()
169 stream_endpoint->sep.in_use = 0; in avdtp_reset_stream_endpoint()
170 memset(&stream_endpoint->remote_sep, 0, sizeof(avdtp_sep_t)); in avdtp_reset_stream_endpoint()
172 stream_endpoint->remote_capabilities_bitmap = 0; in avdtp_reset_stream_endpoint()
173 memset(&stream_endpoint->remote_capabilities, 0, sizeof(avdtp_capabilities_t)); in avdtp_reset_stream_endpoint()
174 stream_endpoint->remote_configuration_bitmap = 0; in avdtp_reset_stream_endpoint()
175 memset(&stream_endpoint->remote_configuration, 0, sizeof(avdtp_capabilities_t)); in avdtp_reset_stream_endpoint()
178 memset(stream_endpoint->media_codec_info, 0, 8); in avdtp_reset_stream_endpoint()
180 stream_endpoint->media_disconnect = 0; in avdtp_reset_stream_endpoint()
181 stream_endpoint->media_connect = 0; in avdtp_reset_stream_endpoint()
182 stream_endpoint->start_stream = 0; in avdtp_reset_stream_endpoint()
183 stream_endpoint->close_stream = 0; in avdtp_reset_stream_endpoint()
184 stream_endpoint->request_can_send_now = false; in avdtp_reset_stream_endpoint()
185 stream_endpoint->abort_stream = 0; in avdtp_reset_stream_endpoint()
186 stream_endpoint->suspend_stream = 0; in avdtp_reset_stream_endpoint()
187 stream_endpoint->sequence_number = 0; in avdtp_reset_stream_endpoint()
610 void avdtp_signaling_emit_accept_for_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint, uin… in avdtp_signaling_emit_accept_for_stream_endpoint() argument
616 little_endian_store_16(event, pos, stream_endpoint->connection->avdtp_cid); in avdtp_signaling_emit_accept_for_stream_endpoint()
622 …tstack_packet_handler_t packet_handler = avdtp_packet_handler_for_stream_endpoint(stream_endpoint); in avdtp_signaling_emit_accept_for_stream_endpoint()
1008 const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_signaling_setup_media_codec_sbc_config_event() argument
1014 uint8_t local_seid = avdtp_local_seid(stream_endpoint); in avdtp_signaling_setup_media_codec_sbc_config_event()
1015 uint8_t remote_seid = avdtp_remote_seid(stream_endpoint); in avdtp_signaling_setup_media_codec_sbc_config_event()
1098 … const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_signaling_setup_media_codec_mpeg_audio_config_event() argument
1104 uint8_t local_seid = avdtp_local_seid(stream_endpoint); in avdtp_signaling_setup_media_codec_mpeg_audio_config_event()
1105 uint8_t remote_seid = avdtp_remote_seid(stream_endpoint); in avdtp_signaling_setup_media_codec_mpeg_audio_config_event()
1192 … const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_signaling_setup_media_codec_mpec_aac_config_event() argument
1198 uint8_t local_seid = avdtp_local_seid(stream_endpoint); in avdtp_signaling_setup_media_codec_mpec_aac_config_event()
1199 uint8_t remote_seid = avdtp_remote_seid(stream_endpoint); in avdtp_signaling_setup_media_codec_mpec_aac_config_event()
1266 … const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_signaling_setup_media_codec_mpegd_config_event() argument
1272 uint8_t local_seid = avdtp_local_seid(stream_endpoint); in avdtp_signaling_setup_media_codec_mpegd_config_event()
1273 uint8_t remote_seid = avdtp_remote_seid(stream_endpoint); in avdtp_signaling_setup_media_codec_mpegd_config_event()
1329 … const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_signaling_setup_media_codec_atrac_config_event() argument
1334 uint8_t local_seid = avdtp_local_seid(stream_endpoint); in avdtp_signaling_setup_media_codec_atrac_config_event()
1335 uint8_t remote_seid = avdtp_remote_seid(stream_endpoint); in avdtp_signaling_setup_media_codec_atrac_config_event()
1400 … const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_signaling_setup_media_codec_other_config_event() argument
1405 uint8_t local_seid = avdtp_local_seid(stream_endpoint); in avdtp_signaling_setup_media_codec_other_config_event()
1406 uint8_t remote_seid = avdtp_remote_seid(stream_endpoint); in avdtp_signaling_setup_media_codec_other_config_event()
1446 …a_codec_config_event(uint8_t *event, uint16_t size, const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_setup_media_codec_config_event() argument
1451 …return avdtp_signaling_setup_media_codec_sbc_config_event(event, size, stream_endpoint, avdtp_cid,… in avdtp_setup_media_codec_config_event()
1454 …dtp_signaling_setup_media_codec_mpeg_audio_config_event(event, size, stream_endpoint, avdtp_cid, r… in avdtp_setup_media_codec_config_event()
1457 …avdtp_signaling_setup_media_codec_mpec_aac_config_event(event, size, stream_endpoint, avdtp_cid, r… in avdtp_setup_media_codec_config_event()
1460 …rn avdtp_signaling_setup_media_codec_atrac_config_event(event, size, stream_endpoint, avdtp_cid, r… in avdtp_setup_media_codec_config_event()
1463 …rn avdtp_signaling_setup_media_codec_mpegd_config_event(event, size, stream_endpoint, avdtp_cid, r… in avdtp_setup_media_codec_config_event()
1466 …rn avdtp_signaling_setup_media_codec_other_config_event(event, size, stream_endpoint, avdtp_cid, r… in avdtp_setup_media_codec_config_event()
1471 void avdtp_signaling_emit_configuration(avdtp_stream_endpoint_t *stream_endpoint, uint16_t avdtp_ci… in avdtp_signaling_emit_configuration() argument
1478 …pos = avdtp_setup_media_codec_config_event(event, sizeof(event), stream_endpoint, avdtp_cid, recon… in avdtp_signaling_emit_configuration()
1480 …tstack_packet_handler_t packet_handler = avdtp_packet_handler_for_stream_endpoint(stream_endpoint); in avdtp_signaling_emit_configuration()
1485 void avdtp_streaming_emit_connection_established(avdtp_stream_endpoint_t *stream_endpoint, uint8_t … in avdtp_streaming_emit_connection_established() argument
1491 little_endian_store_16(event, pos, stream_endpoint->connection->avdtp_cid); in avdtp_streaming_emit_connection_established()
1493 reverse_bd_addr(stream_endpoint->connection->remote_addr, &event[pos]); in avdtp_streaming_emit_connection_established()
1495 event[pos++] = avdtp_local_seid(stream_endpoint); in avdtp_streaming_emit_connection_established()
1496 event[pos++] = avdtp_remote_seid(stream_endpoint); in avdtp_streaming_emit_connection_established()
1499 …tstack_packet_handler_t packet_handler = avdtp_packet_handler_for_stream_endpoint(stream_endpoint); in avdtp_streaming_emit_connection_established()
1503 void avdtp_streaming_emit_connection_released(avdtp_stream_endpoint_t *stream_endpoint, uint16_t av… in avdtp_streaming_emit_connection_released() argument
1513 …tstack_packet_handler_t packet_handler = avdtp_packet_handler_for_stream_endpoint(stream_endpoint); in avdtp_streaming_emit_connection_released()
1517 void avdtp_streaming_emit_can_send_media_packet_now(avdtp_stream_endpoint_t *stream_endpoint, uint1… in avdtp_streaming_emit_can_send_media_packet_now() argument
1523 little_endian_store_16(event, pos, stream_endpoint->connection->avdtp_cid); in avdtp_streaming_emit_can_send_media_packet_now()
1525 event[pos++] = avdtp_local_seid(stream_endpoint); in avdtp_streaming_emit_can_send_media_packet_now()
1530 …tstack_packet_handler_t packet_handler = avdtp_packet_handler_for_stream_endpoint(stream_endpoint); in avdtp_streaming_emit_can_send_media_packet_now()
1548 uint8_t avdtp_local_seid(const avdtp_stream_endpoint_t * stream_endpoint){ in avdtp_local_seid() argument
1549 if (!stream_endpoint) return 0; in avdtp_local_seid()
1550 return stream_endpoint->sep.seid; in avdtp_local_seid()
1554 uint8_t avdtp_remote_seid(const avdtp_stream_endpoint_t * stream_endpoint){ in avdtp_remote_seid() argument
1555 if (!stream_endpoint) return AVDTP_INVALID_SEP_SEID; in avdtp_remote_seid()
1556 return stream_endpoint->remote_sep.seid; in avdtp_remote_seid()