Commit graph

232 commits

Author SHA1 Message Date
Yichi Chen
12c3e6dc8b Raven: Enable smooth display with 120Hz am: 9cf71a9b1d am: f24c0ad6a7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14352363

Change-Id: I507fffefee843693f82ae13e3a288761d6c43a70
2021-05-15 05:10:34 +00:00
shawnlin
ac57ca748b Add hide cutout overlays to raven & oriole am: 1c49162f14 am: fe4dbd5cea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14278086

Change-Id: I2aa7e788be51a75df322893e82bd997ca9da6f23
2021-05-15 04:25:13 +00:00
Robert Lee
5a1021cc1f audio: bypass aoc post processing on speaker for factory audio test am: 4460dac76b am: bc4b0b8e94
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14308393

Change-Id: Iad21872f20ccc003911c32f0208fd9ffc8c8a460
2021-05-15 04:24:58 +00:00
Carter Hsu
fe955031d7 audio: update camcorder tuning am: efe83d40ff am: 757c83ed1a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14540970

Change-Id: Iaaf8664fb44f549dd312642993c5e1297b317ba0
2021-05-14 12:18:09 +00:00
Carter Hsu
f8402bbaa0 audio: update camcorder tuning am: efe83d40ff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14540970

Change-Id: I3f5e6ddc409cd5df0bfed4f48f5da9ac8393073a
2021-05-14 12:04:51 +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
ffcc05128d powerstats: Modify file path for nfc devices am: f849ce0944 am: 4f4066019c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14536868

Change-Id: Ic375a4c971eeb8f3e628b64a49733148ba3c12fd
2021-05-14 06:10:28 +00:00
Manish Varma
dd428311e6 powerstats: Modify file path for nfc devices am: f849ce0944
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14536868

Change-Id: Ie7180129c26d1bc60da338660cbd47b998c1c386
2021-05-14 05:57:08 +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
d67f0202d9 [LSC] Add LOCAL_LICENSE_KINDS to device/google/raviole am: fd537cda5e am: a3d977aca6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14541760

