History log of /external/adhd/cras/src/server/cras_main_message.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b442131345b6303de1bed915ceab8ee231efc1e0 16-Nov-2016 Cheng-Yi Chiang <cychiang@chromium.org> CRAS: main_message - Add newline in the end of file

BUG=None
TEST=None

Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Change-Id: Ie5ff1060e6083f15ac67068611deadd25decc17a
Reviewed-on: https://chromium-review.googlesource.com/411643
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
/external/adhd/cras/src/server/cras_main_message.h
94f07550848b7e387bf063949c939866acc0225c 15-Nov-2016 Cheng-Yi Chiang <cychiang@chromium.org> CRAS: device_monitor - Add device monitor to handle device request

Use device monitor to handle message from audio thread.
When audio thread finds a device in bad state, it can send a message to
main thread to reset a device properly from iodev_list.

BUG=chromium:662786
TEST=make check
TEST=With hack patch of severe underrun, check device reset upon severe
underrun. Also check audio thread log.

Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Change-Id: Iac6d3f688f40cfe434002064407363151857ec6b
Reviewed-on: https://chromium-review.googlesource.com/411743
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
/external/adhd/cras/src/server/cras_main_message.h
ca8809321f7e18db9a40f359724a0643ed842f2a 30-Jul-2015 Hsin-Yu Chao <hychao@chromium.org> CRAS: server_metrics - Log longest fetch delay

Each output stream is fetched regularly base on the stream's
callback threshold. If a client fails to respond to a fetch
request in time, the next fetch request will be delayed.

This change adds to cras_server_metrics the ability to log
various types of information to UMA. And use it in audio thread
to track the longest case of stream's fetch delay.

BUG=chromium:335774
TEST=cras_test_client --playback_file and use 'p' to suspend
the client and the resume it, repeat this many times then
visit chrome://histogram to verify the Cras.StreamTimeoutMilliSeconds
histogram changed accordingly.

Change-Id: I81862cb2cbd2e62f78f1dcef13dafc30c34fee65
Reviewed-on: https://chromium-review.googlesource.com/289429
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
Commit-Queue: Hsinyu Chao <hychao@chromium.org>
Tested-by: Hsinyu Chao <hychao@chromium.org>
/external/adhd/cras/src/server/cras_main_message.h
a8f04c73cb0e57efb829d15f3b7d29bf598f9b7a 30-Jul-2015 Hsin-Yu Chao <hychao@chromium.org> CRAS: main_message - Handle messages in main thread

Some codes are duplicated when handling various types of messages
in main thread, for example a2dp, bt_device and also UMA in near
future. Create a cras_main_message to provide a unified interface
to send message and register handlers in main thread.

BUG=chromium:335774
TEST=None

Change-Id: Idfe212d553c2ab39c99937b73555b1cf79e4e718
Reviewed-on: https://chromium-review.googlesource.com/289127
Reviewed-by: Chinyue Chen <chinyue@chromium.org>
Commit-Queue: Hsinyu Chao <hychao@chromium.org>
Tested-by: Hsinyu Chao <hychao@chromium.org>
/external/adhd/cras/src/server/cras_main_message.h