audio: import aidl hal
* hardware/interfaces/audio/aidl/default/ at android-16.0.0_r1.
This commit is contained in:
58
audio/apex/com.android.hardware.audio/Android.bp
Normal file
58
audio/apex/com.android.hardware.audio/Android.bp
Normal file
@@ -0,0 +1,58 @@
|
||||
package {
|
||||
default_team: "trendy_team_android_media_audio_framework",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "hardware_interfaces_license"
|
||||
// to get the below license kinds:
|
||||
// SPDX-license-identifier-Apache-2.0
|
||||
default_applicable_licenses: ["hardware_interfaces_license"],
|
||||
}
|
||||
|
||||
apex {
|
||||
name: "com.android.hardware.audio",
|
||||
manifest: "manifest.json",
|
||||
file_contexts: "file_contexts",
|
||||
key: "com.android.hardware.key",
|
||||
certificate: ":com.android.hardware.certificate",
|
||||
updatable: false,
|
||||
vendor: true,
|
||||
|
||||
binaries: [
|
||||
"android.hardware.audio.service-aidl.example",
|
||||
"android.hardware.audio.effect.service-aidl.example",
|
||||
],
|
||||
native_shared_libs: [
|
||||
"libaecsw",
|
||||
"libagc1sw",
|
||||
"libagc2sw",
|
||||
"libbassboostsw",
|
||||
"libbundleaidl",
|
||||
"libdownmixaidl",
|
||||
"libdynamicsprocessingaidl",
|
||||
"libenvreverbsw",
|
||||
"libequalizersw",
|
||||
"libextensioneffect",
|
||||
"libhapticgeneratoraidl",
|
||||
"libloudnessenhanceraidl",
|
||||
"libnssw",
|
||||
"libpreprocessingaidl",
|
||||
"libpresetreverbsw",
|
||||
"libreverbaidl",
|
||||
"libspatializersw",
|
||||
"libvirtualizersw",
|
||||
"libvisualizeraidl",
|
||||
"libvolumesw",
|
||||
],
|
||||
prebuilts: [
|
||||
"android.hardware.audio.service-aidl.example.rc",
|
||||
"android.hardware.audio.service-aidl.xml",
|
||||
"android.hardware.bluetooth.audio.xml",
|
||||
],
|
||||
required: [
|
||||
"aidl_audio_set_configurations_bfbs",
|
||||
"aidl_default_audio_set_configurations_json",
|
||||
"aidl_audio_set_scenarios_bfbs",
|
||||
"aidl_default_audio_set_scenarios_json",
|
||||
"hfp_codec_capabilities_xml",
|
||||
],
|
||||
}
|
||||
4
audio/apex/com.android.hardware.audio/file_contexts
Normal file
4
audio/apex/com.android.hardware.audio/file_contexts
Normal file
@@ -0,0 +1,4 @@
|
||||
(/.*)? u:object_r:vendor_file:s0
|
||||
/etc(/.*)? u:object_r:vendor_configs_file:s0
|
||||
/bin/hw/android\.hardware\.audio\.service-aidl\.example u:object_r:hal_audio_default_exec:s0
|
||||
/bin/hw/android\.hardware\.audio\.effect\.service-aidl\.example u:object_r:hal_audio_default_exec:s0
|
||||
4
audio/apex/com.android.hardware.audio/manifest.json
Normal file
4
audio/apex/com.android.hardware.audio/manifest.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "com.android.hardware.audio",
|
||||
"version": 1
|
||||
}
|
||||
Reference in New Issue
Block a user