Loading system/stack/btm/btm_int.h +0 −1 Original line number Diff line number Diff line Loading @@ -1093,7 +1093,6 @@ extern void btm_sec_set_peer_sec_caps (tACL_CONN *p_acl_cb, tBTM_SEC_DEV_REC *p_ #if BLE_INCLUDED == TRUE extern void btm_sec_clear_ble_keys (tBTM_SEC_DEV_REC *p_dev_rec); extern BOOLEAN btm_sec_find_bonded_dev (UINT8 start_idx, UINT8 *p_found_idx, tBTM_SEC_DEV_REC **p_rec); extern BOOLEAN btm_sec_is_a_bonded_dev (BD_ADDR bda); extern void btm_consolidate_dev(tBTM_SEC_DEV_REC *p_target_rec); extern BOOLEAN btm_sec_is_le_capable_dev (BD_ADDR bda); Loading system/stack/btm/btm_sec.c +0 −37 Original line number Diff line number Diff line Loading @@ -6352,43 +6352,6 @@ BOOLEAN btm_sec_is_le_capable_dev (BD_ADDR bda) return le_capable; } /******************************************************************************* ** ** Function btm_sec_find_bonded_dev ** ** Description Find a bonded device starting from the specified index ** ** Returns TRUE - found a bonded device ** *******************************************************************************/ BOOLEAN btm_sec_find_bonded_dev (UINT8 start_idx, UINT8 *p_found_idx, tBTM_SEC_DEV_REC **p_rec) { BOOLEAN found= FALSE; #if (SMP_INCLUDED== TRUE) tBTM_SEC_DEV_REC *p_dev_rec; int i; if (start_idx >= BTM_SEC_MAX_DEVICE_RECORDS) { BTM_TRACE_DEBUG ("LE bonded device not found"); return found; } p_dev_rec = &btm_cb.sec_dev_rec[start_idx]; for (i = start_idx; i < BTM_SEC_MAX_DEVICE_RECORDS; i++, p_dev_rec++) { if (p_dev_rec->ble.key_type || (p_dev_rec->sec_flags & BTM_SEC_LINK_KEY_KNOWN)) { *p_found_idx = i; *p_rec = p_dev_rec; break; } } BTM_TRACE_DEBUG ("%s() found=%d", __func__, found); #endif return(found); } /******************************************************************************* ** ** Function btm_sec_use_smp_br_chnl Loading Loading
system/stack/btm/btm_int.h +0 −1 Original line number Diff line number Diff line Loading @@ -1093,7 +1093,6 @@ extern void btm_sec_set_peer_sec_caps (tACL_CONN *p_acl_cb, tBTM_SEC_DEV_REC *p_ #if BLE_INCLUDED == TRUE extern void btm_sec_clear_ble_keys (tBTM_SEC_DEV_REC *p_dev_rec); extern BOOLEAN btm_sec_find_bonded_dev (UINT8 start_idx, UINT8 *p_found_idx, tBTM_SEC_DEV_REC **p_rec); extern BOOLEAN btm_sec_is_a_bonded_dev (BD_ADDR bda); extern void btm_consolidate_dev(tBTM_SEC_DEV_REC *p_target_rec); extern BOOLEAN btm_sec_is_le_capable_dev (BD_ADDR bda); Loading
system/stack/btm/btm_sec.c +0 −37 Original line number Diff line number Diff line Loading @@ -6352,43 +6352,6 @@ BOOLEAN btm_sec_is_le_capable_dev (BD_ADDR bda) return le_capable; } /******************************************************************************* ** ** Function btm_sec_find_bonded_dev ** ** Description Find a bonded device starting from the specified index ** ** Returns TRUE - found a bonded device ** *******************************************************************************/ BOOLEAN btm_sec_find_bonded_dev (UINT8 start_idx, UINT8 *p_found_idx, tBTM_SEC_DEV_REC **p_rec) { BOOLEAN found= FALSE; #if (SMP_INCLUDED== TRUE) tBTM_SEC_DEV_REC *p_dev_rec; int i; if (start_idx >= BTM_SEC_MAX_DEVICE_RECORDS) { BTM_TRACE_DEBUG ("LE bonded device not found"); return found; } p_dev_rec = &btm_cb.sec_dev_rec[start_idx]; for (i = start_idx; i < BTM_SEC_MAX_DEVICE_RECORDS; i++, p_dev_rec++) { if (p_dev_rec->ble.key_type || (p_dev_rec->sec_flags & BTM_SEC_LINK_KEY_KNOWN)) { *p_found_idx = i; *p_rec = p_dev_rec; break; } } BTM_TRACE_DEBUG ("%s() found=%d", __func__, found); #endif return(found); } /******************************************************************************* ** ** Function btm_sec_use_smp_br_chnl Loading