Searched defs:addr_type (Results 1 - 22 of 22) sorted by relevance

/system/bt/stack/btm/
H A Dbtm_ble_addr.c437 tBTM_SEC_DEV_REC* btm_find_dev_by_identity_addr(BD_ADDR bd_addr, UINT8 addr_type) argument
449 (addr_type & (~BLE_ADDR_TYPE_ID_BIT)))
452 __func__, p_dev_rec->ble.static_addr_type, addr_type);
H A Dbtm_ble_batchscan.c91 STREAM_TO_UINT8(adv_data.addr_type, p);
119 STREAM_TO_UINT8(adv_data.addr_type, p);
125 adv_data.addr_type, adv_data.advertiser_state);
537 ** addr_type - Address type
543 UINT32 scan_interval, UINT32 scan_window, tBLE_ADDR_TYPE addr_type,
552 // Override param and decide addr_type based on own addr type
554 addr_type = btm_cb.ble_ctr_cb.addr_mgnt_cb.own_addr_type;
560 UINT8_TO_STREAM (pp_scan, addr_type);
614 ble_batchscan_cb.addr_type, ble_batchscan_cb.discard_rule)) != BTM_CMD_STARTED)
724 UINT32 scan_interval, UINT32 scan_window, tBLE_ADDR_TYPE addr_type,
542 btm_ble_set_batchscan_param(tBTM_BLE_BATCH_SCAN_MODE scan_mode, UINT32 scan_interval, UINT32 scan_window, tBLE_ADDR_TYPE addr_type, tBTM_BLE_DISCARD_RULE discard_rule) argument
723 BTM_BleEnableBatchScan(tBTM_BLE_BATCH_SCAN_MODE scan_mode, UINT32 scan_interval, UINT32 scan_window, tBLE_ADDR_TYPE addr_type, tBTM_BLE_DISCARD_RULE discard_rule, tBTM_BLE_REF_VALUE ref_value) argument
[all...]
H A Dbtm_ble_bgconn.c152 tBLE_ADDR_TYPE addr_type = BLE_ADDR_PUBLIC; local
191 BTM_ReadDevInfo(bd_addr, &dev_type, &addr_type);
193 started = btsnd_hcic_ble_remove_from_white_list (addr_type, bd_addr);
195 started = btsnd_hcic_ble_add_white_list (addr_type, bd_addr);
H A Dbtm_acl.c1951 tBLE_ADDR_TYPE addr_type; local
1962 BTM_ReadDevInfo(remote_bda, &dev_type, &addr_type);
H A Dbtm_ble.c66 ** addr_type - LE device address type.
72 tBLE_ADDR_TYPE addr_type)
129 p_dev_rec->ble.ble_addr_type = addr_type;
138 BTM_TRACE_DEBUG ("InqDb device_type =0x%x addr_type=0x%x",
666 BTM_TRACE_DEBUG ("btm_find_dev_type - device_type = %d addr_type = %d", *p_dev_type , *p_addr_type);
809 tBLE_ADDR_TYPE addr_type; local
822 BTM_ReadDevInfo(bd_addr, &dev_type, &addr_type);
1062 p_rec->ble.static_addr_type = p_keys->pid_key.addr_type;
1751 tBLE_ADDR_TYPE addr_type, BOOLEAN addr_matched)
1793 p_dev_rec->ble.ble_addr_type = addr_type;
71 BTM_SecAddBleDevice(BD_ADDR bd_addr, BD_NAME bd_name, tBT_DEVICE_TYPE dev_type, tBLE_ADDR_TYPE addr_type) argument
1750 btm_ble_connected(UINT8 *bda, UINT16 handle, UINT8 enc_mode, UINT8 role, tBLE_ADDR_TYPE addr_type, BOOLEAN addr_matched) argument
[all...]
H A Dbtm_ble_gap.c68 static void btm_ble_process_adv_pkt_cont(BD_ADDR bda, UINT8 addr_type, UINT8 evt_type, UINT8 *p);
730 UINT8 addr_type = BLE_ADDR_RANDOM; local
738 STREAM_TO_UINT8 (addr_type, pp);
756 btm_ble_process_adv_pkt_cont(bda, addr_type, evt_type, pp);
2503 BOOLEAN btm_ble_update_inq_result(tINQ_DB_ENT *p_i, UINT8 addr_type, UINT8 evt_type, UINT8 *p) argument
2529 p_cur->ble_addr_type = addr_type;
2649 void btm_send_sel_conn_callback(BD_ADDR remote_bda, UINT8 evt_type, UINT8 *p_data, UINT8 addr_type) argument
2653 UNUSED(addr_type);
2698 UINT8 addr_type = 0; local
2716 STREAM_TO_UINT8 (addr_type,
2753 btm_ble_process_adv_pkt_cont(BD_ADDR bda, UINT8 addr_type, UINT8 evt_type, UINT8 *p) argument
[all...]
H A Dbtm_sec.c1171 tBLE_ADDR_TYPE addr_type; local
1173 BTM_ReadDevInfo(bd_addr, &dev_type, &addr_type);
/system/bt/btif/src/
H A Dbtif_gatt_server.c390 int addr_type = 0; local
394 if (btif_get_address_type(p_cb->bd_addr.address, &addr_type) &&
398 BTA_DmAddBleDevice(p_cb->bd_addr.address, addr_type, device_type);
H A Dbtif_storage.c183 int *addr_type);
553 const uint8_t addr_type, const bool add_key, bool *device_added, bool *key_found)
570 BTA_DmAddBleDevice(bta_bd_addr, addr_type, BT_DEVICE_TYPE_BLE);
1200 int addr_type; local
1217 if (btif_storage_get_remote_addr_type(&bd_addr, &addr_type) != BT_STATUS_SUCCESS)
1219 addr_type = BLE_ADDR_PUBLIC;
1224 bd_addr, addr_type, add, &device_added, &key_found);
1227 bd_addr, addr_type, add, &device_added, &key_found);
1230 bd_addr, addr_type, add, &device_added, &key_found);
1233 bd_addr, addr_type, ad
552 btif_read_le_key(const uint8_t key_type, const size_t key_len, bt_bdaddr_t bd_addr, const uint8_t addr_type, const bool add_key, bool *device_added, bool *key_found) argument
1254 btif_storage_set_remote_addr_type(bt_bdaddr_t *remote_bd_addr, UINT8 addr_type) argument
[all...]
H A Dbtif_dm.c661 int addr_type; local
670 if (btif_storage_get_remote_addr_type(bd_addr, &addr_type) != BT_STATUS_SUCCESS)
676 (btif_storage_get_remote_addr_type(bd_addr, &addr_type) == BT_STATUS_SUCCESS) &&
679 BTA_DmAddBleDevice(bd_addr->address, addr_type, device_type);
1096 btif_storage_set_remote_addr_type(&bd_addr, p_auth_cmpl->addr_type);
1319 int addr_type = 0; local
1357 addr_type = p_search_data->inq_res.ble_addr_type;
1373 status = btif_storage_set_remote_addr_type(&bdaddr, addr_type);
2904 int addr_type; local
2907 if (btif_storage_get_remote_addr_type(&bdaddr, &addr_type) !
[all...]
H A Dbtif_gatt_client.c143 tBLE_ADDR_TYPE addr_type; member in struct:__anon657
173 uint8_t addr_type; member in struct:__anon658
203 uint8_t addr_type; member in struct:__anon659
230 uint8_t addr_type; member in struct:__anon662
394 static void btif_gattc_add_remote_bdaddr (BD_ADDR p_bda, uint8_t addr_type) argument
402 p_dev_cb->addr_type = addr_type;
413 p_dev_cb->addr_type = addr_type;
462 btif_storage_set_remote_addr_type( &p_btif_cb->bd_addr, p_btif_cb->addr_type);
1189 int addr_type = 0; local
2124 btif_gattc_scan_filter_add_remove(int client_if, int action, int filt_type, int filt_index, int company_id, int company_id_mask, const bt_uuid_t *p_uuid, const bt_uuid_t *p_uuid_mask, const bt_bdaddr_t *bd_addr, char addr_type, int data_len, char* p_data, int mask_len, char* p_mask) argument
2309 btif_gattc_enb_batch_scan(int client_if,int scan_mode, int scan_interval, int scan_window, int addr_type, int discard_rule) argument
[all...]
/system/bt/stack/hcic/
H A Dhciblecmds.c352 BOOLEAN btsnd_hcic_ble_add_white_list (UINT8 addr_type, BD_ADDR bda) argument
368 UINT8_TO_STREAM (pp, addr_type);
375 BOOLEAN btsnd_hcic_ble_remove_from_white_list (UINT8 addr_type, BD_ADDR bda) argument
391 UINT8_TO_STREAM (pp, addr_type);
/system/bt/bta/dm/
H A Dbta_dm_api.c749 ** addr_type - LE device address type.
754 void BTA_DmAddBleDevice(BD_ADDR bd_addr, tBLE_ADDR_TYPE addr_type, tBT_DEVICE_TYPE dev_type) argument
765 p_msg->addr_type = addr_type;
1124 ** addr_type - Address type
1133 tBLE_ADDR_TYPE addr_type,
1145 p_msg->addr_type = addr_type;
1130 BTA_DmBleEnableBatchScan(tBTA_BLE_BATCH_SCAN_MODE scan_mode, UINT32 scan_interval, UINT32 scan_window, tBTA_BLE_DISCARD_RULE discard_rule, tBLE_ADDR_TYPE addr_type, tBTA_DM_BLE_REF_VALUE ref_value) argument
H A Dbta_dm_act.c2284 tBLE_ADDR_TYPE addr_type; local
2286 BTM_ReadDevInfo(remote_bd_addr, &dev_type, &addr_type);
2287 if (dev_type == BT_DEVICE_TYPE_BLE || addr_type == BLE_ADDR_RANDOM)
2839 BTM_ReadDevInfo(bd_addr, &sec_event.auth_cmpl.dev_type, &sec_event.auth_cmpl.addr_type);
2877 BTM_ReadDevInfo(bd_addr, &sec_event.auth_cmpl.dev_type, &sec_event.auth_cmpl.addr_type);
4499 BTM_ReadDevInfo(bda, &sec_event.auth_cmpl.dev_type, &sec_event.auth_cmpl.addr_type);
4617 p_data->add_ble_device.addr_type))
5087 p_data->ble_enable_scan.addr_type,
H A Dbta_dm_int.h405 tBLE_ADDR_TYPE addr_type; member in struct:__anon100
567 tBLE_ADDR_TYPE addr_type; member in struct:__anon119
/system/bt/stack/l2cap/
H A Dl2c_utils.c2234 tBLE_ADDR_TYPE addr_type; local
2237 BTM_ReadDevInfo(p_lcb->remote_bd_addr, &dev_type, &addr_type);
2244 p_lcb->ble_addr_type = addr_type;
/system/bt/stack/smp/
H A Dsmp_keys.c523 tBLE_ADDR_TYPE addr_type = 0; local
528 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, remote_bda, &addr_type))
534 BTM_ReadConnectionAddr( p_cb->pairing_bda, p_cb->local_bda, &p_cb->addr_type);
539 UINT8_TO_STREAM(p, p_cb->addr_type);
541 UINT8_TO_STREAM(p, addr_type);
550 UINT8_TO_STREAM(p, addr_type);
552 UINT8_TO_STREAM(p, p_cb->addr_type);
578 tBLE_ADDR_TYPE addr_type = 0; local
580 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, remote_bda, &addr_type))
H A Dsmp_utils.c1387 tBLE_ADDR_TYPE addr_type = 0; local
1393 BTM_ReadConnectionAddr( p_cb->pairing_bda, bda, &addr_type);
1395 UINT8_TO_STREAM(p, addr_type);
1410 tBLE_ADDR_TYPE addr_type = 0; local
1416 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, bda, &addr_type))
1423 UINT8_TO_STREAM(p, addr_type);
H A Dsmp_int.h334 UINT8 addr_type; member in struct:__anon1282
/system/bt/stack/include/
H A Dbtm_ble_api.h575 tBLE_ADDR_TYPE addr_type; member in struct:__anon1069
876 typedef void (tBTM_BLE_SCAN_REQ_CBACK)(BD_ADDR remote_bda, tBLE_ADDR_TYPE addr_type, UINT8 adv_evt);
898 ** addr_type - LE device address type.
904 tBT_DEVICE_TYPE dev_type, tBLE_ADDR_TYPE addr_type);
1046 tBLE_ADDR_TYPE addr_type - Address type
1055 tBLE_ADDR_TYPE addr_type,
H A Dbtm_api.h1676 tBLE_ADDR_TYPE addr_type; member in struct:__anon1031
/system/bt/bta/include/
H A Dbta_api.h769 tBLE_ADDR_TYPE addr_type; /* Peer device address type */ member in struct:__anon304
1818 ** addr_type - LE device address type.
1823 extern void BTA_DmAddBleDevice(BD_ADDR bd_addr, tBLE_ADDR_TYPE addr_type,
2225 ** addr_type - Address type
2234 tBLE_ADDR_TYPE addr_type,

Completed in 175 milliseconds