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

Commit a15ddff9 authored by Martin Brabham's avatar Martin Brabham
Browse files

Floss: BTM API: ClearEventFilter

Bug: 217389781
Test: Compiles
Tag: #floss
Change-Id: I62cbf1fd66e5624f7aa56373e85f487e55ba0c2c
parent d1d1d682
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1341,3 +1341,8 @@ tBTM_STATUS bluetooth::shim::BTM_SetDeviceClass(DEV_CLASS dev_class) {
  LOG_WARN("Unimplemented");
  return BTM_SUCCESS;
}

tBTM_STATUS bluetooth::shim::BTM_ClearEventFilter() {
  controller_get_interface()->clear_event_filter();
  return BTM_SUCCESS;
}
+11 −0
Original line number Diff line number Diff line
@@ -1840,6 +1840,17 @@ bool BTM_BleLocalPrivacyEnabled(void);
 ******************************************************************************/
tBTM_STATUS BTM_BleGetEnergyInfo(tBTM_BLE_ENERGY_INFO_CBACK* p_ener_cback);

/*******************************************************************************
 *
 * Function         BTM_ClearEventFilter
 *
 * Description      Clears the event filter in the controller
 *
 * Returns          Return btm status
 *
 ******************************************************************************/
tBTM_STATUS BTM_ClearEventFilter(void);

/**
 * Send remote name request to GD shim Name module
 */
+5 −0
Original line number Diff line number Diff line
@@ -432,3 +432,8 @@ void btm_api_process_inquiry_result_with_rssi(RawAddress raw_address,
                                              int8_t rssi) {
  mock_function_count_map[__func__]++;
}

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