Lines Matching refs:p_search_data
310 static bool check_eir_remote_name(tBTA_DM_SEARCH* p_search_data, in check_eir_remote_name() argument
317 if (p_search_data->inq_res.p_eir) { in check_eir_remote_name()
319 p_search_data->inq_res.p_eir, p_search_data->inq_res.eir_len, in check_eir_remote_name()
323 p_search_data->inq_res.p_eir, p_search_data->inq_res.eir_len, in check_eir_remote_name()
353 static bool check_cached_remote_name(tBTA_DM_SEARCH* p_search_data, in check_cached_remote_name() argument
364 &p_search_data->inq_res.bd_addr, &prop_name) == BT_STATUS_SUCCESS) { in check_cached_remote_name()
1115 tBTA_DM_SEARCH* p_search_data) { in btif_dm_search_devices_evt() argument
1121 if (strlen((const char*)p_search_data->disc_res.bd_name)) { in btif_dm_search_devices_evt()
1126 properties[0].val = p_search_data->disc_res.bd_name; in btif_dm_search_devices_evt()
1127 properties[0].len = strlen((char*)p_search_data->disc_res.bd_name); in btif_dm_search_devices_evt()
1128 RawAddress& bdaddr = p_search_data->disc_res.bd_addr; in btif_dm_search_devices_evt()
1145 p_search_data->inq_res.remt_name_not_required = in btif_dm_search_devices_evt()
1146 check_eir_remote_name(p_search_data, NULL, NULL); in btif_dm_search_devices_evt()
1147 RawAddress& bdaddr = p_search_data->inq_res.bd_addr; in btif_dm_search_devices_evt()
1151 p_search_data->inq_res.device_type); in btif_dm_search_devices_evt()
1154 if (!check_eir_remote_name(p_search_data, bdname.name, &remote_name_len)) in btif_dm_search_devices_evt()
1155 check_cached_remote_name(p_search_data, bdname.name, &remote_name_len); in btif_dm_search_devices_evt()
1158 if (p_search_data->inq_res.p_eir) { in btif_dm_search_devices_evt()
1159 BTA_GetEirService(p_search_data->inq_res.p_eir, in btif_dm_search_devices_evt()
1160 p_search_data->inq_res.eir_len, &services); in btif_dm_search_devices_evt()
1189 uint32_t cod = devclass2uint(p_search_data->inq_res.dev_class); in btif_dm_search_devices_evt()
1205 p_search_data->inq_res.device_type == BT_DEVICE_TYPE_BREDR) || in btif_dm_search_devices_evt()
1207 p_search_data->inq_res.device_type == BT_DEVICE_TYPE_BLE))) { in btif_dm_search_devices_evt()
1210 dev_type = (bt_device_type_t)p_search_data->inq_res.device_type; in btif_dm_search_devices_evt()
1213 if (p_search_data->inq_res.device_type == BT_DEVICE_TYPE_BLE) in btif_dm_search_devices_evt()
1214 addr_type = p_search_data->inq_res.ble_addr_type; in btif_dm_search_devices_evt()
1222 &(p_search_data->inq_res.rssi)); in btif_dm_search_devices_evt()