/Zephyr-latest/tests/bluetooth/audio/ascs/src/ |
D | test_ase_state_transition_invalid.c | 95 static void test_client_config_codec_expect_transition_error(struct bt_conn *conn, uint8_t ase_id, in test_client_config_codec_expect_transition_error() argument 101 ase_id, /* ASE_ID[0] */ in test_client_config_codec_expect_transition_error() 106 test_ase_control_client_config_codec(conn, ase_id, NULL); in test_client_config_codec_expect_transition_error() 112 static void test_client_config_qos_expect_transition_error(struct bt_conn *conn, uint8_t ase_id, in test_client_config_qos_expect_transition_error() argument 118 ase_id, /* ASE_ID[0] */ in test_client_config_qos_expect_transition_error() 123 test_ase_control_client_config_qos(conn, ase_id); in test_client_config_qos_expect_transition_error() 129 static void test_client_enable_expect_transition_error(struct bt_conn *conn, uint8_t ase_id, in test_client_enable_expect_transition_error() argument 135 ase_id, /* ASE_ID[0] */ in test_client_enable_expect_transition_error() 140 test_ase_control_client_enable(conn, ase_id); in test_client_enable_expect_transition_error() 147 struct bt_conn *conn, uint8_t ase_id, const struct bt_gatt_attr *ase_cp) in test_client_receiver_start_ready_expect_transition_error() argument [all …]
|
D | test_ase_control_params.c | 526 static void test_config_qos_expect_invalid_length(struct bt_conn *conn, uint8_t ase_id, in test_config_qos_expect_invalid_length() argument 539 test_preamble_state_codec_configured(conn, ase_id, stream); in test_config_qos_expect_invalid_length() 549 const uint8_t ase_id = test_ase_id_get(fixture->ase); in ZTEST_F() local 553 ase_id, /* ASE_ID[0] */ in ZTEST_F() 565 test_config_qos_expect_invalid_length(&fixture->conn, ase_id, fixture->ase_cp, in ZTEST_F() 579 const uint8_t ase_id = test_ase_id_get(fixture->ase); in ZTEST_F() local 583 ase_id, /* ASE_ID[0] */ in ZTEST_F() 595 test_config_qos_expect_invalid_length(&fixture->conn, ase_id, fixture->ase_cp, in ZTEST_F() 601 const uint8_t ase_id = test_ase_id_get(fixture->ase); in ZTEST_F() local 605 ase_id, /* ASE_ID[0] */ in ZTEST_F() [all …]
|
D | test_common.c | 126 return hdr.ase_id; in test_ase_id_get() 149 void test_ase_control_client_config_codec(struct bt_conn *conn, uint8_t ase_id, in test_ase_control_client_config_codec() argument 156 ase_id, /* ASE_ID[0] */ in test_ase_control_client_config_codec() 176 void test_ase_control_client_config_qos(struct bt_conn *conn, uint8_t ase_id) in test_ase_control_client_config_qos() argument 182 ase_id, /* ASE_ID[0] */ in test_ase_control_client_config_qos() 199 void test_ase_control_client_enable(struct bt_conn *conn, uint8_t ase_id) in test_ase_control_client_enable() argument 205 ase_id, /* ASE_ID[0] */ in test_ase_control_client_enable() 214 void test_ase_control_client_disable(struct bt_conn *conn, uint8_t ase_id) in test_ase_control_client_disable() argument 220 ase_id, /* ASE_ID[0] */ in test_ase_control_client_disable() 228 void test_ase_control_client_release(struct bt_conn *conn, uint8_t ase_id) in test_ase_control_client_release() argument [all …]
|
D | test_ase_state_transition.c | 135 uint8_t ase_id = fixture->ase.id; in ZTEST_F() local 139 test_ase_control_client_config_codec(conn, ase_id, stream); in ZTEST_F() 149 uint8_t ase_id = fixture->ase.id; in ZTEST_F() local 153 test_preamble_state_codec_configured(conn, ase_id, stream); in ZTEST_F() 155 test_ase_control_client_config_qos(conn, ase_id); in ZTEST_F() 167 uint8_t ase_id = fixture->ase.id; in ZTEST_F() local 171 test_preamble_state_qos_configured(conn, ase_id, stream); in ZTEST_F() 173 test_ase_control_client_enable(conn, ase_id); in ZTEST_F() 184 uint8_t ase_id = fixture->ase.id; in ZTEST_F() local 188 test_preamble_state_enabling(conn, ase_id, stream); in ZTEST_F() [all …]
|
D | main.c | 173 uint8_t ase_id; in ZTEST_F() local 178 ase_id = fixture->ase_snk.id; in ZTEST_F() 181 ase_id = fixture->ase_src.id; in ZTEST_F() 185 zexpect_true(ase_id != 0x00); in ZTEST_F() 191 test_ase_control_client_config_codec(conn, ase_id, stream); in ZTEST_F() 219 uint8_t ase_id; in ZTEST_F() local 222 ase_id = fixture->ase_snk.id; in ZTEST_F() 224 ase_id = fixture->ase_src.id; in ZTEST_F() 228 zexpect_true(ase_id != 0x00); in ZTEST_F() 231 test_ase_control_client_config_codec(conn, ase_id, stream); in ZTEST_F() [all …]
|
/Zephyr-latest/tests/bluetooth/audio/ascs/include/ |
D | test_common.h | 15 uint8_t ase_id; member 21 uint8_t ase_id; member 47 void test_ase_control_client_config_codec(struct bt_conn *conn, uint8_t ase_id, 49 void test_ase_control_client_config_qos(struct bt_conn *conn, uint8_t ase_id); 50 void test_ase_control_client_enable(struct bt_conn *conn, uint8_t ase_id); 51 void test_ase_control_client_disable(struct bt_conn *conn, uint8_t ase_id); 52 void test_ase_control_client_release(struct bt_conn *conn, uint8_t ase_id); 53 void test_ase_control_client_update_metadata(struct bt_conn *conn, uint8_t ase_id); 54 void test_ase_control_client_receiver_start_ready(struct bt_conn *conn, uint8_t ase_id); 55 void test_ase_control_client_receiver_stop_ready(struct bt_conn *conn, uint8_t ase_id); [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/ |
D | btp_ascs.h | 18 uint8_t ase_id; member 29 uint8_t ase_id; member 43 uint8_t ase_id; member 49 uint8_t ase_id; member 55 uint8_t ase_id; member 61 uint8_t ase_id; member 67 uint8_t ase_id; member 73 uint8_t ase_id; member 79 uint8_t ase_id; member 100 uint8_t ase_id; member [all …]
|
D | btp_bap.h | 28 uint8_t ase_id; member 201 uint8_t ase_id; member 207 uint8_t ase_id; member
|
D | btp_cap.h | 23 uint8_t ase_id; member 55 uint8_t ase_id; member
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_unicast.c | 117 struct btp_bap_unicast_connection *conn, uint8_t ase_id) in btp_bap_unicast_stream_find() argument 128 if (info.id == ase_id) { in btp_bap_unicast_stream_find() 137 uint8_t ase_id) in btp_bap_unicast_end_point_find() argument 148 if (info.id == ase_id) { in btp_bap_unicast_end_point_find() 156 static void btp_send_ascs_ase_state_changed_ev(struct bt_conn *conn, uint8_t ase_id, uint8_t state) in btp_send_ascs_ase_state_changed_ev() argument 161 ev.ase_id = ase_id; in btp_send_ascs_ase_state_changed_ev() 167 static void btp_send_ascs_operation_completed_ev(struct bt_conn *conn, uint8_t ase_id, in btp_send_ascs_operation_completed_ev() argument 173 ev.ase_id = ase_id; in btp_send_ascs_operation_completed_ev() 266 ev.ase_id = info.id; in btp_send_ase_found_ev() 515 u_stream->ase_id = info.id; in stream_configured() [all …]
|
D | btp_bap_unicast.h | 32 uint8_t ase_id; member 55 uint8_t ase_id); 57 uint8_t ase_id);
|
D | btp_cap.c | 191 static int cap_unicast_setup_ase(struct bt_conn *conn, uint8_t ase_id, uint8_t cis_id, in cap_unicast_setup_ase() argument 200 u_stream = btp_bap_unicast_stream_find(u_conn, ase_id); in cap_unicast_setup_ase() 215 u_stream->ase_id = ase_id; in cap_unicast_setup_ase() 275 err = cap_unicast_setup_ase(conn, cp->ase_id, cp->cis_id, cp->cig_id, &codec_cfg, &qos); in btp_cap_unicast_setup_ase() 321 stream_param->ep = btp_bap_unicast_end_point_find(u_conn, u_stream->ase_id); in btp_cap_unicast_audio_start() 379 u_stream = btp_bap_unicast_stream_find(u_conn, update_data->ase_id); in btp_cap_unicast_audio_update()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | ascs.c | 176 static bool is_valid_ase_id(uint8_t ase_id) in is_valid_ase_id() argument 178 return IN_RANGE(ase_id, 1, ASE_COUNT); in is_valid_ase_id() 1453 uint8_t ase_id = POINTER_TO_UINT(BT_AUDIO_CHRC_USER_DATA(attr)); in ascs_ase_read() local 1462 ase = ase_find(conn, ase_id); in ascs_ase_read()
|