/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | device_boutique.cc | 34 bool DeviceBoutique::Register(const std::string& device_type, in Register() argument 36 LOG_INFO(LOG_TAG, "Registering %s", device_type.c_str()); in Register() 37 GetMap()[device_type] = device_constructor; in Register()
|
D | device_boutique.h | 35 …static bool Register(const std::string& device_type, const std::function<std::shared_ptr<Device>()…
|
/system/bt/service/common/bluetooth/ |
D | remote_device_props.cc | 28 int32_t device_class, int32_t device_type, in RemoteDeviceProps() argument 34 device_type_(device_type), in RemoteDeviceProps()
|
D | remote_device_props.h | 32 int32_t device_class, int32_t device_type, int32_t rssi); 41 int32_t device_type() const { return device_type_; } in device_type() function
|
/system/bt/tools/bdtool/ |
D | adapter.c | 221 bt_device_type_t device_type = property_as_device_type(property); in parse_properties() local 222 if (device_type) { in parse_properties() 224 const char* device_type; in parse_properties() member 231 int idx = (int)device_type; in parse_properties() 234 device_type_lookup[idx].device_type); in parse_properties()
|
/system/extras/tests/bootloader/ |
D | bootloadertest.py | 24 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/ |
D | btm_dev.cc | 147 p_dev_rec->device_type |= BT_DEVICE_TYPE_BREDR; in BTM_SecAddDevice() 251 p_dev_rec->device_type = p_inq_info->results.device_type; in btm_sec_alloc_dev() 401 p_target_rec->device_type |= temp_rec.device_type; in btm_consolidate_dev() 419 p_target_rec->device_type |= p_dev_rec->device_type; in btm_consolidate_dev()
|
D | btm_ble_addr.cc | 202 if ((p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) && in btm_ble_addr_resolvable() 224 p_dev_rec->device_type); in btm_ble_match_random_bda() 226 if (!(p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) || in btm_ble_match_random_bda()
|
D | btm_ble.cc | 100 p_dev_rec->device_type |= dev_type; in BTM_SecAddBleDevice() 108 p_info->results.device_type = p_dev_rec->device_type; in BTM_SecAddBleDevice() 110 p_info->results.device_type, p_info->results.ble_addr_type); in BTM_SecAddBleDevice() 573 *p_dev_type = p_inq_info->results.device_type; in BTM_ReadDevInfo() 583 p_dev_rec->device_type = p_inq_info->results.device_type; in BTM_ReadDevInfo() 588 *p_dev_type = p_dev_rec->device_type; in BTM_ReadDevInfo() 629 } else if (p_dev_rec->device_type & BT_DEVICE_TYPE_BREDR) { in BTM_ReadConnectedTransportAddress() 1867 p_dev_rec->device_type |= BT_DEVICE_TYPE_BLE; in btm_ble_connected()
|
D | btm_ble_bgconn.cc | 169 if (p_dev_rec == NULL || (p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) == 0) in BTM_BackgroundConnectAddressKnown() 198 if (p_dev_rec != NULL && p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) { in btm_add_dev_to_controller()
|
D | btm_inq.cc | 1671 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0))) { in btm_process_inq_results() 1689 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0)) { in btm_process_inq_results() 1721 (p_i->inq_info.results.device_type == BT_DEVICE_TYPE_BREDR)) in btm_process_inq_results() 1748 p_cur->device_type = BT_DEVICE_TYPE_BREDR; in btm_process_inq_results() 1751 p_cur->device_type |= BT_DEVICE_TYPE_BREDR; in btm_process_inq_results() 1761 p_cur->device_type == BT_DEVICE_TYPE_DUMO && p_i->scan_rsp) || in btm_process_inq_results()
|
D | btm_ble_gap.cc | 1656 p_cur->device_type = BT_DEVICE_TYPE_BLE; in btm_ble_update_inq_result() 1658 p_cur->device_type |= BT_DEVICE_TYPE_BLE; in btm_ble_update_inq_result() 1707 p_cur->device_type |= BT_DEVICE_TYPE_DUMO; in btm_ble_update_inq_result() 1734 (p_ent->inq_info.results.device_type == BT_DEVICE_TYPE_BLE) && in btm_clear_all_pending_le_entry() 1960 if (p_i && (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) || in btm_ble_process_adv_pkt_cont() 2007 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) == in btm_ble_process_adv_pkt_cont()
|
/system/bt/common/ |
D | metrics_linux.cc | 48 device_type_t device_type) {} in LogPairEvent() argument 67 uint32_t device_class, device_type_t device_type) {} in LogBluetoothSessionDeviceInfo() argument
|
D | metrics.h | 134 uint32_t device_class, device_type_t device_type); 203 device_type_t device_type);
|
D | metrics.cc | 296 device_type_t device_type) { in LogPairEvent() argument 300 info->set_device_type(get_device_type(device_type)); in LogPairEvent() 391 uint32_t device_class, device_type_t device_type) { in LogBluetoothSessionDeviceInfo() argument
|
/system/bt/btif/src/ |
D | btif_gatt_client.cc | 258 int device_type = 0; in btif_gattc_open_impl() local 262 btif_get_device_type(address, &device_type) && in btif_gattc_open_impl() 263 device_type != BT_DEVICE_TYPE_BREDR) { in btif_gattc_open_impl() 264 BTA_DmAddBleDevice(address, addr_type, device_type); in btif_gattc_open_impl() 288 switch (device_type) { in btif_gattc_open_impl() 308 transport, device_type, initiating_phys); in btif_gattc_open_impl() 582 int device_type = 0; in btif_gattc_get_device_type() local 584 if (btif_config_get_int(bd_addr.ToString().c_str(), "DevType", &device_type)) in btif_gattc_get_device_type() 585 return device_type; in btif_gattc_get_device_type()
|
D | btif_ble_scanner.cc | 104 void bta_scan_results_cb_impl(RawAddress bd_addr, tBT_DEVICE_TYPE device_type, in bta_scan_results_cb_impl() argument 143 __func__, bdname.name, remote_name_len, device_type); in bta_scan_results_cb_impl() 144 btif_dm_update_ble_remote_properties(bd_addr, bdname.name, device_type); in bta_scan_results_cb_impl() 149 dev_type = (bt_device_type_t)device_type; in bta_scan_results_cb_impl() 186 do_in_jni_thread(Bind(bta_scan_results_cb_impl, r->bd_addr, r->device_type, in bta_scan_results_cb()
|
D | btif_gatt_server.cc | 285 int device_type = 0; in btif_gatts_open_impl() local 289 btif_get_device_type(address, &device_type) && in btif_gatts_open_impl() 290 device_type != BT_DEVICE_TYPE_BREDR) { in btif_gatts_open_impl() 291 BTA_DmAddBleDevice(address, addr_type, device_type); in btif_gatts_open_impl() 298 switch (device_type) { in btif_gatts_open_impl()
|
D | btif_dm.cc | 558 tBT_DEVICE_TYPE device_type) { in btif_update_remote_properties() argument 610 dev_type = (bt_device_type_t)(remote_dev_type | device_type); in btif_update_remote_properties() 612 dev_type = (bt_device_type_t)device_type; in btif_update_remote_properties() 666 int device_type; in btif_dm_cb_create_bond() local 671 if (!btif_config_get_int(bdstr, "DevType", &device_type)) { in btif_dm_cb_create_bond() 686 if ((btif_config_get_int(bdstr, "DevType", &device_type) && in btif_dm_cb_create_bond() 689 (device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE) || in btif_dm_cb_create_bond() 691 BTA_DmAddBleDevice(bd_addr, addr_type, device_type); in btif_dm_cb_create_bond() 694 if (is_hid && (device_type & BT_DEVICE_TYPE_BLE) == 0) { in btif_dm_cb_create_bond() 1264 p_search_data->inq_res.device_type); in btif_dm_search_devices_evt() [all …]
|
D | btif_storage.cc | 453 int device_type; in btif_in_fetch_bonded_devices() local 479 if (btif_config_get_int(name, "DevType", &device_type) && in btif_in_fetch_bonded_devices() 480 (device_type == BT_DEVICE_TYPE_DUMO)) { in btif_in_fetch_bonded_devices() 1249 int device_type; in btif_in_fetch_bonded_ble_device() local 1254 if (!btif_config_get_int(remote_bd_addr, "DevType", &device_type)) in btif_in_fetch_bonded_ble_device() 1257 if ((device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE || in btif_in_fetch_bonded_ble_device()
|
/system/bt/btcore/include/ |
D | property.h | 47 bt_property_t* property_new_device_type(bt_device_type_t device_type);
|
/system/bt/service/ |
D | adapter.cc | 53 int32_t device_type = 0; in ParseRemoteDeviceProps() local 104 device_type = *reinterpret_cast<const int32_t*>(property->val); in ParseRemoteDeviceProps() 123 device_type, rssi); in ParseRemoteDeviceProps()
|
/system/bt/btcore/test/ |
D | property_test.cc | 65 TEST_F(PropertyTest, device_type) { in TEST_F() argument
|
/system/bt/bta/include/ |
D | bta_api.h | 734 tBT_DEVICE_TYPE device_type; member 757 tBT_DEVICE_TYPE device_type; /* device type in case it is BLE device */ member
|
/system/bt/proto/bluetooth/metrics/ |
D | bluetooth.proto | 81 optional DeviceType device_type = 2; field
|