Commit graph

273 commits

Author SHA1 Message Date
android-build-team Robot
e93c7cf47e Snap for 7347304 from 5d944facb0 to tm-release
Change-Id: I26b05fbbb3c401483908164c5606adc5397db0db
2021-05-08 05:01:25 +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
android-build-team Robot
25e56111c6 Snap for 7343892 from cf879c5b96 to tm-release
Change-Id: I439b2109b339193d2c0f6378f41d025349436f66
2021-05-07 03:01:37 +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
Labib
b22726d4ca Add BT SAR Tx Power Cap table to P21 devices am: 68270de177
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14439478

Change-Id: I3b473213e94e7d7350b3532a43fb0cb5fa2309f2
2021-05-07 01:11:18 +00:00
Labib
68270de177 Add BT SAR Tx Power Cap table to P21 devices
Bug: 187257485
Change-Id: Ia97fafe9e1fcf6b3e980d8af7718094307c36aff
2021-05-07 00:53:15 +00:00
Chris Fries
cf879c5b96 power_profile.xml: Fix typo "volatage" am: 4791bdabe3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14452055

Change-Id: I2c72d8956a000a615565a2e633980c350647ea2d
2021-05-06 17:47:07 +00:00
Chris Fries
4791bdabe3 power_profile.xml: Fix typo "volatage"
Bug: 135906639
Change-Id: I7457ba49170d59cf88ffcb4ef8fedd980f391a05
2021-05-06 17:26:11 +00:00
millerliang
a70bb85257 audio: add to support mmap record am: 80c7d2ef11
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14088589

Change-Id: Ia68559395d29c53bb0cd917271273578cc1730c8
2021-05-06 14:29:19 +00:00
millerliang
80c7d2ef11 audio: add to support mmap record
Add to support mmap-record

Bug: 175673727
Test: OboeTester
Change-Id: Ib3dc9b5df969e972b6a1155a216eeb4e5e353b3f
Signed-off-by: millerliang <millerliang@google.com>
2021-05-06 13:59:32 +00:00
Robin Peng
c14e196e3e raviole: fix $(ro.hardware) not works in "on property:" am: 7cc6cca546
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14439575

Change-Id: Ie71c80caada4679ef402571dd5f13e2c8fe9bcfe
2021-05-06 13:48:53 +00:00
Robin Peng
7cc6cca546 raviole: fix $(ro.hardware) not works in "on property:"
use ro.vendor.factory to replace ro.build.flavor

Bug: 187391068
Change-Id: I85f880bd4ada673655afd91cd092dbd2f1f0fec3
2021-05-06 20:09:29 +08:00
android-build-team Robot
51b330f10c Snap for 7339917 from f47dd00498 to tm-release
Change-Id: I8462372b1e4eeb6db54f6848e2bacb948856b07b
2021-05-06 03:01:25 +00:00
David Li
944f964e56 audio: replace audio_pre_process with offload_effect and remove audio_pre_process am: a10a9d85f2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14434497

Change-Id: Ie38f8414bcace22e9c0b83b8d399345b61d82693
2021-05-06 02:49:33 +00:00
David Li
a10a9d85f2 audio: replace audio_pre_process with offload_effect and remove audio_pre_process
Move AEC and NS to the liboffloadeffect

Bug: 187153996
Test: make -j128
Test: run cts --include-filter "CtsMediaTestCases android.media.cts.AudioPreProcessingTest"
Change-Id: Ic4b7260b483b776ca917dc3694b7d66ba7eefde7
2021-05-06 02:28:43 +00:00
Vince Leung
a6dc8a27f4 Remove audio-coupled-haptics support am: fd3f417352
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14431937

Change-Id: Icaa3f68bbaf9e567b4f92b36a9f7a1a12e4dd515
2021-05-06 01:35:09 +00:00
Vince Leung
fd3f417352 Remove audio-coupled-haptics support
Temporarily remove haptics support so that Telecom fallback mechanism of
default vibration will play whenever audio coupled haptics is not
supported.

