Commit graph

146 commits

Author SHA1 Message Date
Cosmin Tanislav
1538036b5b dubai: sensors: Create sysfs polling one shot sensor
Change-Id: Ie78d7729201836bacd65a57f76e22adb61159192
2022-09-29 19:56:25 -06:00
Cosmin Tanislav
2a89cd587a dubai: sensors: Fix locking around setOperationMode and activate
Change-Id: I9a09f45f012662c8f92fa40da3a4b9dd691a1b2c
2022-09-29 19:56:25 -06:00
Cosmin Tanislav
6fed258d33 dubai: sensors: Move one shot sensor out of main class
Change-Id: Ib7ac0c55409f2dc7f8fb114167e9f4b2e8859223
2022-09-29 19:56:25 -06:00
Cosmin Tanislav
c586b2ba42 dubai: sensors: Make sensor set mode operation function virtual
Change-Id: I62c94a6ad250417162cfc9eaca8cb490ce650d9c
2022-09-29 19:56:25 -06:00
Cosmin Tanislav
cb42d06df9 dubai: sensors: Make sensor flush function virtual
Change-Id: I46532fc726d9e0c2073100ff1f6008fcde9e821c
2022-09-29 19:56:25 -06:00
Cosmin Tanislav
240a944d40 dubai: sensors: Make sensor run function virtual
Change-Id: Ie50900903bbf4a302baff084f229c37c5c324742
2022-09-29 19:56:25 -06:00
Cosmin Tanislav
f8fdf66b35 dubai: sensors: Make sensor batch function virtual
Change-Id: I2de1e919234c4893b0b70390c0189cae38dbbe6c
2022-09-29 19:56:25 -06:00
Cosmin Tanislav
7cdd04a3cb dubai: Add dummy sensors sub HAL
Change-Id: Ie20ed775344990de3e16e2eefba1754d831027fb
2022-09-29 19:56:25 -06:00
Cosmin Tanislav
9da8518319 dubai: Import hals.conf
Change-Id: Ifdc949ff5c8e008de4d58162fd90f9cd91d3581d
2022-09-29 19:56:25 -06:00
SagarMakhar
1b9b756685 dubai: Add sendFodEvent hooks to fingerprint wrapper
Co-authored-by: sb6596 <shubhamprince111@gmail.com>
Co-authored-by: AdarshGrewal <adarshgrewal@gmail.com>
Change-Id: I75d2f8c05533003ad3c2c3393e33c1ff6a7d34fc
2022-09-29 19:56:25 -06:00
SagarMakhar
133ccc02c9 dubai: Add com.motorola.hardware.biometric.fingerprint interface
Co-authored-by: sb6596 <shubhamprince111@gmail.com>
Change-Id: I4167ca648cb7291989222c80cab8693a26111afd
2022-09-29 19:56:25 -06:00
AdarshGrewal
ebb4dc9fbf dubai: Enable UDFPS soong config
Change-Id: I0837bb076c62075fb5f53c1f52031afdf9e0065b
2022-09-29 19:55:40 -06:00
Cosmin Tanislav
7e37c47aff dubai: Add UDFPS extension library
* Mark the pressed fingerprint layer.

Change-Id: I49891f89350839ff93ff1a762a83996bfd56ec18
2022-09-29 19:55:40 -06:00
Ayush Dubey
e96c195166 dubai: overlay: Set keyguard bottom margin
Signed-off-by: Ayush Dubey <ayushdubey70@gmail.com>
Change-Id: Ia5991b3f729fcb027e9ec13bda8057f04ef0aa25
2022-09-29 19:55:40 -06:00
AdarshGrewal
26e7d71e12 dubai: Setup UDFPS overlay
Change-Id: I230cbdf0f72ff98684b2411c6343307a296d5b08
2022-09-29 19:55:01 -06:00
sb6596
b0ae4e8029 dubai: Add config_biometric_sensors to Framework
This was accidentally deleted when we converted the tree from berlin

