Commit Graph

436 Commits

Author SHA1 Message Date
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
Ugo Yu
5d2b6c67f0 sm6250-common: Enable BluetoothSar v1.1
Bug: 148950966
Test: Manual
Change-Id: Ief822072dfe97f20f102dc35f314131e90ac4a1c
2020-12-05 00:08:57 +02:00
Brad Ebinger
b2c3d6432a sm6250-common: Add translatable="false" tags to ims package overlays
Bug: 147569830
Test: atest TeleServiceTests:PhoneGlobalsTest
Change-Id: I57d80bbf17fafdc87ba04c6e7f7ab9573482e395
2020-12-05 00:08:57 +02:00
Brad Ebinger
61394f2ce9 sm6250-common: Remove old configuration and use new config for MMTEL/RCS
Remove the old config_ims_package device config and configure the
new MMTEL and RCS configurations in Telephony instead. Also,
configure the RcsService to be the default RCS service.

Bug: 111305845
Test: make checkbuild
Change-Id: I0d709b8248f1c40f0a5b50ec799396706eeadd65
2020-12-05 00:08:57 +02:00
Ethan Chen
39e49c4a78 sm6250-common: Add AOSP RCS packages
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
2020-12-05 00:08:56 +02:00
Ethan Chen
9cdc81c5d7 sm6250-common: Remove dead RCS packages
Change-Id: Ie2c03fa11cb08c7ab900d7b666981d592aba19c7
2020-12-05 00:08:36 +02:00
Volodymyr Zhdanov
4f124b3396 [BLOBS] sm6250-common: remove prebuilt vndk blobs 2020-12-05 00:08:06 +02:00
Volodymyr Zhdanov
666e38496c sm6250-common: build clearkey from source 2020-12-05 00:08:06 +02:00
Volodymyr Zhdanov
5f36f8cd3e [BLOBS] sm6250-common: remove prebuilt clearkey blobs 2020-12-05 00:08:06 +02:00
Volodymyr Zhdanov
9abdfa8c4b sm6250-common: copy libhidlcache from vndk 29
* needed by vendor.xiaomi.hardware.misys@3.0-service
2020-12-05 00:08:06 +02:00
Volodymyr Zhdanov
7b22c4e86d sm6250-common: build libhidltransport and libhwbinder
* also their vendor variants
* for q blobs compatibility
2020-12-03 02:33:33 +02:00
Volodymyr Zhdanov
5697cf4fa2 sm6250-common: build libgui_vendor from source 2020-12-03 02:33:33 +02:00
Volodymyr Zhdanov
60001cda76 [BLOBS] sm6250-common: remove prebuilt libgui_vendor 2020-12-03 02:33:33 +02:00
AtlanPrime
36a30fd72d sm6250-common: Priv-app permissions changed to log
*temporary
2020-12-03 02:33:33 +02:00
Jimmy Chen
b08dbb6c96 sm6250-common: wifi: move wpa_supplicant VINTF definition to wpa_supplicant module
Bug: 36505680
Test: builds and wifi works
Change-Id: I00d1b6b5ada82dc6a457498977f5c6e38194f1f0
2020-12-03 02:33:33 +02:00
Ahmed ElArabawy
2bd7926fd8 sm6250-common: Wifi: Remove IWifi hidl entry from manifest.xml
This CL removes the definition for the IWifi hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 138243400
Test: builds and wifi works
Change-Id: Ib57a2347781c1e213c471d9087286410b308fe7b
2020-12-03 02:33:33 +02:00
lesl
cebf05cf5d sm6250-common: Wifi: Remove hostapd hidl entry from manifest.xml
This CL removes the definition for the hostapd hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 145780363
Test: builds and wifi softap works
Change-Id: I79a16f72474d5fa7f11d9e8bb12216b261c0ca79
2020-12-03 02:33:33 +02:00
Vinay Gannevaram
b3e68336a4 sm6250-common: Enable driver param "no_rrm=1" in wpa_supplicant_overlay.conf
Enable driver param "no_rrm=1" in wpa_supplicant_overlay.conf
for all targets. Since location modules need the registration
of rrm frames, it is disabled in wpa_supplicant for all targets

CRs-Fixed: 2693388
Change-Id: I13fb4aabe4edb25d3d0cda30a16e69d6fbf35334
2020-12-03 01:20:17 +02:00
Mohammad Asaad Akram
0812b84fe1 sm6250-common: wlan: Add only certified configuration methods for wpa_supplicant
With this patch nfc interface info in wps information element is
disabled and only certified config methods are enabled.

Change-Id: Iea297426ddc078172f5c71575656c65bcada9d5f
CRs-Fixed: 2680762
2020-12-03 01:20:17 +02:00
Jimmy Chen
264ba999e2 sm6250-common: wifi: move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: Icea6361942873b5177c5fa59f9628c3b383b4509
2020-12-03 01:19:26 +02:00
Volodymyr Zhdanov
b987b28cd5 sm6250-common: rootdir: load_system_props was deprecated 2020-12-03 01:18:03 +02:00
Volodymyr Zhdanov
e5823aa243 sm6250-common: rootdir: remove service for unused wigignpt 2020-12-03 01:17:38 +02:00
Shivaprasad Hongal
026131b271 sm6250-common: avb: Compile recovery image as a chain partition
Add AVB flags to compile recovery image
as a chained partition. This is required
for safe OTA when multislot support is
not present.

Change-Id: I1115eba4038e6fcaa61440846a25861366996ed4
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2020-12-03 01:16:21 +02:00
Dan Willemsen
b220c66461 sm6520-common: use BUILD_COPY_HEADERS
Bug: 130719878
Test: turn copy headers into an error by default; still builds
Change-Id: Idf228b2e8c4a4d93c3ad43fcd9995564d4feb67d
2020-12-03 01:16:09 +02:00
Steven Moreland
77b24904f4 sm6250-common: power: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
2020-12-03 01:15:46 +02:00
Steven Moreland
d821e05d3e sm6250-common: light: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
2020-12-03 01:15:37 +02:00
Jaegeuk Kim
bf69bf5116 sm6250-common: get back to default from long-standing VM tweaks
This patch removed the old writeout policy tune which was never touched since
2009. In the meantime, most of Android devices are equipped with over 4GB DRAM
and very fast flash storages like UFS, which becomes more like desktop or
servers in 2009. So, it'd be worth to go back to use the default kernel configs.

Bug: 136483670
Bug: 137190999
Bug: 152936751
Test: check value output
Change-Id: I1ebbf9f1f27a921103db51e96a50aadd6ec0dde8
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Signed-off-by: Martin Liu <liumartin@google.com>
2020-12-03 01:14:21 +02:00
maxwen
d646153a0b sm6250-common: Update overlay to hide sRGB toggle
* Now expected as an array in Settings package

Change-Id: I92a56abb0fc1379e4482d1889d04d8db6a14ea2b
2020-12-03 01:13:05 +02:00