191 Commits

Author SHA1 Message Date
Subbaraman Narayanamurthy
e936225bf0 sm7250-common: vendor-common: Add QTI health implementation
Add QTI health implementation so that it waits for battery power
supply for a max timeout of 5 seconds. This is to ensure by the
time health HAL service starts, battery power supply device is
available. Without this, health HAL couldn't find battery power
supply sometimes because of the time taken for battery charger
driver to probe on platforms where it can happen only after the
remote subsytem is bought out of reset.

Change-Id: I96ee53ef15dd61c98d317e9ec221456ca564249f
2023-01-10 14:08:10 +00:00
Josh Wu
1c490fe100 sm7250-common: Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2023-01-05 22:46:16 +05:30
Akshay Kakatkar
8450fb0f17 sm7250-common: Switch to AOSP BT Stack
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:46:06 +05:30
Keertesh
75162adc10 sm7250-common: Change gsi_keys to developer_gsi_keys
*Deleted in a13
2023-01-05 22:45:54 +05:30
aswin7469
196f4506d3 sm7250-common: remove unneeded ro.surface_flinger.use_color_management
* color management is turned on by default on android 12

Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:39:24 +05:30
Adlai Holler
37d7daf3eb sm7250-common: Enable skia reduceOpsTaskSplitting
Bug: 183612348
Change-Id: Iefde4a449f78c2298190d1a0a2d059788ed27bb2
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:39:19 +05:30
TH779
4d17856c81 sm7250-common: Declare OpenGL ES dEQP level
Signed-off-by: TH779 <i@779.moe>
Change-Id: Ia3a840b993c646ce1b017f4f55aef94d13040266
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:38:36 +05:30
HotDogfinba11
65ea78171c sm7250-common: Adaptive charging xml
Allows to enable adaptive charging toggle.

Signed-off-by: sakhiofsakshi <imsakshisharma04@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:36:56 +05:30
hpnightowl
9ffab294f4 sm7250-common: 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
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: rany <ranygh@riseup.net>
2023-01-05 22:36:24 +05:30
Ramisky
8b97ab3a18 sm7250-common: set Surfaceflinger refresh rate timers
This to allow us to idle to lower refresh rates even if the app is requesting a higher one if it's idle to save battery life, or boost even on apps that don't request a certain high refresh rate to get a smoother experience

Change-Id: Ie611283e1d75a31b218454073e85742be91fdf07
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:36:04 +05:30
Ramii Ahmed
bf913e6885 sm7250-common: props: Enable content based SF refresh rate setting
Change-Id: I6a79a172df58f724e1d43ae527bc5fbd3ec7ea67
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:35:57 +05:30
Sebastiano Barezzi
e8e59cd57d sm7250-common: Stop explicitely building netutils-wrapper-1.0
* Built by default

Change-Id: Id6666535bb8d0b84d2d0a8d19411fafa49df3d68
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:31:41 +05:30
Sebastiano Barezzi
4f16df691b sm7250-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
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:31:35 +05:30
aswin7469
8f94637235 sm7250-common: cleanup aosp Codec2 modules
* we switched to  QTI Codec2 HAL

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:28:23 +05:30
aswin7469
b8df5084a8 sm7250-common: remove GCamGO
This reverts commit b5ab9eb2478b1586866f4cb6a5c045f6f117a439.
2023-01-05 22:28:14 +05:30
jjpprrrr
88153d8d8c sm7250-common: build libdisplayconfig.system.qti for QCOM WFD
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-01-05 22:25:45 +05:30
Keertesh
ff1a2d137b sm7250-common: Build libqdMetaData.system
*needed by libwfdmmsrc_system.so

*F linker  : CANNOT LINK EXECUTABLE "/system_ext/bin/wfdservice": library "libqdMetaData.system.so" not found: needed by /system_ext/lib/libwfdmmsrc_system.so in namespace (default)
2023-01-05 22:25:35 +05:30
aswin7469
c7d4e3aca5 sm7250-common: cleanup common.mk
* remove disabled oneplus-fwk (no longer needed as we using bsp blobs)
* add back boot-jars for wfdcommon and telephony (needed Soong fix has been added in rom side)

Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:10:57 +05:30
chandu078
db9de2f501 sm7250-common: rro_overlays: Add RRO for OnePlusCamera & OnePlusGallery
Signed-off-by: firebird11 <hbgassel@gmail.com>
Change-Id: If69bfa3d417207b36bf08a0e87f8ab97916f0fbe
Signed-off-by: c79 <vexed@riseup.net>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:02:30 +05:30
Alastair Donaldson
a96406d9f8 sm7250-common: Add Vulkan dEQP feature flags
Change-Id: I55c39601687ab66745c17598ec08e3eee12bf84c
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 21:59:35 +05:30
johnmart19
d972a291fc sm7250-common: Add android.hardware.media.c2@1.2 vendor version 2023-01-05 21:57:47 +05:30
Chenyang Zhong
cc3f770751 sm7250-common: Build media Codec2 modules 2023-01-05 21:57:27 +05:30
klozz
59a934bcda sm7250-common: media: satisfy C2 Codecs
We are using c2.qti codecs but satisfy aosp too
MediaCodecsXmlParser: MediaCodec: cannot update non-existing codec: c2.android.vp9.decoder at line 203 of /vendor/etc/media_codecs_performance.xml

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 21:57:19 +05:30
aswin7469
68031e1fee sm7250-common: include oneplus camera
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Manikantraaavi <raavimanikanta6595@gmail.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 21:56:27 +05:30
Sandeep-FED
a0a2a575c1 sm7250-common: exclude WFDCommon
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 21:54:12 +05:30
Eamon Powell
0cc060fa35 sm7250-common: Add task profiles for API 31
This is necessary in order for stune boost to work.

