Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dserver_stream.c39 struct stream_list *stream_list = (struct stream_list *)data; in server_stream_add_cb() local
45 stream_list_add(stream_list, stream_config, &stream); in server_stream_add_cb()
48 void server_stream_create(struct stream_list *stream_list, unsigned int dev_idx) in server_stream_create() argument
71 cras_system_add_task(server_stream_add_cb, stream_list); in server_stream_create()
76 struct stream_list *stream_list = (struct stream_list *)data; in server_stream_rm_cb() local
81 if (stream_list_rm(stream_list, stream_config->stream_id)) in server_stream_rm_cb()
89 void server_stream_destroy(struct stream_list *stream_list, in server_stream_destroy() argument
97 cras_system_add_task(server_stream_rm_cb, stream_list); in server_stream_destroy()
Dstream_list.h15 struct stream_list;
23 struct stream_list *stream_list_create(stream_callback *add_cb,
29 void stream_list_destroy(struct stream_list *list);
31 struct cras_rstream *stream_list_get(struct stream_list *list);
44 int stream_list_add(struct stream_list *list,
48 int stream_list_rm(struct stream_list *list, cras_stream_id_t id);
50 int stream_list_rm_all_client_streams(struct stream_list *list,
56 bool stream_list_has_pinned_stream(struct stream_list *list,
Dstream_list.c12 struct stream_list { struct
26 struct stream_list *list = (struct stream_list *)data; in delete_streams() argument
53 struct stream_list *stream_list_create(stream_callback *add_cb, in stream_list_create()
59 struct stream_list *list = calloc(1, sizeof(struct stream_list)); in stream_list_create()
69 void stream_list_destroy(struct stream_list *list) in stream_list_destroy()
74 struct cras_rstream *stream_list_get(struct stream_list *list) in stream_list_get()
79 int stream_list_add(struct stream_list *list, in stream_list_add()
99 int stream_list_rm(struct stream_list *list, cras_stream_id_t id) in stream_list_rm()
117 int stream_list_rm_all_client_streams(struct stream_list *list, in stream_list_rm_all_client_streams()
138 bool stream_list_has_pinned_stream(struct stream_list *list, in stream_list_has_pinned_stream()
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.c81 static struct stream_list *stream_list; variable
335 DL_FOREACH (stream_list_get(stream_list), rstream) { in remove_all_streams_from_dev()
354 server_stream_create(stream_list, dev->echo_reference_dev->info.idx); in possibly_enable_echo_reference()
366 server_stream_destroy(stream_list, dev->echo_reference_dev->info.idx); in possibly_disable_echo_reference()
489 DL_FOREACH (stream_list_get(stream_list), rstream) { in suspend_devs()
525 DL_FOREACH (stream_list_get(stream_list), rstream) { in resume_devs()
640 DL_FOREACH (stream_list_get(stream_list), stream) { in init_and_attach_streams()
836 DL_FOREACH (stream_list_get(stream_list), s) { in possibly_close_enabled_devs()
844 if (stream_list_has_pinned_stream(stream_list, in possibly_close_enabled_devs()
868 !stream_list_has_pinned_stream(stream_list, dev->info.idx)) in pinned_stream_removed()
[all …]
Dcras_iodev_list.h19 struct stream_list;
237 struct stream_list *cras_iodev_list_get_stream_list();
/external/adhd/cras/src/tests/
Diodev_list_unittest.cc293 struct cras_rstream* stream_list = NULL; in TEST_F() local
309 DL_APPEND(stream_list, &rstream); in TEST_F()
314 DL_APPEND(stream_list, &rstream2); in TEST_F()
329 DL_DELETE(stream_list, &rstream2); in TEST_F()
335 DL_APPEND(stream_list, &rstream3); in TEST_F()
341 stream_list_get_ret = stream_list; in TEST_F()
354 struct cras_rstream* stream_list = NULL; in TEST_F() local
369 DL_APPEND(stream_list, &rstream); in TEST_F()
370 stream_list_get_ret = stream_list; in TEST_F()
381 struct cras_rstream* stream_list = NULL; in TEST_F() local
[all …]
Dcapture_rclient_unittest.cc254 struct stream_list* cras_iodev_list_get_stream_list() { in cras_iodev_list_get_stream_list()
290 int stream_list_rm_all_client_streams(struct stream_list* list, in stream_list_rm_all_client_streams()
295 int stream_list_rm(struct stream_list* list, cras_stream_id_t id) { in stream_list_rm()
300 int stream_list_add(struct stream_list* list, in stream_list_add()
Dplayback_rclient_unittest.cc254 struct stream_list* cras_iodev_list_get_stream_list() { in cras_iodev_list_get_stream_list()
290 int stream_list_rm_all_client_streams(struct stream_list* list, in stream_list_rm_all_client_streams()
295 int stream_list_rm(struct stream_list* list, cras_stream_id_t id) { in stream_list_rm()
300 int stream_list_add(struct stream_list* list, in stream_list_add()
Dstream_list_unittest.cc56 struct stream_list* l; in TEST()
Dcontrol_rclient_unittest.cc921 struct stream_list* cras_iodev_list_get_stream_list() { in cras_iodev_list_get_stream_list()
935 int stream_list_add(struct stream_list* list, in stream_list_add()
954 int stream_list_rm(struct stream_list* list, cras_stream_id_t id) { in stream_list_rm()
959 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/libsrtp2/srtp/
Dsrtp.c2014 new_stream->next = ctx->stream_list; in srtp_unprotect_aead()
2015 ctx->stream_list = new_stream; in srtp_unprotect_aead()
2098 new_stream->next = ctx->stream_list; in srtp_protect_mki()
2099 ctx->stream_list = new_stream; in srtp_protect_mki()
2698 new_stream->next = ctx->stream_list; in srtp_unprotect_mki()
2699 ctx->stream_list = new_stream; in srtp_unprotect_mki()
2788 stream = srtp->stream_list; in srtp_get_stream()
2811 stream = session->stream_list; in srtp_dealloc()
2882 tmp->next = session->stream_list; in srtp_add_stream()
2883 session->stream_list = tmp; in srtp_add_stream()
[all …]
/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/libsrtp2/include/
Dsrtp_priv.h161 struct srtp_stream_ctx_t_ *stream_list; /* linked list of streams */ member
/external/adhd/cras/src/
DMakefile.am910 server/stream_list.c
/external/libsrtp2/test/
Dsrtp_driver.c1481 stream = srtp->stream_list; in srtp_session_print_policy()