LuK1337
bb16435fa4
sm8250-common: Relocate volume steps customization to vendor.prop
...
Change-Id: Ic0d0666de7899dde5afbd1cd40370ccea2837419
2021-05-04 19:45:43 +02:00
Han Wang
fad4f2f288
sm8250-common: Switch to OOS volume steps
...
* Call volume step is directly picked from OOS and it seems
that OOS hardcoded media volume step to 30, which is the
behavior that user experiences.
Change-Id: Ib306646dbde61934d8a29447cd186f54f775a407
2021-05-04 19:44:30 +02:00
LuK1337
1dc5f1546b
sm8250-common: sepolicy: Label op_charger
...
Health HAL wants to access it.
Change-Id: I07a8c11324c0a8b9bae6e7c027aa69df7ee5b7d1
2021-05-04 19:40:51 +02:00
LuK1337
86b4e9c707
sm8250-common: vibrator: Sync with upstream
...
Change-Id: Ia72f93829bbeaf9c80aafa5b7d4310948029a078
2021-04-28 18:29:10 +02:00
LuK1337
2bf9eeee2f
sm8250-common: overlay: Map out our display modes
...
Change-Id: I2755d5a938848d41382f1d3945f008d94eec1cbd
2021-04-27 18:49:50 +02:00
LuK1337
de5498efab
sm8250-common: livedisplay: Rip out IDisplayModes
...
We are now using AOSP-ish display modes implementation.
Change-Id: Iba9d570dd7cef116e18f3e327c8ab5f5e63f2697
2021-04-27 09:35:23 +02:00
LuK1337
4c76d02e85
sm8250-common: livedisplay: Don't write to DCI_P3 node on boot_completed
...
Apparently on hotdogb DCI_P3=0 looks really bad...
Change-Id: If63ee6aaa5ae09e1acc9204c3a2b8201c1950488
2021-04-26 15:41:05 +02:00
LuK1337
bb16a2e105
sm8250-common: livedisplay: Reset display mode prop on modeID == 0
...
Change-Id: I19e1e99fc1a850a18f0d76e9644f7000d087da29
2021-04-26 15:41:04 +02:00
Nolen Johnson
9a36678b92
sm8250-common: Kill deprecated/unneeded board flags
...
* TARGET_KERNEL_ARCH - no-op unless it differs from TARGET_ARCH.
Change-Id: I8d140fecdbbaac979bc8398745ffa95b911e4c89
2021-04-23 20:11:14 +02:00
Anton Hansson
0c11497347
sm8250-common: Remove obsolete dex settings
...
This block is completely redundant because..
- WITH_DEXPREOPT := true is the default
- WITH_DEXPREOPT_PIC is never read
- DEX_PREOPT_DEFAULT := nostripping has no effect when the
BOARD_USES_SYSTEM_OTHER_ODEX flag is set to true
Test: make
Change-Id: I618a1e395ca1a14555cd50eef1a4f1aa079b553d
2021-04-23 20:11:14 +02:00
LuK1337
cd50a1bbe9
sm8250-common: Unset NEED_KERNEL_MODULE_SYSTEM
...
We are building vendor image ^.^
Change-Id: Ia7f47528c116749f897d7bcfbff6acf290a220fd
2021-04-23 20:11:14 +02:00
Michael Bestas
6115bfd27c
sm8250-common: Remove unused TARGET_SPECIFIC_HEADER_PATH
...
Change-Id: I5518d31fa6c6f56f05dc374bfd8f98b3cd2e62cc
2021-04-23 20:07:17 +02:00
Nolen Johnson
ab44ad8b4b
sm8250-common: Kill deprecated TARGET_USES_MKE2FS
...
* This has been useless since some time in Pie.
Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2021-04-23 19:53:24 +02:00
LuK1337
1dd29a35a0
sm8250-common: Unset BOARD_VNDK_VERSION
...
Change-Id: Ie9e8615eb7fe186dbb595fc3fa0d2bfc013b5d47
2021-04-23 19:51:58 +02:00
LuK1337
54bd3e5a06
sm8250-common: KeyHandler: Use HEAVY_CLICK for MODE_NORMAL_EFFECT
...
Now that we support OOS style haptics, regular 250ms vibration
feels kinda out of place here.
Change-Id: I392df4c75bbef3f7e3ad1f3cf7f0e1c2bbf447ee
2021-04-15 12:47:33 +02:00
LuK1337
04cf04fab5
sm8250-common: vibrator: Implement OOS style effects for LED vibrator
...
This change implements the following effects:
- Effect::CLICK
- Effect::DOUBLE_CLICK
- Effect::TICK
- Effect::HEAVY_CLICK
Effect write streams were dumped using following strace command:
- strace -fp `pidof vendor.oneplus.hardware.lmvibrator@1.0-service` -e openat,write
Also, these effects can easily be tested with following test app:
- https://github.com/luk1337/VibeTest
Change-Id: Ie65caa0c65dc81bb35a7bcc56870649e895ced3f
2021-04-14 18:57:16 +02:00
LuK1337
dc3d086fbd
sm8250-common: Import QTI vibrator HAL
...
Change-Id: I6ed3252c6da746c8fb24f44b3b3ec2b1f32a6cb2
2021-04-14 18:57:16 +02:00
LuK1337
41bff4b172
sm8250-common: KeyHandler: Do nothing when action != ACTION_DOWN
...
This makes sure we only change the ringer mode / play haptics once.
Change-Id: Ie5a6050338cee75cd8fe6da6edfae03141263033
2021-04-14 18:57:16 +02:00
LuK1337
6de1b949cd
sm8250-common: Enable TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
...
We can handle analog audio just fine, no need to
inform the user that their device is not supported.
Change-Id: I7dda01e7bd2560e8c782245dea3f3b7519c3b0b6
2021-04-10 11:00:57 +02:00
LuK1337
7432867822
sm8250-common: livedisplay: Implement IAntiFlicker interface
...
Change-Id: I1dbc6d8989a80fe7b06d4356aeb717417997a793
2021-04-09 12:09:28 +02:00
LuK1337
335e820c4c
sm8250-common: livedisplay: Uprev to 2.1
...
Change-Id: I98b2ea16ed342339ee652d5cb79dcfd22f8c0a0d
2021-04-09 12:09:28 +02:00
LuK1337
880e595f0d
sm8250-common: MSM -> MDM
...
Change-Id: I8f93368b279392e42e9c9469cdb88bc5d673cf69
2021-04-07 11:53:16 +02:00
LuK1337
31d0853c6b
sm8250-common: touch: Remove unused paths from rc file
...
Change-Id: I01fa814d331b1b4f3d8c505d217e3e6baf7e1b36
2021-04-07 11:32:26 +02:00
LuK1337
90a75a667c
sm8250-common: tri-state-key: Remove useless logging
...
Change-Id: I60d19bbb1bda3490c2077d15127a0ff1889693d7
2021-04-07 11:27:50 +02:00
LuK1337
24047d6b28
sm8250-common: livedisplay: Update hbm path
...
Change-Id: I9ecbce2634ce48f64dd48b3a7f2999880378ac3e
2021-04-06 10:13:24 +02:00
LuK1337
1ddd2ecb9a
sm8250-common: oneplus-fwk: Update op features list
...
Change-Id: I34f8dc2520639384a138e35ab17c482fd44671ef
2021-04-05 11:58:46 +02:00
LuK1337
0eb7ac4671
sm8250-common: Update LOG_TAG's in {fod,livedisplay,powershare,touch} services
...
Change-Id: I98a2091aa4e47c1fc09edf7cfc1ab1a8316c1d9e
2021-04-04 17:53:48 +02:00
LuK1337
2a71acaa19
sm8250-common: Decommonize reserved partition sizes
...
Change-Id: I12d333c4688f265ddfcf55feaee155640c4e1efe
2021-04-02 03:09:08 +02:00
LuK1337
6cac812f0b
sm8250-common: Decommonize BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE
...
Change-Id: I8e423551a64bcf3cb96ff30a04fa56cdfa0d2d0e
2021-04-02 02:05:28 +02:00
LuK1337
fea51bce3c
sm8250-common: Update blobs from OOS 11.0.5.5
...
Change-Id: Iaa7ca6c73513a4bccda4c6738d78b47bf52630dd
2021-03-30 12:13:40 +02:00
LuK1337
5ae4426e8f
sm8250-common: sepolicy: Allow vendor_sensors to read project info
...
This is necessary so that SSC sensors HAL can
expose hw_id/project to sensor configs.
Change-Id: I9130ac5985c0924b01937ece15740d08e04d0bbf
2021-03-25 19:09:32 +01:00
LuK1337
dbaff453fe
sm8250-common: Add vendor.lineage.power.IPower to compatibility matrix
...
Change-Id: Id3a1ef18a9d2b09a32d889ce7d533f927d18a9aa
2021-03-24 15:26:41 +01:00
LuK1337
1157082e8c
sm8250-common: KeyHandler: Use mode specific vibration effects
...
NOTE: This change depends on following SystemUI change:
- https://review.lineageos.org/c/305900
- https://android-review.googlesource.com/c/1648967
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3019
Change-Id: Ifc16a469311c4dd7ce9ef8633ab66546ef4e6ede
2021-03-23 10:24:59 +01:00
LuK1337
c943073afe
sm8250-common: sepolicy: Remove init.te
...
How did that end up here???
Change-Id: I4ec4382f84e2e5f66a6779b5f5920511e09d8d84
2021-03-21 15:49:17 +01:00
Erfan Abdi
b9c5c96fad
sm8250-common: Add APN hack for sprint 312 530
...
* This hack adds 310120 APNs to 312530, so we can have LTE+ on it
Change-Id: I9184348ee58dbf0239fce5cf69b7826b5e7a3ed1
2021-03-20 15:10:44 +01:00
Erfan Abdi
041cd132b7
sm8250-common: Set right Sprint APNs
...
* We need the new Sprint APNs (x.ispsn.*).
Change-Id: I8680ed8ae214c7e76dc177f1db8474e092b03a37
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2021-03-20 15:10:44 +01:00
chandra
2d239e9f10
sm8250-common: livedisplay: Switch to vendor display mode prop in .rc
...
We forgot to do that after we moved livedisplay to vendor.
Change-Id: I0cff7e5da11f4c544189185ef784941cfe30bfec
2021-03-16 09:50:59 +01:00
LuK1337
dfc13143a3
sm8250-common: sepolicy: Label OEM /data top-level directories
...
Fixes boot up after booting once in permissive mode,
alternatively that could be fixed by removing mkdir
instructions in *.rc but I'd rather add couple SELinux
lines than diverge from stock scripts.
Change-Id: I32e4461745c6738a6c7579e5e93481d4186972f2
2021-03-12 00:15:28 +01:00
LuK1337
16c1dc83b2
sm8250-common: audio: Switch speaker-dmic-endfire ACDB id to 43
...
Apparently switching SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS to the
same ACDB id as SND_DEVICE_IN_VOICE_SPEAKER_DMIC improves
WhatsApp microphone volume when in speaker mode.
Change-Id: I4eb72fd2726d8ea10da56a76b820ee51a24d3c67
2021-03-07 23:06:43 +01:00
Alexander Koskovich
4a242e6a1f
sm8250-common: amplifier: Clean up makefile.
...
Change-Id: I416005aec3e4b6a686079d7e4796e5b548ee0e9f
2021-03-02 20:58:04 +01:00
Pig
623635f450
sm8250-common: amplifier: Fix device list initializations
...
Update missing device list initializations.
Reported-by: Signed-off-by: SayanAcharya <rowdysayan99@gmail.com>
Co-authored-by: Signed-off-by: SayanAcharya <rowdysayan99@gmail.com>
Change-Id: Iaa44429e7a2514f882828089355fca1634b79200
2021-03-02 18:56:18 +01:00
PIPIPIG233666
278ffc532d
sm8250-common: Add custom audio amplifier for TFA amp feedback
...
* Based on observing reverse engineering from davinci stock audio HAL.
* Fixes speaker distortion on high volume.
* Same logic with Smosia, rewritten by me.
Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d
2021-03-02 18:56:18 +01:00
chandra
c5ba644983
sm8250-common: Correct media codecs copy destination
...
Change-Id: I4ac12b4945aea67df067e1778f6e0c7aa1b790ad
2021-03-02 11:08:40 +01:00
LuK1337
b710ebaaf3
sm8250-common: sepolicy: Remove commented out rules
...
Change-Id: I026d7f6f0185773d5aa8a5e0f53b70323551f5cf
2021-02-19 15:57:10 +01:00
LuK1337
d1d109c825
sm8250-common: Bring in TOF sensor HAL
...
Change-Id: Ic5296a9ecf96f9a7fec5f523f9c59bfb68a0704f
2021-02-16 19:18:10 +01:00
dianlujitao
0a0b0f26f8
sm8250-common: Switch to source built vendor.qti.hardware.perf@2.0.so
...
Change-Id: Ia5de8c300d71b6def223e97ef9d58898c9c11a57
2021-02-16 13:28:27 +01:00
Wang Han
5da67e0fae
sm8250-common: Drop deprecated configstore flags
...
* These are converted to props, which we have already set.
Change-Id: I8449041eec5c8ab4153bd2942ebc7fda9ceb7432
2021-02-09 14:15:47 +01:00
Bruno Martins
6dca1a4e7f
sm8250-common: Remove deprecated telephony flag
...
The custom jar is dead for good in Android 11.
Change-Id: I7f0f7afd186b00f01183bf4479092d03897e074a
2021-02-09 20:57:04 +08:00
LuK1337
2ed8019dd4
sm8250-common: Import config/script changes from OOS 11.0.4.4
...
Change-Id: I90d3f654f18d90d25f7b2321dbfebfecc79ee958
2021-02-08 20:12:21 +01:00
Nicholas Ambur
6edfb6eea4
sm8250-common: Add SoundTrigger HAL v2.3 support
...
Bug: 139071862
Test: gts-tradefed run gts-dev -m GtsAssistIntentTestCases
Change-Id: I2d17aade762ceb7800d5305119c37ec0f5991f35
2021-02-08 20:07:51 +01:00