Lines Matching refs:a2dp_cb
41 tA2DP_CB a2dp_cb; variable
72 a2dp_cb.find.p_db, a2dp_cb.find.service_uuid, p_rec)) == NULL) { in a2dp_sdp_cback()
110 a2dp_cb.find.service_uuid = 0; in a2dp_sdp_cback()
111 osi_free_and_reset((void**)&a2dp_cb.find.p_db); in a2dp_sdp_cback()
113 if (a2dp_cb.find.p_cback != NULL) { in a2dp_sdp_cback()
114 (*a2dp_cb.find.p_cback)(found, &a2dp_svc); in a2dp_sdp_cback()
131 a2dp_cb.avdt_sdp_ver = avdt_sdp_ver; in a2dp_set_avdt_sdp_ver()
191 proto_list[1].params[0] = a2dp_cb.avdt_sdp_ver; in A2DP_AddRecord()
281 if (a2dp_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SOURCE || in A2DP_FindService()
282 a2dp_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SINK) in A2DP_FindService()
294 if (a2dp_cb.find.p_db == NULL) in A2DP_FindService()
295 a2dp_cb.find.p_db = (tSDP_DISCOVERY_DB*)osi_malloc(p_db->db_len); in A2DP_FindService()
297 result = SDP_InitDiscoveryDb(a2dp_cb.find.p_db, p_db->db_len, 1, &uuid_list, in A2DP_FindService()
302 a2dp_cb.find.service_uuid = service_uuid; in A2DP_FindService()
303 a2dp_cb.find.p_cback = p_cback; in A2DP_FindService()
306 result = SDP_ServiceSearchAttributeRequest(bd_addr, a2dp_cb.find.p_db, in A2DP_FindService()
309 a2dp_cb.find.service_uuid = 0; in A2DP_FindService()
338 if (new_level != 0xFF) a2dp_cb.trace_level = new_level; in A2DP_SetTraceLevel()
340 return (a2dp_cb.trace_level); in A2DP_SetTraceLevel()
370 memset(&a2dp_cb, 0, sizeof(tA2DP_CB)); in A2DP_Init()
372 a2dp_cb.avdt_sdp_ver = AVDT_VERSION; in A2DP_Init()
375 a2dp_cb.trace_level = A2DP_INITIAL_TRACE_LEVEL; in A2DP_Init()
377 a2dp_cb.trace_level = BT_TRACE_LEVEL_NONE; in A2DP_Init()