Commit graph

160 commits

Author SHA1 Message Date
JohnCH Tsai
2d8606ee38 slider: Enable 60fps for Raven front camera am: c6f7d94f22 am: 7d52d717fa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13899480

Change-Id: I6e03902702d3c506d737f41630e6d44c03477373
2021-05-05 10:19:05 +00:00
JohnCH Tsai
7d52d717fa slider: Enable 60fps for Raven front camera am: c6f7d94f22
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13899480

Change-Id: I3ab7659eb7dd51ab5ed6d8bf055e46c17f229428
2021-05-05 09:56:35 +00:00
JohnCH Tsai
c6f7d94f22 slider: Enable 60fps for Raven front camera
Change Raven front camera video recording to 60fps

Bug: 174339205
Test: go/slider-camera-test-checklist
Change-Id: Ieda8477b32754c0a9da7ff3c9cf59b11159cbad6
2021-05-05 09:19:12 +00:00
Robin Peng
6988b621c6 raviole: centralize common part of init.<DEVICE>.rc into init.raviole.rc am: 334022f5c6 am: 9d30290774
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14434498

Change-Id: I861c257e17b1a52ed00701614b6f3bf4c6ffe160
2021-05-05 06:23:58 +00:00
Robin Peng
9d30290774 raviole: centralize common part of init.<DEVICE>.rc into init.raviole.rc am: 334022f5c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14434498

Change-Id: I67102ac6aad6cf6553bf431e4145958c78ca0c65
2021-05-05 06:08:14 +00:00
Robin Peng
334022f5c6 raviole: centralize common part of init.<DEVICE>.rc into init.raviole.rc
Bug: 167996145
Change-Id: I1e12d64295ffd4f990ad97455dc8a1ab965b6133
2021-05-05 05:55:46 +00:00
Yung Ti Su
0bf3c79702 audio: add bt-mic for audio capture am: 5ed1fe327d am: 7e6c971273
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14410399

Change-Id: Ifd87e3b91764942da5f89f5279e344d7aa5a9ed2
2021-05-05 04:47:49 +00:00
Yung Ti Su
7e6c971273 audio: add bt-mic for audio capture am: 5ed1fe327d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14410399

Change-Id: Ic0520a0ea66f1249e25213cd9595e8603e2e3139
2021-05-05 04:32:32 +00:00
Yung Ti Su
5ed1fe327d audio: add bt-mic for audio capture
slider / whitefin

Bug: 185209822
Test: build pass

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Id8da30e39773e625d4e77890452f1c6489755452
2021-05-05 04:10:29 +00:00
Daniel Mentz
5ffd23f767 init.insmod.*.cfg: Migrate from insmod to modprobe am: 296196c25b am: a440acb79b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14346002

Change-Id: If48c56a95833366762341ba6115d7c07f0df4dfc
2021-05-04 20:33:35 +00:00
Daniel Mentz
a440acb79b init.insmod.*.cfg: Migrate from insmod to modprobe am: 296196c25b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14346002

Change-Id: I00ad6ded42519cc48ecce23649c09ee817b0ee77
2021-05-04 20:11:34 +00:00
Daniel Mentz
296196c25b init.insmod.*.cfg: Migrate from insmod to modprobe
modprobe is smarter about locating .ko files if they are stored in
subdirectories. For example, it finds heatmap.ko regardless of whether
it's stored in /vendor/lib/modules/heatmap.ko or
/vendor/lib/modules/extra/heatmap.ko.  modprobe also loads all
dependencies automatically.  Let's migrate from insmod to modprobe.

Bug: 185184472
Change-Id: I439fdc76fb6211b416541256c92169da12b0100d
2021-05-04 19:55:59 +00:00
Yanting Yang
f7dd23feb9 Add initial MIC e-label for JP SKU of Oriole am: 24333156a4 am: 8526985d8f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14409537

Change-Id: I43f7ef82e36d6918718b94eace21272f654c3632
2021-05-04 09:43:32 +00:00
Yanting Yang
8526985d8f Add initial MIC e-label for JP SKU of Oriole am: 24333156a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14409537

Change-Id: Icb882cb5c5ed7f3581ae72fd37f7b22b86e8ff33
2021-05-04 09:27:09 +00:00
Yanting Yang
24333156a4 Add initial MIC e-label for JP SKU of Oriole
Bug: 182864706
Test: visual
Change-Id: I1878bd6aacfed834d618d88d325d530098d1ce27
2021-05-04 09:01:27 +00:00
Jasmine Cha
c4d69f3982 waves: O6/R4: update preset file. (20210504) am: a0503c472b am: 69f9f60c33
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14419436

Change-Id: Ifc80dea888599c6fe85734f745869b5e8ff119ff
2021-05-04 03:58:11 +00:00
Jasmine Cha
69f9f60c33 waves: O6/R4: update preset file. (20210504) am: a0503c472b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14419436

