Commit Graph

313 Commits

Author SHA1 Message Date
Preetam Singh Ranawat
92b6d081b0 sm6250-common: audio: Add DEFAULT adm_config profile
This DEFAULT adm_config profile will be used whenever a session is
in non-LPI with FFECNS disabled.
AFE will connect to ADM but will have none_topology.

Change-Id: I636667c376aa4309b67897e5dd162c4d318863f8
2020-12-05 00:36:17 +02:00
Sujin Panicker
33aa1748e1 sm6250-common: audio: Add mixer controls for call screen support
Add mixer controls for proxy ports.
Enable call screen mode support in audio_policy_config.

Change-Id: I88eb274e8b88d089da930a786f9ea8085955ae3b
2020-12-05 00:36:17 +02:00
Mingshu Pang
d0af0fb586 sm6250-common: audio: Add built-in/Back mic to primary input sources
Built-in mic and Built-In Back Mic aren't in supported devices
list of primary input, so record_24 is selected if without
connecting any headset, if there is more than 2 capture
concurrency, it will fail to open input for primary input when
connecting headset in AHAL.

Add built-in mic to primary input sources to reuse input to avoid
to open extra input stream in AHAL.

CRs-fixed: 2643298
Change-Id: I1e062520f7fb03ae97c88341dd58f77177dbe030
2020-12-05 00:36:17 +02:00
Samyak Jain
be8bff9f60 sm6250-common: audio: Add sound trigger implementer version
Add sound trigger implementer version. Set the version value to 0x0101.
This is to add SVA4.0 support from STHAL so that the client app can
make use of this version info to get to know of platform SVA4.0 support

Change-Id: I85945ba49f31e2a7b9295e77a629737ddcb8d7d5
2020-12-05 00:36:17 +02:00
Kunlei Zhang
c40a268ee8 sm6250-common: audio: set correct backend name for dual mic device
Set correct backend name for input device during stereo recording.

Change-Id: Ic77db5c446264fd322fe890a13b536f0f192df53
2020-12-05 00:36:17 +02:00
Zhou Song
c00edc31c7 sm6250-common: audio: allocate dedicated pcm node for in call recording
Allocate dedicated pcm node for in call recording, this can
avoid conflicting with generic audio recording for concurrent
recording scenarios.

Change-Id: I77f78a495623a55ad9c475d2554e7af326c68d7b
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
bc47a90e2f sm6250-common: add device-specific audio configs to device tree 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
ec357a7a97 [BLOBS] sm6250-common: remove device-specific audio configs from vendor 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
5202ad272b sm6250-common: copy audiopolicy configs from frameworks/av 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
86b19f1258 [BLOBS] sm6250-common: remove aosp audiopolicy configs from prebuilts 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
3529406a7d sm6250-common: sepolicy: update for qcom upstream 2020-12-05 00:36:17 +02:00
Mikhail Naganov
05701732a5 sm6250-common: Switch to Audio HAL V6
Switch to Audio HAL V6

Test: VtsHalAudioV6_0TargetTest VtsHalAudioEffectV6_0TargetTest
Bug: 155591007
Change-Id: If40ae28c224160728634736ee95590a779f905c4
(cherry picked from commit f11963392c9afd79704822a5812ef4412f3810db)
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
c034f3b609 sm6250-common: build audio stack from source 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
7383b2b4a0 [BLOBS] sm6250-common: remove prebuilt audio blobs 2020-12-05 00:36:17 +02:00
Murthy Nidadavolu
c8e91af415 sm6250-common: Remove DRM Widevine and Clearkey HALs
DRM Widevine and Clearkey HAL entries moved securemsm specific
makefiles complying FR53051.

