/system/bt/service/hal/ |
D | bluetooth_interface.cpp | 108 uint32_t cod, bool min_16_digit) { in PinRequestCallback() argument 114 << " - cod: " << cod in PinRequestCallback() 116 FOR_EACH_BLUETOOTH_OBSERVER(PinRequestCallback(remote_bd_addr, bd_name, cod, min_16_digit)); in PinRequestCallback() 120 bt_bdname_t *bd_name, uint32_t cod, bt_ssp_variant_t pairing_variant, uint32_t pass_key) { in SSPRequestCallback() argument 126 << " - cod: " << cod in SSPRequestCallback() 128 FOR_EACH_BLUETOOTH_OBSERVER(SSPRequestCallback(remote_bd_addr, bd_name, cod, in SSPRequestCallback() 356 uint32_t cod, in PinRequestCallback() argument 364 uint32_t cod, in SSPRequestCallback() argument
|
D | bluetooth_interface.h | 63 uint32_t cod, 67 uint32_t cod,
|
/system/bt/btif/src/ |
D | btif_dm.c | 451 BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod) in check_cod() argument 453 return get_cod(remote_bdaddr) == cod; in check_cod() 605 UINT32 cod; in btif_update_remote_properties() local 622 cod = devclass2uint(dev_class); in btif_update_remote_properties() 623 BTIF_TRACE_DEBUG("%s cod is 0x%06x", __func__, cod); in btif_update_remote_properties() 624 if ( cod == 0) { in btif_update_remote_properties() 628 BT_PROPERTY_CLASS_OF_DEVICE, sizeof(cod), &cod); in btif_update_remote_properties() 630 BTIF_TRACE_DEBUG("%s cod retrieved from storage is 0x%06x", __func__, cod); in btif_update_remote_properties() 631 if ( cod == 0) { in btif_update_remote_properties() 633 cod = COD_UNCLASSIFIED; in btif_update_remote_properties() [all …]
|
D | btif_util.c | 86 UINT32 cod = 0; in devclass2uint() local 91 cod = (dev_class[2]) | (dev_class[1] << 8) | (dev_class[0] << 16); in devclass2uint() 93 return cod; in devclass2uint() 95 void uint2devclass(UINT32 cod, DEV_CLASS dev_class) in uint2devclass() argument 97 dev_class[2] = (UINT8)cod; in uint2devclass() 98 dev_class[1] = (UINT8)(cod >> 8); in uint2devclass() 99 dev_class[0] = (UINT8)(cod >> 16); in uint2devclass()
|
D | btif_sock_sdp.c | 310 tBTA_UTL_COD cod; in add_ops_sdp() local 311 cod.service = BTM_COD_SERVICE_OBJ_TRANSFER; in add_ops_sdp() 313 if (!utl_set_device_class(&cod, BTA_UTL_SET_COD_SERVICE_CLASS)) in add_ops_sdp()
|
D | btif_storage.c | 458 int cod; in btif_in_fetch_bonded_devices() local 460 if (btif_config_get_int(name, "DevClass", &cod)) in btif_in_fetch_bonded_devices() 461 uint2devclass((UINT32)cod, dev_class); in btif_in_fetch_bonded_devices() 924 uint32_t cod = 0; in btif_storage_load_bonded_devices() local 941 &cod, sizeof(cod), in btif_storage_load_bonded_devices()
|
D | btif_sdp_server.c | 637 tBTA_UTL_COD cod; in add_opps_sdp() local 709 cod.service = BTM_COD_SERVICE_OBJ_TRANSFER; in add_opps_sdp() 710 utl_set_device_class(&cod, BTA_UTL_SET_COD_SERVICE_CLASS); in add_opps_sdp()
|
D | btif_core.c | 762 uint32_t cod, devtype; in btif_in_get_remote_device_properties() local 779 sizeof(cod), &cod); in btif_in_get_remote_device_properties()
|
D | btif_hh.c | 149 extern BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod);
|
D | btif_rc.c | 299 extern BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod);
|
/system/bt/tools/bdtool/ |
D | adapter.c | 168 uint32_t cod, in ssp_request() argument 190 …fprintf(stdout, "Got ssp request device_class:%u passkey:%x pairing_variant:%s\n", cod, pass_key, … in ssp_request()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_act.c | 59 tBTA_UTL_COD cod; in bta_hf_client_register() local 76 cod.service = BTM_COD_SERVICE_AUDIO; in bta_hf_client_register() 77 utl_set_device_class(&cod, BTA_UTL_SET_COD_SERVICE_CLASS); in bta_hf_client_register()
|
/system/bt/bta/hh/ |
D | bta_hh_utils.c | 229 UINT8 cod = (sub_class >> 2); /* lower two bits are reserved */ in bta_hh_tod_spt() local 233 if (cod == (UINT8) p_bta_hh_cfg->p_devt_list[xx].tod) in bta_hh_tod_spt()
|
/system/bt/bta/av/ |
D | bta_av_main.c | 494 tBTA_UTL_COD cod; in bta_av_api_register() local 571 cod.service = BTM_COD_SERVICE_CAPTURING; in bta_av_api_register() 573 cod.service = BTM_COD_SERVICE_RENDERING; in bta_av_api_register() 574 utl_set_device_class(&cod, BTA_UTL_SET_COD_SERVICE_CLASS); in bta_av_api_register()
|
D | bta_av_act.c | 2111 tBTA_UTL_COD cod; in bta_av_dereg_comp() local 2200 cod.service = BTM_COD_SERVICE_CAPTURING; in bta_av_dereg_comp() 2201 utl_set_device_class(&cod, BTA_UTL_CLR_COD_SERVICE_CLASS); in bta_av_dereg_comp()
|
/system/bt/stack/btm/ |
D | btm_inq.c | 168 DEV_CLASS cod; in BTM_SetDiscoverability() local 279 FIELDS_TO_COD(cod, minor, major, service_class); in BTM_SetDiscoverability() 280 (void) BTM_SetDeviceClass (cod); in BTM_SetDiscoverability()
|