Loading system/main/shim/btm_api.cc +6 −0 Original line number Diff line number Diff line Loading @@ -1359,6 +1359,12 @@ tBTM_STATUS bluetooth::shim::BTM_LeRand(LeRandCallback cb) { return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_RestoreFilterAcceptList() { LOG_ERROR("%s: TODO(230604670): Figure out what address for A2DP Connected Resume", __func__); // TODO(230604670): Figure out what address for A2DP Connected Resume return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_SetDefaultEventMask() { // Autoplumbed controller_get_interface()->set_default_event_mask(); Loading 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_RestoreFilterAcceptList * * Description Floss: Restore the state of the for the filter accept list * * Parameters * *******************************************************************************/ tBTM_STATUS BTM_RestoreFilterAcceptList(void); /******************************************************************************* * * Function BTM_SetDefaultEventMask Loading system/test/mock/mock_main_shim_btm_api.cc +5 −0 Original line number Diff line number Diff line Loading @@ -450,6 +450,11 @@ tBTM_STATUS bluetooth::shim::BTM_LeRand(LeRandCallback cb) { return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_RestoreFilterAcceptList() { mock_function_count_map[__func__]++; return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_SetDefaultEventMask() { mock_function_count_map[__func__]++; return BTM_SUCCESS; Loading Loading
system/main/shim/btm_api.cc +6 −0 Original line number Diff line number Diff line Loading @@ -1359,6 +1359,12 @@ tBTM_STATUS bluetooth::shim::BTM_LeRand(LeRandCallback cb) { return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_RestoreFilterAcceptList() { LOG_ERROR("%s: TODO(230604670): Figure out what address for A2DP Connected Resume", __func__); // TODO(230604670): Figure out what address for A2DP Connected Resume return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_SetDefaultEventMask() { // Autoplumbed controller_get_interface()->set_default_event_mask(); Loading
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_RestoreFilterAcceptList * * Description Floss: Restore the state of the for the filter accept list * * Parameters * *******************************************************************************/ tBTM_STATUS BTM_RestoreFilterAcceptList(void); /******************************************************************************* * * Function BTM_SetDefaultEventMask Loading
system/test/mock/mock_main_shim_btm_api.cc +5 −0 Original line number Diff line number Diff line Loading @@ -450,6 +450,11 @@ tBTM_STATUS bluetooth::shim::BTM_LeRand(LeRandCallback cb) { return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_RestoreFilterAcceptList() { mock_function_count_map[__func__]++; return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_SetDefaultEventMask() { mock_function_count_map[__func__]++; return BTM_SUCCESS; Loading