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

Commit 10af15cd authored by Martin Brabham's avatar Martin Brabham
Browse files

Floss: Set the event filter to inquiry result device all BTM API

Bug: 218496800
Test: mma -j $(nproc)
Test: ./build.py
Tag: #floss
Change-Id: Ic716efaff4a97e3327182b1c05a5c835371e3550
parent 91c7d6f0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1358,3 +1358,9 @@ tBTM_STATUS bluetooth::shim::BTM_LeRand(LeRandCallback cb) {
  controller_get_interface()->le_rand(cb);
  return BTM_SUCCESS;
}

tBTM_STATUS bluetooth::shim::BTM_SetEventFilterInquiryResultAllDevices() {
  // Autoplumbed
  controller_get_interface()->set_event_filter_inquiry_result_all_devices();
  return BTM_SUCCESS;
}
+11 −0
Original line number Diff line number Diff line
@@ -1869,6 +1869,17 @@ tBTM_STATUS BTM_DisconnectAllAcls(void);
using LeRandCallback = base::Callback<void(uint64_t)>;
tBTM_STATUS BTM_LeRand(LeRandCallback);

/*******************************************************************************
 *
 * Function        BTM_SetEventFilterInquiryResultAllDevices
 *
 * Description    Floss: Set the event filter to inquiry result device all
 *
 * Parameters
 *
 *******************************************************************************/
tBTM_STATUS BTM_SetEventFilterInquiryResultAllDevices(void);

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

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