System-side vendor extension for handling vendor parameters
A mechanism for handling vendor parameters of the Core Audio HAL is introduced. It is realized by means of a system side interface 'IHalAdapterVendorExtension' which can be implemented by the vendor in order to provide bidirectional translation between raw key-value pairs and structured VendorParameter parcelables. If an instance of 'IHalAdapterVendorExtension' is provided (for example, via a system ext partition), the audio framework will use it in order to process parameters that do not map to methods and fields of AOSP Core Audio HAL interfaces, and call 'IModule|IStreamCommon.get|setVendorParameters'. Bug: 274433842 Bug: 278976019 Test: atest CoreAudioHalAidlTest (cherry picked from https://android-review.googlesource.com/q/commit:e7a26adc8d891328fcce5fb14bbc988aa962f128) Merged-In: I8e77238d85cfa91bd7b53e20ad42bd195160fb04 Change-Id: I8e77238d85cfa91bd7b53e20ad42bd195160fb04
Loading
Please register or sign in to comment