Home
last modified time | relevance | path

Searched refs:bta_dm_conn_srvcs (Results 1 – 4 of 4) sorted by relevance

/system/bt/bta/dm/
Dbta_dm_pm.cc72 tBTA_DM_CONNECTED_SRVCS bta_dm_conn_srvcs; variable
87 memset(&bta_dm_conn_srvcs, 0x00, sizeof(bta_dm_conn_srvcs)); in bta_dm_init_pm()
144 for (int i = 0; i < bta_dm_conn_srvcs.count; i++) { in bta_dm_get_av_count()
145 if (bta_dm_conn_srvcs.conn_srvc[i].id == BTA_ID_AV) ++count; in bta_dm_get_av_count()
387 for (j = 0; j < bta_dm_conn_srvcs.count; j++) { in bta_dm_pm_cback()
389 if ((bta_dm_conn_srvcs.conn_srvc[j].id == id) && in bta_dm_pm_cback()
390 (bta_dm_conn_srvcs.conn_srvc[j].app_id == app_id) && in bta_dm_pm_cback()
391 bta_dm_conn_srvcs.conn_srvc[j].peer_bdaddr == peer_addr) { in bta_dm_pm_cback()
392 bta_dm_conn_srvcs.conn_srvc[j].new_request = true; in bta_dm_pm_cback()
402 if (j != bta_dm_conn_srvcs.count) { in bta_dm_pm_cback()
[all …]
Dbta_dm_int.h281 extern tBTA_DM_CONNECTED_SRVCS bta_dm_conn_srvcs;
Dbta_dm_act.cc403 memset(&bta_dm_conn_srvcs, 0, sizeof(bta_dm_conn_srvcs)); in bta_dm_sys_hw_cback()
3690 APPL_TRACE_DEBUG("%s: count(%d)", __func__, bta_dm_conn_srvcs.count); in bta_dm_check_if_only_hd_connected()
3692 for (uint8_t j = 0; j < bta_dm_conn_srvcs.count; j++) { in bta_dm_check_if_only_hd_connected()
3694 if ((bta_dm_conn_srvcs.conn_srvc[j].id != BTA_ID_HD) && in bta_dm_check_if_only_hd_connected()
3695 bta_dm_conn_srvcs.conn_srvc[j].peer_bdaddr == peer_addr) { in bta_dm_check_if_only_hd_connected()
3697 bta_dm_conn_srvcs.conn_srvc[j].id); in bta_dm_check_if_only_hd_connected()
/system/bt/doc/
Dpower_management.md63 from `bta_dm_conn_srvcs` and no longer be considered for power management
87 managed are tracked in a global array called `bta_dm_conn_srvcs`. Unfortunately,
106 - `bta_dm_conn_srvcs` is consulted to ensure there's an entry for this