• Home
  • Raw
  • Download

Lines Matching refs:peer_addr

41                             uint8_t app_id, const RawAddress& peer_addr);
42 static void bta_dm_pm_set_mode(const RawAddress& peer_addr,
49 static bool bta_dm_pm_park(const RawAddress& peer_addr);
68 static void bta_dm_pm_ssr(const RawAddress& peer_addr, int ssr);
159 static void bta_dm_pm_stop_timer(const RawAddress& peer_addr) { in bta_dm_pm_stop_timer() argument
164 bta_dm_cb.pm_timer[i].peer_bdaddr == peer_addr) { in bta_dm_pm_stop_timer()
216 static void bta_dm_pm_stop_timer_by_mode(const RawAddress& peer_addr, in bta_dm_pm_stop_timer_by_mode() argument
223 bta_dm_cb.pm_timer[i].peer_bdaddr == peer_addr) { in bta_dm_pm_stop_timer_by_mode()
249 static void bta_dm_pm_stop_timer_by_srvc_id(const RawAddress& peer_addr, in bta_dm_pm_stop_timer_by_srvc_id() argument
253 bta_dm_cb.pm_timer[i].peer_bdaddr == peer_addr) { in bta_dm_pm_stop_timer_by_srvc_id()
336 uint8_t app_id, const RawAddress& peer_addr) { in bta_dm_pm_cback() argument
344 p_dev = bta_dm_find_peer_device(peer_addr); in bta_dm_pm_cback()
357 bta_dm_pm_stop_timer_by_srvc_id(peer_addr, id); in bta_dm_pm_cback()
390 bta_dm_conn_srvcs.conn_srvc[j].peer_bdaddr == peer_addr) { in bta_dm_pm_cback()
424 bta_dm_conn_srvcs.conn_srvc[j].peer_bdaddr = peer_addr; in bta_dm_pm_cback()
436 bta_dm_pm_stop_timer(peer_addr); in bta_dm_pm_cback()
456 bta_dm_pm_ssr(peer_addr, index); in bta_dm_pm_cback()
461 ((NULL != (p = BTM_ReadRemoteFeatures(peer_addr))) && in bta_dm_pm_cback()
466 BTM_SetSsrParams(peer_addr, 0, 0, 0); in bta_dm_pm_cback()
469 bta_dm_pm_ssr(peer_addr, BTA_DM_PM_SSR0); in bta_dm_pm_cback()
475 bta_dm_pm_set_mode(peer_addr, BTA_DM_PM_NO_ACTION, pm_req); in bta_dm_pm_cback()
507 static void bta_dm_pm_set_mode(const RawAddress& peer_addr, in bta_dm_pm_set_mode() argument
529 p_peer_device = bta_dm_find_peer_device(peer_addr); in bta_dm_pm_set_mode()
537 if (p_srvcs->peer_bdaddr == peer_addr) { in bta_dm_pm_set_mode()
600 bta_dm_cb.pm_timer[i].peer_bdaddr == peer_addr) { in bta_dm_pm_set_mode()
629 bta_dm_cb.pm_timer[available_timer].peer_bdaddr = peer_addr; in bta_dm_pm_set_mode()
652 bta_dm_pm_park(peer_addr); in bta_dm_pm_set_mode()
663 bta_dm_pm_active(peer_addr); in bta_dm_pm_set_mode()
676 static bool bta_dm_pm_park(const RawAddress& peer_addr) { in bta_dm_pm_park() argument
680 BTM_ReadPowerMode(peer_addr, &mode); in bta_dm_pm_park()
683 BTM_SetPowerMode(bta_dm_cb.pm_id, peer_addr, in bta_dm_pm_park()
761 static void bta_dm_pm_ssr(const RawAddress& peer_addr, int ssr) { argument
769 if (service.peer_bdaddr != peer_addr) {
790 if (bta_hh_read_ssr_param(peer_addr, &p_spec_cur->max_lat,
810 if (bta_dm_conn_srvcs.conn_srvc[idx].peer_bdaddr == peer_addr) {
819 BTM_SetSsrParams(peer_addr, p_spec->max_lat, p_spec->min_rmt_to,
834 void bta_dm_pm_active(const RawAddress& peer_addr) { argument
841 BTM_SetPowerMode(bta_dm_cb.pm_id, peer_addr, &pm);
993 tBTA_DM_PEER_DEVICE* bta_dm_find_peer_device(const RawAddress& peer_addr) { argument
997 if (bta_dm_cb.device_list.peer_device[i].peer_bdaddr == peer_addr) {