Commit graph

44 commits

Author SHA1 Message Date
Arian
595f5838e9 haydn: Add cameraperf manifest entry
Change-Id: I9a31383c7e2216ca428ee73cf03789b4180002e3
2023-04-18 01:46:49 +05:30
SebaUbuntu
bdf142a07d haydn: overlay-lineage: Configure additional camera framerates
Change-Id: I51efca86d2169c01fb96af97ef9fe250e2b221ed
2023-04-18 01:46:46 +05:30
LuK1337
1e57dbe42e haydn: overlay-lineage: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2023-04-06 20:01:02 +05:30
Arian
dcf9fcec65 haydn: Decommonize camera blob fixups
Change-Id: Ifbde2b5cae85084d524de6a96883c9f04ad63a51
2023-04-06 20:01:02 +05:30
AdarshGrewal
7b4403e197 haydn: Update from V14.0.3.0.TKKMIXM
Change-Id: Ie17049005d4f426847c9ffa954d8c0aedc24089b
2023-04-06 20:01:02 +05:30
Sal Savage
9807818304 haydn: Replace BTM_DEF_LOCAL_NAME with a sysprop
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2023-03-29 14:49:50 +02:00
AdarshGrewal
102259eb94 haydn: Rename NFC init file
Change-Id: Ib3cd12951082e42fc2022e660362fbce2b5858b8
2023-03-29 14:49:46 +02:00
LuK1337
9fc29a87a7 haydn: Sort blobs list /w sort-blobs-list.py
Change-Id: I197c6353dc50baf4ee76ed6ebf083dc00879bd96
2023-03-29 14:49:34 +02:00
Arian
a1a57415ef haydn: Set stock TARGET_DEVICE and TARGET_PRODUCT
Change-Id: Ib40dd59a0e8e4df6ade54a6a7a7434bfb7a06409
2023-01-02 22:26:40 +01:00
Arian
bd3e53e442 haydn: Update blobs to V13.0.4.0.SKKMIXM
Change-Id: I2c2d80b44d67ddd3103ee05ab4299cefe8ec6026
2023-01-02 22:24:23 +01:00
Arian
00e9b69467 haydn: Add dependency on sm8350-common
Change-Id: I80da2eaf2d4aba55edf3e08de13dfa4fbdb531b2
2022-10-31 12:20:24 +01:00
AdarshGrewal
999cf37559 haydn: Disable content detection for refresh rate
Change-Id: I24641e8e3b6e9b80328cdf1c0fa65d9a16085acd
2022-10-30 19:27:31 +05:30
AdarshGrewal
03d993dd69 haydn: Define stock FP and description
Change-Id: I115b66c2e39c3c76fe621144926d47e3c659b8be
2022-10-28 15:29:28 +05:30
althafvly
d98308ac17 haydn: Use randomly generated camera config [2/2]
Change-Id: Ib3f6f1526e2e0b7db23bb34c5b15aec1b0d338c2
2022-10-28 15:29:28 +05:30
AdarshGrewal
e3d412ce73 haydn: add RROs for setting correct device name and hotspot ssid
Check device variant by using ro.boot.hwc and
ro.boot.proudct.hardware.sku and set the correct model based on
value of ro.product.marketname on stock ROM

Change-Id: Iae15a7d3558f3c4608546e42ed655a76a0fe8868
2022-10-28 15:29:28 +05:30
AdarshGrewal
00a896bb29 haydn: Disable NFC services based on boot sku
* lets match the parent commit

Change-Id: I3612e81c14ec243afd648f4d16f8fe769b00fc94
2022-10-28 15:29:28 +05:30
AdarshGrewal
001f495ce8 haydn: Disable NFC apps for Indian devices
Change-Id: I81e9ebc52a762784bcc07b5cb9d5715da562551e
2022-10-28 15:29:28 +05:30
AdarshGrewal
e3880c29eb haydn: Disable NFC services on Indian devices
Change-Id: I1c08fb723a845dff4dee9f49574493a9941ea194
2022-10-28 15:29:28 +05:30
shawnlin
137d51e3b2 haydn: Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I0bf97352bc07e45d7694f9512266f08e7139c103
2022-10-28 15:29:28 +05:30
AdarshGrewal
97edd3d024 haydn: overlay: Enable front-facing camera protection
Change-Id: Idd657262b74a5fb1d2d614b6063fe4c3c5a362af
2022-10-28 15:29:28 +05:30
AdarshGrewal
2457bd4013 haydn: overlay: redo cutout overlays
* xiaomi for some reason uses mainBuiltInDisplayCutoutRectApproximation
 as mainBuiltInDisplayCutout.lets create a new mainBuiltInDisplayCutout
 and make it a bit bigger than stock camera cutout and fill it to
 avoid aliasing in the cutout area

Change-Id: I4936096e162131cf1463df8f9114e1a6bdba72d8
2022-10-28 15:29:28 +05:30
AdarshGrewal
7b26530f96 haydn: overlay: Add rounded corner overlays
Change-Id: Ib0d9fdd8ffa1c5d8ac07a279debc7935c779295f
2022-10-28 15:29:28 +05:30
AdarshGrewal
fbccd234bd haydn: overlay: Configure side fps properties
Change-Id: I1c49bf4e7f3c5c8ee6fb72df0f4a9a90092c579b
2022-10-28 15:29:28 +05:30
AdarshGrewal
135da909e2 haydn: overlay: Set Power button and fps location
Change-Id: I3b3a34c2e2c9d743562b534b5a5b5157634852cf
2022-10-28 15:29:28 +05:30
Danny Lin
d56165a204 sweet: Enable refresh rate toggle in Settings
sweet supports switching between 60 and 120 Hz refresh rates, so let's
expose it in Settings -> Display -> Smooth Display for users to save
battery if necessary.

