Lines Matching refs:record
1350 const sdp_record_t *record, uint16_t svc)
1355 if (sdp_get_access_protos(record, &protos) < 0) {
1356 error("Unable to get access protos from headset record");
1366 error("Unable to get RFCOMM channel from Headset record");
1373 headset->hfp_handle = record->handle;
1376 headset->hsp_handle = record->handle;
1388 sdp_record_t *record = NULL;
1394 error("Unable to get service record: %s (%d)",
1410 record = r->data;
1412 if (sdp_get_service_classes(record, &classes) < 0) {
1413 error("Unable to get service classes from record");
1431 error("No record found with UUID 0x%04x", p->svclass);
1435 if (headset_set_channel(hs, record, p->svclass) < 0) {
1436 error("Unable to extract RFCOMM channel from service record");
2049 const sdp_record_t *record;
2051 record = btd_device_get_record(dev->btd_dev, uuidstr);
2052 if (!record)
2058 (headset->hfp_handle != record->handle)) {
2059 error("More than one HFP record found on device");
2063 headset->hfp_handle = record->handle;
2068 (headset->hsp_handle != record->handle)) {
2069 error("More than one HSP record found on device");
2073 headset->hsp_handle = record->handle;
2075 /* Ignore this record if we already have access to HFP */
2082 debug("Invalid record passed to headset_update");
2153 const sdp_record_t *record;
2164 record = btd_device_get_record(dev->btd_dev, uuidstr);
2165 if (!record)
2170 hs->hfp_handle = record->handle;
2174 hs->hsp_handle = record->handle;
2178 debug("Invalid record passed to headset_init");