Commit graph

296 commits

Author SHA1 Message Date
HW Lee
0947428aea audio: remove unsupported TinyALSA controls am: eab909573b am: 4385aa9a15
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14257167

Change-Id: I72aaa92debd5447dc025d9e321a3f308f507f2c2
2021-05-16 11:10:28 +00:00
TeYuan Wang
05954d58a8 thermal: update raviole thermal table am: 60d11bce2f am: 4bcb950d71
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14065485

Change-Id: I8373ecd059698962792cb56dabcfaac05ff4458d
2021-05-16 11:10:25 +00:00
Carter Hsu
14c600f883 audio: update Fortemedia table 20210419_v538 am: e34a7c4e4e am: 4d20d17a64
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14233130

Change-Id: I92ba772ad80b18a1ae970552cd06b5cb71bc9edd
2021-05-16 11:10:22 +00:00
Chris Lu
aa49608d6b oriole: enable peak refresh rate (90hz) am: 49181e2af2 am: c45ccddbac
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14173751

Change-Id: I555d88f26cf40eadc84bf787487cf2d8b473145b
2021-05-16 11:10:19 +00:00
terrycrhuang
f5b051faaa Initial the modem svn am: fd95a68592 am: 8575cf4987
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14185020

Change-Id: I137e5f38d377b38e81f0aa99cf95c7f58730e8a2
2021-05-16 11:10:16 +00:00
Jie Song
96646d09ba Add preferred MIPI freqs for rear wide camera am: e4885979b2 am: ab67f7a22a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14236585

Change-Id: I98251486d651bc2837a3790fb0a26dcc9b89d5eb
2021-05-16 11:10:13 +00:00
Robert Lee
a6a58d25a2 audio: update speaker firmware and tuning am: 88ff6ea244 am: 01eaf2158e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14233131

Change-Id: I461eec4ae908d4018765d4e0f6a9c3679713f0e1
2021-05-16 11:10:11 +00:00
wenchangliu
12ce9c1679 Update recommended bitrate for each EncoderProfile from P20 am: 72ae1114d5 am: 744313a584
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14198729

Change-Id: If451b741e176ed9e9c6e0ee958c8d865355df2c5
2021-05-16 11:10:08 +00:00
Tai Kuo
97e07bc993 raven: Launch twoshay during boot am: cb7d8ddca3 am: 754e8cbc73
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13871566

Change-Id: Icf57cb7f8a42cd1547e629cbd2557ae3faf76eb5
2021-05-16 11:10:04 +00:00
Jack Wu
49cadf0875 battery: raviole: disable wireless for pts battery test am: 6e0bb1cb11 am: 6fe3201b8b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14186137

Change-Id: I6e04569f92d9a9f7d188ee2623231de050a5f02f
2021-05-16 11:10:01 +00:00
Peter_Liang
ca2a178026 Update the latest voice packs of Text-To-Speech and configs for am: d356ec5296 am: 65c2f5c8ca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14011946

Change-Id: I189a5e68f925b6828001cd1e41ccfef0fbd65850
2021-05-16 11:09:57 +00:00
Carter Hsu
c8813d0f75 audio: update camcorder tuning 20210407 am: f4852afcda am: 96a0e7a0e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14158205

Change-Id: I84a3ec8eccfc911f23f845cfedbc119c932826aa
2021-05-16 11:09:26 +00:00
Ilya Matyukhin
10bcc82cb5 raven: use GHBM for PROTO1.0 devices am: 71b5c99a7f am: 7a17ac3aee
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14193308

Change-Id: I32c302bc7794e9dc2639f96a9c372a73b3b14212
2021-05-16 11:09:22 +00:00
Ilya Matyukhin
44a94e4a78 oriole: use GHBM for PROTO1.0 devices am: 8e2b19558f am: fb61ef2e02
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14186187

