Lines Matching refs:cod

315 …bluetooth::shim::BTIF_DM_SetUiCallback([](RawAddress address, bt_bdname_t bd_name, uint32_t cod, b…  in btif_dm_init()  argument
316 …_HERE, base::BindOnce([](RawAddress address, bt_bdname_t bd_name, uint32_t cod, bt_ssp_variant_t p… in btif_dm_init() argument
324 HAL_CBACK(bt_hal_cbacks, pin_request_cb, &address, &bd_name, cod, false); in btif_dm_init()
328 … HAL_CBACK(bt_hal_cbacks, ssp_request_cb, &address, &bd_name, cod, pairing_variant, pass_key); in btif_dm_init()
329 }, address, bd_name, cod, pairing_variant, pass_key)); in btif_dm_init()
478 bool check_cod(const RawAddress* remote_bdaddr, uint32_t cod) { in check_cod() argument
479 return get_cod(remote_bdaddr) == cod; in check_cod()
623 uint32_t cod; in btif_update_remote_properties() local
640 cod = devclass2uint(dev_class); in btif_update_remote_properties()
641 BTIF_TRACE_DEBUG("%s cod is 0x%06x", __func__, cod); in btif_update_remote_properties()
642 if (cod == 0) { in btif_update_remote_properties()
646 BT_PROPERTY_CLASS_OF_DEVICE, sizeof(cod), &cod); in btif_update_remote_properties()
649 BTIF_TRACE_DEBUG("%s cod retrieved from storage is 0x%06x", __func__, cod); in btif_update_remote_properties()
650 if (cod == 0) { in btif_update_remote_properties()
652 cod = COD_UNCLASSIFIED; in btif_update_remote_properties()
657 BT_PROPERTY_CLASS_OF_DEVICE, sizeof(cod), &cod); in btif_update_remote_properties()
900 uint32_t cod; in btif_dm_pin_req_evt() local
925 cod = devclass2uint(p_pin_req->dev_class); in btif_dm_pin_req_evt()
927 if (cod == 0) { in btif_dm_pin_req_evt()
929 cod = COD_UNCLASSIFIED; in btif_dm_pin_req_evt()
974 HAL_CBACK(bt_hal_cbacks, pin_request_cb, &tmp, &bd_name, cod, in btif_dm_pin_req_evt()
989 uint32_t cod; in btif_dm_ssp_cfm_req_evt() local
1048 cod = devclass2uint(p_ssp_cfm_req->dev_class); in btif_dm_ssp_cfm_req_evt()
1050 if (cod == 0) { in btif_dm_ssp_cfm_req_evt()
1052 cod = COD_UNCLASSIFIED; in btif_dm_ssp_cfm_req_evt()
1056 HAL_CBACK(bt_hal_cbacks, ssp_request_cb, &bd_addr, &bd_name, cod, in btif_dm_ssp_cfm_req_evt()
1064 uint32_t cod; in btif_dm_ssp_key_notif_evt() local
1082 cod = devclass2uint(p_ssp_key_notif->dev_class); in btif_dm_ssp_key_notif_evt()
1084 if (cod == 0) { in btif_dm_ssp_key_notif_evt()
1086 cod = COD_UNCLASSIFIED; in btif_dm_ssp_key_notif_evt()
1089 HAL_CBACK(bt_hal_cbacks, ssp_request_cb, &bd_addr, &bd_name, cod, in btif_dm_ssp_key_notif_evt()
1370 uint32_t cod = devclass2uint(p_search_data->inq_res.dev_class); in btif_dm_search_devices_evt() local
1371 BTIF_TRACE_DEBUG("%s cod is 0x%06x", __func__, cod); in btif_dm_search_devices_evt()
1372 if (cod != 0) { in btif_dm_search_devices_evt()
1374 BT_PROPERTY_CLASS_OF_DEVICE, sizeof(cod), in btif_dm_search_devices_evt()
1375 &cod); in btif_dm_search_devices_evt()
2909 uint32_t cod; in btif_dm_ble_key_notif_evt() local
2926 cod = COD_UNCLASSIFIED; in btif_dm_ble_key_notif_evt()
2928 HAL_CBACK(bt_hal_cbacks, ssp_request_cb, &bd_addr, &bd_name, cod, in btif_dm_ble_key_notif_evt()
3108 uint32_t cod; in btif_dm_ble_sec_req_evt() local
3136 cod = COD_UNCLASSIFIED; in btif_dm_ble_sec_req_evt()
3138 HAL_CBACK(bt_hal_cbacks, ssp_request_cb, &bd_addr, &bd_name, cod, in btif_dm_ble_sec_req_evt()
3153 uint32_t cod; in btif_dm_ble_passkey_req_evt() local
3169 cod = COD_UNCLASSIFIED; in btif_dm_ble_passkey_req_evt()
3171 HAL_CBACK(bt_hal_cbacks, pin_request_cb, &bd_addr, &bd_name, cod, false); in btif_dm_ble_passkey_req_evt()
3384 uint32_t cod = get_cod(&bd_addr); in btif_stats_add_bond_event() local
3388 0, ts, cod, device_type); in btif_stats_add_bond_event()