Lines Matching refs:record
1414 const sdp_record_t *record, uint16_t svc)
1419 if (sdp_get_access_protos(record, &protos) < 0) {
1420 error("Unable to get access protos from headset record");
1430 error("Unable to get RFCOMM channel from Headset record");
1437 headset->hfp_handle = record->handle;
1440 headset->hsp_handle = record->handle;
1452 sdp_record_t *record = NULL;
1459 error("Unable to get service record: %s (%d)",
1477 record = r->data;
1479 if (sdp_get_service_classes(record, &classes) < 0) {
1480 error("Unable to get service classes from record");
1494 error("No record found with UUID 0x%04x", p->svclass);
1498 if (headset_set_channel(hs, record, p->svclass) < 0) {
1499 error("Unable to extract RFCOMM channel from service record");
2099 const sdp_record_t *record;
2101 record = btd_device_get_record(dev->btd_dev, uuidstr);
2102 if (!record)
2108 (headset->hfp_handle != record->handle)) {
2109 error("More than one HFP record found on device");
2113 headset->hfp_handle = record->handle;
2118 (headset->hsp_handle != record->handle)) {
2119 error("More than one HSP record found on device");
2123 headset->hsp_handle = record->handle;
2125 /* Ignore this record if we already have access to HFP */
2132 DBG("Invalid record passed to headset_update");
2201 const sdp_record_t *record;
2207 record = btd_device_get_record(dev->btd_dev, uuidstr);
2208 if (!record)
2213 hs->hfp_handle = record->handle;
2217 hs->hsp_handle = record->handle;
2221 DBG("Invalid record passed to headset_init");