Some QCOM devices require sysfs to trigger boot/init which are blocking
the init process.
[ 7.453205] init: Command 'write /sys/kernel/boot_adsp/boot 1' action=post-fs-data (/init.angler.rc:166) returned 0 took 271.936ms.
This CL is to put those slow to start devices in a
separate service and wait for the service to be done later on.
Bug: 32712851
Test: On device
Change-Id: Idd4e965f122cbc8421b443a41573d363112dfa50
I have backported enough kernel stuff to align our implementation
with android-3.10.
Use ~500MB disk, 4 compression streams, lz4 compression.
Change-Id: I82ee5c43aefb732ee603bdf1ae190e5e9936e660
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
* The anti-falsing implementation from HumanInteractionClassifier
regularly prevents easy swipe to unlock or to pattern / pin
on the keyguard lockscreen, requiring multiple attempts
until accepted due to a hardcoded evaluation (5.0f)
while normal usage shows better results without it
* Another solved situation is remote device access like
Vysor or TeamViewer were the device is almost impossible
to swipe properly from a computer client
Change-Id: I0c2590f56e2cf6d6cd4ff3af2341a985670168e3
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Overlays only for framework-res will be converted into RROs.
Other overlays can't be converted due to some known issues on app RRO.
Bug: 36231603
Change-Id: Idca30fdbbcc990fd124de16a06a112a346612a61
(cherry picked from commit db1b6058200fc5255f519cf6609fca7619d6743e)
Even though Recorder is not included in mini config, it is not dramatically big and should fit in our /system.
Change-Id: I8b463bc36804e40d9cd6400635e808bfe1980bb0
In order to make generic system image, these QCOM-specific libs are
moved to vendor.img
Bug: 36043196
Test: make. flash. and chck that these are under /vendor/lib.
Change-Id: I53d84f1191b7562323b8405bc4a1ba35794375c0
Bug: 37035983
- OVERRIDE_RS_DRIVER is moved from libRS_internal to the default
implmentation. In order for GPU driver to work on legacy devices, the
default implementation needs to be part of PRODUCT_PACKAGES.
Test: mm
Test: CTS tests pass on Bullhead, and confirm GPU driver is working.
Change-Id: I72e6d5a36b267d77412801f9c02894a8af643d84
This moves cameraserver domain policy to do with Camera HAL running
inside that domain into hal_camera. cameraserver is now associated
with hal_camera.
Test: Taking photod and recording videos using Google Camera works
Bug: 34170079
Change-Id: I3031f1cdeebe0773f765adffa8c0bd617ab2cebd
(cherry picked from commit 15f5ee011a51e9e7574d1ecb1b82658281d294be)
Grant access to qualcomm camera daemon.
Bug: 28359909
Change-Id: I92520b4c9fe5d94a6c191f40963fec6b6ed1acb4
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
It was defined in AOSP as TARGET_USES_C2D_COMPOSITON, so it was never used here.
Our GPU doesn't have any 2D cores, so there is no reason to use it anyway.
Change-Id: I21671e58251fdf4796ce780924980bcc624c1df2
Remove the ioctl permission for most socket types. For others, such as
tcp/udp/rawip/unix_dgram/unix_stream set a default unprivileged whitelist
that individual domains may extend (except where neverallowed like
untrusted_app). Enforce via a neverallowxperm rule.
Change-Id: I7573fdb24f9c53ad169bce2aeab1baac8b2a11ea
Move device specific policy to a local device_domain_deprecated attribute
to focus effort on core policy.
Bug: 28760354
Change-Id: Id08cc74a3a2c7b8ff242b3c6f26bd514e6855a48