Searched refs:num_active_streams (Results 1 – 15 of 15) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_observer.c | 35 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 …]
|
D | cras_system_state.c | 474 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()
|
D | cras_observer.h | 95 uint32_t num_active_streams);
|
D | cras_rclient.c | 295 uint32_t num_active_streams) in send_num_active_streams_changed() argument 301 &msg, dir, num_active_streams); in send_num_active_streams_changed()
|
D | cras_dbus_control.c | 1119 uint32_t num_active_streams) in signal_num_active_streams_changed() argument
|
/external/adhd/cras/src/tests/ |
D | observer_unittest.cc | 184 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()
|
D | cras_monitor.c | 174 uint32_t num_active_streams) in num_active_streams_changed() argument 177 string_for_direction(dir), num_active_streams); in num_active_streams_changed()
|
D | rclient_unittest.cc | 654 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()
|
D | system_state_unittest.cc | 559 uint32_t num_active_streams) in cras_observer_notify_num_active_streams() argument
|
/external/adhd/cras/src/common/ |
D | cras_observer_ops.h | 51 uint32_t num_active_streams);
|
D | cras_messages.h | 726 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()
|
D | cras_types.h | 389 uint32_t num_active_streams[CRAS_NUM_DIRECTIONS]; member
|
/external/adhd/cras/src/libcras/ |
D | cras_client.h | 1246 uint32_t num_active_streams);
|
D | cras_client.c | 1865 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/ |
D | README.dbus-api | 233 NumberOfActiveStreamsChanged(int32 num_active_streams)
|