Searched refs:sec_flag (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_db.cc | 81 tGATT_SEC_FLAG sec_flag, in gatts_check_attr_readability() argument 96 if ((perm & GATT_READ_AUTH_REQUIRED) && !sec_flag.is_link_key_known && in gatts_check_attr_readability() 97 !sec_flag.is_encrypted) { in gatts_check_attr_readability() 102 if ((perm & GATT_READ_MITM_REQUIRED) && !sec_flag.is_link_key_authed) { in gatts_check_attr_readability() 107 if ((perm & GATT_READ_ENCRYPTED_REQUIRED) && !sec_flag.is_encrypted) { in gatts_check_attr_readability() 112 if ((perm & GATT_READ_ENCRYPTED_REQUIRED) && sec_flag.is_encrypted && in gatts_check_attr_readability() 119 if (sec_flag.can_read_discoverable_characteristics) { in gatts_check_attr_readability() 122 if (!sec_flag.is_link_key_known || !sec_flag.is_encrypted) { in gatts_check_attr_readability() 173 tGATT_SEC_FLAG sec_flag, uint8_t key_size) { in read_attr_value() argument 180 sec_flag, key_size); in read_attr_value() [all …]
|
D | gatt_sr.cc | 437 tGATT_SEC_FLAG sec_flag; in gatt_process_read_multi_req() local 449 gatt_sr_get_sec_info(tcb.peer_bda, tcb.transport, &sec_flag, &key_size); in gatt_process_read_multi_req() 474 err = gatts_read_attr_perm_check(it->p_db, false, handle, sec_flag, in gatt_process_read_multi_req() 515 &p_msg->attr_value.len, GATT_MAX_ATTR_LEN, sec_flag, key_size, in gatt_process_read_multi_req() 936 tGATT_SEC_FLAG sec_flag; in gatts_process_read_by_type_req() local 938 gatt_sr_get_sec_info(tcb.peer_bda, tcb.transport, &sec_flag, &key_size); in gatts_process_read_by_type_req() 942 sec_flag, key_size, 0, &err_hdl); in gatts_process_read_by_type_req() 982 tGATT_SEC_FLAG sec_flag; in gatts_process_write_req() local 1020 gatt_sr_get_sec_info(tcb.peer_bda, tcb.transport, &sec_flag, &key_size); in gatts_process_write_req() 1024 sec_flag, key_size); in gatts_process_write_req() [all …]
|
D | gatt_int.h | 674 const bluetooth::Uuid& type, uint16_t* p_len, tGATT_SEC_FLAG sec_flag, 679 uint16_t mtu, tGATT_SEC_FLAG sec_flag, uint8_t key_size, uint32_t trans_id); 683 tGATT_SEC_FLAG sec_flag, 687 tGATT_SEC_FLAG sec_flag,
|
/packages/modules/Bluetooth/system/stack/test/gatt/ |
D | gatt_sr_test.cc | 87 uint16_t* p_len, tGATT_SEC_FLAG sec_flag, uint8_t key_size, in gatts_db_read_attr_value_by_type() argument 99 tGATT_SEC_FLAG sec_flag, in gatts_read_attr_perm_check() argument 106 uint16_t mtu, tGATT_SEC_FLAG sec_flag, uint8_t key_size, in gatts_read_attr_value_by_handle() argument 113 tGATT_SEC_FLAG sec_flag, in gatts_write_attr_perm_check() argument
|