Commit Graph

84 Commits

Author SHA1 Message Date
Aaron Tsai
3189fcfd21 Change hal version of vendor.qti.data.factory to 2.0
Fix CnE can't work fine issue.

Bug: 144596486
Test: 1. build pass
      2. Verified on TH build ROM, CnE works

Change-Id: Id5f8959cef2c3e21e010f27cd424abdc906b120f
2019-11-27 08:28:22 +00:00
TreeHugger Robot
22857de439 Merge "audio: sync effect uuid and voice ec ns setting" into qt-qpr1-dev 2019-11-25 04:02:27 +00:00
Sam Saccone🐐
1ce6a6a1ce Merge "Revert "Revert "sm7250: Remove unused subsystem restart setting""" into qt-qpr1-dev 2019-11-22 19:30:47 +00:00
Sam Saccone🐐
e6a0726eb7 Revert "Revert "sm7250: Remove unused subsystem restart setting""
This reverts commit 614db3c011.

Reason for revert: was no the root cause of the break

Change-Id: I9dd4b4ede21128a88bf4b810328f8a1473747b9f
2019-11-22 19:29:52 +00:00
Sam Saccone🐐
ea28c1ad7d Merge "Revert "sm7250: Remove unused subsystem restart setting"" into qt-qpr1-dev 2019-11-22 14:56:40 +00:00
Sam Saccone🐐
614db3c011 Revert "sm7250: Remove unused subsystem restart setting"
This reverts commit f4e70069ae.

Reason for revert: Broke a significant number of tests #droidcop

Change-Id: I17c25f8e3d1db299864dc1a3b9a91ebf820a08c6
2019-11-22 14:53:43 +00:00
yixuanjiang
9382b49b9a audio: sync effect uuid and voice ec ns setting
sync setting for voip snd device

Bug: 144979768
Test: local
Change-Id: I268a235a1961b35008c6ad6f3a459d55d1ce3d12
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2019-11-22 11:46:23 +00:00
Yung Ti Su
f2bbb4e5dd Sync audio_io_policy.conf with Sunfish
Test: manual

Change-Id: I2e004383f0d5201f89c376e2805f4dcd72537322
Signed-off-by: Yung Ti Su <andysu@google.com>
2019-11-22 06:48:26 +00:00
SalmaxChang
f4e70069ae sm7250: Remove unused subsystem restart setting
Bug: 144332391
Change-Id: I8b3563c9155d64ec6bb0c157068c98d08d8787bd
2019-11-22 02:47:48 +00:00
TreeHugger Robot
4a8fae0d8d Merge "Add com.nxp.mifare feature flag" into qt-qpr1-dev 2019-11-21 13:42:35 +00:00
Chenglu Lin
8f269fc7c5 [DO NOT MERGE] Support showing dark boot animation on dark theme.
Bug: 144810561
Test: Build and boot redbull. Toggle dark theme in Settings. Check
      boot animation (dark).
Test: Factory reset. Check boot animation (light).

Change-Id: I03c1f6f6b66580fa40290ab23bd68279b5b0cbc3
Signed-off-by: Chenglu Lin <chenglulin@google.com>
2019-11-20 21:43:57 +08:00
Bernard Chau
6287492d11 Revert submission
Reason for revert: Droidcop-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_master&target=redfin-userdebug&lkgb=6020481&lkbb=6020533&fkbb=6020533, bug http://b/144824910.

Change-Id: I995db7b529886e7299955913c807c25a403a5ea2
2019-11-20 11:08:52 +00:00
Chenglu Lin
a8e3c78a8e Support showing dark boot animation on dark theme.
Bug: 144810561
Test: Build and boot redbull. Toggle dark theme in Settings. Check
      boot animation (dark).
Test: Factory reset. Check boot animation (light).

