Lines Matching refs:conn_srvc

142         if (bta_dm_conn_srvcs.conn_srvc[i].id == BTA_ID_AV)  in bta_dm_get_av_count()
395 if((bta_dm_conn_srvcs.conn_srvc[j].id == id) in bta_dm_pm_cback()
396 && (bta_dm_conn_srvcs.conn_srvc[j].app_id == app_id ) in bta_dm_pm_cback()
397 && !bdcmp(bta_dm_conn_srvcs.conn_srvc[j].peer_bdaddr, peer_addr)) in bta_dm_pm_cback()
399 bta_dm_conn_srvcs.conn_srvc[j].new_request = TRUE; in bta_dm_pm_cback()
416 …memcpy(&bta_dm_conn_srvcs.conn_srvc[j], &bta_dm_conn_srvcs.conn_srvc[j+1], sizeof(bta_dm_conn_srvc… in bta_dm_pm_cback()
436 bta_dm_conn_srvcs.conn_srvc[j].id = id; in bta_dm_pm_cback()
437 bta_dm_conn_srvcs.conn_srvc[j].app_id = app_id; in bta_dm_pm_cback()
438 bta_dm_conn_srvcs.conn_srvc[j].new_request = TRUE; in bta_dm_pm_cback()
439 bdcpy(bta_dm_conn_srvcs.conn_srvc[j].peer_bdaddr, peer_addr); in bta_dm_pm_cback()
444 bta_dm_conn_srvcs.conn_srvc[j].state = status; in bta_dm_pm_cback()
449 bta_dm_conn_srvcs.conn_srvc[j].state = status; in bta_dm_pm_cback()
562 p_srvcs = &bta_dm_conn_srvcs.conn_srvc[i]; in bta_dm_pm_set_mode()
837 if(!bdcmp(bta_dm_conn_srvcs.conn_srvc[i].peer_bdaddr, peer_addr)) in bta_dm_pm_ssr()
843 if((p_bta_dm_pm_cfg[j].id == bta_dm_conn_srvcs.conn_srvc[i].id) in bta_dm_pm_ssr()
845 || (p_bta_dm_pm_cfg[j].app_id == bta_dm_conn_srvcs.conn_srvc[i].app_id))) in bta_dm_pm_ssr()
848 bta_dm_conn_srvcs.conn_srvc[i].id, bta_dm_conn_srvcs.conn_srvc[i].app_id); in bta_dm_pm_ssr()
885 if (bdcmp(bta_dm_conn_srvcs.conn_srvc[idx].peer_bdaddr, peer_addr) == 0) in bta_dm_pm_ssr()
1159 …if ( (bta_dm_conn_srvcs.conn_srvc[j].id == BTA_ID_AG ) && (bta_dm_conn_srvcs.conn_srvc[j].state =… in bta_dm_pm_is_sco_active()
1185 if ( (bta_dm_conn_srvcs.conn_srvc[j].id == BTA_ID_AG ) && in bta_dm_get_sco_index()
1186 (bta_dm_conn_srvcs.conn_srvc[j].state == BTA_SYS_SCO_OPEN) ) in bta_dm_get_sco_index()
1211 if(bta_dm_conn_srvcs.conn_srvc[j].id == BTA_ID_HH ) in bta_dm_pm_hid_check()
1214 bScoActive, bta_dm_conn_srvcs.conn_srvc[j].state); in bta_dm_pm_hid_check()
1215 …bta_dm_pm_set_sniff_policy( bta_dm_find_peer_device(bta_dm_conn_srvcs.conn_srvc[j].peer_bdaddr), b… in bta_dm_pm_hid_check()
1219 bta_dm_pm_set_mode(bta_dm_conn_srvcs.conn_srvc[j].peer_bdaddr, BTA_DM_PM_NO_ACTION, in bta_dm_pm_hid_check()