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

Commit 7ed0f8d6 authored by Chris Manton's avatar Chris Manton
Browse files

mock: [45/63] Remove BTM_RemoveEirService

Use get_btm_client_interface() instead

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

Change-Id: Ibe26844bf76efaab5ad907a49988c120314205f1
parent 719841a9
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@ struct BTM_EnableInterlacedInquiryScan BTM_EnableInterlacedInquiryScan;
struct BTM_EnableInterlacedPageScan BTM_EnableInterlacedPageScan;
struct BTM_HasEirService BTM_HasEirService;
struct BTM_IsInquiryActive BTM_IsInquiryActive;
struct BTM_RemoveEirService BTM_RemoveEirService;
struct BTM_SetConnectability BTM_SetConnectability;
struct BTM_SetDiscoverability BTM_SetDiscoverability;
struct BTM_SetInquiryMode BTM_SetInquiryMode;
@@ -105,10 +104,6 @@ uint16_t BTM_IsInquiryActive(void) {
  inc_func_call_count(__func__);
  return test::mock::stack_btm_inq::BTM_IsInquiryActive();
}
void BTM_RemoveEirService(uint32_t* p_eir_uuid, uint16_t uuid16) {
  inc_func_call_count(__func__);
  test::mock::stack_btm_inq::BTM_RemoveEirService(p_eir_uuid, uuid16);
}
tBTM_STATUS BTM_SetConnectability(uint16_t page_mode) {
  inc_func_call_count(__func__);
  return test::mock::stack_btm_inq::BTM_SetConnectability(page_mode);
+0 −10
Original line number Diff line number Diff line
@@ -96,16 +96,6 @@ struct BTM_IsInquiryActive {
};
extern struct BTM_IsInquiryActive BTM_IsInquiryActive;

// Name: BTM_RemoveEirService
// Params: uint32_t* p_eir_uuid, uint16_t uuid16
// Return: void
struct BTM_RemoveEirService {
  std::function<void(uint32_t* p_eir_uuid, uint16_t uuid16)> body{
          [](uint32_t* /* p_eir_uuid */, uint16_t /* uuid16 */) {}};
  void operator()(uint32_t* p_eir_uuid, uint16_t uuid16) { body(p_eir_uuid, uuid16); }
};
extern struct BTM_RemoveEirService BTM_RemoveEirService;

// Name: BTM_SetConnectability
// Params: uint16_t page_mode
// Return: tBTM_STATUS