Commit Graph

423 Commits

Author SHA1 Message Date
Demon000
48c907ba7c
davinci: fod: Frop \n from logs
Change-Id: I1ec1e1bbdb1bf6d034bba05cd653458f04d5e544
2020-08-05 14:03:32 +02:00
xingrz
b5ddfbb07f
davinci: fod: Link vendor.goodix.hardware.biometrics.fingerprint@2.1
Change-Id: I222ceee06955fe6c530b63078bb1734ffecce913
2020-08-05 14:03:32 +02:00
Demon000
4bb20c1ea8
davinci: fod: Use 630nit fod value
Change-Id: Idfbe04e3d54635b610808494a7939beada5b3e4f
2020-08-05 14:03:32 +02:00
Demon000
e456f36fe1
davinci: fod: Improve semantics
* do not use (void) to silence unused parameters
 * do not specify namespace for IFingerprintInscreenCallback

Change-Id: Ife9d0799a091c539028f775a728d2c8c31ffbf98
2020-08-05 14:03:32 +02:00
Demon000
c89dcfb0df
davinci: fod: Remove onRelase calls duplication
Change-Id: I90f9b0a883cfed516998652cf95f4424c8e06b2b
2020-08-05 14:03:31 +02:00
Demon000
7cebc6e538
davinci: fod: Calculate dim amount based on real brightness
Change-Id: I72b7dd1fca426cc442f9a6fa382f413bbaadfc76
2020-08-05 14:03:31 +02:00
Arian
22363a500d
davinci: fod: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I9e535684792d900f50e9f09d550a4762061e090b
2020-08-05 14:03:31 +02:00
Demon000
ac23ec6af9
davinci: fod: Implement in-screen fingerprint HAL
Change-Id: I8fd985bf4eab1747351f9e717cc33fa6d5ab1517
2020-08-05 14:03:31 +02:00
Arian
03c116e1c0
davinci: fod: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I2ebfe9454ff9bce6013e29eb74d8c6bd00225c7d
2020-08-05 14:03:31 +02:00
Arian
3df219168d
davinci: parts: Add icons for popup settings
Change-Id: I30dffa4f9e91d9b76a1d8daefd1da8449bac19bc
2020-08-05 14:03:31 +02:00
jhenrique09
b4dca743ea
davinci: parts: Try to take the motor back on boot when opened
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I36ff53e23221b6704f0fa5e108329722cf71f504
2020-08-05 14:03:31 +02:00
jhenrique09
619c58031f
davinci: parts: Check if motor is busy before doing any operation
Change-Id: I83e383d5f6d3d8e723259bc55945aab48e5acd6c
2020-08-05 14:03:31 +02:00
jhenrique09
65c44dd66e
davinci: parts: Add popup camera sound effects and LED toggle
Change-Id: Iaf66650ae68d2680fa0c9b933f2c4e634bc21e74
2020-08-05 14:03:31 +02:00
TheScarastic
932a2bcad0
davinci: parts: Add support for camera popup light
Change-Id: I531123cc6db5e823490c0c5bcf31bafe068a49f5
2020-08-05 14:03:31 +02:00
TheScarastic
89e3be0eee
davinci: Initial popup camera impl
Change-Id: I9b34ec87715febedfe173e9f9ef5ccdbf7521f35
2020-08-05 14:03:31 +02:00
arian
5d15a19de5
davinci: parts: Add icons for doze
Change-Id: Ibbb18065f97ed6f8f5376752495255aeafe1db82
2020-08-05 14:03:31 +02:00
Arian
8b5675114b
davinci: parts: Import from xiaomi_sdm845-common
e261035d91/parts

Change-Id: I442f48780ca020f3e420ee4ccaf8ac07b05457cb
2020-08-05 14:03:31 +02:00
Arian
494d2c91bd
davinci: bluetooth: Add builcfg
Change-Id: I0caa5eb0e08243eb618669678983b65d9e90651f
2020-08-05 14:03:31 +02:00
Arian
94de6ed2e1
davinci: bluetooth: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: Ie09c75a63aca03aa61f3606f761a8b10ccdf7505
2020-08-05 14:03:31 +02:00
Arian
3e3ea29100
davinci: bluetooth: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I3b1ca243276045897335b1b26142f27c0f448d06
2020-08-05 14:03:31 +02:00
Arian
ddd2142bf1
davinci: camera: Build Snap
Change-Id: I3b1ca243276045897335b1b26142f27c0f448d06
2020-08-05 14:03:31 +02:00
Arian
310f9d78e5
davinci: camera: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: Ief92b2adfec0e365c0a73181cbf4b40c95b36070
2020-08-05 14:03:31 +02:00
Arian
9daef7d18e
davinci: camera: Build libdng_sdk.vendor
Change-Id: I84bd86e25f8be413dbab30da31a6858b109ea147
2020-08-05 14:03:31 +02:00
Arian
c17ce45eaf
davinci: camera: Build camera provider
Change-Id: Ief92b2adfec0e365c0a73181cbf4b40c95b36070
2020-08-05 14:03:29 +02:00
Arian
53f881c9d5
davinci: camera: Import motor blobs
Change-Id: I7b76763a38c2f5777201ed1048307ee63f87b2b2
2020-08-05 14:02:38 +02:00
Arian
e3862f3904
davinci: camera: Import blobs
Change-Id: I6add4b3d7e25d781768b8aa623796ecd7c8f3ef7
2020-08-05 14:02:12 +02:00
Pig
5cdff50fbd
davinci: Include hardware/xiaomi soong namespace
Change-Id: I6a53bc85d9a9c3eb2a7174d868e2bf5f589e478e
2020-06-23 21:54:04 +02:00
Glen Kuhne
888ec201cf
davinci: overlay: Set default hotspot ssid
Added a device specific overlay that changes the default name
from "AndroidAp" to "Xiaomi Mi 9T"

