Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_observer.c35 struct cras_alert *num_active_streams[CRAS_NUM_DIRECTIONS]; member
75 uint32_t num_active_streams; member
256 streams_data->num_active_streams); in num_active_streams_alert()
348 num_active_streams, CRAS_STREAM_OUTPUT); in cras_observer_server_init()
350 num_active_streams, CRAS_STREAM_INPUT); in cras_observer_server_init()
352 num_active_streams, CRAS_STREAM_POST_MIX_PRE_DSP); in cras_observer_server_init()
377 cras_alert_destroy(g_observer->alerts.num_active_streams[ in cras_observer_server_free()
379 cras_alert_destroy(g_observer->alerts.num_active_streams[ in cras_observer_server_free()
381 cras_alert_destroy(g_observer->alerts.num_active_streams[ in cras_observer_server_free()
541 uint32_t num_active_streams) in cras_observer_notify_num_active_streams() argument
[all …]
Dcras_system_state.c474 s->num_active_streams[direction]++; in cras_system_state_stream_added()
479 direction, s->num_active_streams[direction]); in cras_system_state_stream_added()
494 sum += s->num_active_streams[i]; in cras_system_state_stream_removed()
500 s->num_active_streams[direction]--; in cras_system_state_stream_removed()
504 direction, s->num_active_streams[direction]); in cras_system_state_stream_removed()
512 sum += state.exp_state->num_active_streams[i]; in cras_system_state_get_active_streams()
519 return state.exp_state->num_active_streams[direction]; in cras_system_state_get_active_streams_by_direction()
Dcras_observer.h95 uint32_t num_active_streams);
Dcras_rclient.c295 uint32_t num_active_streams) in send_num_active_streams_changed() argument
301 &msg, dir, num_active_streams); in send_num_active_streams_changed()
Dcras_dbus_control.c1119 uint32_t num_active_streams) in signal_num_active_streams_changed() argument
/external/adhd/cras/src/tests/
Dobserver_unittest.cc184 uint32_t num_active_streams) { in cb_num_active_streams_changed() argument
188 cb_num_active_streams_changed_num.push_back(num_active_streams); in cb_num_active_streams_changed()
223 cras_alert_add_callback_map[g_observer->alerts.num_active_streams[ in SetUp()
226 cras_alert_add_callback_map[g_observer->alerts.num_active_streams[ in SetUp()
229 cras_alert_add_callback_map[g_observer->alerts.num_active_streams[ in SetUp()
556 g_observer->alerts.num_active_streams[CRAS_STREAM_INPUT]); in TEST_F()
561 EXPECT_EQ(data->num_active_streams, active_streams); in TEST_F()
Dcras_monitor.c174 uint32_t num_active_streams) in num_active_streams_changed() argument
177 string_for_direction(dir), num_active_streams); in num_active_streams_changed()
Drclient_unittest.cc654 const uint32_t num_active_streams = 3; in TEST_F() local
656 send_num_active_streams_changed(void_client, dir, num_active_streams); in TEST_F()
661 EXPECT_EQ(msg->num_active_streams, num_active_streams); in TEST_F()
Dsystem_state_unittest.cc559 uint32_t num_active_streams) in cras_observer_notify_num_active_streams() argument
/external/adhd/cras/src/common/
Dcras_observer_ops.h51 uint32_t num_active_streams);
Dcras_messages.h726 uint32_t num_active_streams; member
731 uint32_t num_active_streams) in cras_fill_client_num_active_streams_changed() argument
736 m->num_active_streams = num_active_streams; in cras_fill_client_num_active_streams_changed()
Dcras_types.h389 uint32_t num_active_streams[CRAS_NUM_DIRECTIONS]; member
/external/adhd/cras/src/libcras/
Dcras_client.h1246 uint32_t num_active_streams);
Dcras_client.c1865 direction, cmsg->num_active_streams); in handle_message_from_server()
2726 num_streams += client->server_state->num_active_streams[i]; in cras_client_get_num_active_streams()
/external/adhd/cras/
DREADME.dbus-api233 NumberOfActiveStreamsChanged(int32 num_active_streams)