History log of /hardware/interfaces/audio/4.0/IPrimaryDevice.hal
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4899fba75ebf25a5a7e7a733e666198ea3a06898 13-Feb-2018 Mikhail Naganov <mnaganov@google.com> audio hal: Add methods for controlling BT HFP

HFP = Hands-Free Profile
Added following methods:
IPrimaryDevice.getBtHfpEnabled
IPrimaryDevice.setBtHfpEnabled
IPrimaryDevice.setBtHfpSampleRate
IPrimaryDevice.setBtHfpVolume

Bug: 73257469
Change-Id: I55c06c6b8981821c3bdc3a13c2cb5951c7ea33c1
Test: make
/hardware/interfaces/audio/4.0/IPrimaryDevice.hal
124fac0142642fe3d81dedd5b12d2900689e026d 13-Feb-2018 Mikhail Naganov <mnaganov@google.com> audio hal: Add method for providing current device rotation to HAL

Added method:
IPrimaryDevice.updateRotation

Bug: 73088071
Change-Id: I23e78b70fa8cb0dba964420519b939856aaa914e
Test: make
/hardware/interfaces/audio/4.0/IPrimaryDevice.hal
8878f57dd55b6a3e844f7f2fc2277953987655b2 13-Feb-2018 Mikhail Naganov <mnaganov@google.com> audio hal: Add BT SCO headset name setter

This adds the following method:
IPrimaryDevice.setBtScoHeadsetName

Bug: 73001112
Test: make
Change-Id: I0ebe4defd980915b633365fa75eca65ff7dfc60a
/hardware/interfaces/audio/4.0/IPrimaryDevice.hal
eacb99697f332fd2559eb016773e189365aead0f 01-Feb-2018 Kevin Rocard <krocard@google.com> Audio V4: More fixes of the audio 2.0 API

Remove unnecessary Result typedef.
Make bufferSizeFrames and burstSizeFrames unsigned
as they should not be negative.
Remove legacy AudioInterleave.
Remove implicit callflow annotation.
Make EffectConfigParameters a bitfield.

Bug: 38184704
Test: hardware/interfaces/update-makefiles.py
Change-Id: I33e6f7869d20ca0cad4123f32347754e5a514caa
Signed-off-by: Kevin Rocard <krocard@google.com>
/hardware/interfaces/audio/4.0/IPrimaryDevice.hal
74980b56eb6a86d670b88f96c0ff925b4432b4dc 21-Jan-2018 Kevin Rocard <krocard@google.com> Audio V4: Fix documentation and useable/untestable bugs

Add missing documentation, especially for failure cases
and methods that are optional.
Add missing operation status for testability.
Add format for getSupported* methods as they could not
be implemented in 2.0 for multi-format stream (HDMI).

Test: compile
Bug: 38184704
Change-Id: I14ee5e02ef70a82df6de732f88b065810e9b032f
Signed-off-by: Kevin Rocard <krocard@google.com>
/hardware/interfaces/audio/4.0/IPrimaryDevice.hal
a4e6d8b1ded6392c9c14b876c7401b457d0c19c4 21-Jan-2018 Kevin Rocard <krocard@google.com> Audio V4: Copy 2.0 .hal files in 4.0

That will ease review of the changes.
The only changes are:
- replace all @2.0 by 4.0
$ sed -i 's/@2\.0/@4\.0/g' */4.0/*.hal
- replace all licence 2016 by 2018
$ sed -i 's/2016/2018/g' */4.0/*.hal

Moving the .hal in a subfolder forces the package name and the
namespace to change.

This mean that the audio HAL 2.0 and 4.0 will not be consider
different version of the same HAL but two different HALs.

As a result to minimize code change due to tight deadline,
keep the 4.0 core in the audio folder.

Bug: 38184704
Test: hardware/interfaces/update-makefiles.sh
Change-Id: I7c7a826270c9933091f037b795806787e1284583
Signed-off-by: Kevin Rocard <krocard@google.com>
/hardware/interfaces/audio/4.0/IPrimaryDevice.hal