• Home
  • Raw
  • Download

Lines Matching refs:scn

72   int scn;  // Server channel number  member
116 rfc_slots[i].scn = -1; in btsock_rfc_init()
209 slot->scn = channel; in alloc_rfc_slot()
237 addr, srv_rs->service_name, srv_rs->service_uuid, srv_rs->scn, 0, false); in create_srv_accept_rfc_slot()
347 BTA_JvRfcommConnect(slot->security, slot->role, slot->scn, slot->addr, in btsock_rfc_connect()
381 if (slot->scn == 0) { in create_server_sdp_record()
385 add_rfc_sdp_rec(slot->service_name, slot->service_uuid, slot->scn); in create_server_sdp_record()
390 if (slot->scn <= 0) return; in free_rfc_slot_scn()
397 if (slot->f.server) BTM_FreeSCN(slot->scn); in free_rfc_slot_scn()
398 slot->scn = 0; in free_rfc_slot_scn()
408 slot->tx_bytes, slot->rx_bytes, slot->app_uid, slot->scn, in cleanup_rfc_slot()
446 return sock_send_all(slot->fd, (const uint8_t*)&slot->scn, in send_app_scn()
447 sizeof(slot->scn)) == sizeof(slot->scn); in send_app_scn()
490 0, 0, slot->app_uid, slot->scn, in on_srv_rfc_listen_started()
512 accept_rs->app_uid, accept_rs->scn, in on_srv_rfc_connect()
521 send_app_connect_signal(srv_rs->fd, &accept_rs->addr, srv_rs->scn, 0, in on_srv_rfc_connect()
544 slot->app_uid, slot->scn, in on_cli_rfc_connect()
548 if (send_app_connect_signal(slot->fd, &slot->addr, slot->scn, 0, -1)) { in on_cli_rfc_connect()
566 slot->app_uid, slot->scn, in on_rfc_close()
664 int new_scn = p_data->scn; in jv_dm_cback()
667 rs->scn = new_scn; in jv_dm_cback()
695 BTA_JvRfcommStartServer(rs->security, rs->role, rs->scn, in jv_dm_cback()
701 "jv_dm_cback: Error: allocate channel %d, slot found:%p", rs->scn, in jv_dm_cback()
718 BTA_JvRfcommStartServer(slot->security, slot->role, slot->scn, in jv_dm_cback()
731 if (p_data->disc_comp.status == BTA_JV_SUCCESS && p_data->disc_comp.scn) { in jv_dm_cback()
736 p_data->disc_comp.scn, slot->addr, in jv_dm_cback()
738 slot->scn = p_data->disc_comp.scn; in jv_dm_cback()
851 __func__, slot->id, slot->scn); in btsock_rfc_signaled()
862 __func__, slot->id, slot->scn); in btsock_rfc_signaled()