Home
last modified time | relevance | path

Searched refs:pm_id (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/acl/
Dbtm_pm.cc104 static tBTM_STATUS btm_pm_snd_md_req(uint16_t handle, uint8_t pm_id,
181 tBTM_STATUS BTM_SetPowerMode(uint8_t pm_id, const RawAddress& remote_bda, in BTM_SetPowerMode() argument
183 if (pm_id >= BTM_MAX_PM_RECORDS) { in BTM_SetPowerMode()
184 pm_id = BTM_PM_SET_ONLY_ID; in BTM_SetPowerMode()
188 LOG_ERROR("pm_id: %u, p_mode is null for %s", unsigned(pm_id), in BTM_SetPowerMode()
226 LOG_ERROR("pm_id %u mode %u is not supported for %s", pm_id, mode, in BTM_SetPowerMode()
248 int temp_pm_id = pm_id; in BTM_SetPowerMode()
249 if (pm_id == BTM_PM_SET_ONLY_ID) { in BTM_SetPowerMode()
254 if (((pm_id != BTM_PM_SET_ONLY_ID) && (pm_reg_db.mask & BTM_PM_REG_SET)) || in BTM_SetPowerMode()
255 ((pm_id == BTM_PM_SET_ONLY_ID) && (pm_pend_link != 0))) { in BTM_SetPowerMode()
[all …]
/system/bt/test/mock/
Dmock_stack_acl_btm_pm.cc64 tBTM_STATUS BTM_SetPowerMode(uint8_t pm_id, const RawAddress& remote_bda, in BTM_SetPowerMode() argument
/system/bt/bta/dm/
Dbta_dm_pm.cc87 BTM_PmRegister((BTM_PM_REG_SET), &bta_dm_cb.pm_id, bta_dm_pm_btm_cback); in bta_dm_init_pm()
108 BTM_PmRegister(BTM_PM_DEREG, &bta_dm_cb.pm_id, bta_dm_pm_btm_cback); in bta_dm_disable_pm()
698 tBTM_STATUS status = BTM_SetPowerMode(bta_dm_cb.pm_id, peer_addr, in bta_dm_pm_park()
757 status = BTM_SetPowerMode(bta_dm_cb.pm_id, p_peer_dev->peer_bdaddr, &pwr_md); in bta_dm_pm_sniff()
872 tBTM_STATUS status = BTM_SetPowerMode(bta_dm_cb.pm_id, peer_addr, &pm); in bta_dm_pm_active()
Dbta_dm_int.h320 uint8_t pm_id; member
/system/bt/stack/include/
Dbtm_api.h733 tBTM_STATUS BTM_SetPowerMode(uint8_t pm_id, const RawAddress& remote_bda,
Dbtm_client_interface.h98 tBTM_STATUS (*BTM_SetPowerMode)(uint8_t pm_id, const RawAddress& bd_addr,