Commit graph

179 commits

Author SHA1 Message Date
Eddie Tashjian
7ecf224973 Add Oriole front cam display mipi table.
Bug: 179208113
Test: Check file presence.
Change-Id: I5df7da48d642e462327de4046f9b074ee1e38f43
2021-03-25 22:37:22 +00:00
Kai Shi
3f8dc9ad6d Update wifi currents based on the measurement.
Test: manual
Bug: 183661133
Change-Id: Ib11d0998be6c0286548b8c559b19ad3ab20cc169
2021-03-25 22:10:24 +00:00
Kai Shi
4c4329ca5d Update wifi currents based on the measurement.
Test: manual
Bug: 183661133
Change-Id: I87b1178d84e44a9540ad4f91de27940ec1c94dec
2021-03-25 20:57:03 +00:00
George Lee
1dbbc0a53b thermal: cellular mitigation on critical battery
Enable cellular mitigation on critical battery condition.

Bug: 181572536
Test: Local Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I310c3b67bc6a7f83a724005665eeda50b29469f7
2021-03-25 20:35:56 +00:00
justinweng
cd5aaf7fdf add AAC to A2DP offload support format
Bug: 168584138
Test: builds pass

Signed-off-by: justinweng <justinweng@google.com>
Change-Id: I59768fc12d759ceb2ab9569c57417a9b0f6c7026
2021-03-25 10:57:48 +00:00
millerliang
094c57ce4a audio: add to support raw and mmap
Add to support raw-playback and mmap-playback

Bug: 165737390
Test: OboeTester->Test Output
Signed-off-by: millerliang <millerliang@google.com>
Change-Id: I2e9f530bd5d4c6d1f8d6bc3504d2fd0472631fcb
2021-03-25 15:16:36 +08:00
Carter Hsu
353818761a audio: update camcorder tuning
Change list:
    update the parameters on each module on Camcorder(enable module: IIR1,
    linear gain, Surround, IIR2, AGC, MBDRC)

Bug: 181869495
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I9afc4cf202f65138d78040421a10148e2b5097b7
2021-03-25 07:09:54 +00:00
David Li
3a300b35c9 audio: add "LVM Enable" and "Decoder Reference Enable"
Turn on "LVM Enable" when the offload playback path is applied.

Bug: 180984363
Bug: 165719427
Test: make -j128
Test: test LVM effects and visualizer on offload playback on oriole
Change-Id: I5e64575ce39fe0e8d9f54913ccab9cc47da8763e
2021-03-25 03:04:18 +00:00
android-build-team Robot
98de4d40a0 Snap for 7233012 from a38369e11c to sc-v2-release
Change-Id: I79655bddc2eb11fe44000a9c015f3d6e4129da64
2021-03-25 01:01:29 +00:00
Carter Hsu
a38369e11c audio: update Fortemedia tables 20210323_V537
1. HA TX/RX FB tuning - TdDRC/FdEQ/PreEQ/PGA, and sync to HAC-TX
2. HH TX/RX FB tuning - TdDRC/FdEQ/PreEQ/PGA
3. HE no mic heaset NB/WB/SWB/FB - sync HH TX
4. TTY HCO/VCO NB/WB/SWB/FB - sync HH RX/TX
5. BT
    - BT HAC TX NB/WB/SWB/FB- sync HH TX
    - Downlink
           * Set RX PGA Gain to be 0.
               For all bandwidth NB, WB, SWB and FB.
	       For all BT scenarios: BTNB-NREC-off, BTNB-NREC-on, BTWB-NREC-off, BTWB-NREC-On,  BT-HAC.
           * Merge RX BT setting to BT-HAC for NB, WB, SWB and FB.
           * Set volume to be 0dB for all volume step.  For all bandwidth NB, WB, SWB and FB.
             For all BT scenarios: BTNB-NREC-off, BTNB-NREC-on, BTWB-NREC-off, BTWB-NREC-On, BT-HAC.

Bug: 174635995
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I0b9fd9e8421577c1bb07913e2740c60ed5a51b05
2021-03-24 11:26:41 +08:00
android-build-team Robot
eeb1c939dd Snap for 7230642 from 42ba6144f5 to sc-v2-release
Change-Id: I20f5a0ef7f683fbeec30f88f322d4b4d3a76dda6
2021-03-24 01:01:32 +00:00
Jasmine Cha
42ba6144f5 audio:waves: update tuning table (0322)
- improving the tonal balance in the treble region

Bug:179089765 #comment13
Test: mute on/off, L/R mixed, L/R swap

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ife791670350dbfddceb420d583c487dc6ce72a68
2021-03-23 07:06:23 +00:00
android-build-team Robot
ae4c906a8d Snap for 7227300 from 85646ce94c to sc-v2-release
Change-Id: I7a9e9c71f35a59e2316a4692711c340f55647d8d
2021-03-23 01:01:29 +00:00
linpeter
85646ce94c display: enable lbe supported property
Added vendor.display.lbe.supported read by hwcomposer.

