OSDN Git Service

brillo: Add service to detect audio devices.
authorRalph Nathan <ralphnathan@google.com>
Thu, 7 Jan 2016 23:10:32 +0000 (15:10 -0800)
committerRalph Nathan <ralphnathan@google.com>
Thu, 28 Jan 2016 00:00:36 +0000 (16:00 -0800)
commit5e788b5ea5a8d47bb96b3a0ab9fbac8a89e94174
tree54099f844aea50a7ad2fbda0d8903ff74a2884f6
parent178f42026d202f9ae979a5d1575ced5e5e3febbc
brillo: Add service to detect audio devices.

Add a native service to detect when audio devices are connected to the
headphone jack and inform the audio system.

BUG=25981491
TEST=manual test on abox_edge + unittests

Change-Id: Ia1ac9efe3008d81b1445c3e471d9c47bb042d921
brillo/audio/audioservice/Android.mk [new file with mode: 0644]
brillo/audio/audioservice/audio_daemon.cpp [new file with mode: 0644]
brillo/audio/audioservice/audio_daemon.h [new file with mode: 0644]
brillo/audio/audioservice/audio_device_handler.cpp [new file with mode: 0644]
brillo/audio/audioservice/audio_device_handler.h [new file with mode: 0644]
brillo/audio/audioservice/main_audio_service.cpp [new file with mode: 0644]
brillo/audio/audioservice/test/audio_device_handler_mock.h [new file with mode: 0644]
brillo/audio/audioservice/test/audio_device_handler_test.cpp [new file with mode: 0644]