Searched refs:device_type (Results 1 - 19 of 19) sorted by relevance

/system/bt/tools/bdtool/
H A Dadapter.c245 bt_device_type_t device_type = property_as_device_type(property); local
246 if (device_type) {
248 const char * device_type; member in struct:__anon1293
255 int idx = (int)device_type;
258 fprintf(stdout, " device_type:%s\n", device_type_lookup[idx].device_type);
/system/bt/stack/btm/
H A Dbtm_dev.c169 p_dev_rec->device_type |= BT_DEVICE_TYPE_BREDR;
302 p_dev_rec->device_type = p_inq_info->results.device_type;
500 p_target_rec->device_type |= temp_rec.device_type;
518 p_target_rec->device_type |= p_dev_rec->device_type;
H A Dbtm_ble_addr.c307 if ((p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) &&
363 BTM_TRACE_DEBUG("sec_flags = %02x device_type = %d", p_dev_rec->sec_flags,
364 p_dev_rec->device_type);
366 if ((p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) &&
H A Dbtm_ble.c128 p_dev_rec->device_type |= dev_type;
137 p_info->results.device_type = p_dev_rec->device_type;
138 BTM_TRACE_DEBUG ("InqDb device_type =0x%x addr_type=0x%x",
139 p_info->results.device_type, p_info->results.ble_addr_type);
632 *p_dev_type = p_inq_info->results.device_type ;
644 p_dev_rec->device_type = p_inq_info->results.device_type;
650 *p_dev_type = p_dev_rec->device_type;
666 BTM_TRACE_DEBUG ("btm_find_dev_type - device_type
[all...]
H A Dbtm_inq.c1911 (p_i && (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0)
1934 || (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0
1968 && (p_i->inq_info.results.device_type == BT_DEVICE_TYPE_BREDR)
2000 p_cur->device_type = BT_DEVICE_TYPE_BREDR;
2004 p_cur->device_type |= BT_DEVICE_TYPE_BREDR;
2015 p_cur->device_type == BT_DEVICE_TYPE_DUMO && p_i->scan_rsp) ||
H A Dbtm_ble_gap.c2545 p_cur->device_type = BT_DEVICE_TYPE_BLE;
2547 p_cur->device_type |= BT_DEVICE_TYPE_BLE;
2599 p_cur->device_type |= BT_DEVICE_TYPE_DUMO;
2632 (p_ent->inq_info.results.device_type == BT_DEVICE_TYPE_BLE) &&
2770 (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) ||
2820 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE &&
H A Dbtm_ble_bgconn.c158 p_dev_rec->device_type & BT_DEVICE_TYPE_BLE)
H A Dbtm_int.h589 tBT_DEVICE_TYPE device_type; member in struct:__anon837
H A Dbtm_acl.c278 BTM_TRACE_DEBUG ("device_type=0x%x", p_dev_rec->device_type);
H A Dbtm_sec.c4520 p_dev_rec->device_type |= BT_DEVICE_TYPE_BREDR;
6406 if (p_dev_rec && (p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE)
/system/bt/btcore/include/
H A Dproperty.h45 bt_property_t *property_new_device_type(bt_device_type_t device_type);
/system/bt/btif/src/
H A Dbtif_gatt_server.c391 int device_type = 0; local
395 btif_get_device_type(p_cb->bd_addr.address, &device_type) &&
396 device_type != BT_DEVICE_TYPE_BREDR)
398 BTA_DmAddBleDevice(p_cb->bd_addr.address, addr_type, device_type);
405 switch(device_type)
423 BTIF_TRACE_ERROR (" GATT Open :Invalid device type %d",device_type);
H A Dbtif_storage.c489 int device_type; local
520 if (btif_config_get_int(name, "DevType", &device_type) &&
521 (device_type == BT_DEVICE_TYPE_DUMO) )
1199 int device_type; local
1207 if (!btif_config_get_int(remote_bd_addr, "DevType", &device_type))
1210 if ((device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE)
H A Dbtif_gatt_client.c208 tBT_DEVICE_TYPE device_type; member in struct:__anon659
457 remote_name_len, p_btif_cb->device_type );
459 p_btif_cb->device_type);
640 dev_type = p_btif_cb->device_type;
1023 btif_cb.device_type = p_data->inq_res.device_type;
1190 int device_type = 0; local
1194 btif_get_device_type(p_cb->bd_addr.address, &device_type) &&
1195 device_type != BT_DEVICE_TYPE_BREDR)
1197 BTA_DmAddBleDevice(p_cb->bd_addr.address, addr_type, device_type);
2211 int device_type = 0; local
[all...]
H A Dbtif_dm.c552 DEV_CLASS dev_class, tBT_DEVICE_TYPE device_type)
602 dev_type = remote_dev_type | device_type;
604 dev_type = device_type;
660 int device_type; local
666 if (!btif_config_get_int((char const *)&bdstr,"DevType", &device_type))
675 if((btif_config_get_int((char const *)&bdstr,"DevType", &device_type) &&
677 (device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE) || (transport == BT_TRANSPORT_LE))
679 BTA_DmAddBleDevice(bd_addr->address, addr_type, device_type);
684 if(is_hid && (device_type & BT_DEVICE_TYPE_BLE) == 0)
1287 BTIF_TRACE_DEBUG("%s() %s device_type
551 btif_update_remote_properties(BD_ADDR bd_addr, BD_NAME bd_name, DEV_CLASS dev_class, tBT_DEVICE_TYPE device_type) argument
[all...]
/system/bt/btcore/test/
H A Dproperty_test.cpp65 TEST_F(PropertyTest, device_type) {
/system/bt/bta/include/
H A Dbta_api.h1049 tBT_DEVICE_TYPE device_type; member in struct:__anon318
1078 tBT_DEVICE_TYPE device_type; /* device type in case it is BLE device */ member in struct:__anon321
/system/bt/bta/dm/
H A Dbta_dm_act.c2318 && (bta_dm_search_cb.p_btm_inq_info->results.device_type == BT_DEVICE_TYPE_BLE)
2371 APPL_TRACE_DEBUG("%s p_btm_inq_info 0x%x results.device_type 0x%x services_to_search 0x%x",
2374 bta_dm_search_cb.p_btm_inq_info->results.device_type,
2471 result.inq_res.device_type = p_inq->device_type;
4352 result.inq_res.device_type = p_inq->device_type;
5554 p_msg->disc_result.result.disc_res.device_type |= BT_DEVICE_TYPE_BLE;
/system/bt/stack/include/
H A Dbtm_api.h613 tBT_DEVICE_TYPE device_type; member in struct:__anon987

Completed in 138 milliseconds