Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Dobserver_unittest.cc112 int muted, int user_muted, int mute_locked) { in cb_output_mute_changed() argument
117 cb_output_mute_changed_mute_locked.push_back(mute_locked); in cb_output_mute_changed()
127 void cb_capture_mute_changed(void *context, int muted, int mute_locked) { in cb_capture_mute_changed() argument
131 cb_capture_mute_changed_mute_locked.push_back(mute_locked); in cb_capture_mute_changed()
334 const int mute_locked = 0; in TEST_F() local
336 cras_observer_notify_output_mute(muted, user_muted, mute_locked); in TEST_F()
344 EXPECT_EQ(data->mute_locked, mute_locked); in TEST_F()
354 EXPECT_EQ(cb_output_mute_changed_mute_locked[0], mute_locked); in TEST_F()
355 EXPECT_EQ(cb_output_mute_changed_mute_locked[1], mute_locked); in TEST_F()
385 const int mute_locked = 0; in TEST_F() local
[all …]
Dcras_monitor.c28 int user_muted, int mute_locked) in output_mute_changed() argument
31 muted, user_muted, mute_locked); in output_mute_changed()
39 static void capture_mute_changed(void *context, int muted, int mute_locked) in capture_mute_changed() argument
42 muted, mute_locked); in capture_mute_changed()
Drclient_unittest.cc523 const int mute_locked = 1; in TEST_F() local
525 send_output_mute_changed(void_client, muted, user_muted, mute_locked); in TEST_F()
531 EXPECT_EQ(msg->mute_locked, mute_locked); in TEST_F()
556 const int mute_locked = 0; in TEST_F() local
558 send_capture_mute_changed(void_client, muted, mute_locked); in TEST_F()
563 EXPECT_EQ(msg->mute_locked, mute_locked); in TEST_F()
Dsystem_state_unittest.cc538 int mute_locked) in cras_observer_notify_output_mute() argument
548 void cras_observer_notify_capture_mute(int muted, int mute_locked) in cras_observer_notify_capture_mute() argument
/external/adhd/cras/src/server/
Dcras_observer.c51 int mute_locked; member
123 mute_data->mute_locked); in output_mute_alert()
152 mute_data->mute_locked); in capture_mute_alert()
451 int mute_locked) in cras_observer_notify_output_mute() argument
457 data.mute_locked = mute_locked; in cras_observer_notify_output_mute()
471 void cras_observer_notify_capture_mute(int muted, int mute_locked) in cras_observer_notify_capture_mute() argument
477 data.mute_locked = mute_locked; in cras_observer_notify_capture_mute()
Dcras_system_state.c105 exp_state->mute_locked = 0; in cras_system_state_init()
206 state.exp_state->mute_locked); in cras_system_notify_mute()
228 if (state.exp_state->mute_locked) in cras_system_set_mute()
244 if (state.exp_state->mute_locked == !!locked) in cras_system_set_mute_locked()
247 state.exp_state->mute_locked = !!locked; in cras_system_set_mute_locked()
267 return state.exp_state->mute_locked; in cras_system_get_mute_locked()
Dcras_observer.h63 int mute_locked);
69 void cras_observer_notify_capture_mute(int muted, int mute_locked);
Dcras_rclient.c211 int user_muted, int mute_locked) in send_output_mute_changed() argument
217 user_muted, mute_locked); in send_output_mute_changed()
230 static void send_capture_mute_changed(void *context, int muted, int mute_locked) in send_capture_mute_changed() argument
235 cras_fill_client_capture_mute_changed(&msg, muted, mute_locked); in send_capture_mute_changed()
Dcras_dbus_control.c968 int mute_locked) in signal_output_mute() argument
1005 static void signal_capture_mute(void *context, int muted, int mute_locked) in signal_capture_mute() argument
Dcras_iodev_list.c342 int mute_locked) in sys_mute_change() argument
605 static void sys_cap_mute_change(void *context, int muted, int mute_locked) in sys_cap_mute_change() argument
/external/adhd/cras/src/common/
Dcras_observer_ops.h21 int muted, int user_muted, int mute_locked);
25 void (*capture_mute_changed)(void *context, int muted, int mute_locked);
Dcras_messages.h638 int32_t mute_locked; member
642 int32_t user_muted, int32_t mute_locked) in cras_fill_client_output_mute_changed() argument
648 m->mute_locked = mute_locked; in cras_fill_client_output_mute_changed()
652 int32_t mute_locked) in cras_fill_client_capture_mute_changed() argument
658 m->mute_locked = mute_locked; in cras_fill_client_capture_mute_changed()
Dcras_types.h369 int32_t mute_locked; member
/external/adhd/cras/src/libcras/
Dcras_client.h1158 void* context, int muted, int user_muted, int mute_locked);
1180 void* context, int muted, int mute_locked);
Dcras_client.c1788 cmsg->mute_locked); in handle_message_from_server()
1807 cmsg->mute_locked); in handle_message_from_server()