Lines Matching refs:sec_flag
84 tGATT_SEC_FLAG sec_flag, in gatts_check_attr_readability() argument
100 !(sec_flag & GATT_SEC_FLAG_LKEY_UNAUTHED) && in gatts_check_attr_readability()
101 !(sec_flag & BTM_SEC_FLAG_ENCRYPTED)) { in gatts_check_attr_readability()
107 !(sec_flag & GATT_SEC_FLAG_LKEY_AUTHED)) { in gatts_check_attr_readability()
113 !(sec_flag & GATT_SEC_FLAG_ENCRYPTED)) { in gatts_check_attr_readability()
119 (sec_flag & GATT_SEC_FLAG_ENCRYPTED) && (key_size < min_key_size)) { in gatts_check_attr_readability()
166 tGATT_SEC_FLAG sec_flag, uint8_t key_size) { in read_attr_value() argument
171 attr16.permission, sec_flag, offset, read_long); in read_attr_value()
174 sec_flag, key_size); in read_attr_value()
257 tGATT_SEC_FLAG sec_flag, uint8_t key_size, uint32_t trans_id, in gatts_db_read_attr_value_by_type() argument
274 &len, sec_flag, key_size); in gatts_db_read_attr_value_by_type()
445 tGATT_SEC_FLAG sec_flag, uint8_t key_size, uint32_t trans_id) { in gatts_read_attr_value_by_handle() argument
452 mtu, p_len, sec_flag, key_size); in gatts_read_attr_value_by_handle()
482 tGATT_SEC_FLAG sec_flag, in gatts_read_attr_perm_check() argument
487 return gatts_check_attr_readability(*p_attr, 0, is_long, sec_flag, key_size); in gatts_read_attr_perm_check()
511 tGATT_SEC_FLAG sec_flag, in gatts_write_attr_perm_check() argument
516 __func__, op_code, handle, offset, len, sec_flag, key_size); in gatts_write_attr_perm_check()
554 (sec_flag & GATT_SEC_FLAG_ENCRYPTED)) { in gatts_write_attr_perm_check()
564 !(sec_flag & GATT_SEC_FLAG_LKEY_UNAUTHED)) { in gatts_write_attr_perm_check()
568 !(sec_flag & GATT_SEC_FLAG_LKEY_AUTHED)) { in gatts_write_attr_perm_check()
572 !(sec_flag & GATT_SEC_FLAG_ENCRYPTED)) { in gatts_write_attr_perm_check()
576 (sec_flag & GATT_SEC_FLAG_ENCRYPTED) && in gatts_write_attr_perm_check()
583 !(sec_flag & GATT_SEC_FLAG_ENCRYPTED) && in gatts_write_attr_perm_check()