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
* libstlport.so has been deprecated from AOSP 8.0.0,
and the sources have been replaced by prebuilt
binaries only for selected official devices
* Import libstlport.so from ASUS Flo 32 bits
commit daa71cf2aac6723fce66224c41873bb430ff61dc
* libstlport is a dependency of legacy camera
or display HAL proprietary stacks
Change-Id: Idf2cd126d991ee63549e2debe22cbfe16caa163d
Signed-off-by: Adrian DC <radian.dc@gmail.com>
* Rename hals.conf -> _hals.conf so legitimate
MultiHAL won't attempt to load our HALs.
* Rename multihal -> multihal-asus so soong
doesn't complain about duplicate package names.
* Remove USE_SENSOR_MULTI_HAL flag requirement so
we can actually build it.
* Use TARGET_BOARD_PLATFORM variable in package
name because it's a common tree.
Change-Id: I6287d106bc2783ec7d6c78b9d6bf5fadf8c4244f
* Due to commit I9b346b4053ec12c8a78a143a4dc0e708c44888a2
"Support EGL_KHR_partial_update without EGL_EXT_buffer_age"
in libhwui, EGL_EXT_buffer_age extension was forcibly enabled
if EGL_KHR_partial_update was available, even if the EGL driver
was not providing EGL_EXT_buffer_age support
* On older Adreno drivers, renderthread sources could use bufferAge
specific swap behaviours and would result in partially missing
display redraws upon animations and rotated screens,
for instance flashing action bars, blinking loading bars
and half black displays in landscape rotations
Change-Id: I16fe13f0726792522e382716f8f24eccf2a27701
Signed-off-by: Adrian DC <radian.dc@gmail.com>
* This defines the interfaces for graphics and wifi
* Use passthrough mode for android.hardware.graphics.allocator
Change-Id: I2c3aece8ad13613ec5b83496aa23d26ef238f45d
This will let the wifi hal run as "wifi" user and not need root
permissions to access this path for firmware reloads.
Bug: 33435250
Test: Compiles.
Change-Id: I3d4dec476363f16fc8af08fbf52ec8041d72c527
Test: Manual use of Camera, Movies, Photos and YouTube apps.
Test: With CtsMediaTestCases.apk installed,
adb shell am instrument -e size small -w
'android.media.cts/android.support.test.runner.AndroidJUnitRunner'
Bug: 31399200
Change-Id: I282ae2d830265653e67bc81a3152cd0a338689da
Boot animation uses ~140% cpu (out of 400%).
This decreases it to ~52% so boot time is cut.
This especially helps on first boot because
dex2oat is faster.
Change-Id: Ic965ae76e5656a98edfbfe869fcb843ff18296b4