Commit Graph

59 Commits

Author SHA1 Message Date
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
Arian
bd3efd90b0
davinci: Import manifest and compatibility matrix
Change-Id: I3466b07141b6517a4d83f99fe700a214bc09a93c
2020-05-08 16:05:44 +02:00
Arian
5c43c5af76
davinci: Import config.fs from LA.UM.8.9.r1-08500-SM6xx.0
Change-Id: I0d21c88601ba9d108f3247cb7cc7e7abb5ebd876
2020-05-08 16:05:44 +02:00
Arian
8c83e365de
davinci: Set recovery pixel format
Change-Id: I576ce33aafedddefa5df94de338700148423f6f9
2020-05-08 16:05:44 +02:00
Arian
dd6327af64
davinci: Import sec_config and mediacodec policy
Change-Id: I368ee7faa290342e24f831339b5f34bbe8b845b0
2020-05-08 16:05:44 +02:00
Arian
1e2f7afeca
davinci: Configure partitions
Change-Id: Id49d192a98ec0bea8e861069593acad19adb0489
2020-05-08 16:05:44 +02:00
Arian
a88118da91
davinci: Use permissive selinux
Change-Id: I0491e57a63b237033bc2159bb7be8360548c17ea
2020-05-08 16:05:44 +02:00
Demon000
072190985e
davinci: Remove unused kernel cmdline arguments
Change-Id: If8fd59cd0ef1c774618bb77622d689adc16da2da
2020-05-08 16:05:44 +02:00
Arian
e5b7d6e622
davinci: Configure Kernel
Change-Id: I9b903cd9afbf0b671aab148633ec3ac9fcb6b2db
2020-05-08 16:05:44 +02:00
Arian
97d0194b9e
davinci: Configure architecture and platform
Change-Id: I44382e290d6997fcc97f2b879c2b1c299703a572
2020-05-08 16:05:44 +02:00
Arian
858abbcd7d
davinci: Configure display density
Change-Id: Id50971e3b28c68f5035c58aa61de2e475bd1b03a
2020-05-08 16:05:44 +02:00
Dan Willemsen
f74425846c
davinci: Builds have overriding commands
This product has warnings about overriding build commands, which
means that there are multiple instructions on how to build a file, and
we've just picked one of them. Which one we pick is usually stable, but
it can change.

Bug: 77611511
Test: turn default to false, davinci still uses a warning
Change-Id: I11d194863b313f64b19291f65219682b169d9ced
2020-05-08 16:05:44 +02:00
Lokesh Gidra
454e90dd7b
davinci: Use 6GB dalvik-heap config
Bug: 145823510
Test: MPTS
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2020-05-08 16:05:44 +02:00
LuK1337
2ee2e9e488
davinci: Inherit product_launched_with_p.mk
Change-Id: I0738ccbb8de3f6aac1dd7d937eaccc35e0fc86ae
2020-05-08 16:05:44 +02:00
Arian
533868a4f4
davinci: Call the proprietary setup
Change-Id: I4563950f74a86683b25fe747f17f78afedbda690
2020-05-08 16:05:44 +02:00