| /tests/bluetooth/audio/cap_initiator/uut/ |
| A D | bap_unicast_client.c | 41 switch (stream->ep->status.state) { in bt_bap_unicast_client_config() 75 switch (stream->ep->status.state) { in bt_bap_unicast_client_qos() 110 switch (stream->ep->status.state) { in bt_bap_unicast_client_enable() 138 switch (stream->ep->status.state) { in bt_bap_unicast_client_metadata() 160 struct bt_bap_ep *ep; in bt_bap_unicast_client_connect() local 166 ep = stream->ep; in bt_bap_unicast_client_connect() 168 switch (ep->status.state) { in bt_bap_unicast_client_connect() 181 if (ep->dir == BT_AUDIO_DIR_SINK) { in bt_bap_unicast_client_connect() 196 if (stream == NULL || stream->ep == NULL || stream->ep->dir == BT_AUDIO_DIR_SINK) { in bt_bap_unicast_client_start() 200 switch (stream->ep->status.state) { in bt_bap_unicast_client_start() [all …]
|
| /tests/subsys/usb/uac2/src/ |
| A D | uac2_desc.c | 297 const struct usb_ep_descriptor *ep; in test_uac2_descriptors() local 389 ep = (const struct usb_ep_descriptor *)*ptr; in test_uac2_descriptors() 390 zassert_not_null(ep); in test_uac2_descriptors() 405 zassert_equal(ep->bInterval, 1); in test_uac2_descriptors() 451 zassert_not_null(ep); in test_uac2_descriptors() 466 zassert_equal(ep->bInterval, 1); in test_uac2_descriptors() 525 const struct usb_ep_descriptor *ep; in ZTEST() local 609 zassert_not_null(ep); in ZTEST() 619 zassert_equal(ep->bInterval, 1); in ZTEST() 629 zassert_not_null(ep); in ZTEST() [all …]
|
| /tests/subsys/ipc/ipc_sessions/src/ |
| A D | main.c | 27 struct ipc_ep *ep; member 49 .ep = priv in ep_bound() 64 .ep = priv in ep_unbound() 92 .ep = priv in ep_error() 110 static struct ipc_ept ep; variable 129 ep_cfg.priv = &ep; in test_suite_setup() 160 ret = ipc_service_send(&ep, &cmd_ping, sizeof(cmd_ping)); in execute_test_ping_pong() 230 zassert_equal_ptr(ev.ep, &ep, "Unexpected endpoint (unbound)"); in ZTEST() 239 zassert_equal_ptr(ev.ep, &ep, "Unexpected endpoint (bound)"); in ZTEST() 264 zassert_equal_ptr(ev.ep, &ep, "Unexpected endpoint (unbound)"); in ZTEST() [all …]
|
| /tests/bluetooth/audio/cap_initiator/src/ |
| A D | test_common.c | 47 struct bt_bap_ep *ep, struct bt_bap_lc3_preset *preset, in test_unicast_set_state() argument 60 zassert_not_null(ep); in test_unicast_set_state() 64 bap_stream->ep = ep; in test_unicast_set_state() 67 bap_stream->ep->status.state = state; in test_unicast_set_state()
|
| A D | test_unicast_start.c | 126 stream_params[i].ep = &fixture->eps[i]; in ZTEST_F() 192 stream_params[i].ep = &fixture->eps[i]; in ZTEST_F() 217 stream_params[i].ep = &fixture->eps[i]; in ZTEST_F() 243 stream_params[i].ep = &fixture->eps[i]; in ZTEST_F() 269 stream_params[i].ep = &fixture->eps[i]; in ZTEST_F() 293 stream_param.ep = &fixture->eps[0]; in ZTEST_F() 316 stream_param.ep = &fixture->eps[0]; in ZTEST_F() 339 stream_param.ep = &fixture->eps[0]; in ZTEST_F() 362 stream_param.ep = NULL; in ZTEST_F() 385 stream_param.ep = &fixture->eps[0]; in ZTEST_F() [all …]
|
| A D | test_unicast_stop.c | 138 const enum bt_bap_ep_state state = bap_stream->ep->status.state; in ZTEST_F() 173 const enum bt_bap_ep_state state = bap_stream->ep->status.state; in ZTEST_F() 207 const enum bt_bap_ep_state state = bap_stream->ep->status.state; in ZTEST_F() 241 const enum bt_bap_ep_state state = bap_stream->ep->status.state; in ZTEST_F() 276 const enum bt_bap_ep_state state = bap_stream->ep->status.state; in ZTEST_F()
|
| /tests/net/lib/lwm2m/interop/pytest/ |
| A D | conftest.py | 103 ep = 'client_' + binascii.b2a_hex(os.urandom(1)).decode() 120 yield Endpoint(ep, shell) 132 ep = 'client_' + binascii.b2a_hex(os.urandom(1)).decode() 140 logger.debug('Endpoint: %s', ep) 146 leshan_bootstrap.create_bs_device(ep, f'coaps://{addr}:{COAPS_PORT}', bs_passwd, passwd) 147 leshan.create_psk_device(ep, passwd) 160 yield Endpoint(ep, shell) 168 leshan.delete_device(ep) 169 leshan_bootstrap.delete_bs_device(ep)
|
| A D | leshan.py | 383 ep = str([ord(n) for n in endpoint]) 385 …ty":{"1":{"bootstrapServer":false,"clientOldOffTime":1,"publicKeyOrId":' + ep + ',"secretKey":' + …
|
| /tests/bsim/bluetooth/audio/src/ |
| A D | cap_handover_central_test.c | 158 LOG_DBG("Acceptor[%u] %p: Sink ep %p", conn_index, conn, ep); in add_remote_sink() 159 cap_acceptors[conn_index].unicast_sink_ep = ep; in add_remote_sink() 161 LOG_DBG("Could not add sink ep %p", ep); in add_remote_sink() 170 LOG_DBG("Acceptor[%u] %p: Source ep %p", conn_index, conn, ep); in add_remote_source() 171 cap_acceptors[conn_index].unicast_source_ep = ep; in add_remote_source() 173 LOG_DBG("Could not add Source ep %p", ep); in add_remote_source() 214 add_remote_sink(conn, ep); in endpoint_cb() 217 add_remote_source(conn, ep); in endpoint_cb() 614 const struct bt_bap_ep *ep = in handover_unicast_to_broadcast() local 618 if (ep == NULL) { in handover_unicast_to_broadcast() [all …]
|
| A D | bap_stream_tx.c | 56 if (bap_stream->ep == NULL) { in stream_is_streaming() 60 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in stream_is_streaming() 190 if (stream == NULL || stream->ep == NULL) { in bap_stream_tx_can_send() 194 err = bt_bap_ep_get_info(stream->ep, &info); in bap_stream_tx_can_send()
|
| A D | bap_stream_rx.c | 89 if (stream == NULL || stream->ep == NULL) { in bap_stream_rx_can_recv() 93 err = bt_bap_ep_get_info(stream->ep, &info); in bap_stream_rx_can_recv()
|
| A D | bap_unicast_server_test.c | 77 static void print_ase_info(struct bt_bap_ep *ep, void *user_data) in print_ase_info() argument 81 bt_bap_ep_get_info(ep, &info); in print_ase_info() 98 static int lc3_config(struct bt_conn *conn, const struct bt_bap_ep *ep, enum bt_audio_dir dir, in lc3_config() argument 102 printk("ASE Codec Config: conn %p ep %p dir %u\n", conn, ep, dir); in lc3_config() 232 err = bt_bap_ep_get_info(stream->ep, &ep_info); in stream_enabled_cb() 299 if (stream->ep == NULL) { in transceive_test_streams() 304 err = bt_bap_ep_get_info(stream->ep, &info); in transceive_test_streams()
|
| A D | bap_unicast_client_test.c | 278 static void add_remote_sink(struct bt_bap_ep *ep) in add_remote_sink() argument 282 printk("Sink #%zu: ep %p\n", i, ep); in add_remote_sink() 283 g_sinks[i] = ep; in add_remote_sink() 291 static void add_remote_source(struct bt_bap_ep *ep) in add_remote_source() argument 295 printk("Source #%u: ep %p\n", i, ep); in add_remote_source() 296 g_sources[i] = ep; in add_remote_source() 343 static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in endpoint_cb() argument 346 add_remote_sink(ep); in endpoint_cb() 348 add_remote_source(ep); in endpoint_cb() 571 static int codec_configure_stream(struct bt_bap_stream *stream, struct bt_bap_ep *ep, in codec_configure_stream() argument [all …]
|
| A D | cap_initiator_unicast_test.c | 311 static void add_remote_sink(const struct bt_conn *conn, struct bt_bap_ep *ep) in add_remote_sink() argument 317 printk("Conn[%u] %p: Sink #%zu: ep %p\n", conn_index, conn, i, ep); in add_remote_sink() 318 unicast_sink_eps[conn_index][i] = ep; in add_remote_sink() 332 printk("Conn[%u] %p: Source #%zu: ep %p\n", conn_index, conn, i, ep); in add_remote_source() 333 unicast_source_eps[conn_index][i] = ep; in add_remote_source() 378 add_remote_sink(conn, ep); in endpoint_cb() 381 add_remote_source(conn, ep); in endpoint_cb() 658 stream_param[0].ep = unicast_sink_eps[bt_conn_index(default_conn)][0]; in unicast_audio_start() 664 stream_param[1].ep = unicast_source_eps[bt_conn_index(default_conn)][0]; in unicast_audio_start() 1219 stream_param->ep = snk_eps[snk_stream_cnt]; in cap_initiator_ac_cap_unicast_start() [all …]
|
| A D | gmap_ugg_test.c | 316 static void add_remote_sink_ep(struct bt_conn *conn, struct bt_bap_ep *ep) in add_remote_sink_ep() argument 320 printk("Conn %p: Sink #%zu: ep %p\n", conn, i, ep); in add_remote_sink_ep() 321 sink_eps[bt_conn_index(conn)][i] = ep; in add_remote_sink_ep() 327 static void add_remote_source_ep(struct bt_conn *conn, struct bt_bap_ep *ep) in add_remote_source_ep() argument 331 printk("Conn %p: Source #%zu: ep %p\n", conn, i, ep); in add_remote_source_ep() 332 source_eps[bt_conn_index(conn)][i] = ep; in add_remote_source_ep() 346 static void bap_endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_bap_ep *ep) in bap_endpoint_cb() argument 349 add_remote_sink_ep(conn, ep); in bap_endpoint_cb() 351 add_remote_source_ep(conn, ep); in bap_endpoint_cb() 752 stream_param->ep = snk_eps[snk_stream_cnt]; in gmap_ac_cap_unicast_start() [all …]
|
| A D | gmap_ugt_test.c | 67 err = bt_bap_ep_get_info(stream->ep, &ep_info); in unicast_stream_enabled_cb() 150 static int unicast_server_config(struct bt_conn *conn, const struct bt_bap_ep *ep, in unicast_server_config() argument 156 printk("ASE Codec Config: conn %p ep %p dir %u\n", conn, ep, dir); in unicast_server_config()
|
| A D | cap_handover_peripheral_test.c | 215 err = bt_bap_ep_get_info(stream->ep, &ep_info); in stream_enabled_cb() 337 static int unicast_server_config(struct bt_conn *conn, const struct bt_bap_ep *ep, in unicast_server_config() argument 343 LOG_DBG("ASE Codec Config: conn %p ep %p dir %u", conn, ep, dir); in unicast_server_config()
|
| A D | cap_acceptor_test.c | 310 err = bt_bap_ep_get_info(stream->ep, &ep_info); in unicast_stream_enabled_cb() 467 static int unicast_server_config(struct bt_conn *conn, const struct bt_bap_ep *ep, in unicast_server_config() argument 473 printk("ASE Codec Config: conn %p ep %p dir %u\n", conn, ep, dir); in unicast_server_config()
|
| /tests/bluetooth/tester/src/audio/ |
| A D | btp_bap_unicast.c | 127 if (stream->ep == NULL) { in btp_bap_unicast_stream_find() 147 if (ep == NULL) { in btp_bap_unicast_end_point_find() 153 return ep; in btp_bap_unicast_end_point_find() 488 if (stream->ep == NULL) { in stream_state_changed() 703 LOG_DBG("Stream received, ep %d, dir %d, len %d", ep->status.id, ep->dir, in send_stream_received_ev() 933 if (ep != NULL) { in unicast_client_endpoint_cb() 934 LOG_DBG("Discovered ASE %p, id %u, dir 0x%02x", ep, ep->status.id, ep->dir); in unicast_client_endpoint_cb() 1097 struct bt_bap_ep *ep; in client_unicast_group_param_set() local 1106 if (ep == NULL) { in client_unicast_group_param_set() 1240 struct bt_bap_ep *ep; in client_configure_codec() local [all …]
|
| A D | btp_bap_audio_stream.c | 63 if (bap_stream->ep == NULL) { in stream_is_streaming() 67 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in stream_is_streaming() 206 if (bap_stream->ep == NULL) { in btp_bap_audio_stream_can_send() 210 err = bt_bap_ep_get_info(bap_stream->ep, &info); in btp_bap_audio_stream_can_send()
|
| /tests/subsys/ipc/ipc_sessions/remote/src/ |
| A D | remote.c | 143 struct ipc_ept *ep = priv; in ep_recv() local 162 ret = ipc_service_send(ep, &cmd_pong, sizeof(cmd_pong)); in ep_recv() 180 ret = ipc_service_send(ep, cmd_rsp, len); in ep_recv() 236 ret = ipc_service_send(ep, &cmd_stat, sizeof(cmd_stat)); in ep_recv() 252 ret = ipc_service_send(ep, &cmd_stat, sizeof(cmd_stat)); in ep_recv() 310 static struct ipc_ept ep; in init_ipc() local 313 ep_cfg.priv = &ep; in init_ipc() 323 ret = ipc_service_register_endpoint(ipc0_instance, &ep, &ep_cfg); in init_ipc()
|
| /tests/bluetooth/audio/cap_initiator/include/ |
| A D | test_common.h | 20 struct bt_bap_ep *ep, struct bt_bap_lc3_preset *preset,
|
| /tests/subsys/fs/common/ |
| A D | test_fs_util.c | 16 const char *ep = va_arg(ap, const char *); in path_vextend() local 19 while (ep) { in path_vextend() 20 size_t len = strlen(ep); in path_vextend() 24 if (strcmp(ep, "..") == 0) { in path_vextend() 35 memcpy(eos, ep, len); in path_vextend() 43 ep = va_arg(ap, const char *); in path_vextend()
|
| /tests/bluetooth/audio/ascs/uut/ |
| A D | bap_unicast_client.c | 15 bool bt_bap_ep_is_unicast_client(const struct bt_bap_ep *ep) in bt_bap_ep_is_unicast_client() argument
|
| /tests/subsys/usb/device/src/ |
| A D | main.c | 69 static void bulk_in(uint8_t ep, enum usb_dc_ep_cb_status_code ep_status) in bulk_in() argument
|