Home
last modified time | relevance | path

Searched refs:device_type (Results 1 – 25 of 25) sorted by relevance

/system/bt/tools/bdtool/
Dadapter.c245 bt_device_type_t device_type = property_as_device_type(property); in parse_properties() local
246 if (device_type) { in parse_properties()
248 const char * device_type; in parse_properties() member
255 int idx = (int)device_type; in parse_properties()
258 fprintf(stdout, " device_type:%s\n", device_type_lookup[idx].device_type); in parse_properties()
/system/bt/stack/btm/
Dbtm_dev.c161 p_dev_rec->device_type |= BT_DEVICE_TYPE_BREDR; in BTM_SecAddDevice()
265 p_dev_rec->device_type = p_inq_info->results.device_type; in btm_sec_alloc_dev()
469 p_target_rec->device_type |= temp_rec.device_type; in btm_consolidate_dev()
489 p_target_rec->device_type |= p_dev_rec->device_type; in btm_consolidate_dev()
Dbtm_ble_addr.c281 if ((p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) && in btm_ble_addr_resolvable()
335 p_dev_rec->device_type); in btm_ble_match_random_bda()
337 if (!(p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) || in btm_ble_match_random_bda()
Dbtm_ble.c108 p_dev_rec->device_type |= dev_type; in BTM_SecAddBleDevice()
117 p_info->results.device_type = p_dev_rec->device_type; in BTM_SecAddBleDevice()
119 p_info->results.device_type, p_info->results.ble_addr_type); in BTM_SecAddBleDevice()
614 *p_dev_type = p_inq_info->results.device_type ; in BTM_ReadDevInfo()
626 p_dev_rec->device_type = p_inq_info->results.device_type; in BTM_ReadDevInfo()
632 *p_dev_type = p_dev_rec->device_type; in BTM_ReadDevInfo()
679 else if (p_dev_rec->device_type & BT_DEVICE_TYPE_BREDR) in BTM_ReadConnectedTransportAddress()
1877 p_dev_rec->device_type |= BT_DEVICE_TYPE_BLE; in btm_ble_connected()
Dbtm_inq.c1916 (p_i && (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0) in btm_process_inq_results()
1939 || (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0 in btm_process_inq_results()
1973 && (p_i->inq_info.results.device_type == BT_DEVICE_TYPE_BREDR) in btm_process_inq_results()
2005 p_cur->device_type = BT_DEVICE_TYPE_BREDR; in btm_process_inq_results()
2009 p_cur->device_type |= BT_DEVICE_TYPE_BREDR; in btm_process_inq_results()
2020 p_cur->device_type == BT_DEVICE_TYPE_DUMO && p_i->scan_rsp) || in btm_process_inq_results()
Dbtm_ble_gap.c2566 p_cur->device_type = BT_DEVICE_TYPE_BLE; in btm_ble_update_inq_result()
2568 p_cur->device_type |= BT_DEVICE_TYPE_BLE; in btm_ble_update_inq_result()
2620 p_cur->device_type |= BT_DEVICE_TYPE_DUMO; in btm_ble_update_inq_result()
2653 (p_ent->inq_info.results.device_type == BT_DEVICE_TYPE_BLE) && in btm_clear_all_pending_le_entry()
2791 (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) || in btm_ble_process_adv_pkt_cont()
2841 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE && in btm_ble_process_adv_pkt_cont()
Dbtm_ble_bgconn.c155 if (p_dev_rec != NULL && p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) { in btm_add_dev_to_controller()
Dbtm_int.h593 tBT_DEVICE_TYPE device_type; member
Dbtm_acl.c282 BTM_TRACE_DEBUG ("device_type=0x%x", p_dev_rec->device_type); in btm_acl_created()
Dbtm_sec.c4483 p_dev_rec->device_type |= BT_DEVICE_TYPE_BREDR; in btm_sec_connected()
6286 if (p_dev_rec && (p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE) in btm_sec_is_le_capable_dev()
/system/bt/osi/src/
Dmetrics.cpp59 uint32_t device_class, device_type_t device_type) { in metrics_pair_event() argument
71 if (device_type == DEVICE_TYPE_BREDR) in metrics_pair_event()
73 if (device_type == DEVICE_TYPE_LE) in metrics_pair_event()
75 if (device_type == DEVICE_TYPE_DUMO) in metrics_pair_event()
Dmetrics_linux.cpp27 uint32_t device_class, device_type_t device_type) { in metrics_pair_event() argument
/system/connectivity/shill/test-scripts/
Dflimflam.py134 def _FindDevice(self, device_type, timeout): argument
150 device_type)
162 def _FindService(self, device_type, timeout): argument
178 'Type', device_type)
478 def ShutdownAllExcept(self, device_type): argument
482 if (device_properties["Type"] != device_type):
/system/bt/btif/src/
Dbtif_gatt_server.c384 int device_type = 0; in btgatts_handle_event() local
388 btif_get_device_type(p_cb->bd_addr.address, &device_type) && in btgatts_handle_event()
389 device_type != BT_DEVICE_TYPE_BREDR) in btgatts_handle_event()
391 BTA_DmAddBleDevice(p_cb->bd_addr.address, addr_type, device_type); in btgatts_handle_event()
403 switch(device_type) in btgatts_handle_event()
421 BTIF_TRACE_ERROR ("%s: Invalid device type %d", __func__, device_type); in btgatts_handle_event()
Dbtif_dm.c599 DEV_CLASS dev_class, tBT_DEVICE_TYPE device_type) in btif_update_remote_properties() argument
649 dev_type = remote_dev_type | device_type; in btif_update_remote_properties()
651 dev_type = device_type; in btif_update_remote_properties()
707 int device_type; in btif_dm_cb_create_bond() local
713 if (!btif_config_get_int((char const *)&bdstr,"DevType", &device_type)) in btif_dm_cb_create_bond()
722 if((btif_config_get_int((char const *)&bdstr,"DevType", &device_type) && in btif_dm_cb_create_bond()
724 (device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE) || (transport == BT_TRANSPORT_LE)) in btif_dm_cb_create_bond()
726 BTA_DmAddBleDevice(bd_addr->address, addr_type, device_type); in btif_dm_cb_create_bond()
731 if(is_hid && (device_type & BT_DEVICE_TYPE_BLE) == 0) in btif_dm_cb_create_bond()
1339 p_search_data->inq_res.device_type); in btif_dm_search_devices_evt()
[all …]
Dbtif_gatt_client.c203 tBT_DEVICE_TYPE device_type; member
439 remote_name_len, p_btif_cb->device_type ); in btif_gattc_update_properties()
441 p_btif_cb->device_type); in btif_gattc_update_properties()
598 dev_type = p_btif_cb->device_type; in btif_gattc_upstreams_evt()
982 btif_cb.device_type = p_data->inq_res.device_type; in bta_scan_results_cb()
1141 int device_type = 0; in btgattc_handle_event() local
1145 btif_get_device_type(p_cb->bd_addr.address, &device_type) && in btgattc_handle_event()
1146 device_type != BT_DEVICE_TYPE_BREDR) in btgattc_handle_event()
1148 BTA_DmAddBleDevice(p_cb->bd_addr.address, addr_type, device_type); in btgattc_handle_event()
1178 switch(device_type) in btgattc_handle_event()
[all …]
Dbtif_storage.c441 int device_type; in btif_in_fetch_bonded_devices() local
467 if (btif_config_get_int(name, "DevType", &device_type) && in btif_in_fetch_bonded_devices()
468 (device_type == BT_DEVICE_TYPE_DUMO) ) { in btif_in_fetch_bonded_devices()
1189 int device_type; in btif_in_fetch_bonded_ble_device() local
1196 if (!btif_config_get_int(remote_bd_addr, "DevType", &device_type)) in btif_in_fetch_bonded_ble_device()
1199 if ((device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE) in btif_in_fetch_bonded_ble_device()
/system/bt/osi/include/
Dmetrics.h35 uint32_t device_class, device_type_t device_type);
/system/bt/btcore/include/
Dproperty.h45 bt_property_t *property_new_device_type(bt_device_type_t device_type);
/system/connectivity/shill/test-rpc-proxy/
Dproxy_dbus_shill_wifi_client.cc417 brillo::Any device_type; in ListControlledWifiInterfaces() local
420 device.get(), shill::kTypeProperty, &device_type)) { in ListControlledWifiInterfaces()
423 if (device_type.Get<std::string>() == shill::kTypeWifi) { in ListControlledWifiInterfaces()
/system/bt/btcore/test/
Dproperty_test.cpp65 TEST_F(PropertyTest, device_type) { in TEST_F() argument
/system/bt/osi/src/protos/
Dbluetooth.proto50 optional DeviceType device_type = 2; field
/system/bt/bta/include/
Dbta_api.h997 tBT_DEVICE_TYPE device_type; member
1025 tBT_DEVICE_TYPE device_type; /* device type in case it is BLE device */ member
/system/bt/bta/dm/
Dbta_dm_act.c2270 && (bta_dm_search_cb.p_btm_inq_info->results.device_type == BT_DEVICE_TYPE_BLE) in bta_dm_discover_device()
2326 bta_dm_search_cb.p_btm_inq_info->results.device_type, in bta_dm_discover_device()
2416 result.inq_res.device_type = p_inq->device_type; in bta_dm_inq_results_cb()
4267 result.inq_res.device_type = p_inq->device_type; in bta_dm_observe_results_cb()
5440 p_msg->disc_result.result.disc_res.device_type |= BT_DEVICE_TYPE_BLE; in bta_dm_gatt_disc_complete()
/system/bt/stack/include/
Dbtm_api.h611 tBT_DEVICE_TYPE device_type; member