Change-Id: I0d642bf7fb1eb471adb178367812e96696bbe6e9
2021-05-16 11:09:18 +00:00
Benjamin Schwartz
f2aa6cabce powerstats: Add Uwb stats am: eeaf5ea672 am: 2103b17c5a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14188640

Change-Id: If392e08681486f8f208481d773451cfe0197929f
2021-05-16 11:09:13 +00:00
Jasmine Cha
37176b03c7 audio: switch Audio HAL to V7 am: 2a6d256369 am: c7532a42f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13945527

Change-Id: Ibe4692e2e700da79793bfe3033f81365b4ca0a81
2021-05-15 22:08:16 +00:00
Bob Badour
c5c23c41b6 [LSC] Add LOCAL_LICENSE_KINDS to device/google/raviole
Added SPDX-license-identifier-Apache-2.0 to:
  self-extractors_oriole/google_devices/staging/Android.mk

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I78621e8342319b8579bb4fdef1e369e27b0f88dd
2021-05-14 12:04:36 -07:00
Carter Hsu
23ebd5b590 audio: update camcorder tuning am: efe83d40ff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14540970

Change-Id: If4bbbe47f11581ffddbcec2b4f0687ca31fd1655
2021-05-14 12:02:57 +00:00
Carter Hsu
572019b626 audio: update camcorder tuning
tuning table: 2021/05/14

R4:
Change list:
Tuning parameters were updated in gatf file
Bluenote parameters for camcorder were updated in template.xml

O6:
Change the parameters on IIR_2.

Bug: 181869495
Bug: 186721091
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I42eca1ab5dd39fce0d0a5feeb5599a22ad4378f3
2021-05-14 11:46:31 +00:00
Manish Varma
999124cf43 powerstats: Modify file path for nfc devices am: f849ce0944
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14536868

Change-Id: If1982d8796dd035b524ae8b3ba942a296efe0e1a
2021-05-14 05:55:20 +00:00
Manish Varma
9aa69ffde7 powerstats: Modify file path for nfc devices
Bug: 188084950
Test: dumpsys android.hardware.power.stats.IPowerStats/default

Signed-off-by: Manish Varma <varmam@google.com>
Change-Id: Ib0a937499b7192a2a93caa03003c52b9460ea51e
2021-05-14 05:24:54 +00:00
Bob Badour
1c9a456322 [LSC] Add LOCAL_LICENSE_KINDS to device/google/raviole am: fd537cda5e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14541760

Change-Id: I75d59eea31f1de73d897eeea20f535bf7326bb44
2021-05-14 04:45:29 +00:00
Bob Badour
4af08f11f4 [LSC] Add LOCAL_LICENSE_KINDS to device/google/raviole
Added SPDX-license-identifier-Apache-2.0 to:
  self-extractors_raven/google_devices/staging/Android.mk

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I4465b9b338826419cbfb2f961ccb2f6dbaffcea1
2021-05-13 19:45:06 -07:00
Evan Laird
42ed8c7050 Exclude as package from camera cutout protection am: 3aff17cd21
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14537985

Change-Id: Id41f2b4efba318882b4c2b3149d7ceed647d60b9
2021-05-14 02:39:24 +00:00
Evan Laird
106bc09824 Exclude as package from camera cutout protection
com.google.android.as is the attention detection package and does not
need the extra light leakage protection.

Test: manual
Fixes: 187917679
Change-Id: I9f8092c278c4799e9c1db52e64592bfa9494062d
2021-05-13 20:04:13 -04:00
Bill Yi
8496004858 Add scripts for generating raven/oriole vendor blobs am: 43331a3191
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14472614

Change-Id: If9e636ae47d2ad0a464d7ac882fcf5fea31bc887
2021-05-13 19:51:51 +00:00
Bill Yi
c003dbb164 Add scripts for generating raven/oriole vendor blobs
TEST:generated blobs from artifacts. Flashed device

BUG: 182332166
Change-Id: Id30463bdcad7a8e9818bc1db187c4e6f945d4d49
2021-05-13 18:50:29 +00:00
Kris Chen
3461bcc3f3 Add property for UDFPS antispoof am: 74dfc0cf92
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14461327

