/Zephyr-latest/tests/bluetooth/addr/src/ |
D | test_bt_addr_le_eq.c | 8 ZTEST_SUITE(bt_addr_le_eq, NULL, NULL, NULL, NULL, NULL); 10 ZTEST(bt_addr_le_eq, test_all_zero) in ZTEST() argument 15 zassert_true(bt_addr_le_eq(&a, &b)); in ZTEST() 18 ZTEST(bt_addr_le_eq, test_type_not_zero) in ZTEST() argument 23 zassert_true(bt_addr_le_eq(&a, &b)); in ZTEST() 26 ZTEST(bt_addr_le_eq, test_type_matters) in ZTEST() argument 31 zassume_true(bt_addr_le_eq(&a, &b)); in ZTEST() 33 zassert_false(bt_addr_le_eq(&a, &b)); in ZTEST() 36 ZTEST(bt_addr_le_eq, test_address_matters_start) in ZTEST() argument 41 zassume_true(bt_addr_le_eq(&a, &b)); in ZTEST() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/peripheral/src/ |
D | tester_rpa_expired.c | 46 if (bt_addr_le_eq(&adv_set_data[adv_index].old_addr, BT_ADDR_LE_ANY)) { in test_address() 71 if (!bt_addr_le_eq(addr, &adv_set_data[adv_index].old_addr)) { in test_address() 75 if (bt_addr_le_eq(addr, &adv_set_data[adv_index].old_addr)) { in test_address() 81 if (bt_addr_le_eq(addr, &adv_set_data[adv_index].old_addr)) { in test_address() 85 if (!bt_addr_le_eq(addr, &adv_set_data[adv_index].old_addr)) { in test_address()
|
D | tester_rpa_rotation.c | 44 if (bt_addr_le_eq(&adv_set_data[0].old_addr, &adv_set_data[1].old_addr)) { in validate_rpa_addr_generated_for_adv_sets() 59 if (bt_addr_le_eq(&adv_set_data[0].old_addr, &adv_set_data[3].old_addr)) { in validate_rpa_addr_generated_for_adv_sets() 62 if (bt_addr_le_eq(&adv_set_data[1].old_addr, &adv_set_data[3].old_addr)) { in validate_rpa_addr_generated_for_adv_sets() 79 if (bt_addr_le_eq(&adv_set_data[adv_index].old_addr, BT_ADDR_LE_ANY)) { in test_address() 86 if (bt_addr_le_eq(&adv_set_data[adv_index].old_addr, addr)) { in test_address()
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/legacy/src/ |
D | tester.c | 43 if (bt_addr_le_eq(addr, &dut_addr)) { in cb_expect_rpa() 48 if (bt_addr_le_eq(&test_data.old_addr, BT_ADDR_LE_ANY)) { in cb_expect_rpa() 55 if (bt_addr_le_eq(&test_data.old_addr, addr)) { in cb_expect_rpa() 95 if (!bt_addr_le_eq(&dut_addr, addr)) { in cb_expect_id()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_aics.c | 158 if (!bt_addr_le_eq(&cp->address, BT_ADDR_LE_ANY)) { in aics_set_gain() 179 if (!bt_addr_le_eq(&cp->address, BT_ADDR_LE_ANY)) { in aics_unmute() 200 if (!bt_addr_le_eq(&cp->address, BT_ADDR_LE_ANY)) { in aics_mute() 221 if (!bt_addr_le_eq(&cp->address, BT_ADDR_LE_ANY)) { in aics_state_get() 242 if (!bt_addr_le_eq(&cp->address, BT_ADDR_LE_ANY)) { in aics_type_get() 263 if (!bt_addr_le_eq(&cp->address, BT_ADDR_LE_ANY)) { in aics_status_get() 285 if (!bt_addr_le_eq(&cp->address, BT_ADDR_LE_ANY)) { in aics_gain_setting_prop_get() 306 if (!bt_addr_le_eq(&cp->address, BT_ADDR_LE_ANY)) { in aics_man_gain_set() 327 if (!bt_addr_le_eq(&cp->address, BT_ADDR_LE_ANY)) { in aics_auto_gain_set() 420 if (!bt_addr_le_eq(&cp->address, BT_ADDR_LE_ANY)) { in aics_desc_get()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/src/ |
D | central.c | 43 ASSERT(bt_addr_le_eq(bt_conn_get_dst(g_conn), &id_b), in central()
|
D | peripheral.c | 45 ASSERT(bt_addr_le_eq(bt_conn_get_dst(g_conn), ¢ral), in peripheral()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | keys.c | 101 if (keys->id == id && bt_addr_le_eq(&keys->addr, addr)) { in bt_keys_get_addr() 105 bt_addr_le_eq(&keys->addr, BT_ADDR_LE_ANY)) { in bt_keys_get_addr() 136 if (bt_addr_le_eq(&oldest->addr, BT_ADDR_LE_ANY)) { in bt_keys_get_addr() 207 bt_addr_le_eq(&key_pool[i].addr, addr)) { in bt_keys_find() 297 bt_addr_le_eq(&key_pool[i].addr, addr)) { in bt_keys_find_addr()
|
D | id.c | 969 addr_conflict = bt_addr_le_eq(&conflict->candidate->addr, &resident->addr); in find_rl_conflict() 1266 if (bt_addr_le_eq(addr, &bt_dev.id_addr[id])) { in id_find() 1276 if (addr && !bt_addr_le_eq(addr, BT_ADDR_LE_ANY)) { in id_create() 1343 if (addr && !bt_addr_le_eq(addr, BT_ADDR_LE_ANY)) { in bt_id_create() 1370 if (!(addr && !bt_addr_le_eq(addr, BT_ADDR_LE_ANY))) { in bt_id_create() 1394 if (addr && !bt_addr_le_eq(addr, BT_ADDR_LE_ANY)) { in bt_id_reset() 1427 !bt_addr_le_eq(&bt_dev.id_addr[id], BT_ADDR_LE_ANY)) { in bt_id_reset() 1448 if (bt_addr_le_eq(&bt_dev.id_addr[id], BT_ADDR_LE_ANY)) { in bt_id_delete()
|
D | gatt.c | 327 bt_addr_le_eq(&sc_cfg[i].peer, addr)) { in find_sc_cfg() 591 if (!bt_addr_le_eq(&cfg->peer, BT_ADDR_LE_ANY)) { in set_all_change_unaware() 607 if (bt_addr_le_eq(&cfg->peer, BT_ADDR_LE_ANY)) { in find_cf_cfg() 1125 if (bt_addr_le_eq(&ccc->cfg[i].peer, match->private_addr)) { in convert_to_id_on_match() 1396 bt_addr_le_eq(peer_addr, &el->peer)) { in gatt_delayed_store_find() 1615 if (bt_addr_le_eq(&cfg->peer, BT_ADDR_LE_ANY)) { in db_changed() 1645 if (!bt_addr_le_eq(&cfg->peer, BT_ADDR_LE_ANY)) { in gatt_unregister_ccc() 2131 } else if (bt_addr_le_eq(&cfg->peer, BT_ADDR_LE_ANY)) { in find_ccc_cfg() 2741 if (bt_addr_le_eq(&cfg->peer, BT_ADDR_LE_ANY)) { in notify_cb() 3558 if (bt_addr_le_eq(&sub->peer, BT_ADDR_LE_ANY)) { in gatt_sub_find() [all …]
|
D | scan.c | 78 return a->sid == sid && bt_addr_le_eq(&a->addr, addr); in fragmented_advertisers_equal() 1218 !bt_addr_le_eq(&pending_per_adv_sync->addr, &id_addr)))) { in bt_hci_le_per_adv_sync_established_common() 1854 if (bt_addr_le_eq(&sync->addr, adv_addr) && sync->sid == sid) { in bt_le_per_adv_sync_lookup_addr()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/id_addr_update/peripheral/src/ |
D | peripheral.c | 32 ASSERT(bt_addr_le_eq(info_a.le.dst, info_b.le.dst), in verify_equal_address()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | csip_set_member.c | 93 return bt_addr_le_eq(bt_conn_get_dst(conn), in is_last_client_to_write() 96 return bt_addr_le_eq(&server_dummy_addr, in is_last_client_to_write() 129 bt_addr_le_eq(bt_conn_get_dst(excluded_client), &client->addr)) { in notify_clients() 485 bt_addr_le_eq(bt_conn_get_dst(conn), &client->addr)) { in csip_security_changed() 518 if (bt_addr_le_eq(bt_conn_get_dst(conn), &client->addr)) { in handle_csip_disconnect() 546 bt_addr_le_eq(bt_conn_get_dst(conn), &client->addr)) { in handle_csip_auth_complete() 604 bt_addr_le_eq(peer, &svc_inst->clients[i].addr)) { in csip_bond_deleted()
|
D | pacs.c | 122 bt_addr_le_eq(&clients[i].addr, bt_conn_get_dst(conn))) { in client_lookup_conn() 941 bt_addr_le_eq(bt_conn_get_dst(conn), &clients[i].addr)) { in pacs_auth_pairing_complete() 965 bt_addr_le_eq(peer, &clients[i].addr)) { in pacs_bond_deleted()
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/device/src/ |
D | test_undirected_central.c | 136 addr_equal = bt_addr_le_eq(&peer_identity, peer_addr); in check_addresses() 142 addr_equal = bt_addr_le_eq(&peer_identity, peer_addr); in check_addresses()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disable/src/ |
D | main_disable.c | 75 if (!bt_addr_le_eq(&stored_id, &addr)) { in test_disable_set_default_id()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/src/ |
D | dut.c | 151 return !bt_addr_le_eq(address, BT_ADDR_LE_ANY); in addr_in_use() 181 if (bt_addr_le_eq(address, &context->peer)) { in get_ctx_from_address()
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | addr.h | 117 static inline bool bt_addr_le_eq(const bt_addr_le_t *a, const bt_addr_le_t *b) in bt_addr_le_eq() function
|
/Zephyr-latest/samples/bluetooth/periodic_adv_conn/src/ |
D | main.c | 93 if (bt_addr_le_eq(&peer, &bt_addr_le_none)) { in response_cb()
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_gap.c | 95 if (bt_addr_le_eq(info.le.dst, &cars[i].addr)) { in read_car_cb() 399 !bt_addr_le_eq(info.le.local, &oob_sc_local.addr)) { in oob_data_request() 792 if (bt_addr_le_eq(&cp->address, &cars[i].addr)) { 922 if (!bt_addr_le_eq(addr, &a)) { 1011 if (!bt_addr_le_eq(&cp->address, BT_ADDR_LE_ANY)) {
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | csip_set_coordinator_test.c | 179 if (bt_addr_le_eq(addr, &addr_found[i])) { in is_discovered()
|
/Zephyr-latest/samples/bluetooth/encrypted_advertising/central/src/ |
D | central_ead.c | 112 if (!bt_addr_le_eq(addr, &peer_addr)) { in device_found()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | bap_broadcast_assistant.c | 173 bt_addr_le_eq(&per_adv_syncs[i]->addr, &state->addr)) { in bap_broadcast_assistant_recv_state_cb() 213 if (bt_addr_le_eq(&oob_local.addr, &state->addr)) { in bap_broadcast_assistant_recv_state_cb()
|
D | csip_set_coordinator.c | 47 if (bt_addr_le_eq(addr, &addr_found[i])) { in is_discovered()
|
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/ |
D | cap_acceptor_broadcast.c | 514 bt_addr_le_eq(info->addr, &broadcast_sink.req_recv_state->addr) && in bap_pa_sync_synced_cb()
|