Lines Matching refs:category
212 uint8_t category;
698 void avdtp_error_init(struct avdtp_error *err, uint8_t category, int id)
700 err->category = category;
702 if (category == AVDTP_ERRNO)
710 return err->category;
715 assert(err->category != AVDTP_ERRNO);
721 assert(err->category == AVDTP_ERRNO);
1312 uint8_t length, category;
1314 category = data[0];
1331 if (category == AVDTP_MEDIA_CODEC &&
1335 else if (category == AVDTP_DELAY_REPORTING && delay_reporting)
1443 rej.category = err->err.error_code;
1470 uint8_t err, category = 0x00;
1535 if (cap->category == AVDTP_MEDIA_TRANSPORT && cap->length != 0) {
1550 category = 0x00;
1573 rej.category = category;
3017 avdtp_error_init(err, rej->category, rej->error);
3171 if (cap->category == AVDTP_MEDIA_CODEC)
3187 if (stream_cap->category != cap->category ||
3303 struct avdtp_service_capability *avdtp_service_cap_new(uint8_t category,
3308 if (category < AVDTP_MEDIA_TRANSPORT || category > AVDTP_DELAY_REPORTING)
3312 cap->category = category;
3416 dst_cap = avdtp_service_cap_new(src_cap->category, src_cap->data,
3765 if (err->category == AVDTP_ERRNO)
3780 return "Bad Service Category";