Lines Matching refs:id
127 if ((bta_sys_cb.colli_reg.id[index] == bta_id) || in bta_sys_collision_register()
128 (bta_sys_cb.colli_reg.id[index] == 0)) in bta_sys_collision_register()
130 bta_sys_cb.colli_reg.id[index] = bta_id; in bta_sys_collision_register()
153 if ((bta_sys_cb.colli_reg.id[index] != 0) && in bta_sys_notify_collision()
202 void bta_sys_conn_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_conn_open() argument
207 bta_sys_cb.prm_cb(BTA_SYS_CONN_OPEN, id, app_id, peer_addr); in bta_sys_conn_open()
214 bta_sys_cb.ppm_cb(BTA_SYS_CONN_OPEN, id, app_id, peer_addr); in bta_sys_conn_open()
232 void bta_sys_conn_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_conn_close() argument
237 bta_sys_cb.prm_cb(BTA_SYS_CONN_CLOSE, id, app_id, peer_addr); in bta_sys_conn_close()
244 bta_sys_cb.ppm_cb(BTA_SYS_CONN_CLOSE, id, app_id, peer_addr); in bta_sys_conn_close()
261 void bta_sys_app_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_app_open() argument
265 bta_sys_cb.ppm_cb(BTA_SYS_APP_OPEN, id, app_id, peer_addr); in bta_sys_app_open()
281 void bta_sys_app_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_app_close() argument
285 bta_sys_cb.ppm_cb(BTA_SYS_APP_CLOSE, id, app_id, peer_addr); in bta_sys_app_close()
300 void bta_sys_sco_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_sco_open() argument
303 if((id != BTA_ID_AG) && (bta_sys_cb.p_sco_cb)) in bta_sys_sco_open()
311 bta_sys_cb.ppm_cb(BTA_SYS_SCO_OPEN, id, app_id, peer_addr); in bta_sys_sco_open()
325 void bta_sys_sco_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_sco_close() argument
329 if((id != BTA_ID_AG) && (bta_sys_cb.p_sco_cb)) in bta_sys_sco_close()
337 bta_sys_cb.ppm_cb(BTA_SYS_SCO_CLOSE, id, app_id, peer_addr); in bta_sys_sco_close()
351 void bta_sys_sco_use(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_sco_use() argument
353 UNUSED(id); in bta_sys_sco_use()
373 void bta_sys_sco_unuse(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_sco_unuse() argument
376 UNUSED(id); in bta_sys_sco_unuse()
395 void bta_sys_chg_ssr_config (UINT8 id, UINT8 app_id, UINT16 max_latency, UINT16 min_tout) in bta_sys_chg_ssr_config() argument
399 bta_sys_cb.p_ssr_cb(id, app_id, max_latency, min_tout); in bta_sys_chg_ssr_config()
413 void bta_sys_set_policy (UINT8 id, UINT8 policy, BD_ADDR peer_addr) in bta_sys_set_policy() argument
417 bta_sys_cb.p_policy_cb(BTA_SYS_PLCY_SET, id, policy, peer_addr); in bta_sys_set_policy()
431 void bta_sys_clear_policy (UINT8 id, UINT8 policy, BD_ADDR peer_addr) in bta_sys_clear_policy() argument
435 bta_sys_cb.p_policy_cb(BTA_SYS_PLCY_CLR, id, policy, peer_addr); in bta_sys_clear_policy()
449 void bta_sys_set_default_policy (UINT8 id, UINT8 policy) in bta_sys_set_default_policy() argument
453 bta_sys_cb.p_policy_cb(BTA_SYS_PLCY_DEF_SET, id, policy, NULL); in bta_sys_set_default_policy()
467 void bta_sys_clear_default_policy (UINT8 id, UINT8 policy) in bta_sys_clear_default_policy() argument
471 bta_sys_cb.p_policy_cb(BTA_SYS_PLCY_DEF_CLR, id, policy, NULL); in bta_sys_clear_default_policy()
485 void bta_sys_idle(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_idle() argument
491 bta_sys_cb.prm_cb(BTA_SYS_CONN_IDLE, id, app_id, peer_addr); in bta_sys_idle()
498 bta_sys_cb.ppm_cb(BTA_SYS_CONN_IDLE, id, app_id, peer_addr); in bta_sys_idle()
512 void bta_sys_busy(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_busy() argument
517 bta_sys_cb.prm_cb(BTA_SYS_CONN_BUSY, id, app_id, peer_addr); in bta_sys_busy()
524 bta_sys_cb.ppm_cb(BTA_SYS_CONN_BUSY, id, app_id, peer_addr); in bta_sys_busy()