Bug: 168848203
test: check lbe property
Change-Id: Ia27c17bc280bd01a9ec1a208a2809dde1f321612
2021-03-22 09:57:26 +00:00
android-build-team Robot
08f7e2bd5f Snap for 7223915 from f4f957aa94 to sc-v2-release
Change-Id: Ic0a03120343ade03b2fb6eaa13423d048f312f66
2021-03-20 23:01:47 +00:00
Kris Chen
f4f957aa94 o6r4: include udfps.mk
Bug: 183247684
Test: lunch oriole-userdebug; make -j$(nproc);
Test: lunch passport-userdebug; make -j$(nproc)
Change-Id: Ic3ba18142fd97f6eae751e6ce06eb48e47bb1c73
2021-03-20 01:58:04 +00:00
Ady Abraham
9a9d0243ae raven: enable frame rate override feature
Bug: 176940105
Test: atest FrameRateOverrideHostTest
Change-Id: I88f4f54cbb930a68ef45a7ec01e587b410d63e97
2021-03-20 01:52:33 +00:00
android-build-team Robot
16071f84bc Snap for 7222037 from 36dd88a33d to sc-v2-release
Change-Id: Ie0223dccc60f08e0629c5032e37a598567d9da58
2021-03-20 01:01:29 +00:00
Ilya Matyukhin
369d53cb09 raven: grant write access to the LHBM node
Bug: 182520014
Test: on device
Change-Id: I2de9933f7a7c13a5b278220ca54d3c89c0865f4f
2021-03-19 23:27:56 +00:00
Ilya Matyukhin
c0695517bc oriole: grant write access to the LHBM node
Bug: 182520014
Test: on device
Change-Id: I5c23c93ee0aa5fad745bf2344581d07e2e64b01c
2021-03-19 20:07:47 +00:00
PEI-HSIEN KUO
36dd88a33d Include LUT binary files
major changes:
    1. Include and build LUT binary
       prebuilt files.

Bug: 182729023
Test: Forrest build and run CTS tests.
Change-Id: Ifaac732f241ab42651521fa59f9c5b94aac097cc
2021-03-19 14:43:24 +00:00
yixuanjiang
3d84c1a5a9 audio: gain modify on handset-mic
Request From HW Darren and only modify on o6/r4

Test: verify by HW Darren
Bug: 182761985
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I5461ed54078dce1a532b345a923530fa00ddd97f
2021-03-19 17:33:15 +08:00
android-build-team Robot
39b48d400c Snap for 7219331 from 2fe803e23d to sc-v2-release
Change-Id: Iafabacc5ea5138679cee9ed62be05cf9289abdb9
2021-03-19 01:01:18 +00:00
linpeter
04cf15d289 slider/whitefin/oriole/raven: remove redundant brightness config
This config_screenBrightnessNits/config_screenBrightnessBacklight are not used
when we have the displaydeviceconfig (ddc) exist in screenBrightnessMap.

Bug: 177140883
test: check brightness table
Change-Id: I7855602652a39288965e7510084d98d4d040312d
2021-03-19 00:26:36 +00:00
Tai Kuo
2fe803e23d oriole: Launch twoshay during boot
Bug: 173330899
Test: twoshay is launched
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
Change-Id: I189f32e0fcb6b5880bc188971cc847603aafa4dc
Signed-off-by: Tai Kuo <taikuo@google.com>
2021-03-18 12:29:27 +00:00
linpeter
b71cbeefa2 Update the adaptive brightness table for oriole/raven
Bug: 177143493
test: check brightness table
Change-Id: Ic5968a75b676b016024dd317388f83b80a046ed5
2021-03-18 12:05:16 +00:00
linpeter
f3d8bf6fbe slider/whitefin/oriole/raven: add device-vendor make file
Bug: 177140883
Test: Check config is loaded in logs, test brightness.
Change-Id: I7f20f9bf7d15a22fb968176400f07e77ab42c633
2021-03-18 14:42:48 +08:00
YB Chiu
bff2bffb51 [MFG_API] [audio] update mixer table for usb headset gain
the usb headset gain control change to below
playback : tinymix -D 1 "Headset Playback Volume"
capture : tinymix -D 1 "Headset Capture Volume"

Bug: 182438057

Test: build pass
Change-Id: Ie66d0dfdb4975fae772be6a5d6524ad2358c7627
2021-03-18 03:06:59 +00:00
David Li
8a702b11f5 audio: add mixer_path for call screen mode 4 and hearing aid
Test: call screen mode 2 and 4, normal voice call
Bug: 165750425
Bug: 177914228
Bug: 181924779
Bug: 165753519
Change-Id: I2373dab47e54bda8b8bb9d7d4fbcde42c2f921d0
2021-03-18 02:20:28 +00:00
android-build-team Robot
02231334c2 Snap for 7216111 from 290866db4f to sc-v2-release
Change-Id: I9c9b7265b47ea1c0b5dd7489f07ffbf3facf33cc
2021-03-18 01:01:51 +00:00
TreeHugger Robot
290866db4f Merge "Revert "raviole: remove redundant includes"" into sc-dev 2021-03-17 14:18:29 +00:00
Bill Yi
c2e4a48eaf Revert "raviole: remove redundant includes"
Revert submission 13885469-whi-common-folder-post

