• Home
  • Raw
  • Download

Lines Matching refs:a2dp_cb

43 tA2DP_CB a2dp_cb;  variable
80 a2dp_cb.find.p_db, a2dp_cb.find.service_uuid, p_rec)) == NULL) { in a2dp_sdp_cback()
119 a2dp_cb.find.service_uuid = 0; in a2dp_sdp_cback()
120 osi_free_and_reset((void**)&a2dp_cb.find.p_db); in a2dp_sdp_cback()
122 if (a2dp_cb.find.p_cback != NULL) { in a2dp_sdp_cback()
123 (*a2dp_cb.find.p_cback)(found, &a2dp_svc, peer_address); in a2dp_sdp_cback()
140 a2dp_cb.avdt_sdp_ver = avdt_sdp_ver; in a2dp_set_avdt_sdp_ver()
200 proto_list[1].params[0] = a2dp_cb.avdt_sdp_ver; in A2DP_AddRecord()
290 if (a2dp_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SOURCE || in A2DP_FindService()
291 a2dp_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SINK) { in A2DP_FindService()
302 if (a2dp_cb.find.p_db == NULL) in A2DP_FindService()
303 a2dp_cb.find.p_db = (tSDP_DISCOVERY_DB*)osi_malloc(p_db->db_len); in A2DP_FindService()
306 result = SDP_InitDiscoveryDb(a2dp_cb.find.p_db, p_db->db_len, 1, &uuid_list, in A2DP_FindService()
311 a2dp_cb.find.service_uuid = service_uuid; in A2DP_FindService()
312 a2dp_cb.find.p_cback = p_cback; in A2DP_FindService()
315 result = SDP_ServiceSearchAttributeRequest(bd_addr, a2dp_cb.find.p_db, in A2DP_FindService()
318 a2dp_cb.find.service_uuid = 0; in A2DP_FindService()
354 if (new_level != 0xFF) a2dp_cb.trace_level = new_level; in A2DP_SetTraceLevel()
356 return (a2dp_cb.trace_level); in A2DP_SetTraceLevel()
386 memset(&a2dp_cb, 0, sizeof(tA2DP_CB)); in A2DP_Init()
388 a2dp_cb.avdt_sdp_ver = AVDT_VERSION; in A2DP_Init()
391 a2dp_cb.trace_level = A2DP_INITIAL_TRACE_LEVEL; in A2DP_Init()
393 a2dp_cb.trace_level = BT_TRACE_LEVEL_NONE; in A2DP_Init()
397 uint16_t A2DP_GetAvdtpVersion() { return a2dp_cb.avdt_sdp_ver; } in A2DP_GetAvdtpVersion()