Home
last modified time | relevance | path

Searched refs:sdp_cb (Results 1 – 14 of 14) sorted by relevance

/external/libnfc-nci/src/nfc/llcp/
Dllcp_sdp.c66 if (llcp_cb.sdp_cb.p_snl) in llcp_sdp_check_send_snl()
70 llcp_cb.sdp_cb.p_snl->len += LLCP_PDU_HEADER_SIZE; in llcp_sdp_check_send_snl()
71 llcp_cb.sdp_cb.p_snl->offset -= LLCP_PDU_HEADER_SIZE; in llcp_sdp_check_send_snl()
73 p = (UINT8 *) (llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset; in llcp_sdp_check_send_snl()
76 GKI_enqueue (&llcp_cb.lcb.sig_xmit_q, llcp_cb.sdp_cb.p_snl); in llcp_sdp_check_send_snl()
77 llcp_cb.sdp_cb.p_snl = NULL; in llcp_sdp_check_send_snl()
96 …p = (UINT8 *) (llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset + llcp_cb.sdp_cb.p_snl->le… in llcp_sdp_add_sdreq()
103 llcp_cb.sdp_cb.p_snl->len += LLCP_SDREQ_MIN_LEN + name_len; in llcp_sdp_add_sdreq()
125 if (!llcp_cb.sdp_cb.p_snl) in llcp_sdp_send_sdreq()
127 llcp_cb.sdp_cb.p_snl = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); in llcp_sdp_send_sdreq()
[all …]
Dllcp_api.c1593 if (!llcp_cb.sdp_cb.transac[i].p_cback) in LLCP_DiscoverService()
1595 llcp_cb.sdp_cb.transac[i].tid = llcp_cb.sdp_cb.next_tid; in LLCP_DiscoverService()
1596 llcp_cb.sdp_cb.next_tid++; in LLCP_DiscoverService()
1597 llcp_cb.sdp_cb.transac[i].p_cback = p_cback; in LLCP_DiscoverService()
1599 status = llcp_sdp_send_sdreq (llcp_cb.sdp_cb.transac[i].tid, p_name); in LLCP_DiscoverService()
1603 llcp_cb.sdp_cb.transac[i].p_cback = NULL; in LLCP_DiscoverService()
1606 *p_tid = llcp_cb.sdp_cb.transac[i].tid; in LLCP_DiscoverService()
/external/bluetooth/bluedroid/stack/sdp/
Dsdp_main.c49 tSDP_CB sdp_cb; variable
83 memset (&sdp_cb, 0, sizeof (tSDP_CB)); in sdp_init()
86 sdp_cb.l2cap_my_cfg.mtu_present = TRUE; in sdp_init()
87 sdp_cb.l2cap_my_cfg.mtu = SDP_MTU_SIZE; in sdp_init()
88 sdp_cb.l2cap_my_cfg.flush_to_present = TRUE; in sdp_init()
89 sdp_cb.l2cap_my_cfg.flush_to = SDP_FLUSH_TO; in sdp_init()
91 sdp_cb.max_attr_list_size = SDP_MTU_SIZE - 16; in sdp_init()
92 sdp_cb.max_recs_per_search = SDP_MAX_DISC_SERVER_RECS; in sdp_init()
115 sdp_cb.trace_level = SDP_INITIAL_TRACE_LEVEL; in sdp_init()
117 sdp_cb.trace_level = BT_TRACE_LEVEL_NONE; /* No traces */ in sdp_init()
[all …]
Dsdp_db.c64 tSDP_RECORD *p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; in sdp_db_service_search()
68 p_rec = &sdp_cb.server_db.record[0]; in sdp_db_service_search()
165 tSDP_RECORD *p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; in sdp_db_find_record()
168 for (p_rec = &sdp_cb.server_db.record[0]; p_rec < p_end; p_rec++) in sdp_db_find_record()
285 tSDP_DB *p_db = &sdp_cb.server_db; in SDP_CreateRecord()
334 tSDP_RECORD *p_rec = &sdp_cb.server_db.record[0]; in SDP_DeleteRecord()
336 if (handle == 0 || sdp_cb.server_db.num_records == 0) in SDP_DeleteRecord()
339 sdp_cb.server_db.num_records = 0; in SDP_DeleteRecord()
342 sdp_cb.server_db.di_primary_handle = 0; in SDP_DeleteRecord()
343 sdp_cb.server_db.brcm_di_registered = 0; in SDP_DeleteRecord()
[all …]
Dsdp_api.c1127 if ( p_device_info->primary_record == TRUE && sdp_cb.server_db.di_primary_handle ) in SDP_SetLocalDiRecord()
1128 handle = sdp_cb.server_db.di_primary_handle; in SDP_SetLocalDiRecord()
1245 sdp_cb.server_db.di_primary_handle = handle; in SDP_SetLocalDiRecord()
1276 *p_handle = sdp_cb.server_db.di_primary_handle; in SDP_GetLocalDiRecord()
1379 sdp_cb.trace_level = new_level; in SDP_SetTraceLevel()
1381 return(sdp_cb.trace_level); in SDP_SetTraceLevel()
1417 idx = (UINT32)(p_ccb - sdp_cb.ccb); in SDP_ConnOpen()
1440 p_ccb = &sdp_cb.ccb[handle - 1]; in SDP_WriteData()
1472 p_ccb = &sdp_cb.ccb[handle - 1]; in SDP_ConnClose()
Dsdp_discovery.c152 UINT16_TO_BE_STREAM (p, sdp_cb.max_recs_per_search); in sdp_snd_service_search_req()
341 if (total > sdp_cb.max_recs_per_search) in process_service_search_rsp()
342 total = sdp_cb.max_recs_per_search; in process_service_search_rsp()
343 if (p_ccb->num_handles > sdp_cb.max_recs_per_search) in process_service_search_rsp()
344 p_ccb->num_handles = sdp_cb.max_recs_per_search; in process_service_search_rsp()
546 UINT16_TO_BE_STREAM (p, sdp_cb.max_attr_list_size); in process_service_attr_rsp()
697 UINT16_TO_BE_STREAM (p, sdp_cb.max_attr_list_size); in process_service_search_attr_rsp()
Dsdpint.h241 SDP_API extern tSDP_CB sdp_cb;
244 #define sdp_cb (*sdp_cb_ptr)
Dsdp_utils.c62 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) in sdpu_find_ccb_by_cid()
92 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) in sdpu_find_ccb_by_db()
119 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) in sdpu_allocate_ccb()
/external/libnfc-nci/src/nfa/p2p/
Dnfa_p2p_act.c198 if ( (nfa_p2p_cb.sdp_cb[xx].local_sap != LLCP_INVALID_SAP) in nfa_p2p_sdp_cback()
199 &&(nfa_p2p_cb.sdp_cb[xx].tid == tid) ) in nfa_p2p_sdp_cback()
201 local_sap = nfa_p2p_cb.sdp_cb[xx].local_sap; in nfa_p2p_sdp_cback()
207 nfa_p2p_cb.sdp_cb[xx].local_sap = LLCP_INVALID_SAP; in nfa_p2p_sdp_cback()
232 if (nfa_p2p_cb.sdp_cb[xx].local_sap == LLCP_INVALID_SAP) in nfa_p2p_start_sdp()
236 &(nfa_p2p_cb.sdp_cb[xx].tid)) == LLCP_STATUS_SUCCESS) in nfa_p2p_start_sdp()
238 nfa_p2p_cb.sdp_cb[xx].local_sap = local_sap; in nfa_p2p_start_sdp()
Dnfa_p2p_main.c466 nfa_p2p_cb.sdp_cb[xx].local_sap = LLCP_INVALID_SAP; in nfa_p2p_init()
/external/libnfc-nci/src/nfa/int/
Dnfa_p2p_int.h265 tNFA_P2P_SDP_CB sdp_cb[LLCP_MAX_SDP_TRANSAC]; member
/external/libnfc-nci/src/nfc/int/
Dllcp_int.h225 … tLLCP_SDP_CB sdp_cb; /* SDP control block */ member
/external/bluetooth/bluedroid/include/
Dbt_trace.h814 #define SDP_TRACE_ERROR0(m) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
815 #define SDP_TRACE_ERROR1(m,p1) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
816 #define SDP_TRACE_ERROR2(m,p1,p2) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
817 #define SDP_TRACE_ERROR3(m,p1,p2,p3) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
818 #define SDP_TRACE_ERROR4(m,p1,p2,p3,p4) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
819 #define SDP_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
820 #define SDP_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
822 #define SDP_TRACE_WARNING0(m) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_WARNING) …
823 #define SDP_TRACE_WARNING1(m,p1) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_WARNING) …
824 #define SDP_TRACE_WARNING2(m,p1,p2) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_WARNING) …
[all …]
/external/libnfc-nci/src/include/
Dbt_trace.h773 #define SDP_TRACE_ERROR0(m) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
774 #define SDP_TRACE_ERROR1(m,p1) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
775 #define SDP_TRACE_ERROR2(m,p1,p2) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
776 #define SDP_TRACE_ERROR3(m,p1,p2,p3) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
777 #define SDP_TRACE_ERROR4(m,p1,p2,p3,p4) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
778 #define SDP_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
779 #define SDP_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
781 #define SDP_TRACE_WARNING0(m) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_WARNING) …
782 #define SDP_TRACE_WARNING1(m,p1) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_WARNING) …
783 #define SDP_TRACE_WARNING2(m,p1,p2) {if (sdp_cb.trace_level >= BT_TRACE_LEVEL_WARNING) …
[all …]