Lines Matching refs:cod
362 BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod) in check_cod() argument
373 if ((remote_cod & 0x7ff) == cod) in check_cod()
380 BOOLEAN check_cod_hid(const bt_bdaddr_t *remote_bdaddr, uint32_t cod) in check_cod_hid() argument
392 if ((remote_cod & 0x700) == cod) in check_cod_hid()
541 UINT32 cod; in btif_update_remote_properties() local
558 cod = devclass2uint(dev_class); in btif_update_remote_properties()
559 BTIF_TRACE_DEBUG("%s():cod is 0x%06x", __FUNCTION__, cod); in btif_update_remote_properties()
560 if ( cod == 0) { in btif_update_remote_properties()
564 BT_PROPERTY_CLASS_OF_DEVICE, sizeof(cod), &cod); in btif_update_remote_properties()
566 BTIF_TRACE_DEBUG("%s():cod retreived from storage is 0x%06x", __FUNCTION__, cod); in btif_update_remote_properties()
567 if ( cod == 0) { in btif_update_remote_properties()
569 cod = COD_UNCLASSIFIED; in btif_update_remote_properties()
574 BT_PROPERTY_CLASS_OF_DEVICE, sizeof(cod), &cod); in btif_update_remote_properties()
829 UINT32 cod; in btif_dm_pin_req_evt() local
846 cod = devclass2uint(p_pin_req->dev_class); in btif_dm_pin_req_evt()
848 if ( cod == 0) { in btif_dm_pin_req_evt()
850 cod = COD_UNCLASSIFIED; in btif_dm_pin_req_evt()
898 &bd_addr, &bd_name, cod); in btif_dm_pin_req_evt()
914 UINT32 cod; in btif_dm_ssp_cfm_req_evt() local
966 cod = devclass2uint(p_ssp_cfm_req->dev_class); in btif_dm_ssp_cfm_req_evt()
968 if ( cod == 0) { in btif_dm_ssp_cfm_req_evt()
970 cod = COD_UNCLASSIFIED; in btif_dm_ssp_cfm_req_evt()
974 HAL_CBACK(bt_hal_cbacks, ssp_request_cb, &bd_addr, &bd_name, cod, in btif_dm_ssp_cfm_req_evt()
983 UINT32 cod; in btif_dm_ssp_key_notif_evt() local
1001 cod = devclass2uint(p_ssp_key_notif->dev_class); in btif_dm_ssp_key_notif_evt()
1003 if ( cod == 0) { in btif_dm_ssp_key_notif_evt()
1005 cod = COD_UNCLASSIFIED; in btif_dm_ssp_key_notif_evt()
1009 cod, BT_SSP_VARIANT_PASSKEY_NOTIFICATION, in btif_dm_ssp_key_notif_evt()
1226 UINT32 cod; in btif_dm_search_devices_evt() local
1246 cod = devclass2uint (p_search_data->inq_res.dev_class); in btif_dm_search_devices_evt()
1248 if ( cod == 0) { in btif_dm_search_devices_evt()
1250 cod = COD_UNCLASSIFIED; in btif_dm_search_devices_evt()
1289 BT_PROPERTY_CLASS_OF_DEVICE, sizeof(cod), &cod); in btif_dm_search_devices_evt()
2797 UINT32 cod; in btif_dm_ble_key_notif_evt() local
2814 cod = COD_UNCLASSIFIED; in btif_dm_ble_key_notif_evt()
2817 cod, BT_SSP_VARIANT_PASSKEY_NOTIFICATION, in btif_dm_ble_key_notif_evt()
2997 UINT32 cod; in btif_dm_ble_sec_req_evt() local
3025 cod = COD_UNCLASSIFIED; in btif_dm_ble_sec_req_evt()
3027 HAL_CBACK(bt_hal_cbacks, ssp_request_cb, &bd_addr, &bd_name, cod, in btif_dm_ble_sec_req_evt()
3046 UINT32 cod; in btif_dm_ble_passkey_req_evt() local
3063 cod = COD_UNCLASSIFIED; in btif_dm_ble_passkey_req_evt()
3066 &bd_addr, &bd_name, cod); in btif_dm_ble_passkey_req_evt()