Home
last modified time | relevance | path

Searched refs:setconf_req (Results 1 – 3 of 3) sorted by relevance

/external/bluetooth/bluez/test/
Dipctest.c605 struct bt_set_configuration_req setconf_req; in set_conf() member
617 msg.setconf_req.h.type = BT_REQUEST; in set_conf()
618 msg.setconf_req.h.name = BT_SET_CONFIGURATION; in set_conf()
619 msg.setconf_req.h.length = sizeof(msg.setconf_req); in set_conf()
622 memcpy(&msg.setconf_req.codec, &u->a2dp.sbc_capabilities, in set_conf()
624 msg.setconf_req.h.length += msg.setconf_req.codec.length - in set_conf()
625 sizeof(msg.setconf_req.codec); in set_conf()
627 msg.setconf_req.codec.transport = BT_CAPABILITIES_TRANSPORT_SCO; in set_conf()
628 msg.setconf_req.codec.seid = BT_A2DP_SEID_RANGE + 1; in set_conf()
629 msg.setconf_req.codec.length = sizeof(pcm_capabilities_t); in set_conf()
[all …]
/external/bluetooth/bluez/audio/
Dliba2dp.c501 struct bt_set_configuration_req *setconf_req = (void*) buf; in bluetooth_a2dp_hw_params() local
527 memset(setconf_req, 0, BT_SUGGESTED_BUFFER_SIZE); in bluetooth_a2dp_hw_params()
528 setconf_req->h.type = BT_REQUEST; in bluetooth_a2dp_hw_params()
529 setconf_req->h.name = BT_SET_CONFIGURATION; in bluetooth_a2dp_hw_params()
530 setconf_req->h.length = sizeof(*setconf_req); in bluetooth_a2dp_hw_params()
531 memcpy(&setconf_req->codec, &data->sbc_capabilities, in bluetooth_a2dp_hw_params()
534 setconf_req->codec.transport = BT_CAPABILITIES_TRANSPORT_A2DP; in bluetooth_a2dp_hw_params()
535 setconf_req->codec.length = sizeof(data->sbc_capabilities); in bluetooth_a2dp_hw_params()
536 setconf_req->h.length += setconf_req->codec.length - sizeof(setconf_req->codec); in bluetooth_a2dp_hw_params()
615 err = audioservice_send(data, &setconf_req->h); in bluetooth_a2dp_hw_params()
Davdtp.c225 struct setconf_req { struct
263 struct setconf_req { struct
1346 struct setconf_req *req, unsigned int size) in avdtp_setconf_cmd()
1356 if (size < sizeof(struct setconf_req)) { in avdtp_setconf_cmd()
1401 size - sizeof(struct setconf_req), in avdtp_setconf_cmd()
3330 struct setconf_req *req; in avdtp_set_configuration()
3362 req = g_malloc0(sizeof(struct setconf_req) + caps_len); in avdtp_set_configuration()
3376 sizeof(struct setconf_req) + caps_len); in avdtp_set_configuration()