Commit graph

179 commits

Author SHA1 Message Date
android-build-team Robot
a9b5fd105f Snap for 7360053 from 43331a3191027698287c8e3831458681a12be789 to sc-v2-release
Change-Id: I7d53e852c30e8178f5e29389c1d8789b0d261d94
2021-05-14 01:02:25 +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
android-build-team Robot
9bd8111ed8 Snap for 7357013 from 74dfc0cf92 to sc-v2-release
Change-Id: Ia35fd4b600d9ca6cd93c9b1933a3464b20ef7def
2021-05-13 01:02:35 +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
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
android-build-team Robot
dd9765107c Snap for 7354453 from ccd6d2ba9f to sc-v2-release
Change-Id: I10cb91b8ed83affde6dbf841bc6992a19be9566d
2021-05-12 01:02:18 +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
82756614b2 display: add device specific adaptive calibration file
Bug: 184096624
Change-Id: I813b9310291f33c81ace8e82ebf1a71284c7e795
2021-05-11 18:54:35 +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
android-build-team Robot
20035f2ee7 Snap for 7351654 from c35126b2ef to sc-v2-release
Change-Id: I2c7d48a14ebc831f499ccc964c27277a2b0bdf06
2021-05-11 01:02:15 +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
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
android-build-team Robot
f157d0043b Snap for 7347062 from 9c06c83aa3 to sc-v2-release
Change-Id: I3561a4c1d9619b13aeaa133481ba7cc2432ba7b6
2021-05-08 03:02:17 +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
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
android-build-team Robot
a1a1c6fefc Snap for 7343210 from 4791bdabe3 to sc-v2-release
Change-Id: I0a5dd362ec41e600f3264a420b4e1c5b7d435d71
2021-05-07 01:02:04 +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
4791bdabe3 power_profile.xml: Fix typo "volatage"
Bug: 135906639
Change-Id: I7457ba49170d59cf88ffcb4ef8fedd980f391a05
2021-05-06 17:26:11 +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
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
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
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
android-build-team Robot
f86ab37634 Snap for 7339742 from c6f7d94f22 to sc-v2-release
Change-Id: I8a98eb57f0b6902c62d97310e3446604150b31bb
2021-05-06 01:02:51 +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
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
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
ec305ad298 Snap for 7336869 from 296196c25b to sc-v2-release
Change-Id: Ieee1ba55c06868c3f5a567da6b0bd9ee1c0b6e91
2021-05-05 01:02:25 +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
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
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
android-build-team Robot
7098e2fa2c Snap for 7333400 from ca7a6331ef to sc-v2-release
Change-Id: Iade726821c9ed93ed76eb4088fe4b4fbdbe06fe8
2021-05-04 01:02:02 +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
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
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
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
4303659f39 Snap for 7325276 from 4460dac76b to sc-v2-release
Change-Id: Ibe54462e6c35fda21a27ca078a0e31c99496bdbd
2021-04-30 01:02:17 +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
540ccf3325 Snap for 7321546 from 29c600ea29 to sc-v2-release
Change-Id: I2ed74a539afb1290972b6de5445453a2f34523f8
2021-04-29 01:02:20 +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
c8ce3761f8 Snap for 7318334 from 8e79346260 to sc-v2-release
Change-Id: I62aacd62ef7ee0fe1418ee9b2f6f5727bea84abe
2021-04-28 01:02:00 +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
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
android-build-team Robot
9d1fe44da6 Snap for 7310088 from 65afc07bcb to sc-v2-release
Change-Id: I34e5d62b2ab565f5f74fc8989b39ccadda542e90
2021-04-24 03:02:10 +00:00
android-build-team Robot
e1329f5d71 Snap for 7306623 from eab909573b to sc-v2-release
Change-Id: Ic6348fca6d72f683a3211c34403a2c385424d7d7
2021-04-23 01:01:52 +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
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
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
android-build-team Robot
660aa91342 Snap for 7302914 from 60d11bce2f to sc-v2-release
Change-Id: Ie5fbf0a13bc53b4eaab3a6aeda35fdec080f6491
2021-04-22 01:02:22 +00:00