Searched refs:open_req (Results 1 - 4 of 4) sorted by relevance

/external/bluetooth/bluez/audio/
H A Dpcm_bluetooth.c433 struct bt_open_req *open_req = (void *) buf; local
443 open_req->h.type = BT_REQUEST;
444 open_req->h.name = BT_OPEN;
445 open_req->h.length = sizeof(*open_req);
447 strncpy(open_req->destination, data->alsa_config.device, 18);
448 open_req->seid = BT_A2DP_SEID_RANGE + 1;
449 open_req->lock = (io->stream == SND_PCM_STREAM_PLAYBACK ?
452 err = audioservice_send(data->server.fd, &open_req->h);
693 struct bt_open_req *open_req local
[all...]
H A Dliba2dp.c499 struct bt_open_req *open_req = (void *) buf; local
505 memset(open_req, 0, BT_SUGGESTED_BUFFER_SIZE);
506 open_req->h.type = BT_REQUEST;
507 open_req->h.name = BT_OPEN;
508 open_req->h.length = sizeof(*open_req);
509 strncpy(open_req->destination, data->address, 18);
510 open_req->seid = data->sbc_capabilities.capability.seid;
511 open_req->lock = BT_WRITE_LOCK;
513 err = audioservice_send(data, &open_req
[all...]
H A Dgstavdtpsink.c1037 struct bt_open_req *open_req = (void *) buf; local
1065 open_req->h.type = BT_REQUEST;
1066 open_req->h.name = BT_OPEN;
1067 open_req->h.length = sizeof(*open_req);
1069 strncpy(open_req->destination, self->device, 18);
1070 open_req->seid = codec->seid;
1071 open_req->lock = BT_WRITE_LOCK;
1073 io_error = gst_avdtp_sink_audioservice_send(self, &open_req->h);
/external/bluetooth/bluez/test/
H A Dipctest.c573 struct bt_open_req open_req; member in union:__anon358
580 msg.open_req.h.type = BT_REQUEST;
581 msg.open_req.h.name = BT_OPEN;
582 msg.open_req.h.length = sizeof(msg.open_req);
584 strncpy(msg.open_req.destination, u->address,
585 sizeof(msg.open_req.destination));
586 msg.open_req.seid = u->transport == BT_CAPABILITIES_TRANSPORT_A2DP ?
589 msg.open_req.lock = u->transport == BT_CAPABILITIES_TRANSPORT_A2DP ?
592 if (service_send(u, &msg.open_req
[all...]

Completed in 30 milliseconds