Commit graph

184 commits

Author SHA1 Message Date
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
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
8731b76dbe Add BT SAR Tx Power Cap table to P21 devices am: 68270de177 am: 14fd303c41
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14439478

Change-Id: Ia73a7b804e11a2b84ce0ac494a2d3f1158c1b8ff
2021-05-07 01:59:15 +00:00
Labib
14fd303c41 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: Iaee6835050243bd2876ba23dea7fce5fe87c2a4b
2021-05-07 01:12:56 +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
1979e16f00 power_profile.xml: Fix typo "volatage" am: 4791bdabe3 am: a3f7abf526
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14452055

Change-Id: I5d8f23a6c8ce2ac88fe4ce2c0ff9a298aeb67af8
2021-05-06 18:09:43 +00:00
Chris Fries
a3f7abf526 power_profile.xml: Fix typo "volatage" am: 4791bdabe3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14452055

Change-Id: I2baa7ff3f2282d16ddc2fe87251c9260b51d4bf4
2021-05-06 17:49:05 +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
a084ec9e09 audio: add to support mmap record am: 80c7d2ef11 am: 7e504ab9ba
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14088589

Change-Id: I5944b509c8a0fa7571f845c38fa6707b5e9d26dd
2021-05-06 14:44:22 +00:00
millerliang
7e504ab9ba audio: add to support mmap record am: 80c7d2ef11
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14088589

Change-Id: Ica1f64c83c51a4704d366670bd246dcc44ef6f81
2021-05-06 14:31:12 +00:00
Robin Peng
b0b2f6154f raviole: fix $(ro.hardware) not works in "on property:" am: 7cc6cca546 am: 371255a818
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14439575

Change-Id: I7efc69cac9e60497232954302e4860ba5183698c
2021-05-06 14:13:39 +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
371255a818 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: Ie565c3f3f2d5ab60d57caf67c859561c8e4df9a3
2021-05-06 13:51:02 +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
David Li
0363262c2a audio: replace audio_pre_process with offload_effect and remove audio_pre_process am: a10a9d85f2 am: 1e2145beec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14434497

Change-Id: I069dbd1b9a1fbf7b579414996129a3d79bec8fbb
2021-05-06 03:14:42 +00:00
David Li
1e2145beec 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: I5ab2eb39cd45be4d6e144975272d4ca4affa9e06
2021-05-06 02:51:23 +00:00
Vince Leung
4a4554bcbb Remove audio-coupled-haptics support am: fd3f417352 am: 59500b2269
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14431937

Change-Id: I0faf798fbeaaad8f6afdae50cb8761ef74a02545
2021-05-06 02:50:01 +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
59500b2269 Remove audio-coupled-haptics support am: fd3f417352
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14431937

Change-Id: I8e33c986f68cbd2018f3e50d8dd19b18fff0d0e1
2021-05-06 01:54:59 +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
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