Change-Id: Id1d3bf135b2dde6f60f050e6a4869767acb14efa
2022-09-23 16:17:41 -06:00
AdarshGrewal
06810b66d0 dubai: Import Fingerprint blobs
Change-Id: I2ac5c52af5ae40922c0d87366a3a7b22ca4b9c73
2022-09-23 16:17:11 -06:00
TheScarastic
da9f091436 dubai: Introduce biometric 2.3 hal
* wrap 2.1 hal and add additional function

Change-Id: I4a66760fb8ca88de4e9229b7aec90052470ce6f0
2022-09-23 16:03:25 -06:00
Marc Bourgoin
330d1745d6 Revert "dubai: Import stock charge_only_mode"
This reverts commit 6425c4db5b.

It turns out berlin and dubai have the same sha1sum for this blob, so might
aswell commonize this.

Change-Id: If7c3ffc408cd52b5fe2e7d221e9a35761fb94f56
2022-09-20 17:08:38 -06:00
Marc Bourgoin
6425c4db5b dubai: Import stock charge_only_mode
Change-Id: I69f34fbf0c87c068de57d34d3599a437beb737c5
2022-09-19 09:34:48 -06:00
Ethan Chen
769c05aa7c dubai: Use Soong namespace to avoid device build conflicts
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
2022-09-15 11:38:07 -06:00
Marc Bourgoin
00e4e2ed0c dubai: Import SystemUI changes from stock
Change-Id: I888201bf5d22615b7905d8401ca2544a54abefa7
2022-09-04 17:54:20 -06:00
Marc Bourgoin
17c867d4fe dubai: Import framework values from stock vendor
Also rename all entries of interger-array to just array

Change-Id: If12ecb6b0b4344ec491d15480a741d527c692e6c
2022-09-04 17:54:12 -06:00
Marc Bourgoin
4883f53208 dubai: Import power_profile from vendor framework
The one from system isn't providing battery usage stats

Change-Id: I8aace02c046f42de3de9e05b28a06425aab24786
2022-09-04 03:11:06 -06:00
Marc Bourgoin
6e12042a30 dubai: Get rid of more dolby audio effects
E EffectsConfig: Could not find effect referenced in: <apply effect="dlb_music_listener"/>
E EffectsConfig: Could not find effect referenced in: <apply effect="dlb_ring_listener"/>
E EffectsConfig: Could not find effect referenced in: <apply effect="dlb_alarm_listener"/>
E EffectsConfig: Could not find effect referenced in: <apply effect="dlb_system_listener"/>
E EffectsConfig: Could not find effect referenced in: <apply effect="dlb_notification_listener"/>

Change-Id: Iec22b2801f06f3b0c41c93967c729762fefdd049
2022-09-03 16:40:09 -06:00
Marc Bourgoin
357d18043d dubai: Switch to AOSP BT
Change-Id: I217687ea45ad4ce76c66eeb692341521515661fd
2022-09-03 12:31:46 -06:00
Marc Bourgoin
3e06a6b0f1 dubai: Add missing com.qti.feature2.arcrawpro.so blobs
Change-Id: Ia86ee1d2eb0a5aa633b04e685905a39adb366a43
2022-09-02 12:06:43 -06:00
Marc Bourgoin
074660468c dubai: Set product shipping level to 31
The Motorola Edge 30 shipped with Android 12

Change-Id: I7bfc125919e8266e4847f271bdcab96620d3e588
2022-08-29 22:53:29 -06:00
Marc Bourgoin
1dfe11a452 dubai: Make cirrus audio codecs as modules
Modules are fun and berlin does this so we might as well too

Change-Id: I56ff12e2777f3da40f79d1b60b981fd505616166
2022-08-29 22:53:29 -06:00
Marc Bourgoin
54985c92af dubai: Remove unused audio effects
We aren't including any Dolby blobs and libswvqe.so doesn't exist on dubai
stock ROM

Change-Id: I83ca6b5563f9a4576a49b0d70c7201491276e8ce
2022-08-29 22:53:29 -06:00
Marc Bourgoin
325e436755 dubai: add virtual A/B cflag
This is so in our sm7325-common tree it can differentiate between virtual AB
and non VAB devices.

Change-Id: Ia0cb19c3522b1f68952b116499b7a1eb4ef48ed5
2022-08-29 22:53:29 -06:00
Marc Bourgoin
773a3df538 dubai: Convert the tree from berlin
The partition reserved sizes were taking from stock ROM

