Searched refs:api_err (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/tests/bluetooth/common/testlib/src/ |
D | adv.c | 40 int api_err; in bt_testlib_adv_conn() local 61 api_err = bt_le_ext_adv_create(¶m, &cb, &adv); in bt_testlib_adv_conn() 62 if (!api_err && name != NULL) { in bt_testlib_adv_conn() 69 api_err = bt_le_ext_adv_set_data(adv, &ad, 1, NULL, 0); in bt_testlib_adv_conn() 72 if (!api_err) { in bt_testlib_adv_conn() 73 api_err = bt_le_ext_adv_start(adv, BT_LE_EXT_ADV_START_DEFAULT); in bt_testlib_adv_conn() 76 if (!api_err) { in bt_testlib_adv_conn() 91 return api_err; in bt_testlib_adv_conn()
|
D | att_write.c | 41 int api_err; in bt_testlib_att_write() local 60 api_err = bt_gatt_write(conn, &ctx->params); in bt_testlib_att_write() 62 if (!api_err) { in bt_testlib_att_write() 68 if (api_err) { in bt_testlib_att_write() 69 __ASSERT_NO_MSG(api_err < 0); in bt_testlib_att_write() 70 return api_err; in bt_testlib_att_write()
|
D | security.c | 58 int api_err = 0; in bt_testlib_secure() local 75 api_err = bt_conn_set_security(conn, new_minimum); in bt_testlib_secure() 88 if (!api_err && bt_conn_get_security(conn) < new_minimum) { in bt_testlib_secure() 101 if (api_err) { in bt_testlib_secure() 102 __ASSERT_NO_MSG(api_err < 0); in bt_testlib_secure() 103 return api_err; in bt_testlib_secure()
|
D | scan.c | 68 int api_err; in bt_testlib_scan_find_name() local 80 api_err = bt_le_scan_start(BT_LE_SCAN_PASSIVE, bt_scan_find_name_cb); in bt_testlib_scan_find_name() 81 if (!api_err) { in bt_testlib_scan_find_name() 89 if (!api_err) { in bt_testlib_scan_find_name() 94 LOG_ERR("Scan error: %d", api_err); in bt_testlib_scan_find_name() 97 return api_err; in bt_testlib_scan_find_name()
|
D | att_read.c | 86 int api_err; in bt_testlib_sync_bt_gatt_read() local 105 api_err = bt_gatt_read(ctx->conn, &ctx->params); in bt_testlib_sync_bt_gatt_read() 107 if (!api_err) { in bt_testlib_sync_bt_gatt_read() 113 if (api_err) { in bt_testlib_sync_bt_gatt_read() 114 __ASSERT_NO_MSG(api_err < 0); in bt_testlib_sync_bt_gatt_read() 115 return api_err; in bt_testlib_sync_bt_gatt_read() 247 int api_err; in bt_testlib_gatt_discover_primary() local 272 api_err = bt_gatt_discover(conn, &ctx->params); in bt_testlib_gatt_discover_primary() 274 if (!api_err) { in bt_testlib_gatt_discover_primary() 280 if (api_err) { in bt_testlib_gatt_discover_primary() [all …]
|
/Zephyr-latest/tests/net/conn_mgr_conn/src/ |
D | test_conn_impl.c | 98 if (data->api_err != 0) { in test_connect() 99 return data->api_err; in test_connect() 128 if (data->api_err != 0) { in test_disconnect() 129 return data->api_err; in test_disconnect() 164 if (data->api_err) { in test_set_opt_a() 165 return data->api_err; in test_set_opt_a() 191 if (data->api_err) { in test_get_opt_a() 193 return data->api_err; in test_get_opt_a()
|
D | test_conn_impl.h | 45 int api_err; member
|
D | main.c | 75 iface_data->api_err = 0; in reset_test_iface_state() 516 ifa1_data->api_err = -ECHILD; in ZTEST() 537 ifa1_data->api_err = -EDOM; in ZTEST() 1516 ifa1_data->api_err = -ECHILD; in ZTEST() 1562 ifa1_data->api_err = -ECHILD; in ZTEST()
|