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

/system/bt/osi/include/
H A Dmetrics.h122 * device_type: type of remote device
127 uint32_t device_class, device_type_t device_type);
193 * device_type : type of remote device
196 device_type_t device_type);
/system/extras/tests/bootloader/
H A Dbootloadertest.py24 device_type = "phone" variable
210 if device_type == "iot":
220 if args.device_type.lower() not in ("phone", "iot"):
221 raise ValueError("Unsupported device type '%s'." % args.device_type)
222 device_type = args.device_type.lower() variable
/system/bt/stack/btm/
H A Dbtm_dev.cc145 p_dev_rec->device_type |= BT_DEVICE_TYPE_BREDR;
238 p_dev_rec->device_type = p_inq_info->results.device_type;
403 p_target_rec->device_type |= temp_rec.device_type;
419 p_target_rec->device_type |= p_dev_rec->device_type;
H A Dbtm_ble_addr.cc238 if ((p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) &&
287 BTM_TRACE_DEBUG("sec_flags = %02x device_type = %d", p_dev_rec->sec_flags,
288 p_dev_rec->device_type);
290 if (!(p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) ||
H A Dbtm_ble.cc99 p_dev_rec->device_type |= dev_type;
107 p_info->results.device_type = p_dev_rec->device_type;
108 BTM_TRACE_DEBUG("InqDb device_type =0x%x addr_type=0x%x",
109 p_info->results.device_type, p_info->results.ble_addr_type);
611 *p_dev_type = p_inq_info->results.device_type;
621 p_dev_rec->device_type = p_inq_info->results.device_type;
626 *p_dev_type = p_dev_rec->device_type;
638 BTM_TRACE_DEBUG("btm_find_dev_type - device_type
[all...]
H A Dbtm_ble_gap.cc1760 p_cur->device_type = BT_DEVICE_TYPE_BLE;
1762 p_cur->device_type |= BT_DEVICE_TYPE_BLE;
1811 p_cur->device_type |= BT_DEVICE_TYPE_DUMO;
1838 (p_ent->inq_info.results.device_type == BT_DEVICE_TYPE_BLE) &&
2052 if (p_i && (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) ||
2099 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) ==
H A Dbtm_inq.cc1748 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0))) {
1766 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0)) {
1798 (p_i->inq_info.results.device_type == BT_DEVICE_TYPE_BREDR))
1825 p_cur->device_type = BT_DEVICE_TYPE_BREDR;
1828 p_cur->device_type |= BT_DEVICE_TYPE_BREDR;
1838 p_cur->device_type == BT_DEVICE_TYPE_DUMO && p_i->scan_rsp) ||
H A Dbtm_ble_bgconn.cc180 if (p_dev_rec != NULL && p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) {
H A Dbtm_int_types.h579 tBT_DEVICE_TYPE device_type; member in struct:__anon882
H A Dbtm_acl.cc243 BTM_TRACE_DEBUG("device_type=0x%x", p_dev_rec->device_type);
H A Dbtm_sec.cc4336 p_dev_rec->device_type |= BT_DEVICE_TYPE_BREDR;
6022 (p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE)
/system/bt/tools/bdtool/
H A Dadapter.c221 bt_device_type_t device_type = property_as_device_type(property); local
222 if (device_type) {
224 const char* device_type; member in struct:__anon1282
231 int idx = (int)device_type;
233 fprintf(stdout, " device_type:%s\n",
234 device_type_lookup[idx].device_type);
/system/bt/btif/src/
H A Dbtif_gatt_client.cc257 int device_type = 0;
261 btif_get_device_type(address, &device_type) &&
262 device_type != BT_DEVICE_TYPE_BREDR) {
263 BTA_DmAddBleDevice(address, addr_type, device_type);
288 switch (device_type) {
308 transport, device_type, initiating_phys);
586 int device_type = 0;
588 if (btif_config_get_int(bd_addr.ToString().c_str(), "DevType", &device_type))
589 return device_type;
H A Dbtif_ble_scanner.cc131 void bta_scan_results_cb_impl(RawAddress bd_addr, tBT_DEVICE_TYPE device_type, argument
170 __func__, bdname.name, remote_name_len, device_type);
171 btif_dm_update_ble_remote_properties(bd_addr, bdname.name, device_type);
176 dev_type = (bt_device_type_t)device_type;
213 do_in_jni_thread(Bind(bta_scan_results_cb_impl, r->bd_addr, r->device_type,
H A Dbtif_gatt_server.cc287 int device_type = 0; local
291 btif_get_device_type(address, &device_type) &&
292 device_type != BT_DEVICE_TYPE_BREDR) {
293 BTA_DmAddBleDevice(address, addr_type, device_type);
303 switch (device_type) {
H A Dbtif_dm.cc552 tBT_DEVICE_TYPE device_type) {
604 dev_type = (bt_device_type_t)(remote_dev_type | device_type);
606 dev_type = (bt_device_type_t)device_type;
660 int device_type; local
665 if (!btif_config_get_int(bdstr, "DevType", &device_type)) {
680 if ((btif_config_get_int(bdstr, "DevType", &device_type) &&
683 (device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE) ||
685 BTA_DmAddBleDevice(bd_addr, addr_type, device_type);
688 if (is_hid && (device_type & BT_DEVICE_TYPE_BLE) == 0) {
1236 BTIF_TRACE_DEBUG("%s() %s device_type
550 btif_update_remote_properties(const RawAddress& bdaddr, BD_NAME bd_name, DEV_CLASS dev_class, tBT_DEVICE_TYPE device_type) argument
3228 system_bt_osi::device_type_t device_type; local
[all...]
H A Dbtif_storage.cc427 int device_type; local
453 if (btif_config_get_int(name, "DevType", &device_type) &&
454 (device_type == BT_DEVICE_TYPE_DUMO)) {
1127 int device_type; local
1132 if (!btif_config_get_int(remote_bd_addr, "DevType", &device_type))
1135 if ((device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE ||
/system/bt/btcore/include/
H A Dproperty.h46 bt_property_t* property_new_device_type(bt_device_type_t device_type);
/system/bt/osi/src/
H A Dmetrics_linux.cc141 device_type_t device_type) {
170 uint32_t device_class, device_type_t device_type) {
138 LogPairEvent(uint32_t disconnect_reason, uint64_t timestamp_ms, uint32_t device_class, device_type_t device_type) argument
169 LogBluetoothSessionDeviceInfo( uint32_t device_class, device_type_t device_type) argument
H A Dmetrics.cc263 device_type_t device_type) {
267 info->set_device_type(get_device_type(device_type));
357 uint32_t device_class, device_type_t device_type) {
260 LogPairEvent(uint32_t disconnect_reason, uint64_t timestamp_ms, uint32_t device_class, device_type_t device_type) argument
356 LogBluetoothSessionDeviceInfo( uint32_t device_class, device_type_t device_type) argument
/system/bt/bta/include/
H A Dbta_api.h740 tBT_DEVICE_TYPE device_type; member in struct:__anon284
763 tBT_DEVICE_TYPE device_type; /* device type in case it is BLE device */ member in struct:__anon287
/system/bt/btcore/test/
H A Dproperty_test.cc63 TEST_F(PropertyTest, device_type) {
/system/bt/osi/test/
H A Dmetrics_test.cc70 DeviceInfo_DeviceType device_type) {
73 info->set_device_type(device_type);
69 MakeDeviceInfo(int32_t device_class, DeviceInfo_DeviceType device_type) argument
/system/bt/bta/dm/
H A Dbta_dm_act.cc2103 (bta_dm_search_cb.p_btm_inq_info->results.device_type ==
2151 "%s p_btm_inq_info 0x%x results.device_type 0x%x "
2154 bta_dm_search_cb.p_btm_inq_info->results.device_type,
2236 result.inq_res.device_type = p_inq->device_type;
3942 result.inq_res.device_type = p_inq->device_type;
4559 p_msg->disc_result.result.disc_res.device_type |= BT_DEVICE_TYPE_BLE;
/system/bt/stack/include/
H A Dbtm_api_types.h647 tBT_DEVICE_TYPE device_type; member in struct:__anon1029

Completed in 2146 milliseconds