417 Commits

Author SHA1 Message Date
Michael Wright
d5a1b3751f
sm6250-common: overlay: Enable haptic text cursor
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2022-08-26 18:27:19 +00:00
Santiago Seifert
401d2588f3
sm6250-common: overlay: Unpin updatable-media from memory
Bug: 214499288
Test: Presubmit
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
2022-08-26 18:27:18 +00:00
Nicolas Geoffray
d6bffe1e2f
sm6250-common: overlay: Remove odex/oat files from pinner list.
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: Ibd947491961e4e78f1996c04dcec62d5b16c2d1d
2022-08-26 18:27:18 +00:00
Kevin Jeon
89ab71d106
sm6250-common: overlay: Update SurfaceFlinger pin
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService
      - no longer shows a file-not-found error in PinnerService
Change-Id: I8ef5d556d6a1bff9793336259242f2b928ff18ff
2022-08-26 18:27:18 +00:00
Sebastiano Barezzi
053d81bf4b
sm6250-common: sepolicy: Don't grant system_server access to fingerprint props
Change-Id: I4f391e43a80c25d7fcedde12a70b3215913fcfd2
2022-08-26 18:27:17 +00:00
Sebastiano Barezzi
b45758328a
sm6250-common: sepolicy: Label fingerprint props as restricted vendor
* System only reads them, but never sets them
* Rename to vendor_fingerprint_prop while at it

Change-Id: Id980731ec53338c5c5a07b81f10a283c428d17aa
2022-08-26 18:27:17 +00:00
Michael Bestas
e4cf86cbb5
sm6250-common: sepolicy: Fix fingerprint labels
Change-Id: I66188247ce9268929763236c0ac2fa483273f1cc
2022-08-26 18:27:16 +00:00
Inseob Kim
7295be9301
sm6250-common: sepolicy: Attach vendor_property_type to properties
We are going to enforce that each property has an explicit owner, such
as system, vendor, or product. This attaches vendor_property_type to
properties defined under vendor sepolicy directories.

Bug: 159097992
Test: m selinux_policy && boot device
Change-Id: I33c40ca345365d8f01f43d3ce7f1f3434b1edfd5
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2022-08-26 18:27:16 +00:00
Alexander Winkowski
4663e12a68
sm6250-common: sepolicy: Remove unused type definitions
Change-Id: Idea8863bf29f609a4641275c3d30d7f6396eda0f
2022-08-26 18:27:16 +00:00
Alex Hong
363fbefd2a
sm6250-common: sepolicy: Solve the naming problem for vendor property
Bug: 158720266
Test: Build selinux modules successfully
Change-Id: I01a83a7828d34db982db60bbf307c81fc12c7939
2022-08-26 18:27:15 +00:00
Alexander Winkowski
335649a0c2
sm6250-common: sepolicy: Fix namespace violation
The property_contexts in vendor should contain vendor props only.

Change-Id: Ieb621921dc43f6c9b6b451fe45ac1a3fbaaac3c8
2022-08-26 18:27:15 +00:00
Arvind Kumar
85b0f02c03
sm6250-common: Set manufacturer and soc properties
Set soc model and manufacturer properties

Change-Id: I9ecc1cb75a415f5df147d47234fd9d8b69e1e6b5
2022-08-26 18:27:15 +00:00
linjoey
9257bea57b
sm6250-common: Modify Vulkan and OpenGL version to 2020-03-01
Bug: 191252896
Test: android.graphics.cts.VulkanDeqpLevelTest#testVulkanDeqpLevel pass
Change-Id: I0e598ee8a26cd614dc5076a87c514756ba39d740
2022-08-26 18:26:31 +00:00
Alastair Donaldson
83f4843c5a
sm6250-common: Add OpenGL ES and update Vulkan dEQP feature flags
Populates a new	feature	flag to	record the level of OpenGL ES dEQP
test support.  Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.

Bug: 159841535
Bug: 175706433
Merged-In: Ib0fb8f83732d0b3f56bb11a97c84fdc7727c1026
Change-Id: Ic97a65fba95a67e3e16cedd0eb4f3f209f645421
2022-08-26 18:26:31 +00:00
Roger Ellis
6e2978fdcf
sm6250-common: Add exclusion for vendor ELF prebuilts
- ELF prebuilts were banned in PRODUCT_COPY_FILES starting May 11.
 - Adding BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true to
BoardConfig.mk temoporarily.
 - See b/156534160 for long-term fix which should override this change.

Test: Build
Bug: 156534160
Change-Id: I7d80798d3b2d3818bc835fcede21de2e7ab04735
2022-08-26 18:20:07 +00:00
Gary Jian
2df3660efa
sm6250-common: Upgrade IRadio version to 1.5
Bug: 147070523
Bug: 154066681
Test: manually
Change-Id: I765a0822dabf206391d19037f971a46281758b3f
2022-08-26 18:17:37 +00:00
Alexander Winkowski
7181e78423
sm6250-common: Remove custom thermal service
There is little point in keeping it only for rebranding. Just
build Pixel one directly.