Reason for revert: Those are not redundant. They are needed for AOSP builds.
Reverted Changes:
I43557b667:raviole: remove redundant includes
I7a5981fae:blueport: remove redundant includes

Change-Id: I21c98ac4876c8cbab96b9d8af5967103cf6eb9ee
2021-03-17 05:53:25 +00:00
TreeHugger Robot
9cd2c7ca54 Merge "raven: run trusty_apploader from system shell for faceauth" into sc-dev 2021-03-17 05:43:27 +00:00
Robin Peng
2a914e07bd Merge "raviole: remove redundant includes" into sc-dev 2021-03-17 05:21:10 +00:00
Ilya Matyukhin
98d9dd1e00 raven: run trusty_apploader from system shell for faceauth
Bug: 182953825
Test: on device
Change-Id: I27ec828b4c8e80e2b1dcfdc480bca069e18ebf22
2021-03-16 20:17:14 -07:00
android-build-team Robot
fc79c3dfb2 Snap for 7213262 from 1c60549d53 to sc-v2-release
Change-Id: Icd5f4572bedbd75c75a15996e68b0e2ee81fd24c
2021-03-17 01:01:30 +00:00
TreeHugger Robot
1c60549d53 Merge "Change system property of Oriole to place keyboard 10 dp higher" into sc-dev 2021-03-16 16:36:51 +00:00
Robin Peng
42c682f3d0 raviole: remove redundant includes
vendor/google_devices/raven/proprietary/device-vendor.mk
vendor/google_devices/oriole/proprietary/device-vendor.mk

Bug: 167996145
Change-Id: I43557b6671ac3b15ee70bc4300a842ebaa8a1f8c
2021-03-16 21:27:25 +08:00
TreeHugger Robot
79bf7f2e01 Merge "audio: update Waves tuning for O6" into sc-dev 2021-03-16 10:27:34 +00:00
HW Lee
b51e60eca7 Merge "audio: factory: remove temporal solution of gain control" into sc-dev 2021-03-16 10:06:56 +00:00
Jasmine Cha
a473cc65f0 audio: update Waves tuning for O6
First tuning for O6 from JJP.
  - significantly improved loudness
  - low frequency extension
  - improved treble balance

Bug: 179089765
Test: audio playback - LR mix/LR swap

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I673b112ca1a8c31201308cfd0c238393edf09634
2021-03-16 14:21:09 +08:00
android-build-team Robot
cf1f1ecb5b Snap for 7209903 from 688d9e787a to sc-v2-release
Change-Id: I977cea458076b07ac35e66570b91b3cd295c399d
2021-03-16 01:01:26 +00:00
Bill Yi
688d9e787a Merge "Add AOSP support for Raven and Oriole." into sc-dev 2021-03-15 16:46:51 +00:00
Tai Kuo
7c202b299e raviole: support touch sensitivity mode switching
Use a persist system property to control the touch driver attribute
file glove_mode.

0: default sensitivity mode (default)
1: high sensitivity mode

Bug: 173330977
Bug: 174189638
Test: manual test
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Id5e31bd335f8872993ea82ad9a7e7217ed9de5c6
2021-03-13 11:28:33 +08:00
android-build-team Robot
65840d065c Snap for 7205268 from 404d6b3a33 to sc-v2-release
Change-Id: I014e67c0593b449659b0803168d83cb75385c0ad
2021-03-13 02:01:47 +00:00
TreeHugger Robot
404d6b3a33 Merge "Fix the high speed mode profile" into sc-dev 2021-03-12 21:42:10 +00:00
Peter Liu
22181bf061 Fix the high speed mode profile
R4 and O6 supports high speed mode on logical(0) and main(2) camera currently.
Since P21 only exposes rear logical camera, keep the high speed mode exposed
only on rear logical camera too.

Bug: 181600286
Test: CTS no regression
android.hardware.cts.CameraTest#testImmediateZoom FAIL
android.hardware.camera2.cts.CaptureRequestTest#testZoomRatio FAIL
Tests Passed: 181, Failed: 2, Not found: 0, Status unknown: 0

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I2a20596a83e3eb0a8a26bbc596aac6b7c25ff950
2021-03-12 21:24:59 +00:00
Ilya Matyukhin
105bb1e432 Merge "raven: load the faceauth.app on boot" into sc-dev 2021-03-12 21:04:40 +00:00
yixuanjiang
b765c3f825 audio: Add PDM mic enabling flexibility
fix the multi-channel recording creates fail issue

Bug: 181849225
Bug: 174448901
Bug: 176208349
Test: verify by HW Oneal
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I728ebb2633257583a245c61b559fba4ec726efd4
2021-03-12 13:59:19 +08:00
TreeHugger Robot
9270a6ea38 Merge "thermal: remove vdroop1/2 for canopy compatibility" into sc-dev 2021-03-12 02:25:59 +00:00