Change-Id: I61d740f62d09627c2b1ae43298fa0a2d097eeadb
2021-05-12 22:19:11 +00:00
Kris Chen
74dfc0cf92 Add property for UDFPS antispoof
Bug: 187394838
Bug: 187562932
Test: Antispoof is disabled by default.
Test: Use the following adb command to manully turn on antispoof.
      "setprop persist.vendor.fingerprint.disable.fake.override 0"
Change-Id: I56d1129af7e73a901ea5f3258517e68545c38894
2021-05-12 21:45:43 +00:00
Tomasz Wasilczyk
3a55c05b18 Support automotive builds.
Bug: 187195661
Test: build aosp_raven_car-userdebug and flash R4
Change-Id: I20decb81c3a7993ce75f807e26c2bc903d333340
2021-05-12 16:22:28 +00:00
Jason Lee
af9e2b0c04 Cap VideoEncoderCap maxFrameRate to 30 am: 30e3d9a5f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14494378

Change-Id: I98f40749ad893fbff24f3f012dd13f5af4cf35ba
2021-05-12 01:39:14 +00:00
Carter Hsu
a8e4bb849e audio: separate the spatial audio and WNR block am: 4101e82133
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14227306

Change-Id: I88ebc8720b3fadfabe6b77f32f8a001bebc571d0
2021-05-12 01:38:52 +00:00
Carter Hsu
0276ee6eb6 audio: update camcorder tuning for refactor am: 7870ae25e9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14352370

Change-Id: If6114f36c37867de2796e72b10837c00c5d1a00e
2021-05-12 01:38:49 +00:00
Jason Lee
30e3d9a5f1 Cap VideoEncoderCap maxFrameRate to 30
Fixes CTS without affecting GCA

Bug: 175830757
Test: GCA, CTS
Change-Id: Ia2569f1fffa556bfcf494351b2b75275863a9cea
2021-05-12 01:33:30 +00:00
Carter Hsu
4101e82133 audio: separate the spatial audio and WNR block
Bug: 186801118
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I38be2bfd58e864e7f17bc58109d5b4a77df5704b
2021-05-12 01:09:43 +00:00
Carter Hsu
7870ae25e9 audio: update camcorder tuning for refactor
tuning 2021/05/11

Bug: 186801118
Bug: 181869495
Bug: 186721091
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I97da52d76a69606243ca516057a9c09bb337d259
2021-05-12 01:09:43 +00:00
Bill Lin
2cbc9fcdf4 Adjust R4 rounded corner & punch hole anti-aliasing am: ccd6d2ba9f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14494392

Change-Id: I29c4d6a9715090f8969e5af7ad08bd6c64374b1a
2021-05-11 20:26:17 +00:00
Bill Lin
ccd6d2ba9f Adjust R4 rounded corner & punch hole anti-aliasing
1) Adjust the position of punch hole to match the H/W display

2) Previously, there wasn't rounded corner drawable for raven,
   R4 adapted with gs101 customization by default.

Test: make and flash ROM
Test: Observe rounded corner and punch hole
Bug: 179171408
Change-Id: Ib68797c870fb5ee1208c844a9863090856ad8ee7
2021-05-11 20:06:22 +00:00
Long Ling
a52434f3ca display: add device specific adaptive calibration file am: 82756614b2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14396795

Change-Id: If05eda963966befa3652f8e77bd35ce919573e50
2021-05-11 19:45:54 +00:00
Long Ling
82756614b2 display: add device specific adaptive calibration file
Bug: 184096624
Change-Id: I813b9310291f33c81ace8e82ebf1a71284c7e795
2021-05-11 18:54:35 +00:00
Jasmine Cha
6ac8beac56 audio: waves: support handset device am: b794f75763
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14494385