IE, blockdev --getsize64 /dev/block/mapper/system_a

Change-Id: I7e9ba2b8f732c6ad16d45d78f577f1ac4644713d
2022-08-29 22:53:26 -06:00
Nolen Johnson
75571258aa berlin: Import lineage.dependencies 2022-08-08 11:41:39 -04:00
Nolen Johnson
a35cea1754 berlin: We don't support AOSP fingerprint gestures 2022-08-07 20:29:23 -04:00
Nolen Johnson
4eb12d4c46 berlin: Force inclusion of vendor board configuration 2022-08-07 19:14:21 -04:00
Nolen Johnson
79835ac7ab berlin: Forcibly include common tree
* No hopes of booting without this.
2022-08-07 19:13:58 -04:00
Nolen Johnson
2752bfd244 berlin: rro: Fix formatting 2022-08-07 19:00:15 -04:00
SGCMarkus
a199b7a0b6 berli: update blobs/sec patch to S1RG32.53-18-11-7
Change-Id: I68f2217ce0f3d602be2ddae26093a6947265f161
2022-08-07 22:49:47 +02:00
SGCMarkus
578c2a597b berlin: build more blobs from source
includes:
*) libcamera2ndk_vendor
*) vendor.qti.hardware.camera.postproc@1.0
*) liboffloadhal

Change-Id: Ieeca3dbddcd2de611dd9313f8bda639325ce0f5b
2022-08-07 15:36:30 +02:00
dianlujitao
49a98f304d berlin: Fix status bar height for certain apps on 12L
* 12L introduced new API to fetch status bar height based on cutout, to
  handle multi-display devices. However, some apps directly read the
  height from overlay so the layout is broken for them.
* Since our device is not a multi-display one, set the expected height
  in overlay directly as the old way to make these apps look good.
* Reduce status bar height to exactly match the cutout height.

Change-Id: I38fae2cdd20b947998766b35920d28bebcf547cf
2022-08-06 22:04:21 +02:00
SGCMarkus
02bea4f8a3 berlin: rootdir: set permissions for dt2w and single tap gesture
Change-Id: I4ec57e95c68a8673a5246bebbbde25f32287f9ba
2022-08-06 21:54:10 +02:00
SGCMarkus
58853b9281 berlin: update to S1RG32.53-18-11
Change-Id: I7c3fe69ad28cad7e1f9a954541cbb9e9eba7bfc5
2022-08-06 21:50:46 +02:00
SGCMarkus
866c93776c berlin: update dt2w path
Change-Id: I95b09afc9022ae19d443c431c997601de877e976
2022-08-04 12:28:44 +02:00
Marc Bourgoin
62b80df431 berlin: Decommonize a kernel cmdline option
Change-Id: I915384e273357a68e13dee360ead9a068aefe287
2022-08-04 09:30:05 +02:00
SGCMarkus
942417b1df berlin: use berlins display id for side fps location
Change-Id: Idd8a0f19c52d6ce33955adc528e8dcd37a37ef8b
2022-08-04 08:48:42 +02:00
SGCMarkus
cf809f596c berlin: import stock modules.load
Change-Id: Ibe7d92f4b3527f025e955d37e2d5c52017ea92c0
2022-07-29 21:03:08 +02:00
SGCMarkus
512083579d berlin: manifest: make it sku specific
Change-Id: Icd3d55f76ed0bb1581ef2075d9629e61e1072ca6
2022-07-29 21:02:31 +02:00
SGCMarkus
e09a896434 berlin: rootdir: dont wait for mmi_modules service to stop, it doesnt exist
Change-Id: Ic2aa9b6fc2a9a4b74c53780f4702fcbf99d2aab8
2022-07-29 21:01:17 +02:00
SGCMarkus
238f02fc6c berlin: add stock modules.blocklist
Change-Id: I5b0682a56c22ac35ea6cab37f0b23d88f71941a8
2022-07-29 13:52:02 +02:00
SGCMarkus
4d48a6cdc5 berlin: add modules.load
Change-Id: I544397b54f57c1404c7911b984644e3fe2cc7f36
2022-04-04 22:23:30 +02:00