Home
last modified time | relevance | path

Searched refs:auth_req (Results 1 – 25 of 30) sorted by relevance

12

/system/bt/bta/gatt/
Dbta_gattc_api.c337 void BTA_GATTC_ReadCharacteristic(UINT16 conn_id, UINT16 handle, tBTA_GATT_AUTH_REQ auth_req) in BTA_GATTC_ReadCharacteristic() argument
344 p_buf->auth_req = auth_req; in BTA_GATTC_ReadCharacteristic()
363 void BTA_GATTC_ReadCharDescr (UINT16 conn_id, UINT16 handle, tBTA_GATT_AUTH_REQ auth_req) in BTA_GATTC_ReadCharDescr() argument
370 p_buf->auth_req = auth_req; in BTA_GATTC_ReadCharDescr()
391 tBTA_GATT_AUTH_REQ auth_req) in BTA_GATTC_ReadMultiple() argument
398 p_buf->auth_req = auth_req; in BTA_GATTC_ReadMultiple()
427 tBTA_GATT_AUTH_REQ auth_req) in BTA_GATTC_WriteCharValue() argument
434 p_buf->auth_req = auth_req; in BTA_GATTC_WriteCharValue()
466 tBTA_GATT_AUTH_REQ auth_req) in BTA_GATTC_WriteCharDescr() argument
476 p_buf->auth_req = auth_req; in BTA_GATTC_WriteCharDescr()
[all …]
Dbta_gattc_int.h125 tBTA_GATT_AUTH_REQ auth_req; member
133 tBTA_GATT_AUTH_REQ auth_req; member
173 tBTA_GATT_AUTH_REQ auth_req; member
Dbta_gattc_act.c1092 read_param.by_handle.auth_req = p_data->api_read.auth_req; in bta_gattc_read()
1126 read_param.read_multiple.auth_req = p_data->api_read_multi.auth_req; in bta_gattc_read_multi()
1165 attr.auth_req = p_data->api_write.auth_req; in bta_gattc_write()
/system/bt/bta/dm/
Dbta_dm_ci.c45 tBTA_AUTH_REQ auth_req) in bta_dm_ci_io_req() argument
55 p_msg->auth_req = auth_req; in bta_dm_ci_io_req()
Dbta_dm_act.c1154 tBTM_AUTH_REQ auth_req = BTM_AUTH_AP_NO; in bta_dm_ci_io_req_act() local
1155 if(p_data->ci_io_req.auth_req) in bta_dm_ci_io_req_act()
1156 auth_req = BTM_AUTH_AP_YES; in bta_dm_ci_io_req_act()
1158 p_data->ci_io_req.oob_data, auth_req); in bta_dm_ci_io_req_act()
2847 &p_data->io_req.oob_data, &p_data->io_req.auth_req, p_data->io_req.is_orig); in bta_dm_sp_cback()
2849 … APPL_TRACE_EVENT("io mitm: %d oob_data:%d", p_data->io_req.auth_req, p_data->io_req.oob_data); in bta_dm_sp_cback()
2854 p_data->io_rsp.oob_data, p_data->io_rsp.auth_req ); in bta_dm_sp_cback()
4343 &p_data->io_req.auth_req, in bta_dm_ble_smp_cback()
4348 … APPL_TRACE_EVENT("io mitm: %d oob_data:%d", p_data->io_req.auth_req, p_data->io_req.oob_data); in bta_dm_ble_smp_cback()
/system/bt/stack/gatt/
Dgatt_auth.c319 tGATT_AUTH_REQ auth_req = p_clcb->auth_req; in gatt_determine_sec_act() local
326 if (auth_req == GATT_AUTH_REQ_NONE ) in gatt_determine_sec_act()
331 btm_ble_link_sec_check(p_tcb->peer_bda, auth_req, &sec_act); in gatt_determine_sec_act()
335 auth_req != GATT_AUTH_REQ_NONE) in gatt_determine_sec_act()
350 switch (auth_req) in gatt_determine_sec_act()
381 ((auth_req == GATT_AUTH_REQ_SIGNED_NO_MITM) || in gatt_determine_sec_act()
382 (auth_req == GATT_AUTH_REQ_SIGNED_MITM))) in gatt_determine_sec_act()
Dgatt_api.c622 indication.auth_req = GATT_AUTH_REQ_NONE; in GATTS_HandleValueIndication()
691 notif.auth_req = GATT_AUTH_REQ_NONE;; in GATTS_HandleValueNotification()
922 p_clcb->auth_req = p_read->by_handle.auth_req; in GATTC_Read()
1009 p_clcb->auth_req = p_write->auth_req; in GATTC_Write()
/system/bt/stack/btm/
Dbtm_ble.c871 tBTM_LE_AUTH_REQ auth_req = 0x00; in btm_ble_determine_security_act() local
883 auth_req |= BTM_LE_AUTH_REQ_MITM; in btm_ble_determine_security_act()
894 auth_req |= BTM_LE_AUTH_REQ_MITM; in btm_ble_determine_security_act()
898 btm_ble_link_sec_check(bdaddr, auth_req, &ble_sec_act); in btm_ble_determine_security_act()
922 if (auth_req & BTM_LE_AUTH_REQ_MITM) in btm_ble_determine_security_act()
1342 void btm_ble_link_sec_check(BD_ADDR bd_addr, tBTM_LE_AUTH_REQ auth_req, tBTM_BLE_SEC_REQ_ACT *p_sec… in btm_ble_link_sec_check() argument
1347 BTM_TRACE_DEBUG ("btm_ble_link_sec_check auth_req =0x%x", auth_req); in btm_ble_link_sec_check()
1364 if (auth_req & BTM_LE_AUTH_REQ_MITM) in btm_ble_link_sec_check()
1424 tBTM_LE_AUTH_REQ auth_req; in btm_ble_set_encryption() local
1452 auth_req = (sec_act == BTM_BLE_SEC_ENCRYPT_NO_MITM) in btm_ble_set_encryption()
[all …]
Dbtm_sec.c1661 void BTM_IoCapRsp(BD_ADDR bd_addr, tBTM_IO_CAP io_cap, tBTM_OOB_DATA oob, tBTM_AUTH_REQ auth_req) in BTM_IoCapRsp() argument
1672 btm_cb.devcb.loc_auth_req = auth_req; in BTM_IoCapRsp()
1676 auth_req = (BTM_AUTH_DD_BOND | (auth_req&BTM_AUTH_YN_BIT)); in BTM_IoCapRsp()
1678 btsnd_hcic_io_cap_req_reply (bd_addr, io_cap, oob, auth_req); in BTM_IoCapRsp()
3358 evt_data.auth_req = BTM_DEFAULT_AUTH_REQ; in btm_io_capabilities_req()
3404 evt_data.auth_req = BTM_DEFAULT_DD_AUTH_REQ; in btm_io_capabilities_req()
3413 evt_data.auth_req = BTM_DEFAULT_DD_AUTH_REQ; in btm_io_capabilities_req()
3471 evt_data.auth_req = BTM_AUTH_SP_YES; in btm_io_capabilities_req()
3475 evt_data.auth_req = (p_dev_rec->p_cur_service->security_flags & in btm_io_capabilities_req()
3501 evt_data.auth_req = BTM_AUTH_SPGB_YES; in btm_io_capabilities_req()
[all …]
Dbtm_ble_int.h386 extern void btm_ble_link_sec_check(BD_ADDR bd_addr, tBTM_LE_AUTH_REQ auth_req, tBTM_BLE_SEC_REQ_ACT…
/system/bt/bta/include/
Dbta_dm_ci.h49 tBTA_OOB_DATA oob_data, tBTA_AUTH_REQ auth_req);
Dbta_gatt_api.h783 void BTA_GATTC_ReadCharacteristic(UINT16 conn_id, UINT16 handle, tBTA_GATT_AUTH_REQ auth_req);
797 void BTA_GATTC_ReadCharDescr (UINT16 conn_id, UINT16 handle, tBTA_GATT_AUTH_REQ auth_req);
819 tBTA_GATT_AUTH_REQ auth_req);
839 tBTA_GATT_AUTH_REQ auth_req);
909 tBTA_GATT_AUTH_REQ auth_req);
939 tBTA_GATT_AUTH_REQ auth_req);
Dbta_dm_co.h92 tBTA_OOB_DATA oob_data, tBTA_AUTH_REQ auth_req);
/system/bt/stack/include/
Dgatt_api.h317 tGATT_AUTH_REQ auth_req; /* authentication request */ member
428 tGATT_AUTH_REQ auth_req; member
439 tGATT_AUTH_REQ auth_req; member
447 tGATT_AUTH_REQ auth_req; member
454 tGATT_AUTH_REQ auth_req; member
Dsmp_api.h219 tSMP_AUTH_REQ auth_req; /* Authentication required (for local device) */ member
Dbtm_api.h1430 tBTM_AUTH_REQ auth_req; /* Authentication required (for local device) */ member
1440 tBTM_AUTH_REQ auth_req; /* Authentication required for peer device */ member
1616 …tBTM_LE_AUTH_REQ auth_req; /* Authentication request (for local device) contain bonding a… member
3521 tBTM_OOB_DATA oob, tBTM_AUTH_REQ auth_req);
/system/bt/btif/src/
Dbtif_gatt_client.c195 uint8_t auth_req; member
1240 BTA_GATTC_ReadCharacteristic(p_cb->conn_id, p_cb->handle, p_cb->auth_req); in btgattc_handle_event()
1244 BTA_GATTC_ReadCharDescr(p_cb->conn_id, p_cb->handle, p_cb->auth_req); in btgattc_handle_event()
1249 p_cb->len, p_cb->value, p_cb->auth_req); in btgattc_handle_event()
1258 p_cb->auth_req); in btgattc_handle_event()
1760 static bt_status_t btif_gattc_read_char(int conn_id, uint16_t handle, int auth_req) in btif_gattc_read_char() argument
1766 btif_cb.auth_req = (uint8_t) auth_req; in btif_gattc_read_char()
1771 static bt_status_t btif_gattc_read_char_descr(int conn_id, uint16_t handle, int auth_req) in btif_gattc_read_char_descr() argument
1777 btif_cb.auth_req = (uint8_t) auth_req; in btif_gattc_read_char_descr()
1783 int len, int auth_req, char* p_value) in btif_gattc_write_char() argument
[all …]
Dbtif_gatt_util.c114 p_dest->attr_value.auth_req = p_src->attr_value.auth_req; in btif_to_bta_response()
Dbtif_dm.c112 UINT8 auth_req; member
2767 __FUNCTION__, pairing_cb.auth_req); in btif_dm_proc_io_req()
2768 *p_auth_req = (pairing_cb.auth_req & BTA_AUTH_BONDS); in btif_dm_proc_io_req()
2783 tBTA_OOB_DATA oob_data, tBTA_AUTH_REQ auth_req) in btif_dm_proc_io_rsp() argument
2788 if(auth_req & BTA_AUTH_BONDS) in btif_dm_proc_io_rsp()
2790 BTIF_TRACE_DEBUG("%s auth_req:%d", __FUNCTION__, auth_req); in btif_dm_proc_io_rsp()
2791 pairing_cb.auth_req = auth_req; in btif_dm_proc_io_rsp()
/system/bt/btif/co/
Dbta_dm_co.c108 tBTA_OOB_DATA oob_data, tBTA_AUTH_REQ auth_req) in bta_dm_co_io_rsp() argument
110 btif_dm_proc_io_rsp(bd_addr, io_cap, oob_data, auth_req); in bta_dm_co_io_rsp()
/system/bt/btif/include/
Dbtif_dm.h53 tBTA_OOB_DATA oob_data, tBTA_AUTH_REQ auth_req);
/system/bt/stack/smp/
Dsmp_act.c154 cb_data.io_req.auth_req = p_cb->peer_auth_req; in smp_send_app_cback()
174 cb_data.io_req.auth_req = 0; in smp_send_app_cback()
195 p_cb->loc_auth_req = cb_data.io_req.auth_req; in smp_send_app_cback()
480 tBTM_LE_AUTH_REQ auth_req = *(tBTM_LE_AUTH_REQ *)p_data; in smp_proc_sec_req() local
484 SMP_TRACE_DEBUG("%s auth_req=0x%x", __func__, auth_req); in smp_proc_sec_req()
488 btm_ble_link_sec_check(p_cb->pairing_bda, auth_req, &sec_req_act); in smp_proc_sec_req()
505 (auth_req & SMP_SC_SUPPORT_BIT) == 0) in smp_proc_sec_req()
513 p_cb->peer_auth_req = auth_req; in smp_proc_sec_req()
/system/bt/service/
Dgatt_server_old.cpp199 response.attr_value.auth_req = 0; in RequestReadCallback()
252 response.attr_value.auth_req = 0; in RequestWriteCallback()
/system/bt/stack/srvc/
Dsrvc_dis.c236 param.service.auth_req = 0; in dis_gatt_c_read_dis_req()
/system/bt/stack/gap/
Dgap_ble.c524 param.service.auth_req = 0; in gap_ble_send_cl_read_request()

12