Bug: 186720581
Test: manually verify on raviole that default vibration plays for
ringtone

Change-Id: I77e4a4a7ff19e6665434d9318271d20cd64e6c1d
Signed-off-by: Vince Leung <leungv@google.com>
2021-05-06 01:11:50 +00:00
JohnCH Tsai
f47dd00498 slider: Enable 60fps for Raven front camera am: c6f7d94f22
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13899480

Change-Id: I435156f584014d6d0f95f87e8309134b311bb404
2021-05-05 09:54:10 +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
26e8bede06 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: I527f1a72d73f6a2223d163780c7fefe9bd45de58
2021-05-05 06:06:17 +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
cbe56e5b57 audio: add bt-mic for audio capture am: 5ed1fe327d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14410399

Change-Id: Iac127c28a2df0b8ecef5943377ac36be38bedcf8
2021-05-05 04:30:10 +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
android-build-team Robot
2816dbbc25 Snap for 7337154 from b1b8d82141 to tm-release
Change-Id: I64f2d0b7bf5b1008cc52572200a1d39bcd1fe966
2021-05-05 03:02:11 +00:00
Daniel Mentz
b1b8d82141 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: I7f5b5ff9b1aa64e177b64b492e6fad6b8b37387e
2021-05-04 20:09: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
fb0c53214e 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: I6edd9a7c9e64fe1b9ab1aa1a88c8b65675eec2d5
2021-05-04 09:19:56 +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
620949c14d waves: O6/R4: update preset file. (20210504) am: a0503c472b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14419436

Change-Id: Ib5d3bdf3311309a613e95a49dc01a4e84b03dabe
2021-05-04 03:27:33 +00:00
android-build-team Robot
b03db739c2 Snap for 7333432 from 057e44962e to tm-release
Change-Id: I6fc3f659436de5196a3ee91648e6dfc5ed05dc13
2021-05-04 03:01:28 +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
057e44962e Add Modem Thermistors am: ca7a6331ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14105368

Change-Id: I228901ab4b37286948f0742527d66f44f8e8b685
2021-05-03 20:54: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
0bad19b7d3 audio: add bt-mic for audio capture am: 7c81054244
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14264505

Change-Id: I69c98a42eb8a3c43c1dfc69a38483e9dc5e7ccd1
2021-05-03 17:39:39 +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
e71351d0b7 Raven: Enable smooth display with 120Hz am: 9cf71a9b1d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14352363

Change-Id: Idf556dd4a42a02ad780517029f89f4e579e4d289
2021-05-03 15:32:14 +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
11d3fd8d72 Add hide cutout overlays to raven & oriole am: 1c49162f14
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14278086

Change-Id: If07108e717738bb9687238eda71f1ad7534e91f5
2021-05-03 12:50:25 +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
android-build-team Robot
cb412d456c Snap for 7325308 from 57de54864b to tm-release
Change-Id: I4d85eb9747d4174ed9e2255e31b28beb840a87ce
2021-04-30 03:01:10 +00:00
Robert Lee
57de54864b 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: I146e6a50af460784b84216be30676f9ad30c38d4
2021-04-29 09:38:46 +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
android-build-team Robot
b268571475 Snap for 7321797 from 73fbe570be to tm-release
Change-Id: Ic1ad1cccae4e8bd9f2a89c1be08fcc4fcf0108cf
2021-04-29 03:01:26 +00:00
Roger Fang
73fbe570be 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: Icbc5bb75a03cfc2182acaf2001a6bfceb47a679f
2021-04-28 08:54:23 +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
android-build-team Robot
5b91742116 Snap for 7318350 from 6e1ba2a5a4 to tm-release
Change-Id: I76019b25b587fa4cde94f398d90f9faa1926b9af
2021-04-28 03:01:08 +00:00
Beverly
6e1ba2a5a4 Don't use binned brightness for prox am: 8e79346260
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14329143

Change-Id: I2b1763d5b7e37fe519cb51c70d152b786a6ff5c5
2021-04-27 21:39:11 +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