Change-Id: Ib47565f157ce44d5b6e08789cf73ba206ba0176e
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
6420e7a3d2 sm6250-common: uprev clearkey hal to 1.3 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
70a02c0b60 sm6250-common: compile drm@1.0 from source 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
6ae3cb8c2b [BLOBS] sm6250-common: remove prebuilt DRM blobs 2020-12-05 00:36:17 +02:00
Dhananjay Kumar
e2a59ad584 sm6250-common: init.qcom.rc: update audio hal service override as per latest base service definition
Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
e2025cf699 sm6250-common: disable configstore
* it's finally deprecated in R
* ship disable_configstore because we have API level 29
2020-12-05 00:36:17 +02:00
Manaf Meethalavalappu Pallikunhi
9521b1de0c sm6250-common: Remove deprecated android.hardware.thermal@1.0 HAL
Remove deprecated android.hardware.thermal@1.0 HAL from
device manifest.

Bug: 154012150
Change-Id: I884e6b96cac4ebc3abcfaf309388d526a30dc5bd
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
459953e9a8 [BLOBS] sm6250-common: remove prebuilt thermal blobs 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
9fb4f3ae0d sm6250-common: set target-level in manifest to 4
* this is Android 10 launched device
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
bbaf4103f4 sm6250-common: build qti health@2.1 hal 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
0fa8cf5811 [BLOBS] sm6250-common: remove prebuilt health hal 2020-12-05 00:36:17 +02:00
Bharat Pawar
5d647e7b6c sm6250-common: Disable vibrator HAL interface
Disable the existing HIDL based vibrator HAL, while
we move to vendor vibrator HAL.

Change-Id: I7529dc91c2ff994b83c7b9e7ddf4df913b9205f9
2020-12-05 00:36:17 +02:00
Roshan Pius
8255190f11 sm6250-common: Add WifiOverlay
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
d795f22b08 sm6250-common: Remove wifi related internal overlays
This reverts commit 51e488c63c0e15aac8deb4ac3892ee0ca5b2bffc.
2020-12-05 00:36:17 +02:00
Bharat Pawar
6a37ae1489 sm6250-common: vibrator: Enable LED based vibrator
Enable LED based vibrator for talos, moorea and
atoll targets.

Change-Id: I079eefaefff77fe19304acc8749773febf91a7fc
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
580d07ac77 [BLOBS] sm6250-common: remove prebuilt vibrator blobs 2020-12-05 00:36:17 +02:00
Lucchetto
1ea5b096b4 sm6250-common: Adapt libinit to Android 11
[wight554: add property_override to common header]

Signed-off-by: Mohammad Hasan Keramat J <ikeramat80@gmail.com>
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: Ia6b6f753891b639dad4e380bdba6b594faf2a550
2020-12-05 00:36:17 +02:00
Mohammad Asaad Akram
2e3dfe8988 sm6250-common: ueventd: Allow system permission for RPS sysfs node
Allow system permission for RPS sysfs nodes, so that cnss-daemon,
user space daemon can enable RPS(Receive packet steering) feature.

Change-Id: Iccebc347d959fc8ca35f28cb64e7bcf6b05f341a
CRs-Fixed: 2768237
2020-12-05 00:36:17 +02:00
Sujin Panicker
f020550025 sm6250-common: Add property for timecheck timeout duration.
Timecheck timeout set to 20sec based on the property
vendor.audio.hal.boot.timeout.ms before system is ready.
It updates to default timeout of 5sec once the system
is ready.

Change-Id: I6d13eb8b8d06f279261cbcb81053f9a1389d073e
2020-12-05 00:36:17 +02:00
Rajathi S
5b4e29780f sm6250-common: Define ro.media.recorder-max-base-layer-fps
Define ro.media.recorder-max-base-layer-fps property to
60fps, so that layering will done only
when framerate is greater than max-base-layer-fps

CRs-Fixed: 2621390

Change-Id: I318024ac03a5f981df4310a48c294d90c0cd885a
2020-12-05 00:36:17 +02:00
Prasanta Kumar Sahu
c0293baa06 sm6250-common: Enable incremental FS feature.
Change-Id: I12c2a493c07c738ef962798aa8dcac5eda071f54
2020-12-05 00:36:17 +02:00
Purushottam Kushwaha
6488335a93 sm6250-common: NAN: set property 'wifi.aware.interface' to use separate interface
This CL is to set 'wifi.aware.interface' property for the targets
where separate NAN discovery interface is supported.

