Loading system/main/shim/btm_api.cc +6 −0 Original line number Diff line number Diff line Loading @@ -1357,6 +1357,12 @@ tBTM_STATUS bluetooth::shim::BTM_LeRand(LeRandCallback cb) { return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_SetEventFilterConnectionSetupAllDevices() { // Autoplumbed controller_get_interface()->set_event_filter_connection_setup_all_devices(); return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_AllowWakeByHid() { // Autoplumbed controller_get_interface()->allow_wake_by_hid(); 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_SetEventFilterConnectionSetupAllDevices * * Description Tell the controller to allow all devices * * Parameters * *******************************************************************************/ tBTM_STATUS BTM_SetEventFilterConnectionSetupAllDevices(void); /******************************************************************************* * * Function BTM_AllowWakeByHid 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_SetEventFilterConnectionSetupAllDevices() { mock_function_count_map[__func__]++; return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_AllowWakeByHid() { 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 @@ -1357,6 +1357,12 @@ tBTM_STATUS bluetooth::shim::BTM_LeRand(LeRandCallback cb) { return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_SetEventFilterConnectionSetupAllDevices() { // Autoplumbed controller_get_interface()->set_event_filter_connection_setup_all_devices(); return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_AllowWakeByHid() { // Autoplumbed controller_get_interface()->allow_wake_by_hid(); 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_SetEventFilterConnectionSetupAllDevices * * Description Tell the controller to allow all devices * * Parameters * *******************************************************************************/ tBTM_STATUS BTM_SetEventFilterConnectionSetupAllDevices(void); /******************************************************************************* * * Function BTM_AllowWakeByHid 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_SetEventFilterConnectionSetupAllDevices() { mock_function_count_map[__func__]++; return BTM_SUCCESS; } tBTM_STATUS bluetooth::shim::BTM_AllowWakeByHid() { mock_function_count_map[__func__]++; return BTM_SUCCESS; Loading