Change-Id: Icc3444be95a177fb4b6ef77cbf582d696381b9cb
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:52:34 +00:00
Jake Weinstein
19b73df61d sm7250-common: Set display calibration on color mode settings
* sRGB on Natural and Boosted
   Unmanaged on Saturated
   P3 on Automatic

Change-Id: Ida1a64ff2ea99973f2e2a0fa7ca062c75b7c4831
2022-04-01 16:51:29 +05:30
Albert Wang
ba1ef84271 sm7250-common: Update USB HAL to V1.3 implementation
Supports to enable/disable USB data signaling

Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Iffe00f8753206fb66cd3ab96cae5aa5ad9c410cd
2022-04-01 16:40:24 +05:30
KakatkarAkshay
a61a2dffe4 Revert "sm7250-common: Switch to seperate repo for WfdCommon jar"
This reverts commit f85b8c31f5.
2022-03-28 23:51:39 +05:30
Michael Bestas
9ee20a9def sm7250-common: Build fastboot mock HAL
* This adds all the missing methods and makes fastbootd
  wipe work properly.

Change-Id: I4906f6e9dcc00d37a7fa97e0139ba536f00755fa
2022-03-28 23:51:39 +05:30
Akshay Kakatkar
5dc90dd003 sm7250-common: Drop op extras 2022-03-28 23:51:39 +05:30
KakatkarAkshay
e57f0c68d0 sm7250-common: Prebuilt Google Camera Go 2022-03-07 13:13:47 +00:00
Daniel Jacob Chittoor
9bd78fb15b sm7250-common: Nuke qti thermal hal
* Handled by thermal-engine, sometimes causes google photos to not backup with "Device is too hot"
2022-03-07 13:13:47 +00:00
Daniel Jacob Chittoor
4ff4462ed7 sm7250-common: rootdir: Remove unused FTM init scripts
Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com>
2022-03-07 13:13:47 +00:00
KakatkarAkshay
4afb835916 sm7250-common: Commonize fstab and encryption props 2022-03-07 13:13:47 +00:00
KakatkarAkshay
8580ed614e sm7250-common: configs: Update Media configs from LA.UM.9.12.r1-13400.02-SMxx50.QSSI12.0
* Also move them to seperate directory
2022-03-07 13:13:47 +00:00
LuK1337
46f465a7bd sm7250-common: Build libssrec from source
Change-Id: Ib5b1d99a0b6980a76d4c83063c7a84a0c090b361
2022-03-07 13:12:29 +00:00
KakatkarAkshay
f85b8c31f5 sm7250-common: Switch to seperate repo for WfdCommon jar 2022-03-07 13:12:29 +00:00
luca020400
65a51c5695 sm7250-common: Switch back to AOSP NFC 2022-03-07 13:12:25 +00:00
Sebastiano Barezzi
e268732821 sm7250-common: Uprev bluetooth audio HIDL impl to 2.1
* We get free LC3 support, isn't it poggers?

Change-Id: I0f1713ee542102374183ef8088bcad62d3859c2f
2022-01-05 11:00:41 +05:30
Akshay Kakatkar
8895c7e6e9 Revert "sm7250-common: Build Health HAL 2.0"
This reverts commit 0d195728de.
2022-01-05 11:00:41 +05:30
Sebastiano Barezzi
ded5788f32 sm7250-common: Build extra VNDK version 30
* Basically make system a GSI, but this should avoid us the headache made by VNDK libs not being built based on proprietary interfaces

Change-Id: I1ca876b5d2a82d41af76f4c327b89a181bb3d6bd
2022-01-05 11:00:41 +05:30
Edwin Wong
edd64739bd sm7250-common: Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I406b7d3c2921d4698535421894c6eb3785eb1c0d
2022-01-05 11:00:41 +05:30
Rohan Hasabe
7a8c707f4e sm7250-common: Build vendor HIDL interfaces
Change-Id: I8695467802fdaccef3887d1cfc76a6313feaef83
2021-10-30 18:20:44 +02:00
TheScarastic
b7ee7e9a4e sm7250-common: Switch to udfps 2021-10-30 18:20:40 +02:00
Chandra Chaganti
e60b2b84df sm7250-common: nuke livedisplay 2021-10-18 18:20:54 +02:00
TARKZiM
0d195728de sm7250-common: Build Health HAL 2.0
Co-authored-by: HELLBOY017 <abhaygill017@gmail.com>
2021-10-10 15:55:38 +02:00
PIPIPIG233666
386e70b688 sm7250-common: Split component-overrides to support pure AOSP/QTI BT stack
Change-Id: Ia40a996ba5164ba8a6fc5dde0dfb3ef859af1477
2021-10-10 15:55:37 +02:00
Chandra Chaganti
cbdaae6070 sm7250-common: Switch back to bool for FOD 2021-10-10 15:55:37 +02:00
Chandra Chaganti
9d40bc895a sm7250-common: remove lineage trust 2021-10-10 15:55:36 +02:00