Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb9a0196 authored by Chris Manton's avatar Chris Manton
Browse files

Stat-ify bta::dm::pm::bta_dm_pm_timer

Bug: 328127167
Test: m .
Flag: EXEMPT, Encapsulation

Change-Id: Iffb2760a52aa3eae09d095f7217bb7946b7c816e
parent 4a265f58
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -317,8 +317,6 @@ void bta_dm_disable();
void bta_dm_set_dev_name(const std::vector<uint8_t>&);
void bta_dm_close_acl(const RawAddress&, bool, tBT_TRANSPORT);

void bta_dm_pm_timer(const RawAddress&, tBTA_DM_PM_ACTION);

void bta_dm_ble_set_conn_params(const RawAddress&, uint16_t, uint16_t, uint16_t,
                                uint16_t);
void bta_dm_ble_update_conn_params(const RawAddress&, uint16_t, uint16_t,
+4 −1
Original line number Diff line number Diff line
@@ -66,6 +66,8 @@ static void bta_dm_pm_stop_timer_by_index(tBTA_PM_TIMER* p_timer,
                                          uint8_t timer_idx);

static tBTM_PM_PWR_MD get_sniff_entry(uint8_t index);
static void bta_dm_pm_timer(const RawAddress& bd_addr,
                            tBTA_DM_PM_ACTION pm_request);

#include "../hh/bta_hh_int.h"
/* BTA_DM_PM_SSR1 will be dedicated for HH SSR setting entry, no other profile
@@ -1173,7 +1175,8 @@ static void bta_dm_pm_btm_status(const RawAddress& bd_addr,
}

/** Process pm timer event from btm */
void bta_dm_pm_timer(const RawAddress& bd_addr, tBTA_DM_PM_ACTION pm_request) {
static void bta_dm_pm_timer(const RawAddress& bd_addr,
                            tBTA_DM_PM_ACTION pm_request) {
  log::verbose("");
  bta_dm_pm_set_mode(bd_addr, pm_request, BTA_DM_PM_EXECUTE);
}