Commit graph

1849 commits

Author SHA1 Message Date
Benjamin Schwartz
e04673cadf powerstats: Add device specific display states
Bug: 167216667
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I90ea3553ababbc802fdc6f893f698b85655b1ad9
2021-04-07 03:22:26 +00:00
android-build-team Robot
c0e96bc267 Snap for 7263361 from 56926638e1 to sc-v2-release
Change-Id: I48fc48f1dbab9ee321154c2ef3888172a1c971ac
2021-04-07 01:01:58 +00:00
juyuchen
56926638e1 audio: update speaker firmware and tuning
Tuning changes:
- Tuning for f0 limit samples for both top and bottom speakers
- HPF is now cutoff @ 120Hz (used to be 150Hz) for both top and bottom speakers

Firmware changes:
- Upgrade to v6.47 firmware for protection, cal, and diag firmware

Bug: 181874512
Test: manual audio tests

Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: I2ed80d2397a2f0fde4a8591e0986e3a3abf8e1b0
2021-04-06 15:42:15 +08:00
gillianlin
0a5b5bb2aa factory: rename vendor property with a prefix
rename the property with vendor prefix

Bug: 182954248
Test: Local verified
Change-Id: I9858ef62e32f3167e36fdc612f6850f1ec1d45cd
2021-04-06 06:35:26 +00:00
Benjamin Schwartz
c798cb39a0 Add power stats service for specific device
Bug: 183052760
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I20fa0e1b369f9b5f15e7881eea87ef699176dccc
Merged-In: I20fa0e1b369f9b5f15e7881eea87ef699176dccc
2021-04-06 01:31:44 +00:00
android-build-team Robot
b16ac81f31 Snap for 7256110 from 9420469be8 to sc-v2-release
Change-Id: I1a29043b8b6666c53b5dd7df27f8e01cc5908974
2021-04-03 03:01:14 +00:00
Beverly
9420469be8 Add physical button locations for raviole
Bug: 181020504
Test: physically measured on device
Change-Id: Ia989754a7af92d4de64185f08a52ec83b0fc3618
2021-04-02 10:03:36 -04:00
android-build-team Robot
cc3504f820 Snap for 7249665 from 207603f6b2 to sc-v2-release
Change-Id: Ifcae301846391aafcbffc121731aee84107c7ee5
2021-04-01 01:01:20 +00:00
Bill Yi
207603f6b2 Add scripts for generating raven/oriole factory images
TEST:None. No signed images yet

BUG: 182332166
Change-Id: I26cab3875ced5376838d359e70386553c5ee48ce
2021-03-31 16:51:25 +00:00
Bill Lin
d84ad0d2a3 Update Oriole screen decorations
- Tweaked rounded corners to have different top and bottom assets
- Adjusted the holepunch based on the pixel mapping
- Adjusted status bar height and top padding
- Configured the estimated display cutout area for a 118px box
- Adjust landscape status bar padding

Test: visual, manual
Bug: 179171394
Change-Id: If37587f60245d71c795a55bb8adead5029d1d41a
2021-03-31 09:57:17 +08:00
android-build-team Robot
2578d7d637 Snap for 7246408 from 038dc0267a to sc-v2-release
Change-Id: I5ee1406ebaeef1ad7733416b79d4b4f8c34d6466
2021-03-31 01:01:46 +00:00
Beverly
038dc0267a Add SystemUI config.xml
- Add doze parameters
- Add brightness values (currently copied from redfin)

Test: manual
Fixes: 183951335
Bug: 178066413
Change-Id: I229dbf7174fa0b91f22cf35b7183c98603fe3fec
2021-03-30 17:47:30 +00:00
android-build-team Robot
f2dd0538eb Snap for 7243396 from 56f0aac772 to sc-v2-release
Change-Id: Ic4be3f849cb3b108413a92cdd574a72088f3d4e1
2021-03-30 01:01:21 +00:00
Carter Hsu
3755b08b67 audio: add VoIP RX/TX
Bug: 165755752
Test: Build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I1393c55447b50dbff8ad590e48b9046a7f4ecc7d
2021-03-30 00:44:05 +00:00
Jasmine Cha
56f0aac772 audio: waves: support 64-bit algfx lib
Bug: 183174341
Test: manual audio test / playback

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I03337ac977836a04c5996f2833f42fbbeb0f2b42
2021-03-29 08:56:18 +00:00
Peter_Liang
5e7f6f65df Correct the voice packs path of Text-To-Speech.
1.Correct the file path.
2.Should put into corresponding device folder for Oriole and Raven.

Bug: 167996145
Test: manual test
Change-Id: I040077cc1c5a3a2e89f6aa12299c6ef2f1b7ca0f
2021-03-29 03:56:04 +00:00
Alex Hong
b8c5db3ad4 Keep slider/whitefin under Permissive mode
Bug: 171942789
Test: $ adb shell getenforce
Change-Id: I793daf5cff7e4ce549115c02f6b2a169e8c5ca10
2021-03-29 03:15:56 +00:00
android-build-team Robot
1915388ef2 Snap for 7239224 from 3f822142e6 to sc-v2-release
Change-Id: Ic1f9a353d03ea3ed2d42e368318f729de1370189
2021-03-27 03:02:13 +00:00
allenwtsu
3f822142e6 Add MMS UA, UAProf for O6/R4
Bug: 179612596
Test: by manual
Change-Id: I7c3522c3a2be89b964cc56277b777ba91c9fef60
2021-03-26 17:51:38 +00:00
android-build-team Robot
f5fdc86c69 Snap for 7236705 from cd5aaf7fdf to sc-v2-release
Change-Id: I1f2216579b676cbbc2a78b6fbab6735a0c7541f7
2021-03-26 01:01:28 +00:00
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