Commit Graph

1839 Commits

Author SHA1 Message Date
Artem Borisov 301622e563 flo: don't build stlport
We're using it as blob in vendor/lib now and this just copies same library to lib/.

Change-Id: Ie362fcc23a2623ce4d9814c4b1fe2cecb1155d64
2017-10-21 19:50:30 +00:00
LuK1337 d67b94745b flo: rootdir: Enable FunctionFS
Change-Id: I12ff6e794e6993940284e6dfb48b718c40fdd3b1
2017-10-13 18:32:45 +00:00
Luca Stefani 6612252842 flo: audio: Fix audio effect libs path
Change-Id: I8f50ea750405ae920ef5a74dda31ca5ac85e3af0
2017-10-13 18:23:22 +00:00
Artem Borisov 4053ea04b0 flo: build bcm nfc implementation
Change-Id: Iac7f369e637e21a8ea582ccdb6b3071b1d2915b4
2017-10-13 18:22:06 +00:00
Artem Borisov f2aec8ace4 sepolicy: bring back hci_attach policy
Change-Id: I2072c3a88247a1f40f596d1dfae93bf23078e4e6
2017-09-20 20:56:48 +00:00
Jeff Vander Stoep 165b4ae091 Enforce ioctl command whitelisting on all sockets
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
2017-09-20 20:56:43 +00:00
Jeff Vander Stoep 96b92e3361 deprecate domain_deprecated
Move device specific policy to a local device_domain_deprecated attribute
to focus effort on core policy.

Bug: 28760354
Change-Id: Id08cc74a3a2c7b8ff242b3c6f26bd514e6855a48
2017-09-20 20:56:38 +00:00
Artem Borisov c91bb1bad8 flo: build DRM HAL
Change-Id: Ifadddcd0c3f571238c2f6d07cbdb2021896a87a7
2017-09-20 20:56:30 +00:00
Artem Borisov d8d84699a8 flo: build NFC HIDL service
Change-Id: I00d912c382bdd7ca4eb4c23a9ec72ea8babc4de9
2017-09-20 20:56:24 +00:00
Artem Borisov 8efe378de8 flo: move NFC configs to vendor
Change-Id: I9a85cc7b96d4a9d93d13432d186064500d818ff3
2017-09-20 20:56:14 +00:00
Adrian DC 5a6b28d12d proprietary: Add STLport library as prebuilt binary
* 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>
2017-09-20 20:56:09 +00:00
LuK1337 5e1fa60068 flo: Build our MultiHAL sensors HAL
Change-Id: I32172a0a6f5b3bf15ead878e91c2edd25b6f1625
2017-09-20 20:56:04 +00:00
Gabriele M 0e4a53a696 flo: sensors: Initial implementation of a wrapper for old sensors HAL
This is a wrapper based on multihal that tries to make old sensors
HALs compliant with API 1.3.

See the followings pages for more details:
 - https://source.android.com/devices/sensors/versioning
 - https://source.android.com/devices/sensors/hal-interface

Change-Id: Iec63ae6c4aaace1a9fba160d70265f6363b08603
2017-09-20 20:56:00 +00:00
LuK1337 338217adee flo: sensors: Adjust for our usecase
* 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
2017-09-20 20:55:55 +00:00
LuK1337 d51f14e26c flo: Import sensors MultiHAL
Change-Id: Ib56a4f5590275eecc950c84680a58307286e46d5
2017-09-20 20:55:47 +00:00
Artem Borisov 99deaaf671 Revert "bluetooth: Our kernel is missing CLOCK_BOOTTIME_ALARM (alarmtimer)"
This reverts commit 71b8747991.

