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

12

/system/bt/osi/include/
H A Dmetrics.h73 uint32_t device_class, device_type_t device_type);
88 device_type_t device_type);
H A Dmetrics_cpp.h85 * device_type: type of remote device
90 uint32_t device_class, device_type_t device_type);
156 * device_type : type of remote device
159 device_type_t device_type);
/system/bt/osi/src/
H A Dmetrics_linux.cpp143 device_type_t device_type) {
172 uint32_t device_class, device_type_t device_type) {
209 uint32_t device_class, device_type_t device_type) {
234 device_type_t device_type) {
140 LogPairEvent(uint32_t disconnect_reason, uint64_t timestamp_ms, uint32_t device_class, device_type_t device_type) argument
171 LogBluetoothSessionDeviceInfo( uint32_t device_class, device_type_t device_type) argument
208 metrics_log_pair_event(uint32_t disconnect_reason, uint64_t timestamp_ms, uint32_t device_class, device_type_t device_type) argument
233 metrics_log_bluetooth_session_device_info(uint32_t device_class, device_type_t device_type) argument
H A Dmetrics.cpp271 device_type_t device_type) {
275 info->set_device_type(get_device_type(device_type));
365 uint32_t device_class, device_type_t device_type) {
517 uint32_t device_class, device_type_t device_type) {
519 timestamp_ms, device_class, device_type);
550 device_type_t device_type) {
552 device_class, device_type);
268 LogPairEvent(uint32_t disconnect_reason, uint64_t timestamp_ms, uint32_t device_class, device_type_t device_type) argument
364 LogBluetoothSessionDeviceInfo( uint32_t device_class, device_type_t device_type) argument
516 metrics_log_pair_event(uint32_t disconnect_reason, uint64_t timestamp_ms, uint32_t device_class, device_type_t device_type) argument
549 metrics_log_bluetooth_session_device_info(uint32_t device_class, device_type_t device_type) argument
/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:__anon1305
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.c154 p_dev_rec->device_type |= BT_DEVICE_TYPE_BREDR;
266 p_dev_rec->device_type = p_inq_info->results.device_type;
463 p_target_rec->device_type |= temp_rec.device_type;
481 p_target_rec->device_type |= p_dev_rec->device_type;
H A Dbtm_ble_addr.c281 if ((p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) &&
334 BTM_TRACE_DEBUG("sec_flags = %02x device_type = %d", p_dev_rec->sec_flags,
335 p_dev_rec->device_type);
337 if (!(p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) ||
H A Dbtm_ble.c104 p_dev_rec->device_type |= dev_type;
113 p_info->results.device_type = p_dev_rec->device_type;
114 BTM_TRACE_DEBUG("InqDb device_type =0x%x addr_type=0x%x",
115 p_info->results.device_type, p_info->results.ble_addr_type);
650 *p_dev_type = p_inq_info->results.device_type ;
662 p_dev_rec->device_type = p_inq_info->results.device_type;
668 *p_dev_type = p_dev_rec->device_type;
684 BTM_TRACE_DEBUG ("btm_find_dev_type - device_type
[all...]
H A Dbtm_inq.c1916 (p_i && (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0)
1939 || (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0
1973 && (p_i->inq_info.results.device_type == BT_DEVICE_TYPE_BREDR)
2005 p_cur->device_type = BT_DEVICE_TYPE_BREDR;
2009 p_cur->device_type |= BT_DEVICE_TYPE_BREDR;
2020 p_cur->device_type == BT_DEVICE_TYPE_DUMO && p_i->scan_rsp) ||
H A Dbtm_ble_gap.c2579 p_cur->device_type = BT_DEVICE_TYPE_BLE;
2581 p_cur->device_type |= BT_DEVICE_TYPE_BLE;
2633 p_cur->device_type |= BT_DEVICE_TYPE_DUMO;
2666 (p_ent->inq_info.results.device_type == BT_DEVICE_TYPE_BLE) &&
2804 (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) ||
2854 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE &&
H A Dbtm_ble_bgconn.c155 if (p_dev_rec != NULL && p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) {
H A Dbtm_int.h593 tBT_DEVICE_TYPE device_type; member in struct:__anon882
H A Dbtm_acl.c282 BTM_TRACE_DEBUG ("device_type=0x%x", p_dev_rec->device_type);
/system/connectivity/shill/test-scripts/
H A Dflimflam.py134 def _FindDevice(self, device_type, timeout):
140 device_type: string format of the type of device.
150 device_type)
162 def _FindService(self, device_type, timeout):
168 device_type: string format of the type of device.
178 'Type', device_type)
478 def ShutdownAllExcept(self, device_type):
479 """Shutdown all devices except device_type ones."""
482 if (device_properties["Type"] != device_type):
/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.c384 int device_type = 0; local
388 btif_get_device_type(p_cb->bd_addr.address, &device_type) &&
389 device_type != BT_DEVICE_TYPE_BREDR)
391 BTA_DmAddBleDevice(p_cb->bd_addr.address, addr_type, device_type);
403 switch(device_type)
421 BTIF_TRACE_ERROR ("%s: Invalid device type %d", __func__, device_type);
H A Dbtif_dm.c600 DEV_CLASS dev_class, tBT_DEVICE_TYPE device_type)
650 dev_type = remote_dev_type | device_type;
652 dev_type = device_type;
708 int device_type; local
714 if (!btif_config_get_int((char const *)&bdstr,"DevType", &device_type))
731 if((btif_config_get_int((char const *)&bdstr,"DevType", &device_type) &&
733 (device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE) || (transport == BT_TRANSPORT_LE))
735 BTA_DmAddBleDevice(bd_addr->address, addr_type, device_type);
740 if(is_hid && (device_type & BT_DEVICE_TYPE_BLE) == 0)
1345 BTIF_TRACE_DEBUG("%s() %s device_type
599 btif_update_remote_properties(BD_ADDR bd_addr, BD_NAME bd_name, DEV_CLASS dev_class, tBT_DEVICE_TYPE device_type) argument
3555 device_type_t device_type; local
[all...]
H A Dbtif_storage.c441 int device_type; local
467 if (btif_config_get_int(name, "DevType", &device_type) &&
468 (device_type == BT_DEVICE_TYPE_DUMO) ) {
1189 int device_type; local
1196 if (!btif_config_get_int(remote_bd_addr, "DevType", &device_type))
1199 if ((device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE)
H A Dbtif_gatt_client.c203 tBT_DEVICE_TYPE device_type; member in struct:__anon650
439 remote_name_len, p_btif_cb->device_type );
441 p_btif_cb->device_type);
604 dev_type = p_btif_cb->device_type;
988 btif_cb.device_type = p_data->inq_res.device_type;
1150 int device_type = 0; local
1154 btif_get_device_type(p_cb->bd_addr.address, &device_type) &&
1155 device_type != BT_DEVICE_TYPE_BREDR)
1157 BTA_DmAddBleDevice(p_cb->bd_addr.address, addr_type, device_type);
2001 int device_type = 0; local
[all...]
/system/bt/btcore/test/
H A Dproperty_test.cpp65 TEST_F(PropertyTest, device_type) {
/system/connectivity/shill/test-rpc-proxy/
H A Dproxy_dbus_shill_wifi_client.cc417 brillo::Any device_type; local
420 device.get(), shill::kTypeProperty, &device_type)) {
423 if (device_type.Get<std::string>() == shill::kTypeWifi) {
/system/bt/bta/include/
H A Dbta_api.h1002 tBT_DEVICE_TYPE device_type; member in struct:__anon313
1030 tBT_DEVICE_TYPE device_type; /* device type in case it is BLE device */ member in struct:__anon316
/system/bt/osi/test/
H A Dmetrics_test.cpp79 DeviceInfo_DeviceType device_type) {
82 info->set_device_type(device_type);
78 MakeDeviceInfo(int32_t device_class, DeviceInfo_DeviceType device_type) argument
/system/bt/bta/dm/
H A Dbta_dm_act.c2270 && (bta_dm_search_cb.p_btm_inq_info->results.device_type == BT_DEVICE_TYPE_BLE)
2323 APPL_TRACE_DEBUG("%s p_btm_inq_info 0x%x results.device_type 0x%x services_to_search 0x%x",
2326 bta_dm_search_cb.p_btm_inq_info->results.device_type,
2416 result.inq_res.device_type = p_inq->device_type;
4263 result.inq_res.device_type = p_inq->device_type;
5440 p_msg->disc_result.result.disc_res.device_type |= BT_DEVICE_TYPE_BLE;
/system/bt/stack/include/
H A Dbtm_api.h611 tBT_DEVICE_TYPE device_type; member in struct:__anon1030

Completed in 396 milliseconds

12