Test: Builds, manually verified name change
Bug: 36368950
Change-Id: I38a5f6fb950d6a45342080bae186a8ed276d94bf
2020-06-23 21:53:27 +02:00
Bruno Martins
578710badc
davinci: overlay: Declare STATE_DOZE support
* This is required for Ambient Display to work properly.

Change-Id: Ibad86be4e1c43a221fc2224d0a8f8ca2c938a6c7
2020-06-23 21:34:11 +02:00
yankarinRG
7e94e6fd04
davinci: overlay: Configure proper rounded corners
- changed out the path defining the software rounded corners to exactly match the hardware curve
- found the radius that would provide the most anti-aliasing without increasing the radius of the corner
- rounded corners should be in px instead of dp, so on display size change corners don't change
- moved some configs to right place

Test: visual inspection. The corners should be perfectly rounded and anti-aliased, without jagged edges
Change-Id: Iecb3d627ed043e99d7ce38c6f214cea90f100c41
2020-06-23 21:34:11 +02:00
eray orçunus
db495ebd60
davinci: overlay: Add 2 more notification icons
Change-Id: I96f218b55426cb5e04e7bc661fe6179d544e97ad
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
2020-06-23 21:34:11 +02:00
Demon000
0ae68275b0
davinci: overlay: Leave space for FOD while bouncer is requesting Pattern on PIN
Change-Id: Iddfa076d92deaec982c5fe8711e155648da89965
2020-06-23 21:34:11 +02:00
TheScarastic
f1291bdf88
davinci: overlay: Adjust Biometric dialog for fod
Change-Id: Ie6cfe2704ec2ba58e0024f583164e123885c0e75
2020-06-23 21:34:11 +02:00
Arian
6e92b6926d
davinci: overlay: Configure light capabilities
Change-Id: I630edcd016d3b6a80aa8d93d15fc3e63617d5b62
2020-06-23 21:34:11 +02:00
Jesse Chan
2dba83cbc2
davinci: overlay: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2020-06-23 21:34:10 +02:00
Arian
cf6d13786a
davinci: overlay: Define fingerprint position
Change-Id: Ib21d79b955d7dffaa4afd66c83cc111a47ede14f
2020-06-23 21:34:10 +02:00
maxwen
e793668fec
davinci: overlay: Hide sRGB toggle in developer options
* This is only available on Nexus/Pixel devices. Already implemented
   in LiveDisplay for devices that have the proper profile in the
   QDCM calibration file or provide the commands via sysfs node.

Change-Id: I1dbeafdef930bcfeb2b950b3adce293307abff85
2020-06-23 21:34:10 +02:00
Arian
4ea83bdcec
davinci: overlay: Adjust vibration strength
Change-Id: I994fc0e16fe62c89badbf23f871938032d795a19
2020-06-23 21:34:10 +02:00
Arian
7717128b72
davinci: overlay: Enable suspend when screen off due to proximity
Change-Id: I693a9ed7a86a9026b4319d22476431d7d99207b7
2020-06-23 21:33:58 +02:00
TheScarastic
e0b46fcb33
davinci: overlay: Import brightness overlays from MIUI
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: Ib00b3817eece7bb8ff0acafb3d545e4324d7c26d
2020-06-23 21:33:29 +02:00
Arian
a8c405aa42
davinci: overlay: Enable burn in protection
Change-Id: Iaf1aff7e72a30e17ec6f1581cad34b94b37ffa84
2020-05-17 23:09:02 +02:00
Arian
3e7615c3c0
davinci: Add frameworks-res overlay
Change-Id: I6092400eb00d0f97b2a8d8b70e94793f1200ac52
2020-05-17 23:08:31 +02:00
Demon Singur
5571d83f41
davinci: Build separate system and vendor HIDL libs
Change-Id: If8e2211e643bdb0ff67fb248e7fe33b78077a06e
2020-05-08 16:05:44 +02:00
dianlujitao
8b778de2a7
davinci: Build dummy android.hidl.[base,manager]@1.0
Change-Id: I81a081130869c4d92f30b2674e75bb6b096a7a2c
2020-05-08 16:05:44 +02:00
TheScarastic
ee2e211a63
davinci: Add assertions on baseband version
Co-authored-by: Wang Han <416810799@qq.com>
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I5cd3dfe9415e5a45a6924592fe4d26f7cd301eed
2020-05-08 16:05:44 +02:00
raysenlau
455d3cd61e
davinci: Ship and update dtbo image
Change-Id: I17c87df84a5bb67b8f217419a462b3aed19d8ad5
2020-05-08 16:05:44 +02:00
XiNGRZ
39c32135b2
davinci: Ship and update vbmeta image
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2020-05-08 16:05:44 +02:00
Christian Oder
36f3e06a28
davinci: Build disabled vbmeta image
Change-Id: I381feef8f6fefc8449ca50d85d704b67bcc8a77e
2020-05-08 16:05:44 +02:00
Arian
ec881cc2d2
davinci: Import qti_whitelist
Change-Id: Ia533db372b67bc81d76c47b56a6d8262e2a6946b
2020-05-08 16:05:44 +02:00
Arian
b7bf60e84d
davinci: Include qcom sepolicy
Change-Id: I7799bc78e4969b2c32a27bbdc15d9d9c05b913e3
2020-05-08 16:05:44 +02:00