Lines Matching refs:a2d_cb
36 tA2D_CB a2d_cb; variable
71 if ((p_rec = SDP_FindServiceInDb(a2d_cb.find.p_db, in a2d_sdp_cback()
72 a2d_cb.find.service_uuid, p_rec)) == NULL) in a2d_sdp_cback()
115 a2d_cb.find.service_uuid = 0; in a2d_sdp_cback()
116 osi_free_and_reset((void**)&a2d_cb.find.p_db); in a2d_sdp_cback()
118 if (a2d_cb.find.p_cback != NULL) in a2d_sdp_cback()
120 (*a2d_cb.find.p_cback)(found, &a2d_svc); in a2d_sdp_cback()
138 a2d_cb.avdt_sdp_ver = avdt_sdp_ver; in a2d_set_avdt_sdp_ver()
197 proto_list[1].params[0] = a2d_cb.avdt_sdp_ver; in A2D_AddRecord()
287 if( a2d_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SOURCE || in A2D_FindService()
288 a2d_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SINK) in A2D_FindService()
301 if(a2d_cb.find.p_db == NULL) in A2D_FindService()
302 a2d_cb.find.p_db = (tSDP_DISCOVERY_DB*)osi_malloc(p_db->db_len); in A2D_FindService()
304 result = SDP_InitDiscoveryDb(a2d_cb.find.p_db, p_db->db_len, 1, &uuid_list, p_db->num_attr, in A2D_FindService()
310 a2d_cb.find.service_uuid = service_uuid; in A2D_FindService()
311 a2d_cb.find.p_cback = p_cback; in A2D_FindService()
314 result = SDP_ServiceSearchAttributeRequest(bd_addr, a2d_cb.find.p_db, a2d_sdp_cback); in A2D_FindService()
317 a2d_cb.find.service_uuid = 0; in A2D_FindService()
348 a2d_cb.trace_level = new_level; in A2D_SetTraceLevel()
350 return (a2d_cb.trace_level); in A2D_SetTraceLevel()
389 memset(&a2d_cb, 0, sizeof(tA2D_CB)); in A2D_Init()
391 a2d_cb.avdt_sdp_ver = AVDT_VERSION; in A2D_Init()
394 a2d_cb.trace_level = A2D_INITIAL_TRACE_LEVEL; in A2D_Init()
396 a2d_cb.trace_level = BT_TRACE_LEVEL_NONE; in A2D_Init()