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

Commit 2180934d authored by Martin Brabham's avatar Martin Brabham
Browse files

Floss: ClearFilterAcceptList BTM Shim API

Bug: 223835863
Test: mma -j $(nproc)
Test: ./build.py
Tag: #floss
Change-Id: Iee557df2378d5941d6bfe1576ee7b3b5ce51b24a
parent c3410169
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -1339,3 +1339,8 @@ tBTM_STATUS bluetooth::shim::BTM_ClearEventMask() {
  controller_get_interface()->clear_event_mask();
  controller_get_interface()->clear_event_mask();
  return BTM_SUCCESS;
  return BTM_SUCCESS;
}
}

tBTM_STATUS bluetooth::shim::BTM_ClearFilterAcceptList() {
  Stack::GetInstance()->GetAcl()->ClearAcceptList();
  return BTM_SUCCESS;
}
+11 −0
Original line number Original line Diff line number Diff line
@@ -1832,6 +1832,17 @@ tBTM_STATUS BTM_ClearEventFilter(void);
 ******************************************************************************/
 ******************************************************************************/
tBTM_STATUS BTM_ClearEventMask(void);
tBTM_STATUS BTM_ClearEventMask(void);


/*******************************************************************************
 *
 * Function         BTM_ClearFilterAcceptList
 *
 * Description      Clears the connect list in the controller
 *
 * Returns          Return btm status
 *
 ******************************************************************************/
tBTM_STATUS BTM_ClearFilterAcceptList(void);

/**
/**
 * Send remote name request to GD shim Name module
 * Send remote name request to GD shim Name module
 */
 */
+5 −0
Original line number Original line Diff line number Diff line
@@ -434,3 +434,8 @@ tBTM_STATUS bluetooth::shim::BTM_ClearEventMask() {
  mock_function_count_map[__func__]++;
  mock_function_count_map[__func__]++;
  return BTM_SUCCESS;
  return BTM_SUCCESS;
}
}

tBTM_STATUS bluetooth::shim::BTM_ClearFilterAcceptList() {
  mock_function_count_map[__func__]++;
  return BTM_SUCCESS;
}