Lines Matching refs:record
1442 const sdp_record_t *record, uint16_t svc)
1447 if (sdp_get_access_protos(record, &protos) < 0) {
1448 error("Unable to get access protos from headset record");
1458 error("Unable to get RFCOMM channel from Headset record");
1465 headset->hfp_handle = record->handle;
1468 headset->hsp_handle = record->handle;
1480 sdp_record_t *record = NULL;
1487 error("Unable to get service record: %s (%d)",
1506 record = r->data;
1508 if (sdp_get_service_classes(record, &classes) < 0) {
1509 error("Unable to get service classes from record");
1523 error("No record found with UUID 0x%04x", p->svclass);
1527 if (headset_set_channel(hs, record, p->svclass) < 0) {
1528 error("Unable to extract RFCOMM channel from service record");
2097 const sdp_record_t *record;
2099 record = btd_device_get_record(dev->btd_dev, uuidstr);
2100 if (!record)
2106 (headset->hfp_handle != record->handle)) {
2107 error("More than one HFP record found on device");
2111 headset->hfp_handle = record->handle;
2116 (headset->hsp_handle != record->handle)) {
2117 error("More than one HSP record found on device");
2121 headset->hsp_handle = record->handle;
2123 /* Ignore this record if we already have access to HFP */
2130 DBG("Invalid record passed to headset_update");
2199 const sdp_record_t *record;
2205 record = btd_device_get_record(dev->btd_dev, uuidstr);
2206 if (!record)
2211 hs->hfp_handle = record->handle;
2215 hs->hsp_handle = record->handle;
2219 DBG("Invalid record passed to headset_init");