Commit graph

1887 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
juyuchen
90f7214a9b audio: update speaker firmware and tuning am: 56926638e1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14098231

Change-Id: I93ac6d015c8f1b109dfc68ea53a458661a9e8f1a
2021-04-06 09:59:33 +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
dfa0c14900 factory: rename vendor property with a prefix am: 0a5b5bb2aa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14048532

Change-Id: Id476c92426482fdf5c102063512d0bda54dd2371
2021-04-06 07:09:06 +00: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
b81901cc1a [automerger skipped] Add power stats service for specific device am: c798cb39a0 -s ours
am skip reason: skip tag Change-Id I20fa0e1b369f9b5f15e7881eea87ef699176dccc with SHA-1 8cf084a3f9 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13921200

Change-Id: Icca69dfa9b7eb8e19d21e33b0c8b7420922f4ad7
2021-04-06 04:20:10 +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
Benjamin Schwartz
8cf084a3f9 Add power stats service for specific device
Bug: 183052760
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I20fa0e1b369f9b5f15e7881eea87ef699176dccc
2021-04-05 23:06:41 +00:00
Beverly
8a91ada70f Add physical button locations for raviole am: 9420469be8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14076389

Change-Id: If2b0d16ea5646955c101bb4c075c02578d7dd9a2
2021-04-02 17:10:13 +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
Bill Yi
51a1be838a Add scripts for generating raven/oriole factory images am: 207603f6b2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14036905

Change-Id: I7e24719082b88b5725059b9664bd20c207384be7
2021-03-31 17:30:45 +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
c28e7775de Update Oriole screen decorations am: d84ad0d2a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14017366

Change-Id: I146e50d5f32979558f3ddfe813e63d29bcd50265
2021-03-31 07:23:48 +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
Beverly
0cd89c043c Add SystemUI config.xml am: 038dc0267a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14034144

Change-Id: I7adfce6c6b4243511a8edb9e0b63bfb2947947c0
2021-03-30 18:27:11 +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
Carter Hsu
76d3dd22c0 audio: add VoIP RX/TX am: 3755b08b67
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13910230

Change-Id: If0ac9e1b9a37995359e3064b3847ef15d5af3a24
2021-03-30 01:13:26 +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
4724941af5 audio: waves: support 64-bit algfx lib am: 56f0aac772
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14011956

Change-Id: I444788020ea75e899a3cf7179421808f1e8f94e4
2021-03-29 09:21:35 +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
b1beefe567 Correct the voice packs path of Text-To-Speech. am: 5e7f6f65df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14011945

Change-Id: I6848e14f99abffd36a1027a13fd806b8858e5450
2021-03-29 04:14:30 +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
333ad75805 Keep slider/whitefin under Permissive mode am: b8c5db3ad4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13989143

Change-Id: Iaa0261c21be48880fa594fd0ce11aea66093f9e4
2021-03-29 03:42:31 +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
allenwtsu
4bf77065cf Add MMS UA, UAProf for O6/R4 am: 3f822142e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13945525

Change-Id: I6fcd290fd3a201ed27b41822758a3b69086b16ba
2021-03-26 18:15:15 +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
Eddie Tashjian
e1a06e7a43 Add Oriole front cam display mipi table. am: 7ecf224973
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13997019

Change-Id: Ie46bc7e69cf0ffa54d36aa85a9106c0e42ecc5ab
2021-03-25 23:00:46 +00:00
Kai Shi
79df2aba80 Update wifi currents based on the measurement. am: 3f8dc9ad6d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13997018

Change-Id: I07e057533f3fc5285e5d9f7afa1c05294301eb81
2021-03-25 22:59:31 +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
aa4b9d4dc7 Update wifi currents based on the measurement. am: 4c4329ca5d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13990191

Change-Id: I3710c8f9808b54d7d477e8de2a413e76ca83dc2e
2021-03-25 21:14:26 +00:00
George Lee
7f37a86484 thermal: cellular mitigation on critical battery am: 1dbbc0a53b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13806357

Change-Id: I589323cbedc110831a1894503575438fb881fb75
2021-03-25 21:14:14 +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
ebfa317306 add AAC to A2DP offload support format am: cd5aaf7fdf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13875246

Change-Id: Ief51bbbac02d1410a12d8cd22e87a32e8078efbe
2021-03-25 11:29:13 +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
fa9159cf88 audio: add to support raw and mmap am: 094c57ce4a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13841105

Change-Id: I31c579373a47e35b2d6e80365b8b701c18691db1
2021-03-25 10:02:38 +00:00
Carter Hsu
c1d24046bb audio: update camcorder tuning am: 353818761a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13975518

Change-Id: Id4ed809342ec9e9704a72b2c340f189eb9611dae
2021-03-25 08:03:49 +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
d53f9141b8 audio: add "LVM Enable" and "Decoder Reference Enable" am: 3a300b35c9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13975506

Change-Id: I29c2586c2ce59b4448b7c611d245d35f5e5b7a6e
2021-03-25 03:43:33 +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
Carter Hsu
ed35d90bf0 audio: update Fortemedia tables 20210323_V537 am: a38369e11c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13860747

Change-Id: I9f3dcaf191bf2faf225b79d8679932faf1b1a82e
2021-03-24 12:30:11 +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
Jasmine Cha
c6a807d1c7 audio:waves: update tuning table (0322) am: 42ba6144f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13959274

Change-Id: I59b20e66017873f0334362e8d286e22fad09d341
2021-03-23 08:40:40 +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
linpeter
6bdecf7dc3 display: enable lbe supported property am: 85646ce94c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13794944

Change-Id: I1f03c772d1f845f5aa6ab27b5eca0dead34b7a8b
2021-03-22 14:24:35 +00:00
Kris Chen
3f546b7826 o6r4: include udfps.mk am: f4f957aa94
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13929863

Change-Id: Ia8008d9e9d8744f2054e176ad991afa95908691e
2021-03-22 13:53:48 +00:00
Ady Abraham
a664abe1b7 raven: enable frame rate override feature am: 9a9d0243ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13932329

Change-Id: I7fd8912c15b3fdbc3dc3d89fffe3c2e009a087d8
2021-03-22 13:08:49 +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