With SmartPixels enabled, UDFPS does not work well.
The higher the percentage of pixels to be disabled,
the worse UDFPS works.
Fix this by disabling SmartPixels when UDFPS is working.
Many pyxis users flashes stock camera that has to be placed in system partition.
After I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89 the partition is too small.
Change-Id: Id75b04f5b778a60ed01e7f6def87442dee193869
With previous changes to audio configuration we are able to switch
to OSS audio HAL. TAS2562 amplifier HAL enablement is covered by
subsequent patch.
Change-Id: Ic78e05f809c12cfeeefd59ec5156455a955a61e0
Add dummy mixer paths for hph-highquality-mode and hph-lowpower-mode
to avoid errors like:
E audio_route: unable to find path 'hph-lowpower-mode'
E audio_route: unable to find path 'hph-highquality-mode'
Change-Id: Id78ad0ff317d10295bf1650e11fd99eb3910be2a
Changes coming from stock mixer_paths_mtp.xml and
mixer_paths_overlay_static.xml
* Add initial values for PRI_MI2S mixer controls
* Use PRI_MI2S_RX instead of INT4_MI2S_RX for speaker
* Clean-up speaker paths
Change-Id: I9b07da45eebc60cfac22b4cb4ea4be21e88057c7
* Update ACDB IDs for devices
* Change interface for SPEAKER from INT4_MI2S_RX to PRI_MI2S
* Change interface for HANDSET from INT4_MI2S_RX to INT0_MI2S_RX
* Skip changes not supported in OSS audio HAL
Change-Id: I7494ab54756b26dfe83fc5883904a2ba1a623c8a
The correct control name is 'DISPLAY_PORT Mixer MultiMedia10'
Fixes: 994ecaca3 ("configs: sdm670: add support for VoIP over audio path in sdm670")
Change-Id: I0f3a439b45abaca07c946c9e78c2cd0e4aafb0d0
Add missing HDMI mixer-paths.
Resolves:
W audio_route: unable to find sub path 'deep-buffer-playback hdmi'
W audio_route: unable to find sub path 'deep-buffer-playback hdmi'
W audio_route: unable to find sub path 'low-latency-playback hdmi'
W audio_route: unable to find sub path 'low-latency-playback hdmi'
W audio_route: unable to find sub path 'audio-ull-playback hdmi'
W audio_route: unable to find sub path 'audio-ull-playback hdmi'
W audio_route: unable to find sub path 'compress-offload-playback hdmi'
W audio_route: unable to find sub path 'compress-offload-playback hdmi'
W audio_route: unable to find sub path 'compress-offload-playback2 hdmi'
W audio_route: unable to find sub path 'compress-offload-playback2 hdmi'
...
W audio_route: unable to find sub path 'compress-offload-playback8 hdmi'
Fixes: d39232d3c ("configs: Initial config files for msmpeafowl")
Change-Id: Iff62fd87b152b8faf5cb8ce9a5c3bed846841201
Commit 62bf5e0c9 ("configs: add support for MMAP IRQ mode streams")
reuses PCM ID 33 for MMAP playback/record use-case but left
corresponding mixer-paths. Remove them.
Fixes: 62bf5e0c9 ("configs: add support for MMAP IRQ mode streams")
Change-Id: Ie893a87f0c6d411876db6fcc8ff2e9a86da2af23
Fingerprint HAL looks for sys.panel.touch_vendor:
E [GF_HAL][ExtModuleCreator]: Failed to getprop sys.panel.touch_vendor
On stock ROM this property is set by init.panel_info.sh which is not
shipped. But on Pyxis the value is always '3' so we can add it
statically into system.prop.
Change-Id: I9a70656f2b410d622976abb72e324aa3333aa390
Custom icon for udfps pressed state extracted from stock ROM
provides much more reliable enrollment as well as authentication
itself.
Change-Id: I3d4089bd6b230ba8f53a8a14f4906b02a4799f90
Add power consumed by audio and video hardware to power profile.
Attribute these power to specific app.
Bug: 70531798
Test: PowerProfileTest
Test: BatteryStatsHelperTest
Test: PowerCalculatorTest
Change-Id: I4811efa14ce97983258cd59bfd328181fe95baf4
After playing with gcam port, stream configurations for certain
modes I found that camera blobs are not compatible with scudo and
such usage leads to crashes of camera provider like [1].
Switch to scudo-free libc variant resolves this issues. As the
camera blobs are 32bit it is not needed to switch to scudo-free
libc system wide.
[1] https://pastebin.com/W5shnvEM
Change-Id: I5465b79b8c009550cd8a78666c86c5b4d0b242ae
Commit 13d9cc5 ("pyxis: Add missing camera properties") added missing
camera properties but the new system.prop file wasn't added to
BoardConfig.mk.
Change-Id: I30f90a4a792572ad48cf52b253b93eccae3b2c15
Mi 9 Lite has RGB notification LED but an user is not allowed to configure
custom colors due to absence of flags LIGHTS_RGB_NOTIFICATION_LED and
LIGHTS_RGB_BATTERY_LED in config_deviceLightCapabilities.
Add these flags to fix this issue.
Tested: Manually in Settings
Change-Id: Ieb1c4c88be01cf294d1e8b5ff0b8a59e32623269
Preinstalled overlays needn't be signed with the same cert
as the package it overlays, simply being preinstalled is
enough. Sign with the default cert instead for now, which
provides fewer special privileges.
Bug: 162195999
Test: verify values still overlaid correctly
Change-Id: I017491fd383551c5aadf8648edb900e0c12a27b8
Added a device specific overlay that changes the default name
from "AndroidAp" to customized name
Test: Builds, manually verified name change
Bug: 36368950
Change-Id: I38a5f6fb950d6a45342080bae186a8ed276d94bf
Stock legacy camera provider remaps auxilliary camera ids according
their purpose (ultrawide, bokeh, virtual processing...). These ids
are used by stock camera app to implement special camera modes and
features.
Tested: Using stock camera, built-in default camera and open camera
Change-Id: I4938db5906047c15cc682bdd84af13e22fb54738
Vendor library libswregistrationalgo.so (32bit only) is linked
against unversioned libprotobuf-cpp-full.so so ship prebuilt
protobuf from sdk29 and patch the affected library to use it.
Change-Id: Ia1016e962d9e99f2586230e77141792362cb11d4