Change-Id: I83e9853486c2bc0e9368eace96983b4d34ac8fa4
2019-11-20 11:50:24 +08:00
TreeHugger Robot
d72ec7ddbe Merge "Remove assist.xml because redbull has no elmyra" into qt-qpr1-dev 2019-11-19 03:10:59 +00:00
George Chang
5259cd6928 Add com.nxp.mifare feature flag
Bug: 144671324
Test: Check system feature from PackageManager
Change-Id: I2ac60e1184fb2fd7cb042738fbecc051bba9e413
2019-11-18 16:02:01 +08:00
chiayupei
46806eabc9 Remove assist.xml because redbull has no elmyra
Bug: 144546005
Test: Active Edge isn't shown in setting

Change-Id: Ia0ceb5714e6c420a5482d725c14ac4c78e4cf910
Signed-off-by: chiayupei <chiayupei@google.com>
2019-11-15 17:29:38 +08:00
Leo Liou
6208e1b91b lito: init: refactor ufs configure
* Remove hibern8_on_idle_enable config: auto-hibern8 not support.
* Req_stats & io_stats have moved to sysfs nodes.
* Refactor ufs path by system prop name
* Remove ufs debugfs setting

Bug: 137150088
Test: run bugreport and capture dumpstate_board
Change-Id: I0f620b8f32d8315f6f02d1db980a2a2c24e4fc75
Signed-off-by: Leo Liou <leoliou@google.com>
2019-11-15 16:14:54 +08:00
TreeHugger Robot
6bdcd995ae Merge "camera: Enable 4k@60fps recording" into qt-qpr1-dev 2019-11-15 07:42:35 +00:00
Vince Chiu
9b5d1dcb2a Merge "device.mk: enable HAL HDR+ by default" into qt-qpr1-dev 2019-11-15 05:55:51 +00:00
timothywang
34bfbd5793 camera: Enable 4k@60fps recording
Enable 4k@60fps recording for thermal testing.

Bug: 140150912
Bug: 144327520
Test: local build
Change-Id: I6e55efa3a0bf417eb42aba4ceefab7a1601cec62
2019-11-12 11:56:25 +00:00
TreeHugger Robot
9cf9e386e8 Merge "Revert "Set DEVICE_USES_SM8150_DIAG_HAL"" into qt-qpr1-dev 2019-11-12 04:21:08 +00:00
TreeHugger Robot
f853ef1e8b Merge "audio: add rt5514p firmware with version v1411" into qt-qpr1-dev 2019-11-11 07:15:37 +00:00
Salmax Chang
8825fc5f64 Revert "Set DEVICE_USES_SM8150_DIAG_HAL"
This reverts commit 430bf21e62.

Reason for revert: Use 7250 HAL

Change-Id: Id8e9ca76aacb288aa83105b2cbabba13f2f6b774
2019-11-11 06:00:31 +00:00
yixuanjiang
677ade142a audio: add rt5514p firmware with version v1411
add new firmware for new IC

Test: Verify on rt5514p chip
Bug: 143923113
Change-Id: Iae1fe1f3c43f25831c205da9d2cbb7aad1b8de61
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2019-11-08 06:35:48 +00:00
TreeHugger Robot
cb50b9af30 Merge "camera: Add camera 3 media profiles V1.0 for recording" into qt-qpr1-dev 2019-11-07 11:48:58 +00:00
TreeHugger Robot
222b7ef63b Merge "Sensors: Add property for storing sensor init log" into qt-qpr1-dev 2019-11-07 11:17:44 +00:00
Nick Chung
a0caeacb3a camera: Add camera 3 media profiles V1.0 for recording
camera id 3 is for dual rear cam before
we hide physical camera.