Change-Id: I2c9d5745eb1764642dcebabdc623fb8033d9943d
2022-08-26 18:17:37 +00:00
Sebastiano Barezzi
165b7d8345
sm6250-common: Move to common Xiaomi fingerprint HIDL
Change-Id: I6c29a831e985ee440c92a98aad8d33f25b9e5b2d
2022-08-26 18:17:37 +00:00
Sebastiano Barezzi
5ad37fc324
sm6250-common: Move to common Xiaomi light AIDL
Change-Id: I00494cd392d19abd97cd65aeb4ec4bd9c9b11352
2022-08-26 18:17:36 +00:00
Sebastiano Barezzi
d59c0109a0
sm6250-common: Uprev bluetooth audio HIDL impl to 2.1
* We get free LC3 support, isn't it poggers?

Change-Id: I0f1713ee542102374183ef8088bcad62d3859c2f
2022-08-26 18:17:36 +00:00
Sebastiano Barezzi
ef3b155cca
sm6250-common: Uprev clearkey DRM HIDL to 1.4
Change-Id: Id0895fee70495913f57bc8408ea433660467a7c7
2022-08-26 18:17:35 +00:00
Sebastiano Barezzi
cff0333329
sm6250-common: Build vendor interfaces libraries
Change-Id: I0c8760ff6923c2d2a43ec058554d724ca6600f3c
2022-08-26 18:17:35 +00:00
Sebastiano Barezzi
ea2ee24063
sm6250-common: rootdir: Move to Android.bp
Change-Id: I28c3cb806d47e0e2c4f1fc0cf909d90638f2d2af
2022-08-26 18:16:32 +00:00
Nolen Johnson
139b41cb89
sm6250-common: bluetooth: Disable clean turn on
* This isn't needed anymore.

Change-Id: Ib77e5212099d82bbc07aea6044eb35109faff5cb
2022-08-25 17:33:05 +00:00
Alexander Winkowski
546dbf87aa
Revert "sm6250-common: Drop all component overrides"
This reverts commit af1d6e3d7074e4804def17c7705745fa1ac912bf.

It's still needed for AOSP BT stack, only HidDeviceService is
enabled by default.

Change-Id: Iff7880f8301e0b3d343786607881eec0326b5fcf
2022-08-25 17:32:42 +00:00
Jyoti Kumari
ec47665b92
sm6250-common: wifi: Remove TDLS INI from ini file
Remove gEnableTDLSSupport and gEnableTDLSImplicitTrigger
from ini file

Enable this ini from driver header file

Change-Id: I6e4337615e75b5f5288bdf4e50a94f2c7ec3e0d6
CRs-Fixed: 2775227
2022-08-24 15:35:21 +00:00
Ashish Kumar Dhanotiya
a6cc5836d8
sm6250-common: wifi: Remove TxPower2g and 5g from config file
Ini config values TxPower2g and TxPower5g are not
getting used anymore.
Remove TxPower2g and TxPower5g from WCNSS_qcom_cfg.ini
for all the targets.

Change-Id: Id85bec3e4ae3bb8012e13844bb0afa682a593fee
CRs-Fixed: 2607679
2022-08-24 15:35:21 +00:00
Alexander Winkowski
6278c0965a
sm6250-common: wifi: Clean up WCNSS_qcom_cfg.ini
Remove parameters that no longer exist.

Change-Id: Ib6800987c57d050ea6fa621191e2d6df3fc80c97
2022-08-24 15:35:21 +00:00
Alexander Winkowski
b3fc040f63
sm6250-common: wifi: Clean up Xiaomi changes
Change-Id: I84cc75b317e7e1781a4351d3fc6269c5104ad4df
2022-08-24 15:35:10 +00:00
Alexander Winkowski
c41bf9ffd1
sm6250-common: wifi: Separate Xiaomi changes from other ones
Change-Id: I2cfdf7ca842c28c784b8864211dfd55798aa66a6
2022-08-24 04:14:50 +00:00
Alexander Winkowski
afc253433c
sm6250-common: Move Netflix prop to vendor
Change-Id: I83d13ded0b844aa308b49f6573571d595b5e827b
2022-08-17 19:40:15 +00:00
Alexander Winkowski
75f2d25a63
sm6250-common: Sync props with V13.0.2.0.SJWMIXM
Change-Id: I51895967401ec26aaa748cabf82c7f6d0cb5ecba
2022-08-17 19:40:00 +00:00
Alexander Winkowski
fcb17314b6
sm6250-common: Clean up properties
Those don't exist in blobs:
vendor.audio.capture.enforce_legacy_copp_sr=true
persist.vendor.qcomsysd.enabled=1

Default values:
vendor.display.comp_mask=0
vendor.display.disable_scaler=0
vendor.gralloc.disable_ubwc=0