Change-Id: I6df453d0d1831429c68262f803ad6a997ad3f160
2021-05-14 05:01:20 +00:00
Bob Badour
a98d9af8b8 [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: I978309b717db8ab43beea0ed0950cdbc1ff4cc2f
2021-05-14 04:47:38 +00:00
Evan Laird
1abd05712d Exclude as package from camera cutout protection am: 3aff17cd21 am: 9bcf302bfa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14537985

Change-Id: I4f61ef8d9d8815b6a8bbd9bee007f297aedaa280
2021-05-14 03:01:21 +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
a2f548d86c Exclude as package from camera cutout protection am: 3aff17cd21
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14537985

Change-Id: I8f5168cdfc0fac0f19aded773399ed1a299147d2
2021-05-14 02:40:46 +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
2ed6535da9 Add scripts for generating raven/oriole vendor blobs am: 43331a3191 am: 74aa0d4e3d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14472614

Change-Id: Ic9922e277613c5d88d21ab611509fd9413508e6f
2021-05-13 20:20:07 +00:00
Bill Yi
f7deac6246 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: If6cbb3adde02cb9b7c3a7d46b31958ac56329600
2021-05-13 19:55:40 +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
1665835ff3 Add property for UDFPS antispoof am: 74dfc0cf92 am: 6492b8feda
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14461327

Change-Id: Icdeff3662a2b29136c5c4c66182ec7ed31f41bcd
2021-05-12 22:43:29 +00:00
Kris Chen
6492b8feda Add property for UDFPS antispoof am: 74dfc0cf92
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14461327

Change-Id: I98b626617e52c1695e0cf040dca35d3b762beebd
2021-05-12 22:21: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
Jason Lee
92cbed77d9 Cap VideoEncoderCap maxFrameRate to 30 am: 30e3d9a5f1 am: ee963d9588
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14494378

Change-Id: Icb1d4dc8a6c3f847bec5b5c3fd8479bbf8a64c4a
2021-05-12 03:00:37 +00:00
Carter Hsu
001fc06391 audio: separate the spatial audio and WNR block am: 4101e82133 am: 99078c21d0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14227306

Change-Id: I041fa306bdb49ad5a276ab99236b2248c9745d04
2021-05-12 03:00:05 +00:00
Carter Hsu
a0c0bd138a audio: update camcorder tuning for refactor am: 7870ae25e9 am: c8509d4fd1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14352370

Change-Id: Iea4686fe17577bf115dad0c6ada1d931ef5a4597
2021-05-12 03:00:04 +00:00
Jason Lee
ee963d9588 Cap VideoEncoderCap maxFrameRate to 30 am: 30e3d9a5f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14494378

Change-Id: I174d81b9c1fd079ab79a283e02748b77b3944f5f
2021-05-12 01:41:00 +00:00
Carter Hsu
99078c21d0 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: I940eb45fb443a4797059f8d2eed6a758c8b4e1e6
2021-05-12 01:40:48 +00:00
Carter Hsu
c8509d4fd1 audio: update camcorder tuning for refactor am: 7870ae25e9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14352370

Change-Id: I9964e698db983f49fd7973e215d63fa7d7ed1e63
2021-05-12 01:40:46 +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
c4fc9a648a Adjust R4 rounded corner & punch hole anti-aliasing am: ccd6d2ba9f am: 330e6c8936
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14494392

Change-Id: Ibf7726ce7cbdd6bc730b4b5bc989db041577fc12
2021-05-11 21:03:52 +00:00
Bill Lin
330e6c8936 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: Ib62fd17e82d13f72addbc444613b4332bc5ff431
2021-05-11 20:26:34 +00:00
Long Ling
4af1747bd7 display: add device specific adaptive calibration file am: 82756614b2 am: 925708614b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14396795

Change-Id: Ifb3b3c267743f52ecff01def4bc56416835e5d0b
2021-05-11 20:09:44 +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
925708614b display: add device specific adaptive calibration file am: 82756614b2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14396795

Change-Id: If88ab481659369424bab51153ef9c147b84067cd
2021-05-11 19:47:46 +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
b1bc2952e9 audio: waves: support handset device am: b794f75763 am: 9d3941ff58
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14494385

Change-Id: Id2414f2597ee6c96f56dcc6544fc0906e55bcf64
2021-05-11 12:08:09 +00:00
Jasmine Cha
9d3941ff58 audio: waves: support handset device am: b794f75763
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14494385

Change-Id: I5ee705fb716a180f1e5b6450783f80b628082b62
2021-05-11 11:53:06 +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
6b32d99eac audio: remove bt path for raw and mmap playback am: cdeb65a6c2 am: e3140e8cb8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14486299

Change-Id: Id3565adbd3851b4c204833786417aa4590f96ce9
2021-05-11 09:23:57 +00:00
millerliang
e3140e8cb8 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: Ie9d5795c6c62ee4c9c20feda022109c9bae03656
2021-05-11 08:20:55 +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
5359a6a7b6 audio: update Raven/Oriole mixer path to V2.0 am: c35126b2ef am: bcaad130b9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14484420

Change-Id: Ia9bd1a5037c1a0923d20f8d340a99cff8b420d45
2021-05-10 11:58:08 +00:00
Carter Hsu
bcaad130b9 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: I36454d8ce5d4bb3218df8de99010283b5d2eaef9
2021-05-10 11:34:09 +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
2ca01c61fe audio: add to support low-latency-record(fast intput) am: 9c06c83aa3 am: 377ea1eb94
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14461322

Change-Id: I2826cb47c834dda61377f82abbe2c286523560de
2021-05-07 11:33:07 +00:00
millerliang
377ea1eb94 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: I2b584edd55cf41100372e870ff1c7864dd8a814b
2021-05-07 11:11:37 +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
030891c473 audio: update FM tuning (20210506) am: 8cebbe53c6 am: b05c7119b6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14439572

Change-Id: I4a84fe6404c58a4463a24a732f77fd4f82eeb413
2021-05-07 03:40:50 +00:00
Jasmine Cha
b05c7119b6 audio: update FM tuning (20210506) am: 8cebbe53c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14439572

Change-Id: I91083c40b47d1d8b63a4b4463e6e327dbf8aaff1
2021-05-07 03:11:50 +00:00