Change-Id: Ib8667d8bf0910234b2618a105f3a21898b81cd61
2017-09-20 20:55:37 +00:00
Adrian DC 642628bc76 flo: hidl: Add Camera HAL interfaces package
Change-Id: I999990f3b9be63ecd2b5df103e23a7db4bcc04fb
Signed-off-by: Adrian DC <radian.dc@gmail.com>
2017-09-20 20:55:31 +00:00
Artem Borisov 6ae6a033da flo: more HIDL HALs
Change-Id: I4b314e6c88cf8e17c4795c0e23ed541b2c9771b0
2017-09-20 20:55:24 +00:00
Adrian DC 29c29df471 flo: init: Update path owners to avoid qcom owners
Change-Id: Ie5c896395adc2cbe65779cb2e903aa9fa3d85e24
2017-09-20 20:55:16 +00:00
Adrian DC f9c0dc0c24 display: Disable EGL buffer_age extension support
* 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>
2017-09-20 20:51:59 +00:00
Artem Borisov 9b64b95d18 [REVERT ME] flo: remove ffmpeg codecs
Change-Id: I8f5dd97cf665d53266ead1aa47fdd5ed423de4e3
2017-09-20 20:51:53 +00:00
Myles Watson 8e9c404a30 flo: Add libbt-vendor in device.mk
Bug: 36810308
Test: build
Change-Id: Ie89e25ace6efade7f9eb7e43db84a8f72e43d42b
(cherry picked from commit 1b1931455d11528342bc2ee2c68d49cb85f3784c)
2017-09-20 20:51:00 +00:00
Myles Watson 14e36bfb6e Build the new Bluetooth HAL
Test: Treehugger succeeds.
Change-Id: Ibeb69b0764ee6ca3244d4026d69b80fd8ec368b9
2017-09-20 20:50:55 +00:00
Luca Stefani 8de4493de1 flo: Add HIDL manifest
* This defines the interfaces for graphics and wifi

 * Use passthrough mode for android.hardware.graphics.allocator

Change-Id: I2c3aece8ad13613ec5b83496aa23d26ef238f45d
2017-09-20 20:50:49 +00:00
Artem Borisov be3c93b44c flo: build wificond
Change-Id: I791c8684657dcb67aca448856d2ccd62cef20e07
2017-09-20 20:50:40 +00:00
Roshan Pius 8096f1cd76 flo: Move wpa_supplicant to vendor partition
Bug: 35684372
Test: Compiles
Change-Id: I0019b1b59bf3e825585c88d61e281341fdd63cdd
2017-09-20 20:50:36 +00:00
Artem Borisov 2100e4d9fe flo: Do not define superfluous wpa_supplicant service
Bug: 30816535
Change-Id: Iab4e212b1c2dcbb97e73945e6b807b37174e0ae0
(cherry picked from commit 8a396d3b3827968bb33e6f7f0f6d74d14a6f4da9)
2017-09-20 20:50:31 +00:00
Roshan Pius 632f932c3f flo: Change ownership of wifi firmware reload sysfs paths
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
2017-09-20 20:50:26 +00:00
Roshan Pius 1407c0eb22 flo: Add wifi HAL service to device.mk
Bug: 33460969
Test: Compiles
Change-Id: I473f00d5dcabbf84d2da7397aef69b1b688d28a9
2017-09-20 20:50:19 +00:00
Pawin Vongmasa 292eaf07e3 Disable Treble OMX by default.
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
2017-09-20 20:50:14 +00:00
Artem Borisov 4d10372763 [REVERT ME] flo: disable some missing overlays
Change-Id: Ia274c4b93e7658cbd3c04fc3aff0352c66589527
2017-09-20 20:50:09 +00:00
Artem Borisov bf906f16a6 flo: add some HIDL HALs
Change-Id: I5bdc672dd6194d12221e070871cd8b350e4c9829
2017-09-20 20:50:00 +00:00
Artem Borisov ce061b3b54 flo: camera: add missing liblog dependency
Change-Id: Ie6bd6fb560b9703f8d1dd8ee4f1233cec8485c59
2017-09-20 20:49:50 +00:00
Artem Borisov e2a07e41b6 flo: rebrand for lineage vendor
Change-Id: Id07e60d4b3c3814776e099e03bf5171b5ad996bc
2017-08-24 20:35:08 +03:00
Flex1911 42b685b6cd flo: Kill Gello
Change-Id: I17cbaf47378576675403061589cdfc8f61f71310
2017-05-11 20:21:54 +03:00
Zhao Wei Liew 8b1118ad0b flo: power: Use POWER_HINT_LAUNCH for launch boosts
AOSP introduced POWER_HINT_LAUNCH in 7.1 to indicate the
start-up of a new activity. Use it.