Change-Id: I8092b378b0c82aeea4ad4bb5574587731884ceeb
2022-08-17 08:14:25 +00:00
Alexander Koskovich
495d12546e
sm6250-common: Remove radio properties where the value is the default
Change-Id: I46a4fd1bc358fa7503a470054e8c6cd14ccfd1c0
2022-08-17 08:13:54 +00:00
Alexander Koskovich
0f51c5c224
sm6250-common: Remove ro.com.android.dataroaming override
* build/make/target/product/full_base_telephony.mk
   24:    ro.com.android.dataroaming?=true

 * system_ext/etc/build.prop:ro.com.android.dataroaming=false
   vendor/build.prop:ro.com.android.dataroaming=true

   In QSSI builds the partition priority is: odm, vendor,
   product, system_ext, system.

Change-Id: Ia90d73ce62a156e4b88731cffd4d5f7a6dd795e6
2022-08-17 08:13:53 +00:00
Alexander Koskovich
27e5228084
sm6250-common: Drop implied Bluetooth properties
Change-Id: Ibf99eb0a1cfec92b849403db710df3239e1de203
2022-08-17 08:13:53 +00:00
Alexander Koskovich
c9db0de700
sm6250-common: Disable unspecialized app process pool
* Does not appear to work anymore, denials all over.

Change-Id: I16e4c5bbad3a443e7b69b669f173d5869b29c633
2022-08-17 08:05:31 +00:00
Alexander Koskovich
c7371d5635
sm6250-common: Cleanup packages
Change-Id: I6188858b49a9591108032ea6f4d1a4da49a73138
2022-08-17 08:05:02 +00:00
hpnightowl
7f4971b8a3
sm6250-common: Drop audio.a2dp.default
* Building from here:
   https://github.com/LineageOS/android_build/blob/lineage-18.1/target/product/full_base.mk#L35

Change-Id: Ib71c1abd381468ec3621d60e5ca959f738f51168
2022-08-17 08:05:02 +00:00
Alexander Koskovich
6d29c5453e
sm6250-common: Drop some audio packages
* All of these are implied.

Change-Id: Iad7824105bd2c22899365f8a5fc0a9e73d36beda
2022-08-17 08:05:01 +00:00
Alexander Koskovich
6f0b2ea5b1
sm6250-common: Drop PRODUCT_BUILD_SUPER_PARTITION
* Super image is not generated by a default 'm' build,
   but we at least want it for dist builds.

Change-Id: Ia12a5314632509fcd309d51ddf757efdc37499c3
2022-08-17 07:58:11 +00:00
Alexander Koskovich
ffd89d6492
sm6250-common: Drop support for Snapdragon Camera
* Won't be implemented this cycle (or ever again hopefully).

Change-Id: Ie2a346319dfe814deaf9833cb31640505cc6b7dc
2022-08-17 07:58:10 +00:00
Alexander Koskovich
af1d6e3d70
sm6250-common: Drop all component overrides
* Qualcomm no longer disables these for targets
   that support RRO, e.g. all QSSI targets.

Change-Id: I0372817623e8d0e58926fbfb519671c3caa07b86
2022-08-17 07:58:10 +00:00
Sebastiano Barezzi
9c65a54dca
sm6250-common: Drop QTI camera device usage
* qcom-camera topic hasn't been ported to 19.1
* Keep building vendor.qti.hardware.camera.device@1.0 interface lib, IMS stack and possibly camera HAL still needs it

Change-Id: I87bcd5b54ad986d5844df50de243fc1a18507198
2022-08-17 07:58:10 +00:00
Sebastiano Barezzi
813744ac12
sm6250-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2022-08-17 07:58:09 +00:00
Georg Veichtlbauer
4864f38110
sm6250-common: Remove CLANG compile flag
Defaults to true now project-wide.

Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-08-17 07:53:56 +00:00
Daniel Mentz
e98b808ee6
sm6250-common: Remove ineffective BOARD_KERNEL_TAGS_OFFSET variable
Remove various variables related to where kernel and ramdisk are loaded
by the bootloader. There are two reasons for this:

1. The B1C1 bootloader ignores all the offset values for kernel, ramdisk
and tags. The default B1C1 memory layout has been designed to accomodate
a larger KASAN kernel.

2. The variables BOARD_KERNEL_TAGS_OFFSET and BOARD_RAMDISK_OFFSET are
ignored by the Android build system (unless they are copied into the
BOARD_MKBOOTIMG_ARGS variable). This is in contrast to the variables
BOARD_KERNEL_BASE, BOARD_KERNEL_PAGESIZE and BOARD_MKBOOTIMG_ARGS which
are referenced by build/make/core/Makefile

Bug: 117832711
Change-Id: I3404a4e084ed063d51077a3a80229854362c768b
2022-08-17 07:53:56 +00:00
Bruno Martins
6d8b243954
sm6250-common: Prepend "system/" before paths where necessary
Change-Id: I29a61453565d0b2a27c601b8e58edbe1bad3ec9a
2022-08-09 10:11:27 +00:00
Michael Bestas
1d03bdc7e9
sm6250-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2022-08-09 10:11:26 +00:00
Sonal Singh
f231428f31
sm6250-common: Add missing lib needed for depth camera sensor
* Apparently this lib is missed out during initial oss vendor import, and it leads to gc02m1_i_gc depth sensor not to work

Change-Id: I0605f187005bd80b3fd29734862a2347f52217f2
2022-08-09 10:11:26 +00:00