• Home
  • Raw
  • Download

Lines Matching refs:peer_device

537             transport = bta_dm_cb.device_list.peer_device[i].transport;  in bta_dm_disable_timer_cback()
539 btm_remove_acl(bta_dm_cb.device_list.peer_device[i].peer_bdaddr, transport); in bta_dm_disable_timer_cback()
724 if (!bdcmp(bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_dev->bd_addr)) in bta_dm_remove_device()
729 transport = bta_dm_cb.device_list.peer_device[i].transport; in bta_dm_remove_device()
731 bta_dm_cb.device_list.peer_device[i].conn_state = BTA_DM_UNPAIRING; in bta_dm_remove_device()
735 bta_dm_cb.device_list.peer_device[i].transport); in bta_dm_remove_device()
738 if(bta_dm_cb.device_list.peer_device[i].transport == BT_TRANSPORT_LE) in bta_dm_remove_device()
763 if (!bdcmp(bta_dm_cb.device_list.peer_device[i].peer_bdaddr, other_address)) in bta_dm_remove_device()
765 bta_dm_cb.device_list.peer_device[i].conn_state = BTA_DM_UNPAIRING; in bta_dm_remove_device()
766 btm_remove_acl(other_address,bta_dm_cb.device_list.peer_device[i].transport); in bta_dm_remove_device()
862 … if (!bdcmp( bta_dm_cb.device_list.peer_device[index].peer_bdaddr, p_remove_acl->bd_addr)) in bta_dm_close_acl()
868 bta_dm_cb.device_list.peer_device[index].remove_dev_pending = TRUE; in bta_dm_close_acl()
912 bdcpy(addr, bta_dm_cb.device_list.peer_device[i].peer_bdaddr); in bta_dm_remove_all_acl()
914 transport = bta_dm_cb.device_list.peer_device[i].transport; in bta_dm_remove_all_acl()
3103 p_dev = &bta_dm_cb.device_list.peer_device[i]; in bta_dm_check_av()
3215 if (!bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_bda) in bta_dm_acl_change()
3217 && bta_dm_cb.device_list.peer_device[i].conn_handle == p_data->acl_change.handle in bta_dm_acl_change()
3228 … bdcpy(bta_dm_cb.device_list.peer_device[bta_dm_cb.device_list.count].peer_bdaddr, p_bda); in bta_dm_acl_change()
3229 … bta_dm_cb.device_list.peer_device[bta_dm_cb.device_list.count].link_policy = bta_dm_cb.cur_policy; in bta_dm_acl_change()
3232 bta_dm_cb.device_list.peer_device[i].conn_handle = p_data->acl_change.handle; in bta_dm_acl_change()
3242 bta_dm_cb.device_list.peer_device[i].conn_state = BTA_DM_CONNECTED; in bta_dm_acl_change()
3243 bta_dm_cb.device_list.peer_device[i].pref_role = BTA_ANY_ROLE; in bta_dm_acl_change()
3245 bta_dm_cb.device_list.peer_device[i].info = BTA_DM_DI_NONE; in bta_dm_acl_change()
3248 bta_dm_cb.device_list.peer_device[i].transport = p_data->acl_change.transport; in bta_dm_acl_change()
3255 bta_dm_cb.device_list.peer_device[i].info = BTA_DM_DI_USE_SSR; in bta_dm_acl_change()
3257 APPL_TRACE_WARNING("%s info: 0x%x", __func__, bta_dm_cb.device_list.peer_device[i].info); in bta_dm_acl_change()
3264 if (bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_bda) in bta_dm_acl_change()
3266 ||bta_dm_cb.device_list.peer_device[i].transport != p_data->acl_change.transport in bta_dm_acl_change()
3271 if( bta_dm_cb.device_list.peer_device[i].conn_state == BTA_DM_UNPAIRING ) in bta_dm_acl_change()
3273 if (BTM_SecDeleteDevice(bta_dm_cb.device_list.peer_device[i].peer_bdaddr)) in bta_dm_acl_change()
3279 conn.link_down.is_removed = bta_dm_cb.device_list.peer_device[i].remove_dev_pending; in bta_dm_acl_change()
3283 …mcpy(&bta_dm_cb.device_list.peer_device[i], &bta_dm_cb.device_list.peer_device[i+1], sizeof(bta_dm… in bta_dm_acl_change()
3478 if (bdcmp(bta_dm_cb.device_list.peer_device[i].peer_bdaddr, remote_bd_addr) == 0) in bta_dm_reset_sec_dev_pending()
3480 bta_dm_cb.device_list.peer_device[i].remove_dev_pending = FALSE; in bta_dm_reset_sec_dev_pending()
3507 if (!bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, remote_bd_addr)) in bta_dm_remove_sec_dev_entry()
3509 bta_dm_cb.device_list.peer_device[i].remove_dev_pending = TRUE; in bta_dm_remove_sec_dev_entry()
3563 if (bta_dm_cb.device_list.peer_device[i].conn_state == BTA_DM_CONNECTED in bta_dm_adjust_roles()
3565 && bta_dm_cb.device_list.peer_device[i].transport == BT_TRANSPORT_BR_EDR in bta_dm_adjust_roles()
3569 … if(!set_master_role && (bta_dm_cb.device_list.peer_device[i].pref_role != BTA_ANY_ROLE) in bta_dm_adjust_roles()
3576 if((bta_dm_cb.device_list.peer_device[i].pref_role == BTA_MASTER_ROLE_ONLY) in bta_dm_adjust_roles()
3586 if (bta_dm_cb.device_list.peer_device[i].pref_role != BTA_SLAVE_ROLE_ONLY && in bta_dm_adjust_roles()
3589 BTM_SwitchRole (bta_dm_cb.device_list.peer_device[i].peer_bdaddr, in bta_dm_adjust_roles()
4159 if (bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, bd_addr) == 0 && in bta_dm_encrypt_cback()
4160 bta_dm_cb.device_list.peer_device[i].conn_state == BTA_DM_CONNECTED) in bta_dm_encrypt_cback()
4166 p_callback = bta_dm_cb.device_list.peer_device[i].p_encrypt_cback; in bta_dm_encrypt_cback()
4167 bta_dm_cb.device_list.peer_device[i].p_encrypt_cback = NULL; in bta_dm_encrypt_cback()
4217 …if (bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_data->set_encryption.bd_addr) == 0 … in bta_dm_set_encryption()
4218 bta_dm_cb.device_list.peer_device[i].conn_state == BTA_DM_CONNECTED) in bta_dm_set_encryption()
4223 if (bta_dm_cb.device_list.peer_device[i].p_encrypt_cback) in bta_dm_set_encryption()
4236 … bta_dm_cb.device_list.peer_device[i].p_encrypt_cback = p_data->set_encryption.p_callback; in bta_dm_set_encryption()