Searched refs:sec_flag (Results 1 – 6 of 6) sorted by relevance
/system/bt/stack/gatt/ |
D | gatt_db.cc | 86 tGATT_SEC_FLAG sec_flag, in gatts_check_attr_readability() argument 102 !(sec_flag & GATT_SEC_FLAG_LKEY_UNAUTHED) && in gatts_check_attr_readability() 103 !(sec_flag & BTM_SEC_FLAG_ENCRYPTED)) { in gatts_check_attr_readability() 109 !(sec_flag & GATT_SEC_FLAG_LKEY_AUTHED)) { in gatts_check_attr_readability() 115 !(sec_flag & GATT_SEC_FLAG_ENCRYPTED)) { in gatts_check_attr_readability() 121 (sec_flag & GATT_SEC_FLAG_ENCRYPTED) && (key_size < min_key_size)) { in gatts_check_attr_readability() 168 tGATT_SEC_FLAG sec_flag, uint8_t key_size) { in read_attr_value() argument 173 attr16.permission, sec_flag, offset, read_long); in read_attr_value() 176 sec_flag, key_size); in read_attr_value() 270 uint16_t* p_len, tGATT_SEC_FLAG sec_flag, uint8_t key_size, in gatts_db_read_attr_value_by_type() argument [all …]
|
D | gatt_sr.cc | 408 uint8_t sec_flag, key_size; in gatt_process_read_multi_req() local 415 gatt_sr_get_sec_info(tcb.peer_bda, tcb.transport, &sec_flag, &key_size); in gatt_process_read_multi_req() 439 err = gatts_read_attr_perm_check(it->p_db, false, handle, sec_flag, in gatt_process_read_multi_req() 475 &p_msg->attr_value.len, GATT_MAX_ATTR_LEN, sec_flag, key_size, in gatt_process_read_multi_req() 891 uint8_t sec_flag, key_size; in gatts_process_read_by_type_req() local 892 gatt_sr_get_sec_info(tcb.peer_bda, tcb.transport, &sec_flag, &key_size); in gatts_process_read_by_type_req() 896 sec_flag, key_size, 0, &err_hdl); in gatts_process_read_by_type_req() 936 uint8_t sec_flag, key_size, *p = p_data; in gatts_process_write_req() local 973 gatt_sr_get_sec_info(tcb.peer_bda, tcb.transport, &sec_flag, &key_size); in gatts_process_write_req() 977 sec_flag, key_size); in gatts_process_write_req() [all …]
|
D | gatt_int.h | 644 const bluetooth::Uuid& type, uint16_t* p_len, tGATT_SEC_FLAG sec_flag, 649 uint16_t mtu, tGATT_SEC_FLAG sec_flag, uint8_t key_size, uint32_t trans_id); 652 uint8_t* p_data, uint16_t len, tGATT_SEC_FLAG sec_flag, uint8_t key_size); 655 tGATT_SEC_FLAG sec_flag,
|
D | gatt_utils.cc | 757 uint8_t sec_flag = 0; in gatt_sr_get_sec_info() local 759 BTM_GetSecurityFlagsByTransport(rem_bda, &sec_flag, transport); in gatt_sr_get_sec_info() 761 sec_flag &= (GATT_SEC_FLAG_LKEY_UNAUTHED | GATT_SEC_FLAG_LKEY_AUTHED | in gatt_sr_get_sec_info() 765 *p_sec_flag = sec_flag; in gatt_sr_get_sec_info()
|
/system/bt/bta/vc/ |
D | device.cc | 231 uint8_t sec_flag = 0; in IsEncryptionEnabled() local 233 BTM_GetSecurityFlagsByTransport(address, &sec_flag, BT_TRANSPORT_LE); in IsEncryptionEnabled() 235 << " sec_flag=" << loghex(sec_flag); in IsEncryptionEnabled() 236 return device_found && (sec_flag & BTM_SEC_FLAG_ENCRYPTED); in IsEncryptionEnabled()
|
/system/bt/stack/test/gatt/ |
D | gatt_sr_test.cc | 98 uint16_t* p_len, tGATT_SEC_FLAG sec_flag, uint8_t key_size, in gatts_db_read_attr_value_by_type() argument 110 tGATT_SEC_FLAG sec_flag, in gatts_read_attr_perm_check() argument 117 uint16_t mtu, tGATT_SEC_FLAG sec_flag, uint8_t key_size, in gatts_read_attr_value_by_handle() argument 124 tGATT_SEC_FLAG sec_flag, in gatts_write_attr_perm_check() argument
|