/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_per_connection/src/ |
D | bs_bt_utils.c | 53 ASSERT((!g_conn || (conn == g_conn)), "Unexpected new connection."); in connected() 67 ASSERT(0, "Fail during setting bondable flag for given connection."); in connected() 82 ASSERT(conn, "Test error: No g_conn!\n"); in clear_g_conn() 117 ASSERT(!err, "bt_enable failed.\n"); in bs_bt_utils_setup() 119 ASSERT(!err, "bt_conn_auth_info_cb_register failed.\n"); in bs_bt_utils_setup() 141 ASSERT(!err, "Err bt_le_scan_stop %d", err); in scan_connect_to_first_result__device_found() 144 ASSERT(!err, "Err bt_conn_le_create %d", err); in scan_connect_to_first_result__device_found() 152 ASSERT(!err, "Err bt_le_scan_start %d", err); in scan_connect_to_first_result() 160 ASSERT(!err, "Err bt_conn_disconnect %d", err); in disconnect() 168 ASSERT(!err, "Err bt_unpair %d", err); in unpair() [all …]
|
D | peripheral.c | 24 ASSERT(id_a >= 0, "bt_id_create id_a failed (err %d)\n", id_a); in peripheral() 27 ASSERT(id_b >= 0, "bt_id_create id_b failed (err %d)\n", id_b); in peripheral()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/id_addr_update/central/src/ |
D | utils.c | 41 ASSERT(conn, "Test error: No new_conn!\n"); in clear_conn() 50 ASSERT(new_conn, "connection unpopulated."); in wait_connected() 68 ASSERT(!err, "Unexpected conn info result."); in print_conn_state_transition() 82 ASSERT((!new_conn || (conn == new_conn)), "Unexpected new connection."); in connected() 119 ASSERT(!err, "Err bt_conn_set_security %d", err); in set_security() 133 ASSERT(!err, "bt_enable failed.\n"); in bs_bt_utils_setup() 135 ASSERT(!err, "bt_conn_auth_info_cb_register failed.\n"); in bs_bt_utils_setup() 138 ASSERT(!err, "settings_load failed.\n"); in bs_bt_utils_setup() 156 ASSERT(!err, "Err bt_le_scan_stop %d", err); in scan_connect_to_first_result__device_found() 159 ASSERT(!err, "Err bt_conn_le_create %d", err); in scan_connect_to_first_result__device_found() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/src/ |
D | bs_bt_utils.c | 51 ASSERT((!g_conn || (conn == g_conn)), "Unexpected new connection."); in connected() 76 ASSERT(conn, "Test error: No g_conn!\n"); in clear_g_conn() 104 ASSERT(!err, "bt_enable failed.\n"); in bs_bt_utils_setup() 106 ASSERT(!err, "bt_conn_auth_info_cb_register failed.\n"); in bs_bt_utils_setup() 128 ASSERT(!err, "Err bt_le_scan_stop %d", err); in scan_connect_to_first_result__device_found() 131 ASSERT(!err, "Err bt_conn_le_create %d", err); in scan_connect_to_first_result__device_found() 139 ASSERT(!err, "Err bt_le_scan_start %d", err); in scan_connect_to_first_result() 147 ASSERT(!err, "Err bt_conn_disconnect %d", err); in disconnect() 155 ASSERT(!err, "Err bt_conn_set_security %d", err); in set_security() 174 ASSERT(err == 0, "Advertising failed to start (err %d)\n", err); in advertise_connectable()
|
D | peripheral.c | 25 ASSERT(id_a >= 0, "bt_id_create id_a failed (err %d)\n", id_a); in peripheral() 28 ASSERT(id_b >= 0, "bt_id_create id_b failed (err %d)\n", id_b); in peripheral() 45 ASSERT(bt_addr_le_eq(bt_conn_get_dst(g_conn), ¢ral), in peripheral()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_overwrite_denied/src/ |
D | bs_bt_utils.c | 51 ASSERT((!g_conn || (conn == g_conn)), "Unexpected new connection."); in connected() 76 ASSERT(conn, "Test error: No g_conn!\n"); in clear_g_conn() 104 ASSERT(!err, "bt_enable failed.\n"); in bs_bt_utils_setup() 106 ASSERT(!err, "bt_conn_auth_info_cb_register failed.\n"); in bs_bt_utils_setup() 128 ASSERT(!err, "Err bt_le_scan_stop %d", err); in scan_connect_to_first_result__device_found() 131 ASSERT(!err, "Err bt_conn_le_create %d", err); in scan_connect_to_first_result__device_found() 139 ASSERT(!err, "Err bt_le_scan_start %d", err); in scan_connect_to_first_result() 147 ASSERT(!err, "Err bt_conn_disconnect %d", err); in disconnect() 155 ASSERT(!err, "Err bt_conn_set_security %d", err); in set_security() 174 ASSERT(err == 0, "Advertising failed to start (err %d)\n", err); in advertise_connectable()
|
D | peripheral.c | 25 ASSERT(id_a >= 0, "bt_id_create id_a failed (err %d)\n", id_a); in peripheral() 28 ASSERT(id_b >= 0, "bt_id_create id_b failed (err %d)\n", id_b); in peripheral()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/id_addr_update/peripheral/src/ |
D | utils.c | 40 ASSERT(conn, "Test error: No new_conn!\n"); in clear_conn() 49 ASSERT(new_conn, "connection unpopulated."); in wait_connected() 67 ASSERT(!err, "Unexpected conn info result."); in print_conn_state_transition() 81 ASSERT((!new_conn || (conn == new_conn)), "Unexpected new connection."); in connected() 118 ASSERT(!err, "Err bt_conn_set_security %d", err); in set_security() 132 ASSERT(!err, "bt_enable failed.\n"); in bs_bt_utils_setup() 134 ASSERT(!err, "bt_conn_auth_info_cb_register failed.\n"); in bs_bt_utils_setup() 137 ASSERT(!err, "settings_load failed.\n"); in bs_bt_utils_setup() 145 ASSERT(!err, "Err bt_conn_disconnect %d", err); in disconnect() 159 ASSERT(!err, "Advertising failed to start (err %d)\n", err); in advertise_connectable() [all …]
|
D | peripheral.c | 27 ASSERT(!err, "Unexpected info_a result."); in verify_equal_address() 30 ASSERT(!err, "Unexpected info_b result."); in verify_equal_address() 32 ASSERT(bt_addr_le_eq(info_a.le.dst, info_b.le.dst), in verify_equal_address() 48 ASSERT(id_a >= 0, "bt_id_create id_a failed (err %d)\n", id_a); in peripheral() 51 ASSERT(id_b >= 0, "bt_id_create id_b failed (err %d)\n", id_b); in peripheral()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/security_changed_callback/src/ |
D | bs_bt_utils.c | 58 ASSERT((!g_conn || (conn == g_conn)), "Unexpected new connection."); in connected() 84 ASSERT(conn, "Test error: No g_conn!\n"); in clear_g_conn() 122 ASSERT(!err, "bt_enable failed.\n"); in bs_bt_utils_setup() 124 ASSERT(!err, "bt_conn_auth_info_cb_register failed.\n"); in bs_bt_utils_setup() 148 ASSERT(!err, "Err bt_le_scan_stop %d", err); in stop_scan_and_connect() 151 ASSERT(!err, "Err bt_conn_le_create %d", err); in stop_scan_and_connect() 159 ASSERT(!err, "Err bt_le_scan_start %d", err); in scan_connect_to_first_result() 167 ASSERT(!err, "Err bt_conn_set_security %d", err); in set_security() 186 ASSERT(err == 0, "Advertising failed to start (err %d)\n", err); in advertise_connectable()
|
D | peripheral.c | 54 ASSERT(!err, "bt_conn_auth_info_cb_register failed.\n"); in peripheral_unpair_in_sec_cb() 98 ASSERT(!err, "bt_conn_auth_info_cb_register failed.\n"); in peripheral_disconnect_in_sec_cb()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/dut/src/ |
D | main.c | 84 ASSERT(err == 0, "Can't update data length (err %d)\n", err); in do_dlu() 133 ASSERT(!err, "Scanning failed to start (err %d)\n", err); in connect() 159 ASSERT(length >= sizeof(indication), "Unexpected data\n"); in notified() 160 ASSERT(length <= sizeof(notification), "Unexpected data\n"); in notified() 167 ASSERT(is_nfy, "Unexpected indication\n"); in notified() 192 ASSERT(!err, "Subscribe failed (err %d)\n", err); in subscribed() 194 ASSERT(params, "params is NULL\n"); in subscribed() 215 ASSERT(!err, "Subscribe failed (err %d)\n", err); in subscribe() 222 ASSERT(backchannel_init() == 0, "Failed to open backchannel\n"); in test_procedure_0() 228 ASSERT(err == 0, "Can't enable Bluetooth (err %d)\n", err); in test_procedure_0()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/many_conns/src/ |
D | main.c | 50 ASSERT(ctx >= &contexts[0] && in get_ctx() 62 ASSERT(buf, "No more memory\n"); in l2cap_chan_send() 69 ASSERT(ret >= 0, "Failed sending: err %d", ret); in l2cap_chan_send() 190 ASSERT(err == 0, "Failed to register l2cap server."); in l2cap_server_register() 201 ASSERT(!conn_err, "Failed to connect to %s (%u)", addr, conn_err); in connected() 232 ASSERT(!err, "Failed to initate disconnect (err %d)", err); in disconnect_device() 249 ASSERT(!err, "Can't enable Bluetooth (err %d)", err); in test_peripheral_main() 254 ASSERT(!err, "Advertising failed to start (err %d)", err); in test_peripheral_main() 274 ASSERT(rx_cnt == SDU_NUM, "Did not receive expected no of SDUs\n"); in test_peripheral_main() 287 ASSERT(!err, "Stop LE scan failed (err %d)", err); in device_found() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/dut/src/ |
D | main.c | 87 ASSERT(err == 0, "Can't update data length (err %d)\n", err); in do_dlu() 136 ASSERT(!err, "Scanning failed to start (err %d)\n", err); in connect() 190 ASSERT(length >= sizeof(indication), "Unexpected data"); in notified() 191 ASSERT(length <= sizeof(notification), "Unexpected data"); in notified() 213 ASSERT(!err, "Subscribe failed (err %d)\n", err); in subscribed() 215 ASSERT(params, "params is NULL\n"); in subscribed() 236 ASSERT(!err, "Subscribe failed (err %d)\n", err); in subscribe() 253 ASSERT(!err, "Failed to transmit handle for write (err %d)\n", err); in send_write_handle() 262 ASSERT(err == 0, "Can't enable Bluetooth (err %d)\n", err); in test_procedure_0()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/dut/src/ |
D | main.c | 88 ASSERT(err == 0, "Can't update data length (err %d)\n", err); in do_dlu() 132 ASSERT(!err, "Adving failed to start (err %d)\n", err); in connecc() 153 ASSERT(!err, "Scanning failed to start (err %d)\n", err); in connect() 223 ASSERT(!err, "Failed to transmit handle for write (err %d)\n", err); in send_write_handle() 235 ASSERT(!err, "Failed read: err %d", err); in gatt_read() 239 ASSERT(prev_val == value, "Something's up: expected %d got %d", prev_val, value); in gatt_read() 254 ASSERT(!err, "Failed to discover service %d"); in find_the_chrc() 261 ASSERT(!err, "Failed to get value handle %d"); in find_the_chrc() 274 ASSERT(err == 0, "Can't enable Bluetooth (err %d)\n", err); in good_peer_procedure() 299 ASSERT(err == 0, "Can't enable Bluetooth (err %d)\n", err); in dut_procedure() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc/src/ |
D | main.c | 117 ASSERT(!err, "Adving failed to start (err %d)\n", err); in connect_as_peripheral() 143 ASSERT(!err, "Scanning failed to start (err %d)\n", err); in connect_as_central() 166 ASSERT(!err, "Failed to discover service %d"); in find_the_chrc() 173 ASSERT(!err, "Failed to get value handle %d"); in find_the_chrc() 202 ASSERT(!err, "Subscribe failed (err %d)\n", err); in subscribed() 204 ASSERT(params, "params is NULL\n"); in subscribed() 225 ASSERT(!err, "Subscribe failed (err %d)\n", err); in subscribe() 272 ASSERT(err == 0, "Failed to get info for %p\n", conn); in is_disconnected() 325 ASSERT(err == 0, "Can't enable Bluetooth (err %d)\n", err); in entrypoint_dut() 367 ASSERT(err == 0, "Can't enable Bluetooth (err %d)\n", err); in entrypoint_peer() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/src/ |
D | main.c | 56 ASSERT(ret >= 0, "Failed sending: err %d", ret); in l2cap_chan_send() 91 ASSERT(sdu_len == sizeof(tx_data), "Recv SDU length does not match send length."); in recv_cb() 94 ASSERT(memcmp(seg->data, &tx_data[seg_offset], seg->len) == 0, "RX data doesn't match TX"); in recv_cb() 174 ASSERT(err == 0, "Failed to register l2cap server."); in l2cap_server_register() 218 ASSERT(!err, "Failed to initate disconnect (err %d)", err); in disconnect_device() 277 ASSERT(rx_cnt == SDU_NUM, "Did not receive expected no of SDUs\n"); in test_peripheral_main() 322 ASSERT(!err, "Scanning failed to start (err %d)\n", err); in connect_peripheral() 349 ASSERT(!err, "Error connecting l2cap channel (err %d)\n", err); in connect_l2cap_channel() 376 ASSERT(!err, "Error connecting l2cap channel (err %d)\n", err); in connect_l2cap_ecred_channel() 393 ASSERT(err == 0, "Can't enable Bluetooth (err %d)\n", err); in test_central_main()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/ |
D | main.c | 66 ASSERT(buf, "failed allocation"); in bt_hci_cmd_create() 114 ASSERT(status == 0x00, "cmd status: %x", status); in handle_cmd_complete() 116 ASSERT(active_opcode == opcode, "unexpected opcode %x != %x", active_opcode, opcode); in handle_cmd_complete() 191 ASSERT(buf->len == 2, "unexpected write length: %d\n", buf->len); in handle_att_write() 192 ASSERT(memcmp(buf->data, ccc_write, sizeof(ccc_write)) == 0, "bad data\n"); in handle_att_write() 227 ASSERT(buf->len == hdr->len, "buflen = %d != hdrlen %d", in handle_l2cap() 230 ASSERT(cid == BT_L2CAP_CID_ATT, "We only support (U)ATT"); in handle_l2cap() 249 ASSERT(flags == BT_ACL_START, in handle_acl() 310 ASSERT(active_opcode == 0xFFFF, ""); in send_cmd() 379 ASSERT(buf, ""); in write_default_data_len() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits/src/ |
D | main.c | 56 ASSERT(ret >= 0, "Failed sending: err %d", ret); in l2cap_chan_send() 97 ASSERT(memcmp(buf->data, tx_data, buf->len) == 0, "RX data doesn't match TX"); in recv_cb() 163 ASSERT(err == 0, "Failed to register l2cap server."); in l2cap_server_register() 207 ASSERT(!err, "Failed to initate disconnect (err %d)", err); in disconnect_device() 264 ASSERT(rx_cnt == SDU_NUM, "Did not receive expected no of SDUs\n"); in test_peripheral_main() 309 ASSERT(!err, "Scanning failed to start (err %d)\n", err); in connect_peripheral() 326 ASSERT(!err, "Error connecting l2cap channel (err %d)\n", err); in connect_l2cap_channel() 343 ASSERT(!err, "Error connecting l2cap channel (err %d)\n", err); in connect_l2cap_ecred_channel() 359 ASSERT(err == 0, "Can't enable Bluetooth (err %d)\n", err); in test_central_main()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/ |
D | main.c | 74 ASSERT(buf, "failed allocation"); in bt_hci_cmd_create() 122 ASSERT(status == 0x00, "cmd status: %x", status); in handle_cmd_complete() 124 ASSERT(active_opcode == opcode, "unexpected opcode %x != %x", active_opcode, opcode); in handle_cmd_complete() 211 ASSERT(!TEST_FLAG(flag_req_in_progress), in handle_att_write_0() 225 ASSERT(!TEST_FLAG(flag_req_in_progress), in handle_att_write_1() 273 ASSERT(buf->len == hdr->len, "buflen = %d != hdrlen %d", in handle_l2cap() 276 ASSERT(cid == BT_L2CAP_CID_ATT, "We only support (U)ATT"); in handle_l2cap() 295 ASSERT(flags == BT_ACL_START, in handle_acl() 356 ASSERT(active_opcode == 0xFFFF, ""); in send_cmd() 425 ASSERT(buf, ""); in write_default_data_len() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/stress/src/ |
D | main.c | 66 ASSERT(ctx >= &contexts[0] && in get_ctx() 96 ASSERT(ret >= 0, "Failed sending: err %d", ret); in l2cap_chan_send() 245 ASSERT(err == 0, "Failed to register l2cap server."); in l2cap_server_register() 290 ASSERT(!err, "Failed to initate disconnect (err %d)", err); in disconnect_device() 338 ASSERT(rx_cnt == SDU_NUM, "Did not receive expected no of SDUs\n"); in test_peripheral_main() 383 ASSERT(!err, "Scanning failed to start (err %d)\n", err); in connect_peripheral() 394 ASSERT(ctx, "No more available test contexts\n"); in connect_l2cap_channel() 404 ASSERT(!err, "Error connecting l2cap channel (err %d)\n", err); in connect_l2cap_channel() 420 ASSERT(err == 0, "Can't enable Bluetooth (err %d)\n", err); in test_central_main()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/ |
D | main.c | 70 ASSERT(buf, "failed allocation"); in bt_hci_cmd_create() 118 ASSERT(status == 0x00, "cmd status: %x", status); in handle_cmd_complete() 120 ASSERT(active_opcode == opcode, "unexpected opcode %x != %x", active_opcode, opcode); in handle_cmd_complete() 249 ASSERT(buf->len == hdr->len, "buflen = %d != hdrlen %d", in handle_l2cap() 252 ASSERT(cid == BT_L2CAP_CID_ATT, "We only support (U)ATT"); in handle_l2cap() 271 ASSERT(flags == BT_ACL_START, in handle_acl() 332 ASSERT(active_opcode == 0xFFFF, ""); in send_cmd() 401 ASSERT(buf, ""); in write_default_data_len() 426 ASSERT(buf, ""); in set_event_mask() 444 ASSERT(buf, ""); in set_random_address() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/dut/src/ |
D | main.c | 118 ASSERT(err == 0, "Failed to register l2cap server."); in l2cap_server_register() 195 ASSERT(!err, "Scanning failed to start (err %d)\n", err); in connect() 208 ASSERT(!err, "Failed to initate disconnect (err %d)", err); in disconnect_device() 224 ASSERT(err == 0, "Can't update data length (err %d)\n", err); in do_dlu() 233 ASSERT(err == 0, "Can't enable Bluetooth (err %d)\n", err); in test_procedure_0()
|
/Zephyr-latest/subsys/fb/ |
D | check_cfb_fonts.ld | 1 ASSERT(SIZEOF(cfb_font_area) != 0, "cfb_font not defined.")
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/peripheral/src/ |
D | bs_bt_utils.h | 27 #define ASSERT(expr, ...) \ macro
|