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

Commit 38c1386c authored by Chris Manton's avatar Chris Manton
Browse files

mock: Remove unused mock btm_ble_conn_complete

Bug: 307835081
Test: m .

Change-Id: I5be97b629f9a44e5b1ae907d23c45b5dd28787be
parent d2fad73b
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@ namespace stack_acl_btm_ble_connection_establishment {
// Function state capture and return values, if needed
struct btm_ble_create_ll_conn_complete btm_ble_create_ll_conn_complete;
struct maybe_resolve_address maybe_resolve_address;
struct btm_ble_conn_complete btm_ble_conn_complete;

}  // namespace stack_acl_btm_ble_connection_establishment
}  // namespace mock
@@ -56,10 +55,5 @@ bool maybe_resolve_address(RawAddress* bda, tBLE_ADDR_TYPE* bda_type) {
  return test::mock::stack_acl_btm_ble_connection_establishment::
      maybe_resolve_address(bda, bda_type);
}
void btm_ble_conn_complete(uint8_t* p, uint16_t evt_len, bool enhanced) {
  inc_func_call_count(__func__);
  test::mock::stack_acl_btm_ble_connection_establishment::btm_ble_conn_complete(
      p, evt_len, enhanced);
}

// END mockcify generation
+0 −12
Original line number Diff line number Diff line
@@ -54,18 +54,6 @@ struct maybe_resolve_address {
  };
};
extern struct maybe_resolve_address maybe_resolve_address;
// Name: btm_ble_conn_complete
// Params: uint8_t* p, uint16_t evt_len, bool enhanced
// Returns: void
struct btm_ble_conn_complete {
  std::function<void(uint8_t* p, uint16_t evt_len, bool enhanced)> body{
      [](uint8_t* p, uint16_t evt_len, bool enhanced) {}};
  void operator()(uint8_t* p, uint16_t evt_len, bool enhanced) {
    body(p, evt_len, enhanced);
  };
};
extern struct btm_ble_conn_complete btm_ble_conn_complete;

}  // namespace stack_acl_btm_ble_connection_establishment
}  // namespace mock
}  // namespace test