Bug: 144069918
Test: Build pass
Change-Id: I6c9eceef0f92c3ce6b22e418ac7572d257173592
2019-11-07 18:02:19 +08:00
TreeHugger Robot
02465f73b9 Merge "audio: enable soundtrigger feature" into qt-qpr1-dev 2019-11-07 07:19:21 +00:00
chened
9ece703028 device.mk: enable HAL HDR+ by default
Bug: 142837250
Test: build pass
Change-Id: I6cd7e59c238e80c2e39afe723b9d5de7136610b2
2019-11-06 18:01:29 +08:00
SalmaxChang
279784c404 init: Update modem_svc with argument option
Bug: 143849567
Bug: 143848483
Change-Id: I20716f5929b2d6efab00f3b261c1647625d67f6a
2019-11-06 09:30:11 +00:00
Roger Liao
2c4f50daf0 Merge changes from topic "LA.UM.8.13.R1.08.00.00.571.023-merge" into qt-qpr1-dev
* changes:
  Update display HAL in DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE
  lito: Remove display components from manifest
  Mark redbull as having overridden commands
  Fix for missing vendor.display.color@1.3.so
2019-11-06 07:39:24 +00:00
yixuanjiang
bf9eb97a49 audio: enable soundtrigger feature
1. update soundtrigger xml for sound trigger bargein support
2. disable useless LPMA feature (wcd codec only)
3. enable mic currency support

Bug: 143448328
Change-Id: I87cbc89d3696f42d58086b89665b514b4efbe09f
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2019-11-06 15:11:37 +08:00
TreeHugger Robot
46a0aa607c Merge "audio: update rt5514 firmware to version v1411" into qt-qpr1-dev 2019-11-05 09:04:42 +00:00
TreeHugger Robot
c73f9e95a6 Merge "Set DEVICE_USES_SM8150_DIAG_HAL" into qt-qpr1-dev 2019-11-05 03:18:21 +00:00
yixuanjiang
23a3c7c0f3 audio: update rt5514 firmware to version v1411
Roll back Google lib to Android Q models v2

Bug: 143448328
Change-Id: I4f8d03cf4fcf74b47ac24975f695d9bda8e1153c
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2019-11-04 10:29:47 +00:00
Roger Liao
2ec3796288 Update display HAL in DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE
Fix build break:
FAILED: out/target/product/***/verified_assembled_vendor_manifest.xml
...
Error: The following instances are in the device manifest but not specified in framework compatibility matrix:
    vendor.display.color@1.5::IDisplayColor/default
    vendor.display.config@1.10::IDisplayConfig/default
    vendor.display.postproc@1.0::IDisplayPostproc/default
    vendor.qti.hardware.display.composer@2.0::IQtiComposer/default
Suggested fix:
    1. Check for any typos in device manifest or framework compatibility matrices with FCM version >= 3.
    2. Add them to any framework compatibility matrix with FCM version >= 3 where applicable.
    3. Add them to DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE or DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE.

Bug: 143047891
Bug: 143303570
Change-Id: I01eba1b44e110f1181a6cef21c453c92cef0fa6a
2019-11-04 15:38:08 +08:00
Roger Liao
fda7a4d0a2 lito: Remove display components from manifest
Move composer, allocator, mapper, and config to
LOCAL_VINTF_FRAGMENTS to remove cross-component dependency.

Fix build break:
FAILED: out/target/product/***/verified_assembled_vendor_manifest.xml
...
File "out/target/product/***/vendor/etc/vintf/manifest/vendor.qti.hardware.display.composer-service.xml" cannot be added: HAL "android.hardware.graphics.composer" has a conflict.
File "out/target/product/***/vendor/etc/vintf/manifest/vendor.qti.hardware.display.composer-service.xml" cannot be added: HAL "vendor.display.color" has a conflict.
...

Reference from QCOM aa54dcab512c199da5ce702528d277959cf31164

Bug: 143047891
Bug: 143303570
Change-Id: I959176d70251df666943e12390d9fcb2b0bd25f5
2019-11-04 15:37:18 +08:00
Roger Liao
fa6201b3be Mark redbull as having overridden commands
To allow turning these into errors on other devices, and incrementally
fix these issue, set BUILD_BROKEN_DUP_RULES.

Fix build break

