aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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)
* msm8996-common: Doze: Install into vendorBruno Martins2018-05-20
| | | | Change-Id: Ideb432998aed70d9c7d24f8b60d9a28f026d9c37
* Fix bad GPU performance.Cosme Domínguez Díaz2018-05-20
| | | | | | | | | D RenderScript HIDL Adaptation: IRenderScriptDevice::getService() W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.renderscript@1.0::IDevice/default in either framework or device manifest. D RenderScript HIDL Adaptation: IRenderScriptDevice::getService() returned 0x0 D RenderScript HIDL Adaptation: Using Fallback Path. Yep... Y_Y
* msm8996-common: Remove cpuset foreground boostLennart Wieboldt2018-05-20
| | | | | | | | Cpuset foreground boost is departed since https://android.googlesource.com/platform/frameworks/base/+/a712d4058f6f85268838 Change-Id: Iab1834dbb8cce15480b5e11968bcfff7cc80177e Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
* msm8996-common: gps: decrease log priority function tracingKhalid Zubair2018-05-14
| | | | | | | | Some location libraries are spamming logcat with function traces. Decrease the priority of these logs to prevent them from flooding logcat. Change-Id: I7b105684c8c9ba0ce67e5302bb7a003f1af7c90d
* msm8996-common: gps: Reduce GPS log level to 2 (warning)Brian Duddie2018-05-14
| | | | | | | | Based on recommendation from Qualcomm to reduce slim_daemon log spam, only log WARNING and ERROR level messages by default. Bug: 30375274 Change-Id: I8a5cc466c87b5db4ff9071f5123266ff721fb2b8
* msm8996-common: wifi: enable and tune BETAlex Naidis2018-05-13
| | | | | | | | | | | | | Enabling Beacon Early Termination in order to speed up beacon processing drastically. This will lead to power savings. Also tune the BET wake interval to a value of "8" to reduce the frequency of wakeups. "8" is a safe choice since I could detect values of higher than 10 to cause issues in some usecases. Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* msm8996-common: wifi: enable QPower and Deep sleep at the same timeAlex Naidis2018-05-13
| | | | | | | | | * This enables Deep Sleep mode, additionally to QPower * With this configuration, QPower manages the new Deep sleep mode -> Leads to amazing power savings Signed-off-by: Alex Naidis <alex.naidis@linux.com> Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
* msm8996-common: wifi: relax WiFi re-association RSSI thresholdsSultanxda2018-05-13
| | | | | Signed-off-by: Sultanxda <sultanxda@gmail.com> Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
* msm8996-common: sepolicy: Remove duplicated rules.Cosme Domínguez Díaz2018-05-13
| | | | * And system_app and vold fixup.
* msm8996-common: vendor.prop: Set ro.bluetooth.hfp.ver to 1.7.Cosme Domínguez Díaz2018-05-10
|
* msm8996-common: camera: Update jpeg thumbnail sizes entriesSanthosh Kumar Thimmanna Bhattar2018-05-09
| | | | | | | | | | CTS test case testJpegThumbnailSize is failing due to thumbnail size 0x0 as CTS is expecting non zero size as first entry of the available thumbnail sizes . Updated jpeg thumbnail sizes entries as per the CTS test case. Change-Id: I0ec090b0357c4703119c823667dc598d257f7f33
* msm8996-common: Sync IPACM with upstreamBruno Martins2018-05-09
| | | | | | * Tag: LA.UM.6.6.r1-08300-89xx.0 Change-Id: Ie4759d0919200e9b38dbc017d0798fccb97aabe5
* msm8996: Update ipacm to LA.UM.6.5.r1-07400-8x96.0Marc Bourgoin2018-05-08
| | | | Change-Id: I1f8e6dad583fea0ea98c0ea835f5d043afd6d8b8
* Revert "msm8996: advertise hw accelerated setColorTransform"Cosme Domínguez Díaz2018-05-08
| | | | | | | | It's a duplicate of zuk-devs/android_device_zuk_msm8996-common@33e02b4ce9d0ef656178936401a9bd5ab4867ef6 Thanks to @kenny3fcb This reverts commit f2514a32bf80f5b15f3eaafeae0ede39169bbfe4.
* msm8996-common: More SELinux fixes...Cosme Domínguez Díaz2018-05-06
|
* msm8996-common: Disable Transparent Huge Pages (THP) when we don't have ↵Cosme Domínguez Díaz2018-05-06
| | | | | | | | | | | | | | | | enough RAM. * My device has 6GB of RAM so I didn't notice any issue. However devices with 3GB or less become unusable with THP enabled, according to @YaroST12 * Also, for devices with enough RAM, we'll restrict THP to madvise regions as suggested by the kernel documentation: "Embedded systems should enable hugepages only inside madvise regions to eliminate any risk of wasting any precious byte of memory and to only run faster." [1] [1] https://www.kernel.org/doc/Documentation/vm/transhuge.txt
* msm8996-common: props cleanup.Cosme Domínguez Díaz2018-05-06
| | | | * Based on ZUI 3.5.344 and LineageOS/android_device_xiaomi_msm8996-common.
* msm8996-common: Restore working qti-telephony-common.jarBruno Martins2018-05-06
| | | | | | | * For whatever reason, data connection is broken on China Telecom network with the stock blob. Go back to the working one from tissot. Change-Id: I816166ce5105d23c1b11539266007acc2c6879fc
* msm8996-common: Ship and enable atfwd daemonBruno Martins2018-05-06
| | | | | | | | * The atfwd daemon is responsible for handling AT command forward requests from modem and should be enabled for all targets except sda, apq, qcs. Change-Id: I886b616565f81da10ad4a7b52baf8854a0b26f52
* msm8996-common: gps: qcom_diag -> oem_2901.Cosme Domínguez Díaz2018-05-03
|
* msm8996: Properly copy vulkan permission xmldianlujitao2018-05-03
| | | | Change-Id: Ib787f195ebc6ce0a9e29ed8878fb14076642e365
* msm8996-common: sepolicy: CleanupCosme Domínguez Díaz2018-05-02
|
* msm8996-common: Add more jni blobs.Cosme Domínguez Díaz2018-05-02
|
* msm8996: advertise hw accelerated setColorTransformdianlujitao2018-05-02
| | | | Change-Id: Ibbc99c39adcccbbb096d5d6c933beaf60397d76b