Arian
9d5292a31e
davinci: hidl: Add touchfeature fqname
...
Change-Id: I4952e11a5c9adc5caec4d4a30cbe3f4e24bd3fca
2020-12-17 23:31:15 +01:00
Arian
fcadd257a8
davinci: Add missing speaker protection properties and drop unused properties
...
Change-Id: Iee351b80e54897b2eb609dab149001189f7ddb48
2020-12-17 23:31:15 +01:00
daniml3
4a06e932be
davinci: Disable NFC service for indian devices
...
Change-Id: I08e7955bf70adb15cbe5f8f8c3f226c05b135b27
2020-12-17 23:31:09 +01:00
Arian
472e0182dc
davinci: parts: Restore the LED's previous state after popup
...
* We are using the left led as notification LED and hence it
could be breathing or shining while we open or close the
camera. So we don't just set it's brightness to 0 but read
and store the state of the LED before enabling it and
restoring that afterwards.
* To ensure that the left LED is shining while the camera
opens or closes we set it's breathing effect to 0 before
enabling the LEDs.
Change-Id: Ibdfbff3072398bc77ec3257b60622cfc50e8d857
2020-12-17 23:30:59 +01:00
Arian
1db9129db8
davinci: parts: Allow to wake the screen instead of pulsing
...
Co-authored-by: Nauval Rizky <enuma.alrizky@gmail.com>
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I1e74f8eafa51843e77d2d8c514c646a4494327cd
2020-11-28 18:12:03 +01:00
Arian
fed308cae8
davinci: parts: clang-format everything
...
Change-Id: Iae92b7197a58b4353dafa7e24d67ebb5f096f2b5
2020-11-28 18:12:03 +01:00
Arian
a5fe3b11a6
davinci: parts: Always show the warning dialog
...
Change-Id: I979cc479ee928edf0e203489264df340326fbf5b
2020-11-28 18:12:03 +01:00
Arian
d738bb5729
davinci: parts: Add a warning dialog for manual calibrations
...
Change-Id: Id764e1cbe1a8c535c0039938097465d9a0dcd02b
2020-11-28 18:12:03 +01:00
Arian
cf282db685
davinci: parts: Add a setting to calibrate the motor
...
Change-Id: I9f76124759bf8497b5cd72293b5c36f85b4d1787
2020-11-28 18:12:03 +01:00
Arian
236c8747e3
davinci: parts: Quickly takeback the motor in free fall
...
Change-Id: Ib31f4cf5b1de4cd9366b3d15945749a53d260690
2020-11-28 18:12:03 +01:00
Arian
4f2af261f3
davinci: parts: Delay creating MotorStatusCallback when the motor is opened
...
* Give the motor enough time to close in case it was
still opened on boot without showing the error dialog.
Change-Id: Ibc00a999858f5067bbcf07bfecc779f1d0bf3664
2020-11-28 18:12:03 +01:00
jhenrique09
027a842a58
davinci: parts: Implement popup motor calibration
...
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: If1f6c757cbf521fd27f7124284f40ea602f53ba8
2020-11-28 18:12:03 +01:00
Arian
b97294d58f
davinci: Build the vendor.xiaomi.hardware.motor@1.0 interface
...
Change-Id: Ieda22802167fb20f54b301f3c686f158599f09eb
2020-11-28 18:12:03 +01:00
Arian
169d43565e
davinci: parts: Directly takeback the motor if it's not closed on create
...
* using updateMotor does not make sense here because it
would only close it when the state is MOTOR_STATUS_POPUP,
but we explicitly also want to try to take it back when
it's jammed.
Change-Id: I7594fe01266a514a9fd780d17a91b0c7f957a1e1
2020-11-28 18:12:03 +01:00
Arian
4df3381a1d
davinci: parts: clang-format
...
Change-Id: I90c5c1f9529277821cd3a05ba4861588e8a6f323
2020-11-28 18:12:03 +01:00
Arian
358b4e7a2b
Revert "davinci: parts: Try to take the motor back on boot when opened"
...
This reverts commit b4dca743ea
.
2020-11-28 18:12:03 +01:00
Arian
c98553ca6e
davinci: Add clang-format configuration
...
Change-Id: I125056c23d0e4ed74b2b96f13842c39a39de7b45
2020-11-28 18:12:03 +01:00
Volodymyr Zhdanov
b41622fbac
davinci: rootdir: Don't configure zram in init.qcom.post_boot.sh
...
* let it use the size which is set in fstab
Change-Id: Ie84d0674a643e637d5ef894399d76ede25d00eeb
2020-11-28 18:12:03 +01:00
Arian
d017391602
davinci: power: We only have goodix screen's
...
Change-Id: Ifca047e768ff338f7d9432ca78bd75141583c272
2020-11-28 18:12:03 +01:00
Arian
91911144f8
davinci: sepolicy: Drop unused fingerprint sepolicy rules
...
Change-Id: I5dd29315c94d971eb5162bd1ed24f2fecf3de305
2020-11-28 18:12:03 +01:00
Arian
7b875c6270
davinci: Add 32-bit perf stack and drop unused libskewknob
...
* Our audio HAL want's to use it
Change-Id: I2146369cacbb4f5a342781842bf34ce93db551f0
2020-11-28 18:12:03 +01:00
Arian
e4426a8806
davinci: init: Cleanup unused includes
...
Change-Id: Ib713665e84bdfb3e41e6d54618308b32cfba8f1b
2020-11-28 18:12:03 +01:00
Arian
d55ed606b2
davinci: tfa98xx: Cleanup audio_amplifier
...
* Drop unnecessary shared libraries and c includes
* Replace libhardware c include with libhardware_headers
* Drop unused includes and commented code
* Refactor is_speaker to a bool
* Alphabetize share libraries and speaker devices
* Replace hard-coded sm6150 with $(TARGET_BOARD_PLATFORM)
* Drop unnecessary optional tag
Change-Id: I067e0dae75021cd677892d3b83fbe922fef245f5
2020-11-28 18:12:03 +01:00
PIPIPIG233666
fdf5278aba
davinci: Add audio amplifier for TFA amp feedback
...
* Fixes broken stereo channel seperation.
* Logic and original code by Smosia, slightly rewritten and moved to audio amplifier HAL by Pig.
Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Signed-off-by: Arian <arian.kulmer@web.de>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d
2020-11-28 18:12:03 +01:00
Arian
ba52828323
davinci: overlay: Enable STATE_DOZE_SUSPEND
...
Change-Id: I30af14b78bd0a1a18ec1511b574ea9944f160175
2020-11-28 18:12:03 +01:00
SVB
b40d5db28f
davinci: rootdir: Allow all filesystems for USB-OTG
...
Change-Id: Ie9cef57485c337c39bae559a71582b4c66127d85
2020-11-28 18:12:03 +01:00
yankarinRG
88e69626ee
davinci: overlay: Update path defining rounded corners
...
Change-Id: I82669e8c10aab56d1a5ecc1b410435aa3a82e256
2020-11-28 18:12:02 +01:00
yankarinRG
53abf93216
davinci: overlay: Update window corner radius adjustment
...
to take software rounded corners into account
Change-Id: I056cb5f03ce065465e46dfe6db74094d43d6499b
2020-11-28 18:12:02 +01:00
yankarinRG
bfd3451ff5
davinci: overlay: Adjust window rounded corners
...
to make sure they will completely cover the display
Signed-off-by: Marco Rizzo <marco.rizzo.00@outlook.com>
Change-Id: I5ff1a727545c383692b02dabdbcf8810b70df1a1
2020-11-28 18:12:02 +01:00
yankarinRG
0b15b7fb4e
davinci: overlay: Add proper keyguard/statusbar configs for rounded corners
...
- on keyguard, added start padding to carrier text to account for the rounded corners
- on keyguard, added end padding to right system icons when multi user switch is not showing
- on keyguard, added end padding to multi user switch
Change-Id: I7c73c538c08b746f3d0f21b2d22586134a87353d
2020-11-28 18:12:02 +01:00
Ethan Chen
450d2ccbf7
davinci: rootdir: Move services to system-background cgroup
...
Change-Id: Id80f6369f943fc5fc1145cc6f13bddb2fe2b76e8
2020-11-28 18:12:02 +01:00
Tim Murray
4a9fbc3467
davinci: rootdir: Add restricted cpuset
...
bug: 78197570
Test: CTS
Change-Id: I6aaac2f3ce9ba886143e3667df2ca044c7f3d3f0
2020-11-28 18:12:02 +01:00
Arian
f5bcf08199
davinci: rootdir: Use stock cpusets from init.davinci.rc
...
Change-Id: I91d4e504635445a2dea6f7f3835d80f46cbc942a
2020-11-28 18:12:02 +01:00
Vincent Vidal
acd719db2d
davinci: fod: Use FOD_PRESSED_LAYER_ZORDER instead of magic number
...
Change-Id: I93d8519ca43db307abdf958354920da10776aa80
2020-11-28 18:12:02 +01:00
Vincent Vidal
e080227d40
davinci: fod: Include generated_kernel_headers to build libfod_extension
...
Change-Id: I7357fc3dca9882af3d57074e69f9fb22bc9eaa99
2020-11-28 18:12:02 +01:00
Arian
ae4d15e750
davinci: sepolicy: Label panel_info sysfs node
...
Change-Id: I4cda61bd146effa1e1be4e24219048089dec3d62
2020-11-28 18:12:02 +01:00
Marco Rizzo
20e302fbcf
davinci: overlay: Tune vibration levels
...
Change-Id: I6936b97837d0e9296503b7da01073daf9a9b00dd
2020-11-28 18:12:02 +01:00
Arian
08b5a000c0
davinci: light: Add lights HAL manifest as vintf fragment
...
Change-Id: I97f0c6bfb25bea8b7418c9494c981e7e2602c79f
2020-11-28 18:12:02 +01:00
Arian
9900e7e4dd
davinci: Fix Android.bp formatting
...
Change-Id: Id9b1deb6188b7af6170453d7f863bd54f8d360f9
2020-11-28 18:12:02 +01:00
Arian
e68fa0e063
davinci: sepolicy: Label new LED paths
...
Change-Id: Ibbb21ac80ddfa1d7c65968130493632ee47bd30c
2020-11-28 18:12:02 +01:00
Arian
53b4be9757
davinci: light: Adjust for new led labels in kernel
...
Change-Id: I1fca124501ad6a220013572587c55d5f26488dad
2020-11-28 18:12:02 +01:00
Arian
5c58f2e504
davinci: parts: Adjust for new led labels in kernel
...
Change-Id: I8ce322f58d2af6fee20f1a9eda91e68b0ec59b05
2020-11-28 18:12:02 +01:00
Arian
f18e17322f
davinci: rootdir: Drop powerkey input boost
...
Change-Id: I2675b72051bdb71d6faba17d59ad8f0281ec2e89
2020-11-28 18:12:02 +01:00
Arian
fc27e74506
davinci: rootdir: Move simple writes from post_boot script to init.target.rc
...
Change-Id: I512689bbdd77b9a998e7a5d6a2ee91cede599f44
2020-11-28 18:12:02 +01:00
Arian
bbe34cefca
Revert "davinci: rootdir: Import coral fs tuning"
...
This reverts commit 867af09b6b
.
* The boot_completed settings are the default settings already
and switching the settings while booting does not bring a
noticeable improvement.
Change-Id: I7a61e2fa8558b074d5c3d7b19c548b4fde00d918
2020-11-28 18:12:02 +01:00
Arian
80bafc10ee
davinci: rootdir: Stop overriding audio hal 2.0 service
...
* Xiaomi adds the audio_hw_socket here, but it needs
their changes in the audio HAL, hence it's useless
for us.
Change-Id: Idf38468ad709623b60b694f458e71d0565ce6fb6
2020-11-28 18:12:02 +01:00
Arian
0a6db81b36
davinci: rootdir: Drop ssr_setup service
...
* missed in commit:
66573bbfea
davinci: Drop SSR blobs and set SSR restart_level in init.qcom.rc
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
Change-Id: I5078d9579e894c0b1a7b30a2984b1ba096843e0e
2020-11-28 18:12:02 +01:00
Arian
fafcd0b549
davinci: rootdir: Don't setup runtime cpusets for silver only first
...
Change-Id: I7f9fa116971bd437bfe2722882282a08fe59c006
2020-11-28 18:12:02 +01:00
Kyle Lin
c5cea3fb39
davinci: Enable cortex-A76
...
Bug: 142345573
Test: build , boot to home, do the benchmarks
Change-Id: I73c5042712da29d5cb63586bc4d145a770df074d
2020-11-28 18:12:02 +01:00
Midas Chien
cbf998503c
davinci: Set surfaceflinger phase offset properties
...
Bug: 147645861
Test: check properties
Change-Id: I5c7e93a8411a89b29346a687ec0dcfffb40f2ac5
2020-11-28 18:12:02 +01:00