[ALPS03889880] Audio: Revise for audio hal 4.0

[Detail]
1. Set audio hal as RT thread for USB call and fast record
2. Revise mt3967 to add 4.0 service
3. Replace 2.0 with 4.0

MTK-Commit-Id: 762c6ab286f7b22ca349b82c5e5d0bd7e2891c61

Change-Id: I1bbb3ea67c2bc631116077cf6a88f40cced38a54
CR-Id: ALPS03889880
Feature: [Module]Audio HAL
This commit is contained in:
Michael Hsiao 2020-01-18 10:05:50 +08:00
parent a38199a49e
commit bf960b4c69

View File

@ -287,7 +287,7 @@ allow meta_tst mddb_data_file:file { create open write read getattr};
allow meta_tst mddb_data_file:dir { search write add_name create getattr read open };
# Date: W17.43
# Purpose : Allow meta_tst to call android.hardware.audio@2.0-service-mediatek
# Purpose : Allow meta_tst to call Audio HAL service
binder_call(meta_tst, mtk_hal_audio)
allow meta_tst mtk_hal_audio:binder call;
allow meta_tst hal_audio_hwservice:hwservice_manager find;