aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* msm8996: gps: Increase batch size to maxPranav Vashi2018-07-29
| | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* msm8996: ipacm: Fix memory leaksAntoine Giraudmaillet2018-07-29
| | | | | | | | * Errors reported by CppCheck. Change-Id: I700e4c8ef6a4cb7f551e1d9c69f72d218b124dde Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* msm8996-common: Fix priv_app SELinux denials:Cosme Domínguez Díaz2018-07-29
| | | | avc: denied { find } for interface=android.hardware.memtrack::IMemtrack pid=3638 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:hal_memtrack_hwservice:s0 tclass=hwservice_manager permissive=0
* msm8996-common: Re-enable Power HAL 1.1 and WiFi statsCosme Domínguez Díaz2018-07-29
| | | | | * Using marlin WiFi firmware, which is newer than ours, we can get a fully functional Power HAL.
* msm8996-common: Fix chager SELinux denials:Cosme Domínguez Díaz2018-07-28
| | | | | | | | | | | | | avc: denied { dac_override } for pid=442 comm="chargeonlymode" capability=1 scontext=u:r:charger:s0 tcontext=u:r:charger:s0 tclass=capability permissive=1 avc: denied { read } for pid=442 comm="chargeonlymode" name="rtc0" dev="tmpfs" ino=2231 scontext=u:r:charger:s0 tcontext=u:object_r:rtc_device:s0 tclass=chr_file permissive=1 avc: denied { open } for pid=442 comm="chargeonlymode" path="/dev/rtc0" dev="tmpfs" ino=2231 scontext=u:r:charger:s0 tcontext=u:object_r:rtc_device:s0 tclass=chr_file permissive=1 avc: denied { ioctl } for pid=442 comm="chargeonlymode" path="/dev/rtc0" dev="tmpfs" ino=2231 ioctlcmd=7008 scontext=u:r:charger:s0 tcontext=u:object_r:rtc_device:s0 tclass=chr_file permissive=1 avc: denied { write } for pid=442 comm="chargeonlymode" name="persist" dev="rootfs" ino=14980 scontext=u:r:charger:s0 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=1 avc: denied { add_name } for pid=442 comm="chargeonlymode" name="subsys" scontext=u:r:charger:s0 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=1 avc: denied { create } for pid=442 comm="chargeonlymode" name="subsys" scontext=u:r:charger:s0 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=1 avc: denied { create } for pid=442 comm="chargeonlymode" name="batt_info.bin" scontext=u:r:charger:s0 tcontext=u:object_r:persist_file:s0 tclass=file permissive=1 avc: denied { read append } for pid=442 comm="chargeonlymode" name="batt_info.bin" dev="rootfs" ino=2334 scontext=u:r:charger:s0 tcontext=u:object_r:persist_file:s0 tclass=file permissive=1 avc: denied { getattr } for pid=442 comm="chargeonlymode" path="/persist/subsys/batt_info.bin" dev="rootfs" ino=2334 scontext=u:r:charger:s0 tcontext=u:object_r:persist_file:s0 tclass=file permissive=1
* ipacm: Add UL rules with XLAT mux idMohammed Javid2018-07-28
| | | | | | | | In case of HAL feature, currently UL rules are installed without XLAT info. Install UL rules with XLAT mux id. Change-Id: Ib290d439e0775f647dcc4b600e67c500b2b24fde
* Revert "msm8996: Build HVX neuralnetworks HAL"Cosme Domínguez Díaz2018-07-28
| | | | This reverts commit 5a1c5d7094cf0c00f4bbca7390fee11ef9293366.
* Merge pull request #13 from hertz1/lineage-15.1Cosme Domínguez2018-07-28
|\ | | | | msm8996-common: Enable interaction boost
| * msm8996-common: Enable interaction boosthertz12018-07-25
| |
* | msm8996-common: Add power-off alarm supportDemon Singur2018-07-27
| | | | | | | | Change-Id: I4fd9e708cf132a91b7d6e0cd33d38d48dcef9413
* | msm8996-common: Adjust interactive governor parameters based on CPU power ↵martin_liu2018-07-27
|/ | | | | | | | | efficiency curve Bug: 28560172 Change-Id: I2974a6dc43ecc51603df4acb942ffcb04091e653 Signed-off-by: martin_liu <martin_liu@htc.com>
* msm8996-common: Set TARGET_PROVIDES_QTI_TELEPHONY_JARMichael Bestas2018-07-20
| | | | | | | | | | * Avoids the following warnings on every single rebuild of anything: build/core/Makefile:34: warning: overriding commands for target `/out/lineage-15.1/target/product/[...]/system/framework/qti-telephony-common.jar' build/core/base_rules.mk:391: warning: ignoring old commands for target `/out/lineage-15.1/target/product/[...]/system/framework/qti-telephony-common.jar' Change-Id: Idffe1a95d5ddac0ef3d6c74e3d55293b553e51ba
* msm8996-common: Update IPACMBruno Martins2018-07-20
| | | | | | * Tag: LA.UM.6.6.r1-09200-89xx.0 Change-Id: I53cfaae340eb31b1304984d4696ef8a6a8e567b3
* msm8996-common: Update call recording overlay.Danny Baumann2018-07-15
| | | | Change-Id: I3428fa6e47318b195a8dc46731e0aabc14a9a8e7
* msm8996-common: Full update to ZUI 3.5.389.Cosme Domínguez Díaz2018-07-14
| | | | | * Re-patch libmmcamera2_stats_modules.so to use /vendor/etc instead of /system/etc.
* msm8996-common: Use BOARD_VNDK_VERSION := currentRashed Abdel-Tawab2018-07-12
| | | | | | | | However, set BOARD_VNDK_RUNTIME_DISABLE := true as well since camera HAL is a hot mess if attempting to enforce runtime linker namsespace isolation Change-Id: I8f2237a0760d9d5feb0a51c9aed0c18119a5863f
* msm8996-common: Fix dependencies for mm-camera-interfaceYifan Hong2018-07-12
| | | | | | Test: mma -j BOARD_VNDK_VERSION=current Bug: 33241851 Change-Id: I603e86e78c80e592e852da184ca021fe42a8ea9a
* msm8996-common: Add libutils to libqomx_core and camera modulesVijay Venkatraman2018-07-12
| | | | | | | Bug: 33241851 Test: build target and pass CTS Test: With BOARD_VNDK_VERSION, mma works Change-Id: Ibb107bde19cd26675c41059a8c21d5f1f8ffa6bb
* msm8996-common: readmac: fix build with VNDK=currentDemon Singur2018-07-12
| | | | Change-Id: I145b26d5842429e56fff2286257dfccc4cea411b
* msm8996-common: Remove unused or deprecated board flagsBruno Martins2018-07-12
| | | | Change-Id: I919f7303c3289fd91d06fa5ece02f8eb6f4f973d
* msm8996-common: Remove implicitly built QTI camera shared librariesBruno Martins2018-07-12
| | | | | | | * These shared libs are built when TARGET_USES_QTI_CAMERA_DEVICE flag is enabled. Change-Id: Ifb39b7c2c8de2cbb1f59c6dc492a3763d32f1b7a
* msm8996-common: Simply copy prebuilt .jar filesBruno Martins2018-07-12
| | | | | | * No need to have them as build targets. Change-Id: Ie76ae3028a394b25fd9df485e500101f10230294
* Revert "msm8996-common: Restore radio scanning timeout"Cosme Domínguez Díaz2018-07-12
| | | | This reverts commit 721efe84983373dbed1431cb618abe5fc959685a.
* msm8996-common: Use mke2fs to create ext4 imagesWei Wang2018-07-08
| | | | | | | Set TARGET_USES_MKE2FS := true to use new EXT4 tool chain Bug: 62421233 Change-Id: Id6e5c68b2d7854e5330ad87443b974361a4bff9d
* msm8996-common: Remove config_no_sim_display_network_modes overlayLuK13372018-07-08
| | | | | | | * This overlay does not exist since we are no longer based on CAF. Change-Id: Ibbc522f9ab1597d7e039eb7458cf4bb3924b7176
* msm8996-common: Remove send_mic_mute_to_AudioManager overlayLuK13372018-07-08
| | | | | | | * send_mic_mute_to_AudioManager hasn't been doing anything since Android 4.4, therefore there's no reason to keep it. Change-Id: I74ed33265fccd59def5c2f9e67a9e8a28ce4dbc9
* msm8996-common: Remove camera.device@3.2-impl from PRODUCT_PACKAGESLuK13372018-07-08
| | | | | | | * camera.device@3.2-impl is a dependency of camera provider therefore there's no need to add it to PRODUCT_PACKAGES. Change-Id: I3ae211965a31b5f85af3dd0fa1c7811b802586c3
* msm8996-common: Replace libcamera_client to ↵Jiyong Park2018-07-06
| | | | | | | | | | | | | | android.hardware.camera.common@1.0-helper libcamera_client is not a VNDK library and thus not available to vendors. These vendor libs were using the library due to CameraMetadata and CameraParamters classes. The classes are now available via .common@1.0-helper library which is available to vendors. Thus switching to the lib. Bug: 62523241 Test: 2017 pixel devices builds and boots. Camera functionalities work. Change-Id: I16d0fcf94b54c480b8e817c63341fb9f45118867
* msm8996-common: Build camera.* with BOARD_VNDK_VERSIONJiyong Park2018-07-06
| | | | | | | | | | | | Instead of relying on the global include paths, use the header libraries. Global include paths are not available when building with BOARD_VNDK_VERSION. pthread.h is included explicitly since it isn't automatically available then. Bug: 37342627 Test: BOARD_VNDK_VERSION=current m -j camera.msm8996 Change-Id: I210629684ff3451512e2dc4391f6718d5ebdd19b
* msm8996-common: proprietary-files.txt: Move thermal-engine.conf from vendor ↵Cosme Domínguez Díaz2018-07-01
| | | | to msm8996-common.
* ipacm:clear event cache if ipacm receives stopOffloadMohammed Javid2018-06-30
| | | | | | | | | | Currently if NAT iface is not added, IPACM cache setupstream events but default gw index will be set only after adding NAT iface. If IPACM receives stopOffload in between, then it is returning input check error to framework. Add check and clear event cache in case of stopOffload. Change-Id: I1e49a37bfba64458f8966c9894bf48f749f0bbd7
* ipacm: Fix KW issueMohammed Javid2018-06-29
| | | | | | | Add check to prevent access of invalid array index. Change-Id: I95fbb1992a944b91f31e7bb1ee4bf5642d7e31fd
* msm8996-common: Use low level shutdown trigger to stop cnss-daemonNiranjan Pendharkar2018-06-29
| | | | | | | | | | | | Low level shutdown is triggered after SystemServer is cleaned up. sys.shutdown.requested is private to SystemServer and is used to syncrhonize the shutdown process if SystemServer crashes before hardware reboot is complete. Native daemons must use low level shutdown indication from powermanager for their graceful shutdown, if they wish to stop before init terminates the process. Change-Id: Ia583f7dce6f1927d9b766fdc132f082b409f4d67
* msm8996-common: doze: use ExecutorService for listener registrationezio842018-06-29
| | | | | | | | | | | | | | | | | | | | | | Replicate what Google did for SystemUI in this commit. https://github.com/aosp-mirror/platform_frameworks_base/commit/fabc743bcf6e6623e530545c4b31285ea642f087 Registering a sensor seems to be an expensive operation, and we do it on each screen-on event, so moving it to an asynchronous task looks like a good idea anyway. By moving all non-essential binder calls of the main thread or to the next frame, we bring this down to 5ms, such that window animation and Keyguard animation starts about at the same time. The interesting part about the ExecutorService: "Memory consistency effects: Actions in a thread prior to the submission of a Runnable or Callable task to an ExecutorService happen-before any actions taken by that task, which in turn happen-before the result is retrieved via Future.get()." (from https://developer.android.com/reference/java/util/concurrent/ExecutorService) Change-Id: I4f37bb9a7dc9d7775d587d4ebd4b6619f3b77e81
* msm8996-common: Drop deprecated OpenGLRenderer propsBruno Martins2018-06-29
| | | | | | | | * In Android 8.1 and later, only the ro.zygote.disable_gl_preload property still applies. All other properties have been removed. Reference: https://source.android.com/devices/graphics/renderer Change-Id: Ib43c22ea3285e5fe397da8a7a5cac1c3a27a2f36
* msm8996-common: rootdir: Move mm-pp-dpps to hal classEthan Chen2018-06-29
| | | | Change-Id: I1e243b057ed24a2bc50a206de7b6c5c8bd702617
* msm8996-common: Reorder tetherable connection typesPaul Keith2018-06-29
| | | | | | | | | | | * In O, the default setting for mobile data always active was changed from off to on, meaning that when non-WiFi tethering is being attempted, more than one connection can be active * Since the first active connection type in this overlay is used, reorder the values to get WiFi connections first, and then any type of mobile data connection, instead of vice versa Change-Id: I41f31ba1a2793e209ff439c9ba28a390fecdeecb
* msm8996-common: Tune thermal-engine config.Cosme Domínguez Díaz2018-06-29
| | | | * I prefer to keep the phone cooler than having a little more performance.
* msm8996-common: Move thermal-engine.conf from vendor to msm8996-common.Cosme Domínguez Díaz2018-06-25
|
* msm8996-common: Fix typo from CodeAurora in the QTI whitelistBruno Martins2018-06-21
| | | | | | * Let com.qualcomm.qcrilmsgtunnel break free Change-Id: I6243a6d21da7709bf6612270d7638f1231b9f601
* Revert "msm8996-common: Switch to Power HAL 1.1 and enable WiFi stats."davidevinavil2018-06-10
| | | | | | | This commit make lag in battery settings. Thank to @kenny3fcb for the tip This reverts commit b53e00d1d443ad324182f932a3d2508c29aa8a56.
* Merge pull request #11 from kenny3fcb/lineage-15.1Davide D M2018-06-05
|\ | | | | Fix USB Tethering
| * msm8996-common: Add persist.sys.usb.config.extraTheScarastic2018-06-05
|/ | | | | | * Fixes Usb tethering Change-Id: Id047644e9ec17b1fb1acd733e1633da278d5af69
* Revert "Enable Wi-Fi Aware feature."Cosme Domínguez Díaz2018-05-27
| | | | This reverts commit d6bd6c019d4978c6f03acc4c46b6b5951e9c7730.
* msm8996-common: Regenerate privapp-permissions-qti.xmlCosme Domínguez Díaz2018-05-27
| | | | ./development/tools/privapp_permissions/privapp_permissions.py > device/zuk/msm8996-common/configs/privapp-permissions-qti.xml
* msm8996-common: Remove privapp-permissions-oem.xml and move qti's xml to /systemCosme Domínguez Díaz2018-05-27
| | | | | | | | | * privapp-permissions-qti.xml does the same and more. * Move back qti_whitelist.xml and privapp-permissions-qti.xml to /system as it's the right place: https://source.android.com/devices/tech/config/perms-whitelist#adding-whitelists
* Enable Wi-Fi Aware feature.Cosme Domínguez Díaz2018-05-27
| | | | * https://source.android.com/devices/tech/connect/wifi-aware
* msm8996-common: Switch to Power HAL 1.1 and enable WiFi stats.Cosme Domínguez Díaz2018-05-26
| | | | | | | * We need to set TARGET_WLAN_POWER_STAT to work with the QCACLD2 driver. The default value is for QCACLD3.
* Revert "msm8996-common: Doze: Install into vendor"Cosme Domínguez Díaz2018-05-26
| | | | This reverts commit 4880627b20c1b589f2d5a7160076ee170fbd7d60.
* Update blobs from bardock-proCosme Domínguez Díaz2018-05-20
| | | | | | | | | | | | | | | | | | | * It's a 89xx.0 device with Oreo 8.1 CAF blobs (OPM1) so it should work well with our 8996 SoC. * Bluetooth - from bardock-pro - OPM1.171019.019 * GPS - from bardock-pro - OPM1.171019.019 * Graphics - from bardock-pro - OPM1.171019.019 * Graphics (HDR) - from bardock-pro - OPM1.171019.019 * Graphics (SDM) - from bardock-pro - OPM1.171019.019 * Media - from bardock-pro - OPM1.171019.019 * Postprocessing - from bardock-pro - OPM1.171019.019 * Thermal - from bardock-pro - OPM1.171019.019 * Time services - from bardock-pro - OPM1.171019.019 * TUI - from bardock-pro - OPM1.171019.019 * WiFi - from bardock-pro - OPM1.171019.019 * Taken from the official release (Firmware 2.0.0)