Lines Matching refs:find
84 a2dp_cb.find.p_db, a2dp_cb.find.service_uuid, p_rec)) == NULL) { in a2dp_sdp_cback()
123 a2dp_cb.find.service_uuid = 0; in a2dp_sdp_cback()
124 osi_free_and_reset((void**)&a2dp_cb.find.p_db); in a2dp_sdp_cback()
126 if (a2dp_cb.find.p_cback != NULL) { in a2dp_sdp_cback()
127 (*a2dp_cb.find.p_cback)(found, &a2dp_svc, peer_address); in a2dp_sdp_cback()
288 if (a2dp_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SOURCE || in A2DP_FindService()
289 a2dp_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SINK || in A2DP_FindService()
290 a2dp_cb.find.p_db != NULL) { in A2DP_FindService()
301 a2dp_cb.find.p_db = (tSDP_DISCOVERY_DB*)osi_malloc(p_db->db_len); in A2DP_FindService()
304 if (!SDP_InitDiscoveryDb(a2dp_cb.find.p_db, p_db->db_len, 1, &uuid_list, in A2DP_FindService()
306 osi_free_and_reset((void**)&a2dp_cb.find.p_db); in A2DP_FindService()
313 a2dp_cb.find.service_uuid = service_uuid; in A2DP_FindService()
314 a2dp_cb.find.p_cback = p_cback; in A2DP_FindService()
317 if (!SDP_ServiceSearchAttributeRequest(bd_addr, a2dp_cb.find.p_db, in A2DP_FindService()
319 a2dp_cb.find.service_uuid = 0; in A2DP_FindService()
320 a2dp_cb.find.p_cback = NULL; in A2DP_FindService()
321 osi_free_and_reset((void**)&a2dp_cb.find.p_db); in A2DP_FindService()