Home
last modified time | relevance | path

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

12

/system/bt/bta/gatt/
Dbta_gattc_api.cc364 tGATT_AUTH_REQ auth_req, in BTA_GATTC_ReadCharacteristic() argument
371 p_buf->auth_req = auth_req; in BTA_GATTC_ReadCharacteristic()
385 tGATT_AUTH_REQ auth_req, in BTA_GATTC_ReadUsingCharUuid() argument
392 p_buf->auth_req = auth_req; in BTA_GATTC_ReadUsingCharUuid()
416 tGATT_AUTH_REQ auth_req, GATT_READ_OP_CB callback, in BTA_GATTC_ReadCharDescr() argument
423 p_buf->auth_req = auth_req; in BTA_GATTC_ReadCharDescr()
445 tGATT_AUTH_REQ auth_req) { in BTA_GATTC_ReadMultiple() argument
451 p_buf->auth_req = auth_req; in BTA_GATTC_ReadMultiple()
478 tGATT_AUTH_REQ auth_req, in BTA_GATTC_WriteCharValue() argument
485 p_buf->auth_req = auth_req; in BTA_GATTC_WriteCharValue()
[all …]
Dbta_gattc_int.h99 tGATT_AUTH_REQ auth_req; member
116 tGATT_AUTH_REQ auth_req; member
150 tGATT_AUTH_REQ auth_req; member
Dbta_gattc_act.cc780 read_param.by_handle.auth_req = p_data->api_read.auth_req; in bta_gattc_read()
789 read_param.char_type.auth_req = p_data->api_read.auth_req; in bta_gattc_read()
812 read_param.read_multiple.auth_req = p_data->api_read_multi.auth_req; in bta_gattc_read_multi()
839 attr.auth_req = p_data->api_write.auth_req; in bta_gattc_write()
/system/bt/test/mock/
Dmock_bta_gattc_api.cc121 std::vector<uint8_t> value, tGATT_AUTH_REQ auth_req, in BTA_GATTC_PrepareWrite() argument
126 tGATT_AUTH_REQ auth_req, GATT_READ_OP_CB callback, in BTA_GATTC_ReadCharDescr() argument
131 tGATT_AUTH_REQ auth_req, in BTA_GATTC_ReadCharacteristic() argument
136 tGATT_AUTH_REQ auth_req) { in BTA_GATTC_ReadMultiple() argument
141 tGATT_AUTH_REQ auth_req, in BTA_GATTC_ReadUsingCharUuid() argument
157 tGATT_AUTH_REQ auth_req, in BTA_GATTC_WriteCharDescr() argument
164 tGATT_AUTH_REQ auth_req, in BTA_GATTC_WriteCharValue() argument
/system/bt/stack/gatt/
Dgatt_auth.cc272 tGATT_AUTH_REQ auth_req = p_clcb->auth_req; in gatt_determine_sec_act() local
279 if (auth_req == GATT_AUTH_REQ_NONE) return act; in gatt_determine_sec_act()
281 btm_ble_link_sec_check(p_tcb->peer_bda, auth_req, &sec_act); in gatt_determine_sec_act()
284 if (sec_act == BTM_BLE_SEC_REQ_ACT_DISCARD && auth_req != GATT_AUTH_REQ_NONE) in gatt_determine_sec_act()
294 switch (auth_req) { in gatt_determine_sec_act()
320 ((auth_req == GATT_AUTH_REQ_SIGNED_NO_MITM) || in gatt_determine_sec_act()
321 (auth_req == GATT_AUTH_REQ_SIGNED_MITM))) { in gatt_determine_sec_act()
Dgatt_api.cc457 indication.auth_req = GATT_AUTH_REQ_NONE; in GATTS_HandleValueIndication()
522 notif.auth_req = GATT_AUTH_REQ_NONE; in GATTS_HandleValueNotification()
764 p_clcb->auth_req = p_read->by_handle.auth_req; in GATTC_Read()
843 p_clcb->auth_req = p_write->auth_req; in GATTC_Write()
/system/bt/include/hardware/
Dbt_gatt_client.h247 int auth_req);
254 int auth_req);
258 int write_type, int auth_req,
262 bt_status_t (*read_descriptor)(int conn_id, uint16_t handle, int auth_req);
265 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.cc183 … .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc, in SetUp()
208 … .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc, in SetUp()
374 … .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc, in TEST_F()
396 … .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc, in TEST_F()
449 …central_setup.myPairingCapabilities.auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqM… in TEST_F()
453 …peripheral_setup.myPairingCapabilities.auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthR… in TEST_F()
490 …central_setup.myPairingCapabilities.auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqM… in TEST_F()
494 …peripheral_setup.myPairingCapabilities.auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthR… in TEST_F()
540 …central_setup.myPairingCapabilities.auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqM… in TEST_F()
544 …peripheral_setup.myPairingCapabilities.auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthR… in TEST_F()
[all …]
/system/bt/btif/src/
Dbtif_gatt_client.cc432 int auth_req) { in btif_gattc_read_char() argument
435 auth_req, read_char_cb, nullptr)); in btif_gattc_read_char()
459 int auth_req) { in btif_gattc_read_using_char_uuid() argument
462 s_handle, e_handle, auth_req, in btif_gattc_read_using_char_uuid()
480 int auth_req) { in btif_gattc_read_char_descr() argument
483 auth_req, read_desc_cb, nullptr)); in btif_gattc_read_char_descr()
492 int write_type, int auth_req, in btif_gattc_write_char() argument
499 write_type, std::move(value), auth_req, in btif_gattc_write_char()
509 int auth_req, in btif_gattc_write_char_descr() argument
516 std::move(value), auth_req, write_descr_cb, in btif_gattc_write_char_descr()
Dbtif_gatt_util.cc51 p_dest->attr_value.auth_req = p_src->attr_value.auth_req; in btif_to_bta_response()
/system/bt/bta/include/
Dbta_gatt_api.h604 tGATT_AUTH_REQ auth_req,
613 tGATT_AUTH_REQ auth_req,
629 tGATT_AUTH_REQ auth_req, GATT_READ_OP_CB callback,
649 tGATT_AUTH_REQ auth_req,
667 tGATT_AUTH_REQ auth_req,
735 tGATT_AUTH_REQ auth_req,
768 tGATT_AUTH_REQ auth_req);
Dbta_dm_co.h79 tBTM_OOB_DATA oob_data, tBTM_AUTH_REQ auth_req);
/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_configuration_api.h50 void SetLeAuthRequirements(uint8_t auth_req);
Dfacade.cc247 uint8_t auth_req = request->bond() ? AUTH_REQ_BOND : AUTH_REQ_NO_BOND; in SetLeAuthRequirements() local
249 if (request->mitm()) auth_req |= AUTH_REQ_MITM_MASK; in SetLeAuthRequirements()
250 if (request->secure_connections()) auth_req |= AUTH_REQ_SECURE_CONNECTIONS_MASK; in SetLeAuthRequirements()
251 if (request->keypress()) auth_req |= AUTH_REQ_KEYPRESS_MASK; in SetLeAuthRequirements()
252 if (request->ct2()) auth_req |= AUTH_REQ_CT2_MASK; in SetLeAuthRequirements()
253 … if (request->reserved_bits()) auth_req |= (((request->reserved_bits()) << 6) & AUTH_REQ_RFU_MASK); in SetLeAuthRequirements()
255 security_module_->GetFacadeConfigurationApi()->SetLeAuthRequirements(auth_req); in SetLeAuthRequirements()
Dinitial_informations.h89 uint8_t auth_req; member
Dpairing_handler_le_unittest.cc143 .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc,
283 .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc,
325 .auth_req = AuthReqMaskBondingFlag | AuthReqMaskMitm | AuthReqMaskSc,
/system/bt/stack/btm/
Dbtm_ble.cc831 tBTM_LE_AUTH_REQ auth_req = 0x00; in btm_ble_determine_security_act() local
841 if (security_required & BTM_SEC_OUT_MITM) auth_req |= BTM_LE_AUTH_REQ_MITM; in btm_ble_determine_security_act()
850 if (security_required & BTM_SEC_IN_MITM) auth_req |= BTM_LE_AUTH_REQ_MITM; in btm_ble_determine_security_act()
854 btm_ble_link_sec_check(bdaddr, auth_req, &ble_sec_act); in btm_ble_determine_security_act()
865 if (auth_req & BTM_LE_AUTH_REQ_MITM) { in btm_ble_determine_security_act()
1291 tBTM_LE_AUTH_REQ auth_req, in btm_ble_link_sec_check() argument
1296 BTM_TRACE_DEBUG("btm_ble_link_sec_check auth_req =0x%x", auth_req); in btm_ble_link_sec_check()
1310 if (auth_req & BTM_LE_AUTH_REQ_MITM) { in btm_ble_link_sec_check()
1364 tBTM_LE_AUTH_REQ auth_req; in btm_ble_set_encryption() local
1391 auth_req = (sec_act == BTM_BLE_SEC_ENCRYPT_NO_MITM) in btm_ble_set_encryption()
[all …]
Dbtm_sec.cc2484 evt_data.auth_req = BTM_AUTH_SP_NO; in btm_io_capabilities_req()
2512 evt_data.auth_req = BTM_AUTH_AP_YES; in btm_io_capabilities_req()
2520 evt_data.auth_req = BTM_AUTH_AP_YES; in btm_io_capabilities_req()
2567 evt_data.auth_req = BTM_AUTH_SP_YES; in btm_io_capabilities_req()
2569 evt_data.auth_req = in btm_io_capabilities_req()
2593 evt_data.auth_req = BTM_AUTH_SPGB_YES; in btm_io_capabilities_req()
2601 evt_data.auth_req = in btm_io_capabilities_req()
2602 (BTM_AUTH_DD_BOND | (evt_data.auth_req & BTM_AUTH_YN_BIT)); in btm_io_capabilities_req()
2608 evt_data.auth_req |= BTM_AUTH_YN_BIT; in btm_io_capabilities_req()
2610 __func__, evt_data.auth_req); in btm_io_capabilities_req()
[all …]
Dbtm_ble_int.h63 tBTM_LE_AUTH_REQ auth_req,
/system/bt/stack/include/
Dgatt_api.h430 tGATT_AUTH_REQ auth_req; /* authentication request */ member
524 tGATT_AUTH_REQ auth_req; member
535 tGATT_AUTH_REQ auth_req; member
543 tGATT_AUTH_REQ auth_req; member
549 tGATT_AUTH_REQ auth_req; member
Dbtm_api_types.h662 tBTM_AUTH_REQ auth_req; /* Authentication required (for local device) */ member
672 tBTM_AUTH_REQ auth_req; /* Authentication required for peer device */ member
828 tBTM_LE_AUTH_REQ auth_req; member
/system/bt/btif/include/
Dbtif_dm.h51 tBTM_OOB_DATA oob_data, tBTM_AUTH_REQ auth_req);

12