Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08f94ba6 authored by Chris Manton's avatar Chris Manton Committed by Gerrit Code Review
Browse files

Merge "Stat-ify stack::gatt::gatt_enc_cmpl_cback"

parents d04d8b41 cbaa5474
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -155,8 +155,10 @@ static void gatt_sec_check_complete(bool sec_check_ok, tGATT_CLCB* p_clcb,
 * Returns
 *
 ******************************************************************************/
void gatt_enc_cmpl_cback(const RawAddress* bd_addr, tBT_TRANSPORT transport,
                         UNUSED_ATTR void* p_ref_data, tBTM_STATUS result) {
static void gatt_enc_cmpl_cback(const RawAddress* bd_addr,
                                tBT_TRANSPORT transport,
                                UNUSED_ATTR void* p_ref_data,
                                tBTM_STATUS result) {
  VLOG(1) << StringPrintf("gatt_enc_cmpl_cback");
  tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(*bd_addr, transport);
  if (!p_tcb) {
+0 −4
Original line number Diff line number Diff line
@@ -50,10 +50,6 @@ tGATT_STATUS gatt_get_link_encrypt_status(tGATT_TCB& tcb) {
  mock_function_count_map[__func__]++;
  return GATT_SUCCESS;
}
void gatt_enc_cmpl_cback(const RawAddress* bd_addr, tBT_TRANSPORT transport,
                         UNUSED_ATTR void* p_ref_data, tBTM_STATUS result) {
  mock_function_count_map[__func__]++;
}
void gatt_notify_enc_cmpl(const RawAddress& bd_addr) {
  mock_function_count_map[__func__]++;
}