Change-Id: I7835151c962f38b6e603eed232d6ebd3fd39dae6
2017-02-23 11:13:05 -06:00
Simon Shields 1d79bb77bc flo: enable qcom legacy bsp flag
Change-Id: Iabeb0438380225556e66b1e5903c3315fe90172c
2017-02-13 02:17:29 +00:00
Simon Shields a8e3c9b892 flo: disable dex preopt
* we need more space

Change-Id: I350bdf06e50801f2bf522576de6f94d48ea252b7
2017-02-01 23:43:32 +00:00
David Marble 3a8466b0c8 Flo: build with SDCLANG
Change-Id: I05b3afa06ebb16dcf608bb48161a8a7d8fc4ef13
2017-01-27 12:19:51 -06:00
Flex1911 e596a332b4 flo: rebrand device for LineageOS
Change-Id: I969578a9d85ab4abdb06e45042926b414d324a16
2017-01-02 21:41:12 +11:00
Simon Shields 5bdb6f3606 flo: cleanup the tree
AOSP has abandoned us now, we may as well make things look a bit
prettier.

Change-Id: I09f48ae1b565f05b0ac0ae6bb18a4a2100402e45
2016-12-17 17:30:49 +11:00
Simon Shields 9e259a713d flo: commonize blobs with deb
Change-Id: Iabcb78830ead89822aba8a4505acb1ab400873fe
2016-12-04 18:50:47 -06:00
Zhao Wei Liew 9422c84716 flo: Switch to the unified LED capabilities overlay
* The old overlays have now been removed in favor
  of a single unified and extensible overlay.

Change-Id: I3c1ec399a19e9dd3ad97e74993133cec9ffb5fb8
2016-12-03 15:16:00 -08:00
osm0sis 03136edf90 flo: hax to fix PCC rgb interface
Change-Id: I14bfdbab393310237ce06403ae1380e9f7e9b869
2016-11-30 23:36:41 +11:00
Simon Shields 0031c57f43 flo: kang bullhead wv blobs
* bullhead package version: bullhead-user 7.1.1 NPF10C 3347772 release-keys

Change-Id: Ic314d2f8d4ea52fdd82e7b932c5c16c6579c70b2
2016-11-21 09:36:56 +11:00
Simon Shields 1b9000b5ae Revert "flo: build libc with GCC"
This reverts commit e4d36b4bd9.

Change-Id: I08bf16d3812f82234315b7560c445016ed388750
2016-11-18 17:12:41 -08:00
Zhao Wei Liew 9ba9ce5273 flo: Remove enhanced NFC feature
This is no longer used anywhere.

Change-Id: Iaabfaec2d7c734b5f286f3dc4ef651d93b2f2bc8
2016-11-18 05:03:29 -07:00
Simon Shields 140ee4dc24 flo: move default network prop down to deb
Change-Id: I3c6657065074e1e2cb2f1a59d0dc3754f6384566
2016-11-16 00:10:59 +11:00
Simon Shields c38ce575b5 Revert "flo: fix hardware/qcom/media paths"
* fix the pathmap instead

This reverts commit ad64e126b1.

Change-Id: I8d3f27c5945d1a3766ab49cb14817c5173ee5c21
2016-11-13 11:21:17 -08:00
David Marble 13067cd5fc Flo: TARGET_BOOTANIMATION_HALF_RES to speed up boots
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
2016-11-12 14:34:05 -06:00