Home
last modified time | relevance | path

Searched refs:tBTM_PM_MODE (Results 1 – 11 of 11) sorted by relevance

/system/bt/test/mock/
Dmock_main_shim_link_policy.h107 std::function<bool(const tBTM_PM_MODE& mode, bool interop_check)> body{
108 [](const tBTM_PM_MODE& mode, bool interop_check) { return false; }};
109 bool operator()(const tBTM_PM_MODE& mode, bool interop_check) { in operator()
Dmock_stack_acl_btm_pm.cc47 bool BTM_ReadPowerMode(const RawAddress& remote_bda, tBTM_PM_MODE* p_mode) { in BTM_ReadPowerMode()
Dmock_main_shim_link_policy.cc78 bool controller_supports_link_policy_mode(const tBTM_PM_MODE& mode, in controller_supports_link_policy_mode()
/system/bt/stack/acl/
Dacl.h312 tBTM_PM_MODE Mode() const { return this->mode.mode_; } in Mode()
315 tBTM_PM_MODE Pending() const { return pending_; } in Pending()
319 tBTM_PM_MODE mode_{BTM_PM_MD_ACTIVE};
320 tBTM_PM_MODE pending_{BTM_PM_MD_UNKNOWN};
329 friend tBTM_PM_MODE tACL_CONN::tPolicy::Mode() const;
Dbtm_pm.cc202 tBTM_PM_MODE mode = p_mode->mode; in BTM_SetPowerMode()
300 bool BTM_ReadPowerMode(const RawAddress& remote_bda, tBTM_PM_MODE* p_mode) { in BTM_ReadPowerMode()
310 *p_mode = static_cast<tBTM_PM_MODE>(p_mcb->state); in BTM_ReadPowerMode()
474 static tBTM_PM_MODE btm_pm_get_set_mode(uint8_t pm_id, tBTM_PM_MCB* p_cb, in btm_pm_get_set_mode()
530 tBTM_PM_MODE mode; in btm_pm_snd_md_req()
Dbtm_acl.cc562 tBTM_PM_MODE pwr_mode; in BTM_SwitchRoleToCentral()
/system/bt/stack/include/
Dbtm_api_types.h890 typedef uint8_t tBTM_PM_MODE; typedef
891 #define HCI_TO_BTM_POWER_MODE(mode) (static_cast<tBTM_PM_MODE>(mode))
893 inline bool is_legal_power_mode(tBTM_PM_MODE mode) { in is_legal_power_mode()
905 inline std::string power_mode_text(tBTM_PM_MODE mode) { in power_mode_text()
939 tBTM_PM_MODE mode = BTM_PM_MD_ACTIVE; // 0
Dacl_api.h283 bool BTM_ReadPowerMode(const RawAddress& remote_bda, tBTM_PM_MODE* p_mode);
/system/bt/main/shim/
Dlink_policy.cc73 bool controller_supports_link_policy_mode(const tBTM_PM_MODE& mode, in controller_supports_link_policy_mode()
175 tBTM_PM_MODE new_mode = HCI_TO_BTM_POWER_MODE(hci_mode); in btm_pm_on_mode_change()
188 tBTM_PM_MODE pending = p_acl->policy.mode.Pending(); in btm_pm_on_mode_change()
/system/bt/bta/dm/
Dbta_dm_pm.cc689 tBTM_PM_MODE mode = BTM_PM_STS_ACTIVE; in bta_dm_pm_park()
719 tBTM_PM_MODE mode = BTM_PM_MD_ACTIVE; in bta_dm_pm_sniff()
/system/bt/stack/l2cap/
Dl2c_link.cc46 bool BTM_ReadPowerMode(const RawAddress& remote_bda, tBTM_PM_MODE* p_mode);
848 tBTM_PM_MODE mode; in l2c_link_check_power_mode()