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

Commit f3710a66 authored by Chris Manton's avatar Chris Manton
Browse files

mock: [48/63] Remove BTM_RequestPeerSCA

Use get_btm_client_interface() instead

Bug: 352129816
Test: m .
Flag: EXEMPT, Test infrastructure

Change-Id: I9143c75dab2237ed488ce5cbb55f653002291157
parent 75e99e79
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -77,7 +77,6 @@ struct acl_get_supported_packet_types acl_get_supported_packet_types;
struct acl_link_role_from_handle acl_link_role_from_handle;
struct btm_handle_to_acl_index btm_handle_to_acl_index;
struct BTM_ReadConnectionAddr BTM_ReadConnectionAddr;
struct BTM_RequestPeerSCA BTM_RequestPeerSCA;
struct BTM_acl_after_controller_started BTM_acl_after_controller_started;
struct btm_connection_request btm_connection_request;
struct BTM_unblock_role_switch_for BTM_unblock_role_switch_for;
@@ -285,10 +284,6 @@ void BTM_ReadConnectionAddr(const RawAddress& remote_bda, RawAddress& local_conn
  test::mock::stack_acl::BTM_ReadConnectionAddr(remote_bda, local_conn_addr, p_addr_type,
                                                ota_address);
}
void BTM_RequestPeerSCA(const RawAddress& remote_bda, tBT_TRANSPORT transport) {
  inc_func_call_count(__func__);
  test::mock::stack_acl::BTM_RequestPeerSCA(remote_bda, transport);
}
void BTM_acl_after_controller_started() {
  inc_func_call_count(__func__);
  test::mock::stack_acl::BTM_acl_after_controller_started();
+0 −11
Original line number Diff line number Diff line
@@ -393,17 +393,6 @@ struct BTM_ReadConnectionAddr {
  }
};
extern struct BTM_ReadConnectionAddr BTM_ReadConnectionAddr;
// Name: BTM_RequestPeerSCA
// Params: const RawAddress& remote_bda, tBT_TRANSPORT transport
// Returns: void
struct BTM_RequestPeerSCA {
  std::function<void(const RawAddress& remote_bda, tBT_TRANSPORT transport)> body{
          [](const RawAddress& /* remote_bda */, tBT_TRANSPORT /* transport */) { ; }};
  void operator()(const RawAddress& remote_bda, tBT_TRANSPORT transport) {
    body(remote_bda, transport);
  }
};
extern struct BTM_RequestPeerSCA BTM_RequestPeerSCA;
// Name: BTM_acl_after_controller_started
// Returns: void
struct BTM_acl_after_controller_started {