Home
last modified time | relevance | path

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

12

/system/bt/bta/gatt/
Dbta_gattc_api.cc357 tGATT_AUTH_REQ auth_req, in BTA_GATTC_ReadCharacteristic() argument
364 p_buf->auth_req = auth_req; in BTA_GATTC_ReadCharacteristic()
378 tGATT_AUTH_REQ auth_req, in BTA_GATTC_ReadUsingCharUuid() argument
385 p_buf->auth_req = auth_req; in BTA_GATTC_ReadUsingCharUuid()
409 tGATT_AUTH_REQ auth_req, GATT_READ_OP_CB callback, in BTA_GATTC_ReadCharDescr() argument
416 p_buf->auth_req = auth_req; in BTA_GATTC_ReadCharDescr()
438 tGATT_AUTH_REQ auth_req) { in BTA_GATTC_ReadMultiple() argument
444 p_buf->auth_req = auth_req; in BTA_GATTC_ReadMultiple()
471 tGATT_AUTH_REQ auth_req, in BTA_GATTC_WriteCharValue() argument
478 p_buf->auth_req = auth_req; in BTA_GATTC_WriteCharValue()
[all …]
Dbta_gattc_int.h102 tGATT_AUTH_REQ auth_req; member
119 tGATT_AUTH_REQ auth_req; member
155 tGATT_AUTH_REQ auth_req; member
/system/bt/stack/gatt/
Dgatt_auth.cc275 tGATT_AUTH_REQ auth_req = p_clcb->auth_req; in gatt_determine_sec_act() local
282 if (auth_req == GATT_AUTH_REQ_NONE) return act; in gatt_determine_sec_act()
287 btm_ble_link_sec_check(p_tcb->peer_bda, auth_req, &sec_act); in gatt_determine_sec_act()
290 if (sec_act == BTM_BLE_SEC_REQ_ACT_DISCARD && auth_req != GATT_AUTH_REQ_NONE) in gatt_determine_sec_act()
302 switch (auth_req) { in gatt_determine_sec_act()
328 ((auth_req == GATT_AUTH_REQ_SIGNED_NO_MITM) || in gatt_determine_sec_act()
329 (auth_req == GATT_AUTH_REQ_SIGNED_MITM))) { in gatt_determine_sec_act()
Dgatt_api.cc431 indication.auth_req = GATT_AUTH_REQ_NONE; in GATTS_HandleValueIndication()
491 notif.auth_req = GATT_AUTH_REQ_NONE; in GATTS_HandleValueNotification()
709 p_clcb->auth_req = p_read->by_handle.auth_req; in GATTC_Read()
787 p_clcb->auth_req = p_write->auth_req; in GATTC_Write()
/system/bt/bta/dm/
Dbta_dm_ci.cc46 tBTA_OOB_DATA oob_data, tBTA_AUTH_REQ auth_req) in bta_dm_ci_io_req() argument
50 oob_data, auth_req)); in bta_dm_ci_io_req()
/system/bt/include/hardware/
Dbt_gatt_client.h242 int auth_req);
249 int auth_req);
253 int write_type, int auth_req,
257 bt_status_t (*read_descriptor)(int conn_id, uint16_t handle, int auth_req);
260 bt_status_t (*write_descriptor)(int conn_id, uint16_t handle, int auth_req,
Dbt_gatt_server.h33 uint8_t auth_req; member
/system/bt/gd/security/test/
Dpairing_handler_le_pair_test.cc173 … .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc, in SetUp()
195 … .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc, in SetUp()
343 … .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc, in TEST_F()
363 … .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc, in TEST_F()
416 …master_setup.myPairingCapabilities.auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMa… in TEST_F()
420 …slave_setup.myPairingCapabilities.auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMas… in TEST_F()
458 …master_setup.myPairingCapabilities.auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMa… in TEST_F()
462 …slave_setup.myPairingCapabilities.auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMas… in TEST_F()
510 …master_setup.myPairingCapabilities.auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMa… in TEST_F()
514 …slave_setup.myPairingCapabilities.auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMas… in TEST_F()
[all …]
/system/bt/bta/include/
Dbta_gatt_api.h573 tGATT_AUTH_REQ auth_req,
582 tGATT_AUTH_REQ auth_req,
598 tGATT_AUTH_REQ auth_req, GATT_READ_OP_CB callback,
618 tGATT_AUTH_REQ auth_req,
636 tGATT_AUTH_REQ auth_req,
704 tGATT_AUTH_REQ auth_req,
737 tGATT_AUTH_REQ auth_req);
Dbta_dm_ci.h44 tBTA_OOB_DATA oob_data, tBTA_AUTH_REQ auth_req);
Dbta_dm_co.h77 tBTA_OOB_DATA oob_data, tBTA_AUTH_REQ auth_req);
/system/bt/btif/src/
Dbtif_gatt_client.cc393 bt_status_t btif_gattc_read_char(int conn_id, uint16_t handle, int auth_req) { in btif_gattc_read_char() argument
396 auth_req, read_char_cb, nullptr)); in btif_gattc_read_char()
418 uint16_t e_handle, int auth_req) { in btif_gattc_read_using_char_uuid() argument
421 s_handle, e_handle, auth_req, in btif_gattc_read_using_char_uuid()
439 int auth_req) { in btif_gattc_read_char_descr() argument
442 auth_req, read_desc_cb, nullptr)); in btif_gattc_read_char_descr()
451 int auth_req, vector<uint8_t> value) { in btif_gattc_write_char() argument
457 write_type, std::move(value), auth_req, in btif_gattc_write_char()
467 int auth_req, vector<uint8_t> value) { in btif_gattc_write_char_descr() argument
473 std::move(value), auth_req, write_descr_cb, in btif_gattc_write_char_descr()
Dbtif_gatt_util.cc49 p_dest->attr_value.auth_req = p_src->attr_value.auth_req; in btif_to_bta_response()
/system/bt/gd/security/
Dfacade_configuration_api.cc46 void FacadeConfigurationApi::SetLeAuthRequirements(uint8_t auth_req) { in SetLeAuthRequirements() argument
47 …_->CallOn(security_manager_impl_, &internal::SecurityManagerImpl::SetLeAuthRequirements, auth_req); in SetLeAuthRequirements()
Dsmp_packets.pdl48 auth_req: 8,
120 auth_req: 8,
Dfacade.cc158 uint8_t auth_req = request->bond() ? AUTH_REQ_BOND : AUTH_REQ_NO_BOND; in SetLeAuthRequirements() local
160 if (request->mitm()) auth_req |= AUTH_REQ_MITM_MASK; in SetLeAuthRequirements()
161 if (request->secure_connections()) auth_req |= AUTH_REQ_SECURE_CONNECTIONS_MASK; in SetLeAuthRequirements()
162 if (request->keypress()) auth_req |= AUTH_REQ_KEYPRESS_MASK; in SetLeAuthRequirements()
163 if (request->ct2()) auth_req |= AUTH_REQ_CT2_MASK; in SetLeAuthRequirements()
164 … if (request->reserved_bits()) auth_req |= (((request->reserved_bits()) << 6) & AUTH_REQ_RFU_MASK); in SetLeAuthRequirements()
166 security_module_->GetFacadeConfigurationApi()->SetLeAuthRequirements(auth_req); in SetLeAuthRequirements()
Dfacade_configuration_api.h50 void SetLeAuthRequirements(uint8_t auth_req);
Dinitial_informations.h81 uint8_t auth_req; member
Dpairing_handler_le_unittest.cc140 .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc,
277 .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc,
316 .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc,
Dpairing_handler_le.cc202 …PairingRequestBuilder::Create(x.io_capability, x.oob_data_flag, x.auth_req, x.maximum_encryption_k… in ExchangePairingFeature()
253 SendL2capPacket(i, SecurityRequestBuilder::Create(i.myPairingCapabilities.auth_req)); in ExchangePairingFeature()
272 …PairingResponseBuilder::Create(x.io_capability, x.oob_data_flag, x.auth_req, x.maximum_encryption_… in ExchangePairingFeature()
/system/bt/stack/btm/
Dbtm_ble.cc985 tBTM_LE_AUTH_REQ auth_req = 0x00; in btm_ble_determine_security_act() local
995 if (security_required & BTM_SEC_OUT_MITM) auth_req |= BTM_LE_AUTH_REQ_MITM; in btm_ble_determine_security_act()
1004 if (security_required & BTM_SEC_IN_MITM) auth_req |= BTM_LE_AUTH_REQ_MITM; in btm_ble_determine_security_act()
1008 btm_ble_link_sec_check(bdaddr, auth_req, &ble_sec_act); in btm_ble_determine_security_act()
1027 if (auth_req & BTM_LE_AUTH_REQ_MITM) { in btm_ble_determine_security_act()
1452 tBTM_LE_AUTH_REQ auth_req, in btm_ble_link_sec_check() argument
1457 BTM_TRACE_DEBUG("btm_ble_link_sec_check auth_req =0x%x", auth_req); in btm_ble_link_sec_check()
1471 if (auth_req & BTM_LE_AUTH_REQ_MITM) { in btm_ble_link_sec_check()
1525 tBTM_LE_AUTH_REQ auth_req; in btm_ble_set_encryption() local
1552 auth_req = (sec_act == BTM_BLE_SEC_ENCRYPT_NO_MITM) in btm_ble_set_encryption()
[all …]
Dbtm_sec.cc1409 tBTM_OOB_DATA oob, tBTM_AUTH_REQ auth_req) { in BTM_IoCapRsp() argument
1418 btm_cb.devcb.loc_auth_req = auth_req; in BTM_IoCapRsp()
1422 auth_req = (BTM_AUTH_DD_BOND | (auth_req & BTM_AUTH_YN_BIT)); in BTM_IoCapRsp()
1424 btsnd_hcic_io_cap_req_reply(bd_addr, io_cap, oob, auth_req); in BTM_IoCapRsp()
2886 evt_data.auth_req = BTM_DEFAULT_AUTH_REQ; in btm_io_capabilities_req()
2930 evt_data.auth_req = BTM_DEFAULT_DD_AUTH_REQ; in btm_io_capabilities_req()
2938 evt_data.auth_req = BTM_DEFAULT_DD_AUTH_REQ; in btm_io_capabilities_req()
2985 evt_data.auth_req = BTM_AUTH_SP_YES; in btm_io_capabilities_req()
2987 evt_data.auth_req = in btm_io_capabilities_req()
3011 evt_data.auth_req = BTM_AUTH_SPGB_YES; in btm_io_capabilities_req()
[all …]
/system/bt/btif/co/
Dbta_dm_co.cc106 tBTA_OOB_DATA oob_data, tBTA_AUTH_REQ auth_req) { in bta_dm_co_io_rsp() argument
107 btif_dm_proc_io_rsp(bd_addr, io_cap, oob_data, auth_req); in bta_dm_co_io_rsp()
/system/bt/stack/include/
Dgatt_api.h327 tGATT_AUTH_REQ auth_req; /* authentication request */ member
428 tGATT_AUTH_REQ auth_req; member
439 tGATT_AUTH_REQ auth_req; member
446 tGATT_AUTH_REQ auth_req; member
452 tGATT_AUTH_REQ auth_req; member
/system/bt/btif/include/
Dbtif_dm.h53 tBTA_OOB_DATA oob_data, tBTA_AUTH_REQ auth_req);

12