Loading system/main/shim/btm_api.cc +6 −0 Original line number Diff line number Diff line Loading @@ -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; } system/main/shim/btm_api.h +11 −0 Original line number Diff line number Diff line Loading @@ -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 */ Loading system/test/mock/mock_main_shim_btm_api.cc +5 −0 Original line number Diff line number Diff line Loading @@ -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; } Loading
system/main/shim/btm_api.cc +6 −0 Original line number Diff line number Diff line Loading @@ -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; }
system/main/shim/btm_api.h +11 −0 Original line number Diff line number Diff line Loading @@ -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 */ Loading
system/test/mock/mock_main_shim_btm_api.cc +5 −0 Original line number Diff line number Diff line Loading @@ -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; }