* Compare things that are used in s3ve, ms01, kmini3g , and matisse
wifi and move the stuff that's truly common to here. This will
greatly ease O bring-up of the child trees.
* Also do a bit of cleanup while we are at it.
Change-Id: I8fc5a099a348fa7feb502e3afe9b43df6e22d00b
* The bulk of the device family policy was common and applicable
to all Samsung msm8974-devices. Move that common stuff here to
ease maintenance.
* Also adjust it for msm8226 use case
Change-Id: I86516adfb1b9c55a6959a7faf4ee424a4b3385c8
Add a device-specific SunlightEnhancement CMHW class.
In addition to enabling outdoor mode, crank the display brightness
up, allowing for much better visibility in bright sunlight.
Change-Id: I6a87d438a0aecd9e068de932d4133e69e0563cf8
This reduces the time from off to pin-input on encrypted devices
considerably, while leaving enough space on /system for third party
app packages the user may desire to install. Tested on peregrine.
Change-Id: Iaa5974275476f5580f7e38cf8a502d5c3d28ac90
Our libadreno_utils returns an incorrect value for the pixel alignment
(32 instead of 16) and therefore the 480p preview is corrupted.
Force the right alignment to fix it.
d96e6bdebe
We only use DisplayColorCalibration from there and AdaptiveDisplay is duplicated ( one exist in samsung/cmhw ) and causes build error
This reverts commit bd5ba43a61.
PowerHAL highlights:
* The CPU governor is always interactive. Governor changes are not
expected and permissions are set once on boot.
* Powersave profile: the CPU frequency is limited 787MHz and the CPU
is never boosted on user interaction. This will save power without
making the phone unbearably slow.
* Performance profile: the CPU is constantly boosted.
* Balanced profile: the CPU is boosted on user interaction.
When the screen is turned off, the governor is tuned to lower the
power consumption to save power in case of long lasting screen off
activities such as music playback.
* Currently there are no restrictions on the number of active cores.
With this PowerHAL cpu-boost is not needed, so keep it disabled.
In addition to that, drop all the properties based profiles and set
config_perf_profile_prop to "powerhal" to make the framework send
hints to PowerHAL when the power profile is changed.
msm8226-common: PowerHAL: Initialize mutex
Since the mutex is declared as static, this went unnoticed, but mutexes
should always be initialized, so do it.
msm8226-common: PowerHAL: Don't override user selected profiles
Save and restore the last selected profile so that the user preference
is not lost when transitioning out the low power mode. Also, don't
actually change the profile if in low power mode, but don't discard
the user preference.
msm8226-common: Refactor PowerHAL
Make the HAL generic by keeping the device dependent configuration
separate. This allows to easily add or edit the profiles.
The HAL should behave exactly as before, except for the fact that now
there might be some useless writes when the screen is turned off.
Change-Id: I6bb01a14f0058c59986989568e7766f4203150cc
We have switched to building the module inline, make the appropriate
changes to recognize the change.
Change-Id: I2e6e5114f4241c1b694f678dbdd59f4efd173d5b
As suggested in the comments on
https://android-review.googlesource.com/#/c/141560/
drop BOARD_SEPOLICY_UNION and simplify the build_policy logic.
Union all files found under BOARD_SEPOLICY_DIRS.
Change-Id: I4fea5f5196639f512073ce650185674f2dc2d608