/packages/modules/Bluetooth/system/gd/storage/ |
D | device.cc | 96 auto device_type = GetDeviceType(); in Le() local 97 ASSERT(device_type); in Le() 98 ASSERT(device_type == DeviceType::LE || device_type == DeviceType::DUAL); in Le() 103 auto device_type = GetDeviceType(); in Classic() local 104 ASSERT(device_type); in Classic() 105 ASSERT(device_type == DeviceType::BR_EDR || device_type == DeviceType::DUAL); in Classic()
|
D | config_cache.cc | 436 hci::DeviceType device_type = hci::DeviceType::BR_EDR; in FixDeviceTypeInconsistencyInSection() local 446 device_type = hci::DeviceType::DUAL; in FixDeviceTypeInconsistencyInSection() 448 device_type = hci::DeviceType::BR_EDR; in FixDeviceTypeInconsistencyInSection() 450 device_type = hci::DeviceType::LE; in FixDeviceTypeInconsistencyInSection() 453 std::string device_type_str = std::to_string(device_type); in FixDeviceTypeInconsistencyInSection()
|
/packages/modules/Bluetooth/system/tools/bdtool/ |
D | adapter.c | 224 bt_device_type_t device_type = property_as_device_type(property); in parse_properties() local 225 if (device_type) { in parse_properties() 227 const char* device_type; in parse_properties() member 234 int idx = (int)device_type; in parse_properties() 237 device_type_lookup[idx].device_type); in parse_properties()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_gatt_client.cc | 312 int device_type = 0; in btif_gattc_open_impl() local 316 btif_get_device_type(address, &device_type) && in btif_gattc_open_impl() 317 device_type != BT_DEVICE_TYPE_BREDR) { in btif_gattc_open_impl() 318 BTA_DmAddBleDevice(address, addr_type, device_type); in btif_gattc_open_impl() 342 switch (device_type) { in btif_gattc_open_impl() 358 LOG_ERROR("Unknown device type %d", +device_type); in btif_gattc_open_impl() 365 device_type, addr_type, initiating_phys); in btif_gattc_open_impl() 677 int device_type = 0; in btif_gattc_get_device_type() local 679 if (btif_config_get_int(bd_addr.ToString().c_str(), "DevType", &device_type)) in btif_gattc_get_device_type() 680 return device_type; in btif_gattc_get_device_type()
|
D | btif_dm.cc | 601 tBT_DEVICE_TYPE device_type) { in btif_update_remote_properties() argument 659 dev_type = (bt_device_type_t)(remote_dev_type | device_type); in btif_update_remote_properties() 661 dev_type = (bt_device_type_t)device_type; in btif_update_remote_properties() 726 int device_type = 0; in btif_dm_cb_create_bond() local 731 if (!btif_config_get_int(bdstr, "DevType", &device_type)) { in btif_dm_cb_create_bond() 746 if ((btif_config_get_int(bdstr, "DevType", &device_type) && in btif_dm_cb_create_bond() 749 (device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE) || in btif_dm_cb_create_bond() 752 static_cast<tBT_DEVICE_TYPE>(device_type)); in btif_dm_cb_create_bond() 755 if (is_hid && (device_type & BT_DEVICE_TYPE_BLE) == 0) { in btif_dm_cb_create_bond() 760 BTA_DmBond(bd_addr, addr_type, transport, device_type); in btif_dm_cb_create_bond() [all …]
|
D | btif_gatt_server.cc | 289 int device_type = 0; in btif_gatts_open_impl() local 293 btif_get_device_type(address, &device_type) && in btif_gatts_open_impl() 294 device_type != BT_DEVICE_TYPE_BREDR) { in btif_gatts_open_impl() 295 BTA_DmAddBleDevice(address, addr_type, device_type); in btif_gatts_open_impl() 302 switch (device_type) { in btif_gatts_open_impl()
|
D | btif_sock.cc | 333 int device_type = 0; in btsock_connect() local 336 btif_get_device_type(*bd_addr, &device_type) && in btsock_connect() 337 device_type != BT_DEVICE_TYPE_BREDR) { in btsock_connect() 338 BTA_DmAddBleDevice(*bd_addr, addr_type, device_type); in btsock_connect()
|
D | btif_ble_scanner.cc | 108 void bta_scan_results_cb_impl(RawAddress bd_addr, tBT_DEVICE_TYPE device_type, in bta_scan_results_cb_impl() argument 146 bdname.name, remote_name_len, device_type); in bta_scan_results_cb_impl() 147 btif_dm_update_ble_remote_properties(bd_addr, bdname.name, device_type); in bta_scan_results_cb_impl() 152 dev_type = (bt_device_type_t)device_type; in bta_scan_results_cb_impl() 191 Bind(bta_scan_results_cb_impl, r->bd_addr, r->device_type, r->rssi, in bta_scan_results_cb()
|
D | btif_storage.cc | 473 int device_type; in btif_in_fetch_bonded_devices() local 494 if (btif_config_get_int(name, "DevType", &device_type) && in btif_in_fetch_bonded_devices() 495 (device_type == BT_DEVICE_TYPE_DUMO)) { in btif_in_fetch_bonded_devices() 1368 int device_type; in btif_in_fetch_bonded_ble_device() local 1373 if (!btif_config_get_int(remote_bd_addr, "DevType", &device_type)) in btif_in_fetch_bonded_ble_device() 1376 if ((device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE || in btif_in_fetch_bonded_ble_device() 1439 const tBT_DEVICE_TYPE& device_type) { in btif_storage_set_remote_device_type() argument 1441 static_cast<int>(device_type))) in btif_storage_set_remote_device_type() 1477 tBT_DEVICE_TYPE& device_type) { in btif_storage_get_remote_device_type() argument 1481 device_type = static_cast<tBT_DEVICE_TYPE>(val); in btif_storage_get_remote_device_type()
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | security_device_record.h | 410 tBT_DEVICE_TYPE device_type; member 412 return device_type == BT_DEVICE_TYPE_BREDR; in is_device_type_br_edr() 414 bool is_device_type_ble() const { return device_type == BT_DEVICE_TYPE_BLE; } in is_device_type_ble() 416 return device_type == BT_DEVICE_TYPE_DUMO; in is_device_type_dual_mode() 420 return device_type & BT_DEVICE_TYPE_BLE; in is_device_type_has_ble() 444 PRIVATE_ADDRESS(bd_addr), DeviceTypeText(device_type).c_str(), in ToString()
|
D | btm_dev.cc | 129 p_dev_rec->device_type |= BT_DEVICE_TYPE_BREDR; in BTM_SecAddDevice() 249 p_dev_rec->device_type = p_inq_info->results.device_type; in btm_sec_alloc_dev() 433 p_target_rec->device_type |= temp_rec.device_type; in btm_consolidate_dev() 450 p_target_rec->device_type |= p_dev_rec->device_type; in btm_consolidate_dev()
|
D | btm_ble_bgconn.cc | 156 if (p_dev_rec == NULL || (p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) == 0) in BTM_BackgroundConnectAddressKnown() 210 if (p_dev_rec != NULL && p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) { in BTM_AcceptlistAdd() 227 if (p_dev_rec != NULL && p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) { in BTM_AcceptlistRemove()
|
D | btm_ble.cc | 112 p_dev_rec->device_type |= dev_type; in BTM_SecAddBleDevice() 124 p_info->results.device_type = p_dev_rec->device_type; in BTM_SecAddBleDevice() 126 p_info->results.device_type, p_info->results.ble_addr_type); in BTM_SecAddBleDevice() 499 *p_dev_type = p_inq_info->results.device_type; in BTM_ReadDevInfo() 509 p_dev_rec->device_type |= p_inq_info->results.device_type; in BTM_ReadDevInfo() 520 *p_dev_type = p_dev_rec->device_type; in BTM_ReadDevInfo() 526 if (p_dev_rec->device_type != BT_DEVICE_TYPE_UNKNOWN) { in BTM_ReadDevInfo() 527 *p_dev_type = p_dev_rec->device_type; in BTM_ReadDevInfo() 569 } else if (p_dev_rec->device_type & BT_DEVICE_TYPE_BREDR) { in BTM_ReadConnectedTransportAddress() 1801 p_dev_rec->device_type |= BT_DEVICE_TYPE_BLE; in btm_ble_connected()
|
/packages/modules/Bluetooth/system/gd/metrics/ |
D | metrics.h | 25 void LogMetricsBondCreateAttempt(RawAddress* addr, uint32_t device_type); 27 …RawAddress* addr, uint32_t device_type, uint32_t status, uint32_t bond_state, int32_t fail_reason); 30 uint32_t device_type,
|
/packages/modules/Bluetooth/system/main/shim/ |
D | btm_api.cc | 78 static bool is_classic_device(tBT_DEVICE_TYPE device_type) { in is_classic_device() argument 79 return device_type == BT_DEVICE_TYPE_BREDR; in is_classic_device() 82 static bool has_classic_device(tBT_DEVICE_TYPE device_type) { in has_classic_device() argument 83 return device_type & BT_DEVICE_TYPE_BREDR; in has_classic_device() 96 is_classic_device(p_i->inq_info.results.device_type)) { in btm_api_process_inquiry_result() 115 p_i->inq_info.results.device_type = BT_DEVICE_TYPE_BREDR; in btm_api_process_inquiry_result() 119 p_i->inq_info.results.device_type |= BT_DEVICE_TYPE_BREDR; in btm_api_process_inquiry_result() 140 has_classic_device(p_i->inq_info.results.device_type))) { in btm_api_process_inquiry_result_with_rssi() 150 is_classic_device(p_i->inq_info.results.device_type)) { in btm_api_process_inquiry_result_with_rssi() 171 p_i->inq_info.results.device_type = BT_DEVICE_TYPE_BREDR; in btm_api_process_inquiry_result_with_rssi() [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/model/setup/ |
D | device_boutique.cc | 36 const std::string& device_type, in Register() argument 39 LOG_INFO("Registering %s", device_type.c_str()); in Register() 40 GetMap()[device_type] = method; in Register()
|
/packages/modules/Bluetooth/system/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
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_bta_dm_api.h | 234 tBT_TRANSPORT transport, tBT_DEVICE_TYPE device_type)> 236 tBT_TRANSPORT transport, tBT_DEVICE_TYPE device_type) {}}; 238 tBT_TRANSPORT transport, tBT_DEVICE_TYPE device_type) { in operator() 239 body(bd_addr, addr_type, transport, device_type); in operator()
|
D | mock_bta_dm_act.h | 354 tBT_TRANSPORT transport, tBT_DEVICE_TYPE device_type)> 356 tBT_TRANSPORT transport, tBT_DEVICE_TYPE device_type) {}}; 358 tBT_TRANSPORT transport, tBT_DEVICE_TYPE device_type) { in operator() 359 body(bd_addr, addr_type, transport, device_type); in operator()
|
D | mock_common_metrics.cc | 78 uint32_t device_class, device_type_t device_type) { in LogBluetoothSessionDeviceInfo() argument 96 device_type_t device_type) { in LogPairEvent() argument
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/ |
D | CustomizedMetadataEntity.java | 40 public byte[] device_type; field in CustomizedMetadataEntity 90 .append(metadataToString(device_type)) in toString()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_storage.h | 366 tBT_DEVICE_TYPE& device_type); 368 const tBT_DEVICE_TYPE& device_type);
|
/packages/modules/Bluetooth/system/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
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_api.h | 451 tBT_DEVICE_TYPE device_type; member 468 tBT_DEVICE_TYPE device_type; /* device type in case it is BLE device */ member 786 tBT_TRANSPORT transport, tBT_DEVICE_TYPE device_type);
|