Change-Id: I4f966fab8288c50b9f2738bda51ccd069eeb601f
2021-05-04 03:29:33 +00:00
Jasmine Cha
a0503c472b waves: O6/R4: update preset file. (20210504)
- O6
  - Improves the loudness of O6 while maintaining tonal balance.
  - Improve loudness and tonal balance of ringtones and notifications
    on speaker-safe.
- R4
  - Significantly increases the perceived loudness of the
    speakers at maximum volume.
  - Improves the tonal balance and is tuned for distortion
    mitigation for 1.8A current limits.
  - Improves the loudness and tonal balance of ringtones and
    notifications on speaker-safe.

Bug: 179089765
Bug: 179089856
Test: playback, mute on/off, bypass, lr swap/mixed

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6bc5abfcb2d393c51946524861119629f158cbe2
2021-05-04 02:03:11 +00:00
Blake Kragten
2b1ca4fa27 Add Modem Thermistors am: ca7a6331ef am: eadab45dc8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14105368

Change-Id: I03aa8679f93fd7e8ff550310cceba806998cea00
2021-05-03 21:13:15 +00:00
Blake Kragten
eadab45dc8 Add Modem Thermistors am: ca7a6331ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14105368

Change-Id: I8d1e7c56e7023eead5781632cf67d6cab8675f5e
2021-05-03 20:56:54 +00:00
Blake Kragten
ca7a6331ef Add Modem Thermistors
To make thermisters rf1_therm and rf2_therm visible to thermal hal they
are needed to be added to the thermal_info_config

Bug: 171092743
Test: On Device
Change-Id: I6ae8933afed7cfbd9b90290eddb7b84aaa7612de
2021-05-03 20:27:29 +00:00
Carter Hsu
15623bc57a audio: add bt-mic for audio capture am: 7c81054244 am: d1d06aa5ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14264505

Change-Id: I0e2d321b7a11c033033189e17fbebd63662d6b73
2021-05-03 18:10:01 +00:00
Carter Hsu
d1d06aa5ae audio: add bt-mic for audio capture am: 7c81054244
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14264505

Change-Id: Icbbc47a3225d19201e95867e31227ce3779bd3df
2021-05-03 17:41:34 +00:00
Carter Hsu
7c81054244 audio: add bt-mic for audio capture
Bug: 185209822
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I4d37148ed75e57e8077b6a752b190ee87d289a9a
2021-05-03 17:17:33 +00:00
Yichi Chen
ffb572b624 Raven: Enable smooth display with 120Hz am: 9cf71a9b1d am: 633c352a8d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14352363

Change-Id: I8d8bf613214013826264d2329a568586bf3536ea
2021-05-03 15:47:48 +00:00
Yichi Chen
633c352a8d Raven: Enable smooth display with 120Hz am: 9cf71a9b1d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14352363

Change-Id: I9d05d29254b3343066c2ddf006ee3bb02cf87062
2021-05-03 15:34:00 +00:00
Yichi Chen
9cf71a9b1d Raven: Enable smooth display with 120Hz
The patch turns on smooth display in Settings App by default to allow
more users experience 120Hz. Users can still disable the feature in
Settings App.

Bug: 185102566
Test: Basic panel flickering and performance tests by UTD
Change-Id: I67420f5625294873095c624d75ee7914bbe22035
2021-05-03 14:59:47 +00:00
shawnlin
ce6a80650c Add hide cutout overlays to raven & oriole am: 1c49162f14 am: ab81327ec5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14278086

Change-Id: I7e82c6d2c82c99b882cc0f693afa4e0ff58e9c30
2021-05-03 13:05:53 +00:00
shawnlin
ab81327ec5 Add hide cutout overlays to raven & oriole am: 1c49162f14
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14278086

Change-Id: I75610031ec65052df2568ef55699f74bcf013883
2021-05-03 12:52:14 +00:00
shawnlin
1c49162f14 Add hide cutout overlays to raven & oriole
Bug: 185779885
Bug: 185779883
Test: make
Change-Id: Ib6e9207e7d26ae815e10af6705fc6b7dd6dada1c
2021-05-03 12:28:28 +00:00
Robert Lee
0f5993d1be audio: bypass aoc post processing on speaker for factory audio test am: 4460dac76b am: 808ce6ebc6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14308393

Change-Id: Id5d586c4f233b6e09e2556242e8d1619311c24be
2021-04-29 10:01:21 +00:00
Robert Lee
808ce6ebc6 audio: bypass aoc post processing on speaker for factory audio test am: 4460dac76b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14308393

Change-Id: I131e90217183c83339c43eb87e3083d8d29b9db7
2021-04-29 09:40:49 +00:00
Robert Lee
4460dac76b audio: bypass aoc post processing on speaker for factory audio test
For Cirrus amp, ASP means Audio Serial Port.
For AoC, ASP means Audio Signal Processing.

Bug: 184238845
Test: manual test factory test command
Change-Id: I8d62535056ef680e14ccc708c8f722a3dfab12ab
Signed-off-by: Robert Lee <lerobert@google.com>
2021-04-29 09:18:46 +00:00
Roger Fang
ceffb538b5 device: google: load audio_ext module to support audio suez am: 29c600ea29
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14186140

