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

Commit 9dc1b223 authored by Chris Manton's avatar Chris Manton
Browse files

mock: [2/63] Remove ACL_UnregisterClient

Use get_btm_client_interface() instead

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

Change-Id: I6b98085644b0cf9e4a0b222b758e91f367c6130d
parent dfa1f68f
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -87,7 +87,6 @@ struct BTM_GetPeerSCA BTM_GetPeerSCA;
struct acl_link_role_from_handle acl_link_role_from_handle;
struct btm_handle_to_acl_index btm_handle_to_acl_index;
struct BTM_ReadRemoteFeatures BTM_ReadRemoteFeatures;
struct ACL_UnregisterClient ACL_UnregisterClient;
struct BTM_ReadConnectionAddr BTM_ReadConnectionAddr;
struct BTM_RequestPeerSCA BTM_RequestPeerSCA;
struct BTM_acl_after_controller_started BTM_acl_after_controller_started;
@@ -340,10 +339,6 @@ uint8_t* BTM_ReadRemoteFeatures(const RawAddress& addr) {
  inc_func_call_count(__func__);
  return test::mock::stack_acl::BTM_ReadRemoteFeatures(addr);
}
void ACL_UnregisterClient(struct acl_client_callback_s* callbacks) {
  inc_func_call_count(__func__);
  test::mock::stack_acl::ACL_UnregisterClient(callbacks);
}
void BTM_ReadConnectionAddr(const RawAddress& remote_bda, RawAddress& local_conn_addr,
                            tBLE_ADDR_TYPE* p_addr_type, bool ota_address) {
  inc_func_call_count(__func__);
+0 −9
Original line number Diff line number Diff line
@@ -502,15 +502,6 @@ struct BTM_ReadRemoteFeatures {
  uint8_t* operator()(const RawAddress& addr) { return body(addr); }
};
extern struct BTM_ReadRemoteFeatures BTM_ReadRemoteFeatures;
// Name: ACL_UnregisterClient
// Params: struct acl_client_callback_s* callbacks
// Returns: void
struct ACL_UnregisterClient {
  std::function<void(struct acl_client_callback_s* callbacks)> body{
          [](struct acl_client_callback_s* /* callbacks */) { ; }};
  void operator()(struct acl_client_callback_s* callbacks) { body(callbacks); }
};
extern struct ACL_UnregisterClient ACL_UnregisterClient;
// Name: BTM_ReadConnectionAddr
// Params: const RawAddress& remote_bda, RawAddress& local_conn_addr, bool
// ota_address tBLE_ADDR_TYPE* p_addr_type Returns: void