Change-Id: Ib892f2207a9366a5a86071fd6d3c4b37e174b08c
CRs-Fixed: 2680050
2020-12-05 00:36:17 +02:00
David Sehr
c08843c949 sm6250-common: Use dex2oat64
Enable dex2oat64 use.

Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
2020-12-05 00:36:17 +02:00
Redick Lin
832390a4d0 sm6250-common: BOARD_CHARGER_ENABLE_SUSPEND becomes ro.charger.enable_suspend
Define ro.charger.enable_suspend to true as charger no
longer uses BOARD_CHARGER_ENABLE_SUSPEND.

Bug: 153937817
Change-Id: Ic76bf3a66c5e21c74e49607f54d6c0358c31bbac
Signed-off-by: Redick Lin <redicklin@google.com>
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
41641edf48 sm6250-common: sepolicy: fix persist_file neverallow
* it's deprecated in R
2020-12-05 00:36:17 +02:00
LuK1337
60aaa57197 sm6250-common: Switch vintf manifest from copy files to build targets
* Fixes:
  build/make/core/Makefile:49: error: VINTF metadata found in PRODUCT_COPY_FILES

Change-Id: I0a7ddebff54563f7901b6ce5d6af9580ea201a77
2020-12-05 00:36:17 +02:00
LuK1337
53dc9ae44f sm6250-common: Don't use timeservice_app_cert certificate for TimeService app
* This cert is no longer present in qcom sepolicy.

Change-Id: Ie4e882058825287d9db3f7a3bdd37c641c67a5c2
2020-12-05 00:36:17 +02:00
Jaihind Yadav
f7c8dd0a44 sm6250-common: update sepolicy.mk path to point to vendor sepolicy.mk
Due to split of sepolicy , Now the vendor Boardconfig.mk should
call to venodor sepolicy.mk file.

Change-Id: Ie6a930b2310c372b5e570b68372c896ea77ddbd7
2020-12-05 00:36:17 +02:00
Lakshman Chaluvaraju
2a49a663cc sm6250-common: configs: Enable Stereo channel support for voip over audio path
Add changes to support stereo channel configuration
for voip over audio path.

Change-Id: Ib454d24a4017d3f91d429d47c52d4f86e5a18e97
2020-12-05 00:08:57 +02:00
inthewaves
4f5ec3b16e sm6250-common: overlay: add config for biometric sensors 2020-12-05 00:08:57 +02:00
Fiona Campbell
9c463757b8 sm6250-common: Add brightness float values to config file.
Test: manual testing - ensure that the brightness value in
Settings>Display>Brightness Level can go the full range from 0% to 100%.

[wight554: adapted for our value]

Change-Id: Ife1f2796bb3b8ec5f508903afd30a31556b49cbe
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2020-12-05 00:08:57 +02:00
Volodymyr Zhdanov
348481abdc sm6250-common: remove prebuilt libstagefright_omx blobs 2020-12-05 00:08:57 +02:00
Jeya R
2d443ac777 sm6250-common: Remove context hub HAL service from init rc file
Remove context hub HAL service from common init rc file to
target specific

Change-Id: If32c8c15ad5e9ab4103db21580955bff6bfe92ef
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2020-12-05 00:08:57 +02:00
Volodymyr Zhdanov
067158ade5 sm6250-common: build sensors HAL from source 2020-12-05 00:08:57 +02:00
Volodymyr Zhdanov
9f1a8fd2b2 [BLOBS] sm6250-common: remove prebuilt sensors HAL 2020-12-05 00:08:57 +02:00
Alastair Donaldson
2ec5d68d2e sm6250-common: Add android.software.vulkan.deqp.level, version 2020-03-01
This change sets the new Vulkan dEQP level feature flag to the value
corresponding to the Vulkan dEQP tests for Android 11.

Change-Id: I7906428e2659bcfec25dbfac28641b0595a33419
2020-12-05 00:08:57 +02:00