Commit Graph

28 Commits

Author SHA1 Message Date
Sal Savage
e5778e2b8e sm7250-common: Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Change-Id: I07e83ca352ff969be0e53a0f63b6c940b6c34dfb
2022-08-19 18:52:15 +03:00
mikairyuu
1c6329d11f Revert "sm7250-common: props: enable charger suspend "
This reverts commit 1aa1652a9e.
2022-08-17 10:19:52 +03:00
Adithya R
ce1c312f2b Revert "sm7250-common: Disable unspecialized app process pool"
This reverts commit bb99f9e2a6.
2022-08-15 15:02:58 +03:00
mikairyuu
1aa1652a9e sm7250-common: props: enable charger suspend 2022-08-05 00:28:32 +03:00
mikairyuu
c9e5e004c3 sm7250-common: props: enable mag filter 2022-08-05 00:14:03 +03:00
ghostrider-reborn
84ead77830 sm7250-common: props: Disable QTI perf lock usage in camera HAL
we're not using perf
2022-08-03 20:38:24 +03:00
Alexander Koskovich
082c79a151 sm7250-common: props: Disable QCOM system daemon
* For factory use only and has real performance costs.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Change-Id: I2d25c28c2ba146fa4464cb49f02ead6a6d787b48
2022-07-17 11:54:56 +03:00
aswin7469
f11ba4a817 sm7250-common: Enable all codec2 components with their normal ranks
* remove OMX components also while at it

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-07-17 10:46:38 +03:00
mikairyuu
efe8bad79f sm7250-common: props: add ART props from redbull 2022-07-17 10:40:27 +03:00
mikairyuu
0d121ce7b6 sm7250-common: props: set LMKD ram prop 2022-07-16 19:52:23 +03:00
Albert I
e4e88dd0a3 sm7250-common: Import QTI Codec2 HAL
* Enable Codec2 input surface
* Move QTI Codec2 media_codecs to where they actually belong
* Provides hardware-accelerated Codec2 decoding for most codecs

Signed-off-by: Albert I <kras@raphielgang.org>
2022-07-16 19:48:56 +03:00
mikairyuu
88b6c0ec4c sm7250-common: props: add media props 2022-07-15 15:10:17 +03:00
Jabiyeff
3559a4be45 sm7250-common: prop: Force disable iorapd
* Its eating more RAM and slow down device
* Thanks for CAFEBABE find this
* Being removed for A13
2022-07-11 10:42:36 +03:00
mikairyuu
d390732e14 sm7250-common: sync some properties with stock 2022-07-10 17:27:50 +03:00
mikairyuu
2be1c7f5f6 sm7250-common: Kang netmgrd and rmnet props from redbull 2022-07-09 19:34:28 +10:00
mikairyuu
43106bb971 sm7250-common: props: sync display prop with redbull 2022-06-17 22:32:09 +10:00
mikairyuu
7fcd20e52b sm7250-common: props: unset latch_unsignaled
Google thinks it's a bad prop for pixels, so it's a bad prop for us
2022-06-17 18:49:41 +10:00
Ady Abraham
7fc7d91529 sm7250-common: use phase offsets as duration.
adopt the new way of specifying phase offsets to SurfaceFlinger.
More info in ag/9856326

Bug: 145561086
Bug: 141329414
Test: jank tests
Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest
Change-Id: Ie50eb69009ac54345d0174f5429bc402573ec328
Signed-off-by: Joey Huab <joey@evolution-x.org>
2022-06-17 18:49:41 +10:00
mikairyuu
65dade4d28 sm7250-common: props: Use dex2oat64
Might be useless, but it's set in redbull so better safe than sorry
2022-06-17 18:49:41 +10:00
Adithya R
bb99f9e2a6 sm7250-common: Disable unspecialized app process pool
* doesnt work properly with zygote native fork loop:

11-16 13:12:39.971  2350  2350 E USAP    : Attempt to invoke virtual method 'int com.android.internal.os.ZygoteCommandBuffer.getCount()' on a null object reference
11-16 13:12:39.973  1952  2099 E ZygoteProcess: IO Exception while communicating with USAP pool - Connection reset by peer

Change-Id: I7dc09be8f047c29400c1df7874f5a0e1dae81723
Signed-off-by: Joey Huab <joey@evolution-x.org>
2022-06-17 18:49:41 +10:00
mikairyuu
b9ded2d959 sm7250-common: Import anti-logspam props 2022-06-17 18:49:41 +10:00
Sultanxda
37c0930b35 sm7250-common: props: Disable AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE
* We're not using perfd so this is useless.

Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Change-Id: I3b436f3f747c6955335513a133da81d27a6fbf60
2022-06-17 18:09:45 +10:00
Chenyang Zhong
7e102bf209 sm7250-common: switch iorap prefetch prop to mendel flags
Thanks Google for silently changing the prop for starting iorapd
service [1].

ref:
[1] 44176c75f7

Test: boot, check if iorapd service is started, and
      IorapForwardingService is not complaining

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: Ic78543b32488a861c3670238bbf5b8568608d342
2022-06-16 13:42:40 +10:00
xSylla
fece9129e0 sm7250-common: prop: Drop persist.vendor.radio.5g_mode_pref
Change-Id: I0772c4fbc483a74aa642ca1270d9a250e8db0147
2022-06-05 14:28:25 +02:00
Wilson Sung
a8a7a13b40 sm7250-common: Set SOC properties for SM7250
Bug: 158284209
Bug: 180589452
Change-Id: I31ec2aff20a4efb3c502ee5c8c6463e31c892bd5
Signed-off-by: Wilson Sung <wilsonsung@google.com>
2022-06-05 14:25:43 +02:00
xSylla
bf8a5a814f sm7250-common: Update product config variables
* These will be deprecated, so let's update them
* ref https://android.googlesource.com/platform/build/+/master/Changes.md

Change-Id: Id417a6f0a99c35b6f589cd59d7378f52e3a9b1ff
2022-06-05 14:25:31 +02:00
LuK1337
a3142c6513 sm7250-common: Drop SSR props & references and set SSR restart_level in init.qcom.rc
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2021-12-21 01:29:41 +01:00
xSylla
17332c2465 sm7250-common: Move props to properties.mk 2021-12-01 16:43:29 +01:00