Loading system/bta/dm/bta_dm_act.cc +14 −0 Original line number Original line Diff line number Diff line Loading @@ -4105,6 +4105,20 @@ void bta_dm_le_rand(LeRandCallback cb) { bluetooth::shim::BTM_LeRand(cb); bluetooth::shim::BTM_LeRand(cb); } } /******************************************************************************* * * Function BTA_DmSetEventFilterConnectionSetupAllDevices * * Description Tell the controller to allow all devices * * Parameters * *******************************************************************************/ void bta_dm_set_event_filter_connection_setup_all_devices() { // Autoplumbed bluetooth::shim::BTM_SetEventFilterConnectionSetupAllDevices(); } /******************************************************************************* /******************************************************************************* * * * Function BTA_DmAllowWakeByHid * Function BTA_DmAllowWakeByHid Loading system/bta/dm/bta_dm_api.cc +7 −0 Original line number Original line Diff line number Diff line Loading @@ -690,6 +690,13 @@ void BTA_DmLeRand(LeRandCallback cb) { do_in_main_thread(FROM_HERE, base::Bind(bta_dm_le_rand, cb)); do_in_main_thread(FROM_HERE, base::Bind(bta_dm_le_rand, cb)); } } void BTA_DmSetEventFilterConnectionSetupAllDevices() { APPL_TRACE_API("BTA_DmSetEventFilterConnectionSetupAllDevices"); do_in_main_thread( FROM_HERE, base::Bind(bta_dm_set_event_filter_connection_setup_all_devices)); } void BTA_DmAllowWakeByHid() { void BTA_DmAllowWakeByHid() { APPL_TRACE_API("BTA_DmAllowWakeByHid"); APPL_TRACE_API("BTA_DmAllowWakeByHid"); do_in_main_thread(FROM_HERE, base::Bind(bta_dm_allow_wake_by_hid)); do_in_main_thread(FROM_HERE, base::Bind(bta_dm_allow_wake_by_hid)); Loading system/bta/dm/bta_dm_int.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -546,6 +546,7 @@ extern void bta_dm_clear_event_mask(void); extern void bta_dm_clear_filter_accept_list(void); extern void bta_dm_clear_filter_accept_list(void); extern void bta_dm_disconnect_all_acls(void); extern void bta_dm_disconnect_all_acls(void); extern void bta_dm_le_rand(LeRandCallback cb); extern void bta_dm_le_rand(LeRandCallback cb); extern void bta_dm_set_event_filter_connection_setup_all_devices(); extern void bta_dm_allow_wake_by_hid(); extern void bta_dm_allow_wake_by_hid(); extern void bta_dm_restore_filter_accept_list(); extern void bta_dm_restore_filter_accept_list(); extern void bta_dm_set_default_event_mask(); extern void bta_dm_set_default_event_mask(); Loading system/bta/include/bta_api.h +11 −0 Original line number Original line Diff line number Diff line Loading @@ -1223,6 +1223,17 @@ using LeRandCallback = base::Callback<void(uint64_t)>; ******************************************************************************/ ******************************************************************************/ extern void BTA_DmLeRand(LeRandCallback cb); extern void BTA_DmLeRand(LeRandCallback cb); /******************************************************************************* * * Function BTA_DmSetEventFilterConnectionSetupAllDevices * * Description Tell the controller to allow all devices * * Parameters * *******************************************************************************/ extern void BTA_DmSetEventFilterConnectionSetupAllDevices(); /******************************************************************************* /******************************************************************************* * * * Function BTA_DmAllowWakeByHid * Function BTA_DmAllowWakeByHid Loading Loading
system/bta/dm/bta_dm_act.cc +14 −0 Original line number Original line Diff line number Diff line Loading @@ -4105,6 +4105,20 @@ void bta_dm_le_rand(LeRandCallback cb) { bluetooth::shim::BTM_LeRand(cb); bluetooth::shim::BTM_LeRand(cb); } } /******************************************************************************* * * Function BTA_DmSetEventFilterConnectionSetupAllDevices * * Description Tell the controller to allow all devices * * Parameters * *******************************************************************************/ void bta_dm_set_event_filter_connection_setup_all_devices() { // Autoplumbed bluetooth::shim::BTM_SetEventFilterConnectionSetupAllDevices(); } /******************************************************************************* /******************************************************************************* * * * Function BTA_DmAllowWakeByHid * Function BTA_DmAllowWakeByHid Loading
system/bta/dm/bta_dm_api.cc +7 −0 Original line number Original line Diff line number Diff line Loading @@ -690,6 +690,13 @@ void BTA_DmLeRand(LeRandCallback cb) { do_in_main_thread(FROM_HERE, base::Bind(bta_dm_le_rand, cb)); do_in_main_thread(FROM_HERE, base::Bind(bta_dm_le_rand, cb)); } } void BTA_DmSetEventFilterConnectionSetupAllDevices() { APPL_TRACE_API("BTA_DmSetEventFilterConnectionSetupAllDevices"); do_in_main_thread( FROM_HERE, base::Bind(bta_dm_set_event_filter_connection_setup_all_devices)); } void BTA_DmAllowWakeByHid() { void BTA_DmAllowWakeByHid() { APPL_TRACE_API("BTA_DmAllowWakeByHid"); APPL_TRACE_API("BTA_DmAllowWakeByHid"); do_in_main_thread(FROM_HERE, base::Bind(bta_dm_allow_wake_by_hid)); do_in_main_thread(FROM_HERE, base::Bind(bta_dm_allow_wake_by_hid)); Loading
system/bta/dm/bta_dm_int.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -546,6 +546,7 @@ extern void bta_dm_clear_event_mask(void); extern void bta_dm_clear_filter_accept_list(void); extern void bta_dm_clear_filter_accept_list(void); extern void bta_dm_disconnect_all_acls(void); extern void bta_dm_disconnect_all_acls(void); extern void bta_dm_le_rand(LeRandCallback cb); extern void bta_dm_le_rand(LeRandCallback cb); extern void bta_dm_set_event_filter_connection_setup_all_devices(); extern void bta_dm_allow_wake_by_hid(); extern void bta_dm_allow_wake_by_hid(); extern void bta_dm_restore_filter_accept_list(); extern void bta_dm_restore_filter_accept_list(); extern void bta_dm_set_default_event_mask(); extern void bta_dm_set_default_event_mask(); Loading
system/bta/include/bta_api.h +11 −0 Original line number Original line Diff line number Diff line Loading @@ -1223,6 +1223,17 @@ using LeRandCallback = base::Callback<void(uint64_t)>; ******************************************************************************/ ******************************************************************************/ extern void BTA_DmLeRand(LeRandCallback cb); extern void BTA_DmLeRand(LeRandCallback cb); /******************************************************************************* * * Function BTA_DmSetEventFilterConnectionSetupAllDevices * * Description Tell the controller to allow all devices * * Parameters * *******************************************************************************/ extern void BTA_DmSetEventFilterConnectionSetupAllDevices(); /******************************************************************************* /******************************************************************************* * * * Function BTA_DmAllowWakeByHid * Function BTA_DmAllowWakeByHid Loading