Lines Matching refs:conn_srvc
219 if((bta_dm_conn_srvcs.conn_srvc[j].id == id)
220 && (bta_dm_conn_srvcs.conn_srvc[j].app_id == app_id )
221 && !bdcmp(bta_dm_conn_srvcs.conn_srvc[j].peer_bdaddr, peer_addr))
238 memcpy(&bta_dm_conn_srvcs.conn_srvc[j], &bta_dm_conn_srvcs.conn_srvc[j+1], sizeof(bta_dm_conn_srvcs.conn_srvc[j]));
258 bta_dm_conn_srvcs.conn_srvc[j].id = id;
259 bta_dm_conn_srvcs.conn_srvc[j].app_id = app_id;
260 bdcpy(bta_dm_conn_srvcs.conn_srvc[j].peer_bdaddr, peer_addr);
262 APPL_TRACE_WARNING2("new conn_srvc id:%d, app_id:%d", id, app_id);
265 bta_dm_conn_srvcs.conn_srvc[j].state = status;
270 bta_dm_conn_srvcs.conn_srvc[j].state = status;
353 p_srvcs = &bta_dm_conn_srvcs.conn_srvc[i];
590 if(!bdcmp(bta_dm_conn_srvcs.conn_srvc[i].peer_bdaddr, peer_addr))
596 if((p_bta_dm_pm_cfg[j].id == bta_dm_conn_srvcs.conn_srvc[i].id)
598 || (p_bta_dm_pm_cfg[j].app_id == bta_dm_conn_srvcs.conn_srvc[i].app_id)))
600 APPL_TRACE_WARNING2("bta_dm_pm_ssr conn_srvc id:%d, app_id:%d",
601 bta_dm_conn_srvcs.conn_srvc[i].id, bta_dm_conn_srvcs.conn_srvc[i].app_id);
890 if ( (bta_dm_conn_srvcs.conn_srvc[j].id == BTA_ID_AG ) && (bta_dm_conn_srvcs.conn_srvc[j].state == BTA_SYS_SCO_OPEN) )
920 if(bta_dm_conn_srvcs.conn_srvc[j].id == BTA_ID_HH )
923 bScoActive, bta_dm_conn_srvcs.conn_srvc[j].state);
924 bta_dm_pm_set_sniff_policy( bta_dm_find_peer_device(bta_dm_conn_srvcs.conn_srvc[j].peer_bdaddr), bScoActive);
928 bta_dm_pm_set_mode(bta_dm_conn_srvcs.conn_srvc[j].peer_bdaddr, FALSE);