* Our platform requires 0x02000000U,
which appears to be USAGE_PRIVATE_NONSECURE
* Resolves the following Gralloc2 failure upon playback:
buffer descriptor contains invalid usage bits 0x2000000
Change-Id: Ie5a8a46fef1c0f28ebd2cd3b3d29cc19763bc2a3
* Use speed profile services and wifi-service to reduce RAM and storage.
* Always preopt extracted APKs to prevent extracting out of the APK for gms modules
* Use a profile based boot image
Change-Id: I41bea46ded542b37910fef6a08e49a8ab70c7d2a
Signed-off-by: RenanQueiroz <queirozrrq@gmail.com>
* This is required to enable our legacy HAL1 camera recording
following OMX hardening in Ief2d2d4d0445074c0ecdc723b1b25997a7631389
Change-Id: Ide8dad10bf72fbd1acefec2f8ef4a90b0e3c0a4b
The recent change we made in the build repo makes all
builds dexpreopt only boot img and system server.
This changes angler builds back to full dexpreopt.
Change-Id: I0cf03634ee7bbc93b18b49d3f1efe82a6302b447
* So, uh, it turns out we need to disable booting with all
but 1 CPU core to fix CDMA RIL on klte (and hlte?), so
let's enable full dex preopt so that we don't need to
dex opt after system updates
Change-Id: I6fe57f9dcd1da8245eebd51d61055d6de7ffe6cd
AOSP and mainline are going towards removing old 32-bit binder API support.
64-bit binder is 100% compatible with 32-bit kernel and userspace,
so there is no reason for us to keep using the old solution anymore.
We've switched to new API in our kernel, same thing should be applied to our userspace.
Change-Id: I3c95bd7fbd023c5cb08e856b3a3889c03228e843
As stated in https://android.googlesource.com/platform/build/+/418258c
this is required in O-MR1 since sepolicy now prevents system server from
loading anything from /data making our system extremely slow and janky.
Change-Id: I215ec7ebe95981ef0b953fe938e12b83675795ab
* 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