GPU takes long time(>8ms) when app was launching and closing.
This may because GPU is handling some heavy task like color conversion.
By setting NegativeOffset as 5ms to allow SF have more time to handle
when doing animation transaction and shift back 5ms with
early_app_phase_offset_ns such that app still has the same amount of
time to handle each frame.
Test: 1. Open Chrome from homescreen
2. Swipe vertically to go back to home screen
3. Measure the gpu completion time and "FrameMissed" count from systrace result
Bug: 147339695
Change-Id: I157cb11e8ed8c1ca296fc65612752fbb3d985dcd
* The bootloader sets androidboot.hwversion, use this and set
the ro.boot.hardware.revision property in order to show it
in settings.
Change-Id: I3c6c678bf055091ea9fcb2a1524d321e2c1be043
* Xiaomi is using the earpiece echo reference paths in their HAL,
while CAF uses handset paths.
* Rename the earpiece mixer paths to handset mixer paths in order
to apply the correct echo reference for the CAF hal.
Change-Id: Id917fb33f49009e8145c58638e9fa6d05670473e
* Xiaomi's audio HAL uses the "echo-reference-voip speaker" path during voip
calls in speaker mode, while the CAF hal uses the "echo-reference-voip" path.
* That led to an echo in voip speaker calls since xiaomi appends speaker
to the path name and hence the echo reference wasn't set up properly, because
xiaomi did not apply their echo-reference edits to the default path.
* To fix this we can apply xiaomi's "echo-reference speaker" and
"echo-reference-voip speaker" as "echo-reference" and "echo-reference-voip".
* Remove the "echo-reference speaker" and "echo-reference-voip speaker" paths
because they are the same as "echo-reference" and "echo-reference-voip" and
even if the HAL will support speaker paths one day, it would not be needed for
us since we don't need to differ between speaker and no suffix.
Change-Id: I9c2d42db6870c7f3579f5d96756a8bd4063022c8
Set Header version to 1 for bootimage and Enable
BOARD_INCLUDE_RECOVERY_DTBO.
Change-Id: I165130b412020a6dee7fb3473766296f21a7cdb7
Signed-off-by: Rahul Shahare <rshaha@codeaurora.org>
* Initially based on the list defined by Xiaomi, trimmed to include
only the vendor libs that are also being shipped by us.
Change-Id: I552dc44a32221d2d3cec48e1c64ed72c470d412e
* Setup davinci sku when device is global or chinese.
* Move the nfc manifest entry to davinci hardware sku
variant.
Change-Id: I76ac75cd80f85efa6dfa68753602d934a11000a3
Signed-off-by: Arian <arian.kulmer@web.de>
* libshoebox.so does not exist anymore
* HW_ACCELERATED has been disabled by default as stated in the HAL
E EffectsFactoryConfigLoader: Could not find library in effect directories: libshoebox.so
E EffectsFactoryConfigLoader: Error querying effect 7d1580bd-297f-4683-9239-e475b6d1d69f on lib offload_bundle
E EffectsFactoryConfigLoader: Could not find library shoebox to load effect shoebox
E EffectsFactoryConfigLoader: 3 errors during loading of configuration: /vendor/etc/audio_effects.xml
Change-Id: I2407c03728930995213f16ec0551e4194fbb7476
Signed-off-by: Arian <arian.kulmer@web.de>
* Remove unnecessary dependencies on liblbs_core.so
* Hardcode vendor loc HIDL version to 3.0 to enable vendor HIDL when
building w/o BSP.
Change-Id: I01f661f1d1e038737801f5a9db88e3388d470f74
* Get rid of 1.0 and 1.1 hidl
* Get rid of target_specific_features.mk
* Clean up the top Android.mk
* Drop sample configs
* Drop sample target and board config
Change-Id: I7b45b940812a51306db76f6275ea43049fa62335
-Set max_comp_streams to num of cores since upstream also moves this to
percpu.
Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
* Patch the 2 remaining blobs that depend on it.
* They already need libhidltransport.so so there's
no real need for the shims anymore.
Change-Id: I00f185fd4d1d8798893cf82abf9d64fcb68c3301