Test: visual confirmation after toggling several times
Change-Id: Ie698ec4d4e738afd2a9055dba2369233103a4f13
2022-10-28 15:29:28 +05:30
Adrian Salido
a7dfd33633 haydn: overlay: Add default frame rate setting
Add a new priority PRIORITY_DEVICE_PEAK_REFRESH_RATE, and a new config
setting config_defaultRefreshRate which maps to that priority. This
allows an OEM to easily specify a default frame rate different from the
peak frame rate.

Bug: 148978450
Bug: 154648391

Test: - Added new unit tests to verify DisplayModeDirector handles min,
        peak, and default refresh rate settings correctly.

- Modified haydn to set config_defaultRefreshRate to 60Hz, confirmed
  we default to 60, but that an app calling setFrameRate(120) switches us
  to 120.

- Confirmed that the "smooth display" and "force 120Hz" options on haydn
  work correctly.

- Confirmed Redfin works as it did before - still constrained to 60Hz.

Change-Id: Ibfc35abed2b67093b8114822d233bf1ca31eebb0
2022-10-28 15:29:28 +05:30
Adrian Salido
fc588c3e59 haydn: overlay: Enable peak refresh rate (120hz)
Enables default setting to 120hz mode, this can be disabled through
Settings app

Bug: 130249886
Test: wipe user settings and check default peak refresh rate enabled
Change-Id: I205d793dea3f7b971972fa850b0255dcf18db923
2022-10-28 15:29:28 +05:30
AdarshGrewal
bdb6816a4a haydn: overlays: Define DisplayCutout path
Change-Id: I4d99f183ae678f38d4813c3e2e3de58da8fa597b
2022-10-28 15:29:28 +05:30
AdarshGrewal
7e665d2414 haydn: overlays: Import power_profile
Change-Id: I96113b2acf6df0649177d8d7e6f47ff51a797f3f
2022-10-28 15:29:28 +05:30
AdarshGrewal
2ec9b1fa68 haydn: overlays: Import Brightness overlays
Change-Id: I85c5bec957e4af2527b465f6f7e7f879678464b0
2022-10-28 15:29:25 +05:30
AdarshGrewal
2ea6b906a3 haydn: Initial blobs listing
Change-Id: Ifa4b9a54d11342a40918734a9ed108fc0d105bdd
2022-10-14 00:59:23 +05:30
AdarshGrewal
eba76b3e8f haydn: Import audio configs
Change-Id: If62905de5f13996b224ed3a52179f418f7d85144
2022-10-12 04:18:54 +05:30
Arian
0170a53302 haydn: Enable vibrator effects
Change-Id: Ib1c036d5ef67574b383b69c89215b286d4f447df
2022-10-12 04:18:54 +05:30
Raghavendra Rao Ananta
f403272e89 haydn: Make msm_drm module part of QGKI ramdisks
Since msm_drm driver is created as a module by default for
all the build configurations, it has to explicitly moved to
first stage (vendor) ramdisk as the recovery menu needs the
driver to display the UI. Hence, package this as a part of
vendor ramdisk for QGKI configurations only as GKI doesn't
have this requirement.

Change-Id: Ic3d5f5a4a1d3b32de7ec4dfe9ef03bf9b8204068
2022-10-12 04:18:54 +05:30
AdarshGrewal
f303d1d457 haydn: Configure boot kernel modules
Change-Id: I6672d5bfc9127bacf899cb2915adf7edad541b12
2022-10-12 04:18:54 +05:30
AdarshGrewal
02441dabd1 haydn: Add asserts for possible fastboot products 2022-10-12 04:18:54 +05:30
AdarshGrewal
029e01cbc7 haydn: Add haydnin to asserts
Change-Id: Ifce85c7aa44584a43572c72ba6bc7196be51db6f
2022-10-12 04:18:54 +05:30
Giovanni Ricca
b74d6d2366 haydn: Include device specific kernel config fragment
Change-Id: Id5cacc4f1caf8edb3defc1f793a0c501039269f1
2022-10-12 04:09:39 +05:30
AdarshGrewal
da8daae339 haydn: Define dtbo partition size
Change-Id: I171b940d676a6746e0c6295171f75144572ddb7e
2022-10-12 04:09:39 +05:30
AdarshGrewal
e4687e0e72 haydn: Include proprietary vendor
Change-Id: I901e44ada9ee73fe40cef8100b70dc3b8d9bc750
2022-10-12 04:09:39 +05:30
AdarshGrewal
712ff072f0 haydn: Import common extract scripts
Change-Id: I57ed17753128aaabe17adf05d2c0186369bff392
2022-10-12 04:09:39 +05:30
AdarshGrewal
6e74d1311a haydn: Inherit from common tree
Change-Id: I9d0590599ab046dbb61881e137ee9d62ffcb260d
2022-10-12 04:09:39 +05:30
Ethan Chen
5d373ea0ea haydn: Use Soong namespace to avoid device build conflicts
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
2022-10-12 04:05:59 +05:30
AdarshGrewal
c11c95a7f7 haydn: Initial device tree
Change-Id: I674ddba9e29525327e2a4b9d0c4fe34e42894891
2022-10-12 04:05:59 +05:30