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

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

mock: [1/63] Remove ACL_RegisterClient

Use get_btm_client_interface() instead

Bug: 352129816
Test: m .
Flag: EXEMPT, Test infrastructure
Change-Id: I75400d598bb0e6361d39d7f43336e2b16defaf75
parent e2c09f6e
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_RegisterClient ACL_RegisterClient;
struct ACL_UnregisterClient ACL_UnregisterClient;
struct BTM_ReadConnectionAddr BTM_ReadConnectionAddr;
struct BTM_RequestPeerSCA BTM_RequestPeerSCA;
@@ -341,10 +340,6 @@ uint8_t* BTM_ReadRemoteFeatures(const RawAddress& addr) {
  inc_func_call_count(__func__);
  return test::mock::stack_acl::BTM_ReadRemoteFeatures(addr);
}
void ACL_RegisterClient(struct acl_client_callback_s* callbacks) {
  inc_func_call_count(__func__);
  test::mock::stack_acl::ACL_RegisterClient(callbacks);
}
void ACL_UnregisterClient(struct acl_client_callback_s* callbacks) {
  inc_func_call_count(__func__);
  test::mock::stack_acl::ACL_UnregisterClient(callbacks);
+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_RegisterClient
// Params: struct acl_client_callback_s* callbacks
// Returns: void
struct ACL_RegisterClient {
  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_RegisterClient ACL_RegisterClient;
// Name: ACL_UnregisterClient
// Params: struct acl_client_callback_s* callbacks
// Returns: void