History log of /hardware/interfaces/audio/2.0/default/DevicesFactory.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f811acf049b785ccce05a9fca9e01aa2031ab357 31-May-2017 Mikhail Naganov <mnaganov@google.com> Revert "audiohal: Add diagnostics to investigate HAL call crashes"

This reverts commit 6c0f76a684bc58eb10181f71d9f45c5799ca7c6a.

Since the root cause of the crash has been established, there is no need to keep this code around.

Bug: 36225019
Change-Id: I74e570e863a0cdec5d9029f1672e2e8066c246b5
/hardware/interfaces/audio/2.0/default/DevicesFactory.cpp
6c0f76a684bc58eb10181f71d9f45c5799ca7c6a 03-May-2017 Mikhail Naganov <mnaganov@google.com> audiohal: Add diagnostics to investigate HAL call crashes

This is intended to clarify whether surprising zeroing out of HAL
control structures happens to a particular HAL module, or to any
HAL module at random.

Unfortunately, the crash itself can't be prevented as
audioflinger can't work around a HAL outage, and needs to be
restarted anyway.

Bug: 36225019
Test: verified that the logged string contains the information
Change-Id: I5843d89b4e5385b4ce269f72b5891ccb646daeba
/hardware/interfaces/audio/2.0/default/DevicesFactory.cpp
8604a738a79d9caf8b57773a7bcc2ef99a8a624d 24-Apr-2017 Mikhail Naganov <mnaganov@google.com> audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice

Check for possibly invalid values of IDevicesFactory::Device enum.

Bug: 37592306
Change-Id: I4a2300d3be9ab38e6c51ba8a3b5bbbb606a11c2b
Test: VTS
(cherry picked from commit 8c16d85122472ef01a9e023c9568968faac1aff8)
/hardware/interfaces/audio/2.0/default/DevicesFactory.cpp
f247b8df085d6b2a50f981a062f9d376148acd5b 19-Jan-2017 Eric Laurent <elaurent@google.com> audio: add support for stub HAL in HIDL mode

Fixed broken functionality for some devices relying on
a stub HAL module to be present (e.g Fugu).

Bug: 34360879
Test: make and check stub HAL is loaded in HIDL passthrough mode

Change-Id: Ibad050d63827c4e49604273efd76ac8074bb00d2
/hardware/interfaces/audio/2.0/default/DevicesFactory.cpp
f9d303435d80161fabb16cdff3b8f2f75f362480 30-Nov-2016 Yifan Hong <elsk@google.com> Update to use the correct logging library.

Test: mma compiles
Change-Id: Idb33dea5faaf1a5e54719c2a5a683d2d47e9b8e8
/hardware/interfaces/audio/2.0/default/DevicesFactory.cpp
10548295023bee99108e418499aff09fe578211e 31-Oct-2016 Mikhail Naganov <mnaganov@google.com> Implement audio devices and streams HAL delegating to legacy HAL

Changes made to the .hal definition:

- introduce Effect ID returned by the IEffectsFactory that
needs to be passed to IStream.{add|remove}Effect; otherwise
it's impossible to retrieve the underlying HAL effect handle;

- change "bus address" in DeviceAddress to "string" type;

- fix signature of some methods w.r.t. returning Result;

- remove unused "struct AudioPatch".

Bug: 30222631
Test: make
Change-Id: Icb51729ef57bb2a5b0b78609735e7481bc04f95c
/hardware/interfaces/audio/2.0/default/DevicesFactory.cpp