Change-Id: I3752f8cb7d9763ba05eb45ce05debc40475f6bd6
2021-05-11 11:51:01 +00:00
Jasmine Cha
b794f75763 audio: waves: support handset device
Bug: 165776638
Test: VOIP / voice/ playback/ record

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I2133cedac1cf718e3632df5f292a2688fc009428
2021-05-11 11:37:39 +00:00
millerliang
caf2de47e7 audio: remove bt path for raw and mmap playback am: cdeb65a6c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14486299

Change-Id: If76efeb9694a6ad117f391a894d9675a603d9f89
2021-05-11 08:18:56 +00:00
millerliang
cdeb65a6c2 audio: remove bt path for raw and mmap playback
In AOC, ULL support requires the sink to be ULL
Speaker, Analog HP and USB are ULL Sinks,
Modem and BT are LL

Bug: 165737390
Test: OboeTester --> TEST OUTPUT
Change-Id: I23da02a52586e2f5d017142b5947dd082cdc2c62
2021-05-10 22:11:38 +08:00
Carter Hsu
1c4365dd67 audio: update Raven/Oriole mixer path to V2.0 am: c35126b2ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14484420

Change-Id: Ie668ffeda7beed39c373a759a3e86ac2588489e0
2021-05-10 11:32:05 +00:00
Carter Hsu
c35126b2ef audio: update Raven/Oriole mixer path to V2.0
<Change List>
For mixer_paths.xml to both O6 & R4,
1. Update path name "voice-speaker" to choose VMON of bottom speaker AMP as EC reference under telephony HH mode.
2. Add the "boost peak current limit" control of cirrus speaker amps for initial value(3.50A) and below paths name.
    - "speaker" for stereo speaker playback, top amp with 1.70A, bottom amp with 1.90A
    - "speaker-safe" for mono speaker playback(ringtone, alarm, notification), bottom amp with 3.50A
    - "voice-handset" for telephony HA mode, top amp with 3.50A
    - "voice-speaker" for telephone HH mode, bottom amp with 3.50A
Bug: 174448901
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I8bb847fbf1fc8632edf7a4f27b22184a4dd828d4
2021-05-10 04:03:07 +00:00
millerliang
5d944facb0 audio: add to support low-latency-record(fast intput) am: 9c06c83aa3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14461322

Change-Id: Ib69c4102b1888f0f6228b50849b3eb5bc97beb1e
2021-05-07 11:09:19 +00:00
millerliang
9c06c83aa3 audio: add to support low-latency-record(fast intput)
AudioRecord not support PCM_FLOAT on FAST path yet.(b/77913243)
Use 16-bit format for low-latency-record.

Bug: 175673727
Test: OboeTester
Change-Id: I450d161cd1b236717ad01287b95f56a284443040
2021-05-07 16:58:11 +08:00
Jasmine Cha
7418073c09 audio: update FM tuning (20210506) am: 8cebbe53c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14439572

Change-Id: Ia305b4debe0ef25b1e9f5ef5f644d7101c3252e9
2021-05-07 03:09:25 +00:00
Jasmine Cha
8cebbe53c6 audio: update FM tuning (20210506)
- R4O6
  1. HA NB/WB/SWB/FB : EPD_Offset = 0x000
  2. HA NB/WB/SWB/FB : TX Mic dead parameter implented (includ HA-HAC TX)
    =>TX_MAINMIC_BLKFACTOR
    =>TX_REFMIC_BLKFACTOR
    =>DTD_THR1_7
    =>DTD_THE2_8
  3. HH NB/WB/SWB/FB : TX Mic dead parameter implented
    =>TX_MAINMIC_BLKFACTOR
    =>TX_REFMIC_BLKFACTOR
    =>DTD_THR1_7
    =>DTD_THE2_8
  4. Adding [EC off] / [NS off] / [ECNS off] on HAFB and HHFB

Bug: 174635995
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I23f6ad50ef42b3c6875cda54cb5179f5df423cfc
2021-05-07 02:27:00 +00:00