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