FAILED:
build/make/core/base_rules.mk:526: error: overriding commands for target
`out/target/product/***/vendor/etc/vintf/manifest/android.hardware.graphics.mapper-impl-qti-display.xml',
previously defined at build/make/core/base_rules.mk:526

Reference from: 66ee504dad9360df5c64b2d59cba130e701686e0

Bug: 143047891
Bug: 143303570
Bug: 77611511
Change-Id: Iac3a9845b79012dcb1fd25edc109bd1c3361739b
2019-11-04 15:37:09 +08:00
Roger Liao
b6a7bfcaf9 Fix for missing vendor.display.color@1.3.so
F linker  : CANNOT LINK EXECUTABLE
"/vendor/bin/hw/vendor.display.color@1.0-service": library
"vendor.display.color@1.3.so" not found

Bug: 143047891
Change-Id: I17798f955f258de6471c01356137d8b9467cdb7a
2019-11-04 15:36:49 +08:00
SalmaxChang
430bf21e62 Set DEVICE_USES_SM8150_DIAG_HAL
Use sm8150 diag hal instead of sm7250 one

Bug: 143739658
Change-Id: I8e4d0478ea189f5f81fc68a0e9095b11241b1009
2019-11-04 07:13:26 +00:00
Jason CH Hsu
30abbff287 Merge "audio: Enable cs35l41 function in audio hal" into qt-qpr1-dev 2019-11-04 03:32:03 +00:00
Rick Chen
8d466b86eb Sensors: Add property for storing sensor init log
ash_logger is to enhance debug mechanism when sensor init.
To enable this debug mechanism, set persist.vendor.debug.ash.logger 1
and persist.vendor.debug.ash.logger.time to proper time.
Sensor init log will be in /data/vendor/sensor/log/.

Bug: 143451200
Test: Build and flash vendor image. Check ash_logger can work.

Change-Id: Ief84720b708e4659fbad48b82ca5d8c0b6c8bc66
Signed-off-by: Rick Chen <rickctchen@google.com>
Signed-off-by: emilchung <emilchung@google.com>
2019-10-30 16:39:11 +08:00
TreeHugger Robot
7364e4873e Merge "Enable Bluetooth SAR" into qt-qpr1-dev 2019-10-29 09:16:31 +00:00
Ted Wang
817a889145 Enable Bluetooth SAR
Bug: 141097747
Bug: 140617931
Test: Manual
Change-Id: I26368ac34e79c3e6257d6c022ddeb69d4916ddf8
2019-10-25 11:22:59 +08:00
vincechiu
1f35f104fa device-common.mk: Disable HAL HDR+ by default
Bug: 142837250
Test: Test: ECA
Change-Id: Ifc7bc5b38ee22254f3459de2cc1881ffaaad963a
2019-10-24 13:30:06 +08:00
TreeHugger Robot
ecb811640f Merge "audio: update rt5514 firmware to version v1320" into qt-qpr1-dev 2019-10-22 08:02:35 +00:00
Leo Liou
0aa01bd353 Merge "device: lito: fstab: enable FBE config" into qt-qpr1-dev 2019-10-17 05:57:48 +00:00
TreeHugger Robot
953690b05c Merge "device-common.mk: disable asynchronous power mode" into qt-qpr1-dev 2019-10-17 04:55:29 +00:00
juyuchen
ee5676d61f audio: Enable cs35l41 function in audio hal
Bug: 142838853
Test: manual audio tests.

Change-Id: Ia909e245e15823c14ac324a7ea3e588eb0d7d614
Signed-off-by: juyuchen <juyuchen@google.com>
2019-10-17 04:16:51 +00:00
Leo Liou
52fcc65c69 device: lito: fstab: enable FBE config
Bug: 137153284
Test: build full rom and boot-to-home test
Change-Id: I68e922c6a58c3abbe952a839ca776a48e718d4b9
Signed-off-by: Leo Liou <leoliou@google.com>
2019-10-16 16:41:26 +00:00