Home
last modified time | relevance | path

Searched refs:stream_list (Results 1 – 15 of 15) sorted by relevance

/external/adhd/cras/src/server/
Dserver_stream.c41 struct stream_list *stream_list = (struct stream_list *)data; in server_stream_add_cb() local
47 stream_list_add(stream_list, stream_config, &stream); in server_stream_add_cb()
50 void server_stream_create(struct stream_list *stream_list, unsigned int dev_idx) in server_stream_create() argument
72 cras_system_add_task(server_stream_add_cb, stream_list); in server_stream_create()
77 struct stream_list *stream_list = (struct stream_list *)data; in server_stream_rm_cb() local
82 if (stream_list_rm(stream_list, stream_config->stream_id)) in server_stream_rm_cb()
90 void server_stream_destroy(struct stream_list *stream_list, in server_stream_destroy() argument
98 cras_system_add_task(server_stream_rm_cb, stream_list); in server_stream_destroy()
Dstream_list.c12 struct stream_list { struct
26 struct stream_list *list = (struct stream_list *)data; in delete_streams() argument
51 struct stream_list *stream_list_create(stream_callback *add_cb, in stream_list_create()
57 struct stream_list *list = calloc(1, sizeof(struct stream_list)); in stream_list_create()
67 void stream_list_destroy(struct stream_list *list) in stream_list_destroy()
72 struct cras_rstream *stream_list_get(struct stream_list *list) in stream_list_get()
77 int stream_list_add(struct stream_list *list, in stream_list_add()
97 int stream_list_rm(struct stream_list *list, cras_stream_id_t id) in stream_list_rm()
115 int stream_list_rm_all_client_streams(struct stream_list *list, in stream_list_rm_all_client_streams()
Dstream_list.h13 struct stream_list;
20 struct stream_list *stream_list_create(stream_callback *add_cb,
26 void stream_list_destroy(struct stream_list *list);
28 struct cras_rstream *stream_list_get(struct stream_list *list);
30 int stream_list_add(struct stream_list *list,
34 int stream_list_rm(struct stream_list *list, cras_stream_id_t id);
36 int stream_list_rm_all_client_streams(struct stream_list *list,
Dserver_stream.h9 struct stream_list;
17 void server_stream_create(struct stream_list *stream_list,
26 void server_stream_destroy(struct stream_list *stream_list,
Dcras_iodev_list.c84 static struct stream_list *stream_list; variable
382 DL_FOREACH(stream_list_get(stream_list), rstream) { in remove_all_streams_from_dev()
401 server_stream_create(stream_list, dev->echo_reference_dev->info.idx); in possibly_enable_echo_reference()
413 server_stream_destroy(stream_list, dev->echo_reference_dev->info.idx); in possibly_disable_echo_reference()
539 DL_FOREACH(stream_list_get(stream_list), rstream) { in suspend_devs()
575 DL_FOREACH(stream_list_get(stream_list), rstream) { in resume_devs()
670 DL_FOREACH(stream_list_get(stream_list), stream) { in init_and_attach_streams()
864 DL_FOREACH(stream_list_get(stream_list), s) { in possibly_close_enabled_devs()
970 DL_FOREACH(stream_list_get(stream_list), stream) { in disable_device()
999 DL_FOREACH(stream_list_get(stream_list), rstream) { in force_close_pinned_only_device()
[all …]
Dcras_iodev_list.h23 struct stream_list;
208 struct stream_list *cras_iodev_list_get_stream_list();
/external/adhd/cras/src/tests/
Diodev_list_unittest.cc274 struct cras_rstream *stream_list = NULL; in TEST_F() local
290 DL_APPEND(stream_list, &rstream); in TEST_F()
295 DL_APPEND(stream_list, &rstream2); in TEST_F()
310 DL_DELETE(stream_list, &rstream2); in TEST_F()
316 DL_APPEND(stream_list, &rstream3); in TEST_F()
322 stream_list_get_ret = stream_list; in TEST_F()
335 struct cras_rstream *stream_list = NULL; in TEST_F() local
350 DL_APPEND(stream_list, &rstream); in TEST_F()
351 stream_list_get_ret = stream_list; in TEST_F()
362 struct cras_rstream *stream_list = NULL; in TEST_F() local
[all …]
Dstream_list_unittest.cc56 struct stream_list *l; in TEST()
Drclient_unittest.cc861 struct stream_list *cras_iodev_list_get_stream_list() in cras_iodev_list_get_stream_list()
879 int stream_list_add(struct stream_list *list, in stream_list_add()
898 int stream_list_rm(struct stream_list *list, cras_stream_id_t id) in stream_list_rm()
904 int stream_list_rm_all_client_streams(struct stream_list *list, in stream_list_rm_all_client_streams()
/external/autotest/client/tests/netperf2/
Dnetperf2.py37 test_time = 15, stream_list = [1], test_specific_args = '', argument
68 self.stream_list = stream_list
85 for num_streams in stream_list:
204 if (len(self.stream_list) != len(self.results) and
205 2*len(self.stream_list) != len(self.results)):
225 for i, streams in enumerate(self.stream_list):
/external/autotest/server/tests/netperf2/
Dnetperf2.py7 def run_once(self, pair, test, time, stream_list, cycles): argument
44 time, stream_list, 'server', cycles)
46 time, stream_list, 'client', cycles)
Dcontrol.srv18 stream_list - A list containing the number of streams to run the test for. If
30 stream_list=[1], cycles=1)
Dcontrol.stress.srv21 stream_list - A list containing the number of streams to run the test for. If
38 stream_list=streams, cycles=1)
/external/grpc-grpc/src/core/ext/transport/inproc/
Dinproc_transport.cc65 struct inproc_stream* stream_list; member
269 s->stream_list_next = t->stream_list; in init_stream()
270 if (t->stream_list) { in init_stream()
271 t->stream_list->stream_list_prev = s; in init_stream()
273 t->stream_list = s; in init_stream()
338 s->t->stream_list = n; in close_stream_locked()
1095 while (t->stream_list != nullptr) { in close_transport_locked()
1098 t->stream_list, in close_transport_locked()
1229 st->stream_list = nullptr; in inproc_transports_create()
1230 ct->stream_list = nullptr; in inproc_transports_create()
/external/adhd/cras/src/
DMakefile.am839 server/stream_list.c