Change-Id: I8aee47ec205920b5bc8accd2b0904a74f3483e03
2021-04-28 08:55:58 +00:00
Roger Fang
29c600ea29 device: google: load audio_ext module to support audio suez
Bug: 171854614
Test: manually test passed
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Ib3cb34d045d80ba69f930dab0d9277c72208ae97
2021-04-28 03:10:20 +00:00
Beverly
ee6cf2ecdc Don't use binned brightness for prox am: 8e79346260
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14329143

Change-Id: I663724e19aa1ffd847d2e89926bd1aa022374cce
2021-04-27 21:40:49 +00:00
Beverly
8e79346260 Don't use binned brightness for prox
Because binned brightness on R4/O6 isn't reporting prox anymore,
instead, use the default prox sensor

Test: manual
Bug: 183677790
Change-Id: I2e65846f41b4b313ddd288fa4cf989d06779e446
2021-04-27 20:58:49 +00:00
juyuchen
bc68a5e47d audio: update audio platform table am: 47166c6085
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14248598

Change-Id: Ib229c76f6c5504f0e95399a433b0597a5d124ec1
2021-04-27 11:48:01 +00:00
juyuchen
47166c6085 audio: update audio platform table
Increase period size to avoid using Fastmixer in the deep buffer
playback.

Bug: 185096280
Test: manual audio tests
Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: I8ce12f151eaa9b711e1dacaf12e2f70c0555bf30
2021-04-27 11:15:12 +00:00
Benjamin Schwartz
cebdef70d3 powerstats: Add NFC stats am: 65afc07bcb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14269205

Change-Id: Ib65350f91e7785fcb5fc1e3eed7a79359776b470
2021-04-23 00:01:48 +00:00
Benjamin Schwartz
65afc07bcb powerstats: Add NFC stats
Bug: 184722506
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I3b8dce2f7170c686a619dfda1002a49edf3a5428
2021-04-22 23:38:44 +00:00
Victor Liu
987212b4e2 Revert "device: don't build uwb" am: 0bc47d654b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14255321

Change-Id: Idc0520b66b9a1dec38fa5d04827f458f6a03ab6a
2021-04-22 22:52:51 +00:00
Victor Liu
0bc47d654b Revert "device: don't build uwb"
This reverts commit 7357dbcb59.

Reason for revert: Fixed uwb service crash
Test: flash on raven, verify uwb service is idle, unplug usb
Change-Id: I2f3a3a73d16e8a282fdbb171bf60ad2cafa0d7c5
2021-04-22 22:27:45 +00:00
HW Lee
4385aa9a15 audio: remove unsupported TinyALSA controls am: eab909573b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14257167

Change-Id: I955e8bf6e6ccbbfbda488d4fcd1e16978b7ac88b
2021-04-22 02:07:56 +00:00
HW Lee
eab909573b audio: remove unsupported TinyALSA controls
Bug: 185443616
Test: build pass
Signed-off-by: HW Lee <hwlee@google.com>
Change-Id: I84abb4a1d59ff8344d7fc308be7f82c21b591b00
2021-04-22 01:31:14 +00:00
TeYuan Wang
4bcb950d71 thermal: update raviole thermal table am: 60d11bce2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14065485

Change-Id: Ifbe3cd3a5cf76e3af66bdb9c731be783bedc3b48
2021-04-21 16:14:34 +00:00
TeYuan Wang
60d11bce2f thermal: update raviole thermal table
Test: verified thermal throttling with emul temp
Bug: 183571707
Bug: 170653634
Bug: 170670750
Change-Id: Iebfc11483e2ebbf0d7fe59edf8818ccb4325457e
2021-04-21 15:44:39 +00:00
Carter Hsu
4d20d17a64 audio: update Fortemedia table 20210419_v538 am: e34a7c4e4e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14233130

Change-Id: I581ecaf02a0e52e6639659e237421b3b7e845ff5
2021-04-21 07:18:22 +00:00
Carter Hsu
e34a7c4e4e audio: update Fortemedia table 20210419_v538
//R4O6
1. HA NB/WB/SWB/FB : adjust Mic SRC assignment /  RX& TX  Response adjust
2. HH NB/WB/SWB:  TX/RX distortion fine tuning,  WB TX PGA gain -> 0x1000
3. HE TTY  HCO: sync the latest of HH RX
4. HE TTY VCO: sync the latest of HH TX
5. HE Headphone:  sync the latest of HH TX

Bug: 174635995
Test: phone call
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ie384611a64bf6f837909f586fa4003345e4d292c
2021-04-21 06:54:05 +00:00
Chris Lu
c45ccddbac oriole: enable peak refresh rate (90hz) am: 49181e2af2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14173751

Change-Id: I060c5fbf2b515cf9675c2d0265aafca10bfdfa7a
2021-04-21 03:06:23 +00:00