Commit graph

490 commits

Author SHA1 Message Date
Jasmine Cha
1a03af100d Revert "audio: update waves preset tables (20210603)" am: 73845fb1d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880396

Change-Id: I8e51118b0da929a7fed5fbcbb162b040cd6b2477
2021-06-08 02:03:47 +00:00
Jasmine Cha
5fdaa9607c Revert "audio: update waves preset tables (20210603)"
This reverts commit acc536dd2588d2f5c74733c82c02cb83f0a8278d.

Reason for revert: unexpected loud touch/unlock sound from b/190395012

Bug: 190395012
Change-Id: I1197e76487f2cd92e88cbc44c26d003149953b60
2021-06-08 01:46:51 +00:00
Carter Hsu
4ca2182d90 audio: enable stereo AAC encoder am: c55963c231
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14782139

Change-Id: I0abe06210adbad34a9a37f71c32ebc697482cce0
2021-06-07 07:44:55 +00:00
Carter Hsu
2981a45d6c audio: enable stereo AAC encoder
Bug: 180984359
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: If44fb1012921e658dd2eb91771208c09fdff15cd
2021-06-07 07:25:51 +00:00
Jia-yi Chen
3c2e7656e0 thermal: Update thermal config am: c1900d5be8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14804535

Change-Id: I1b1207dc60990dd7c55b26abbb34770af643d0be
2021-06-04 21:21:52 +00:00
Jia-yi Chen
79a3b702d4 thermal: Update thermal config
1) Update VIRTUAL-QI-GNSS formula for Oriole
2) Lower shotdown threshold by 1C for Oriole
3) Disable charging at SEVERE for Oriole & Raven

Bug: 189888812
Bug: 190201749
Test: Boot
Change-Id: Iffc42a6f90935a8f1361bc04aeb08743b839aadc
2021-06-04 21:08:15 +00:00
Blake Kragten
ca1dcde0cf Fixing Cellular-Emergency Hysteresis am: 65bc1a9c55
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14829178

Change-Id: I40adee2277db2add047046384809ccf0a1825b27
2021-06-04 19:32:52 +00:00
Blake Kragten
9d6c2d97ac Fixing Cellular-Emergency Hysteresis
Bug: 190115475
Test: On Device Testing
Change-Id: I9751d156c0edb14503748e2efd3ee5e8c9c6dad3
2021-06-04 19:15:39 +00:00
Joey Poomarin
b06737012a USB Audio: Enable HIFI on the audio HAL part on Raviole. am: 31db7eba86
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13963658

Change-Id: Ibcbdb5e44d4cdaa2f02189c19d3318d43492ecd3
2021-06-04 12:31:54 +00:00
Bill Lin
56684b0781 Enable One handed mode feature for Oriole and Raven am: ecb816ca30
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14831512

Change-Id: I820d2e7ce8f0fb239cb5b956ae8d97726e730b76
2021-06-04 12:31:47 +00:00
Joey Poomarin
6facc05f47 USB Audio: Enable HIFI on the audio HAL part on Raviole.
Kernel Change: pa/1887451

Test: N/A
Bug: 182996456
Change-Id: Ia62f8a0b8b0c57270a3c8ed82cb64a79fbcbfe79
2021-06-04 10:52:21 +00:00
Bill Lin
964bf23b74 Enable One handed mode feature for Oriole and Raven
Test: check settings > system > gesture > one handed mode
Test: make
Bug: 189926639
Change-Id: Ia6e51f05541e1ab31a3a98159fa805e4bc0412e1
2021-06-04 04:41:46 +00:00
David Chao
48e63053eb thermal: update number of State2Power for thermal-hal am: 58893350d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14822212

Change-Id: I38fd96ce7bb9b9af07e9faaa65a9bb3b0bd2acad
2021-06-03 18:11:10 +00:00
David Chao
b1fa4b7102 thermal: update number of State2Power for thermal-hal
Bug: 189488358
Test: thermal-hal init and works properly.
Change-Id: I10700fcd082df9b904f6f06eaedd536e8386633f
2021-06-03 17:51:40 +00:00
Jasmine Cha
b96cd18e67 audio: update waves preset tables (20210603) am: acc536dd25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14804142

Change-Id: I84e70ccd20f75ffe4bb116f1388cfd9584b0f492
2021-06-03 10:13:01 +00:00
Yu-Bin Chiu
470768e58e [MFG_API] [audio] USB headset loopback functions don't work on ROM SD1A.210602.005 am: 0228636136
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14804136

Change-Id: I1f2d10f855ab51a98efb09c65ed79ba0cd78995b
2021-06-03 09:03:09 +00:00
Jasmine Cha
c7dfda1d57 audio: update waves preset tables (20210603)
O6:
+ improves loudness
+ improves clarity
+ incorporates landscape tuning with good left-right balance

Tuning work will continue to improve transient performance at max volume,
and incorporate feedback from UTD and PAE tests.

R4:
+ Improves loudness
+ Improves clarity and reduces bass distortion
+ Incorporates a landscape tuning that balances left and right speakers.

Further tuning work will improve bass response at lower volume steps and
improve tonal balance to reduce sibilance. We will also incorporate
feedback from UTD and PAE subjective studies.

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

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I85599edfd87c4c96f1486ea68f49006bf5a871fb
2021-06-03 16:49:42 +08:00
Yu-Bin Chiu
18a9190963 [MFG_API] [audio] USB headset loopback functions don't work on ROM SD1A.210602.005
Need to add a new control "USB Config To AoC" in mixer table

Bug: 190002718

Test: verify it with a new mixer table, and it works on O6
Change-Id: Ibcb43d50d0185d8b5249aa2a5620c69871b97de5
2021-06-03 08:42:02 +00:00
Andrew LeCain
2021883d48 Move fp app-loading to same stage as storageproxyd am: 81f08bf992
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14809899

Change-Id: I1e15bd80fea40708c3c5c59a521647b6e8e6e980
2021-06-03 06:09:43 +00:00
Andrew LeCain
21159fdf01 Move fp app-loading to same stage as storageproxyd
Bug: 189911666
Test: R4 boot, unlock.
Change-Id: I88ec478bec27070d7d2ceb2ab7fcfe9a98fd423d
2021-06-02 19:13:22 -07:00
linpeter
643b9cd681 oriole: update thresholds for 90hz am: 54fd63b5e9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14730729

Change-Id: Ida40ff51325ed6015b48018d05dcc58a068983c3
2021-06-02 10:29:17 +00:00
linpeter
428dbc7c07 oriole: update thresholds for 90hz
Add zone condition for 90Hz

Bug: 187929149
Test: no refresh rate chagne in the blocking zone
Change-Id: Ia7f5be2464da8ea4ed2c8d370bb6baa0f5be3cc9
2021-06-02 10:09:06 +00:00
Jasmine Cha
9ed2fdfe69 audio: update FM tuning table (20210531) am: 6565d290ea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14772221

Change-Id: I699a5ddd45a375d88f047ce86e9c1be2ec191475
2021-06-02 02:35:51 +00:00
Jasmine Cha
8baf515669 audio: update FM tuning table (20210531)
//O6
1. HH NB/WB/SWB EVT modification :
=> Volume curve: NB/WB/SWB SPK_VOL
=> Distortion: NB/WB/SWB RX FdEQ, NB RX TdDRC
=> Mic design change : NB/WB/SWB TX Pre-FdEQ , WB/SWB TX FdEQ

2. HA NB/WB/SEB EVT modification
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: manual audio test / voip

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I30d6540eacfcf2eef3caf33af58727d990646853
2021-06-02 02:14:50 +00:00
George Lee
6aef3678d7 thermal: add soc to thermal HAL monitoring am: b39d7cf7fb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14704825

Change-Id: Id6781f348ccb674643ae8aaca48fda989bbdc0a5
2021-06-01 22:35:36 +00:00
George Lee
a70a29c084 thermal: update threshold level for OCP am: 4afe4a3abe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14204552

Change-Id: I79928e38e9b601fd26723c284a474992d4cb66c5
2021-06-01 20:42:39 +00:00
George Lee
156e8f1afe thermal: add soc to thermal HAL monitoring
Bug: 188365095
Test: Confirm throttling based on criteria matched
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I417ced61da6fe2bf44927878676bee877789fd23
2021-06-01 13:33:39 -07:00
George Lee
d8ab4ebb49 thermal: update threshold level for OCP
Bug: 184739333
Test: Local boot up test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I2a0b14d96516c91844cc5f49e61e1cc7ab7518f2
2021-06-01 18:28:45 +00:00
Robin Peng
4dfe707e84 raviole: add PRODUCT_SOONG_NAMESPACES for trusty liboemcrypto.so am: 9d5e360aa7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14786725

Change-Id: I52708247af34b481c4047e2931db525e26423252
2021-06-01 13:29:45 +00:00
Robin Peng
6e4640b81b raviole: add PRODUCT_SOONG_NAMESPACES for trusty liboemcrypto.so
Bug: 179364089
Change-Id: Id7f8c243743badbd29f1c2e3b74baecec049180e
2021-06-01 18:11:38 +08:00
Ching-Sung Li
1da781314b Build Raven default CMF color wallpaper am: 671fa4d6bf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14772224

Change-Id: I72c04b0d2731bb28c336b23c83b8a18606bf06d6
2021-05-31 13:58:26 +00:00
Ching-Sung Li
fb5e389143 Build Raven default CMF color wallpaper
Bug: 169538195
Test: Build pass; manual
Change-Id: I3b20252eed0bf1fa2d5b36ffe7008c9e14d1b657
2021-05-31 12:31:55 +00:00
Yanting Yang
9199ab0488 Add initial MIC e-label for JP SKU of Raven am: f9317d25e5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14772210

Change-Id: I91f2788f1ee943ae19e14e90a9a04ffe87377570
2021-05-31 03:22:02 +00:00
Yanting Yang
3b1f8ef524 Add initial MIC e-label for JP SKU of Raven
Bug: 182865172
Test: visual
Change-Id: I4691936b2d0af6a82db84dad61c85b98e8913b8a
2021-05-31 02:57:39 +00:00
Robert Lee
0e8d0959f3 audio: update speaker protection bins am: 22c0dfcb7f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14745431

Change-Id: Ie86e644980c98b31d47f3e55e16b2b03cc8eb2c8
2021-05-31 02:26:56 +00:00
Robert Lee
a65669aaaf audio: update speaker protection bins am: 6bbee7d292
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14730728

Change-Id: Id99daed4c8b28afa38500b86552b91c77dfedf61
2021-05-31 02:26:54 +00:00
Robert Lee
cfd3523009 audio: update speaker protection bins
Bug: 181874512
Test: verified by hw
Change-Id: I94c343679d9b6b807025d0fbfe65a1593cdbe062
Signed-off-by: Robert Lee <lerobert@google.com>
2021-05-31 02:09:47 +00:00
Robert Lee
08b011f282 audio: update speaker protection bins
Bug: 179534284
Test: Manual verify speaker basic function work
Change-Id: Iaef4940f8c7500ff56dccf5de26ac29a2a875260
Signed-off-by: Robert Lee <lerobert@google.com>
2021-05-31 02:09:47 +00:00
Michael Ayoubi
290d4b1fa9 Add DCK eligibility property am: 4dc2ccec57
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14707880

Change-Id: I7efa81d9ae12c7f799e483ca69930eadb6c87788
2021-05-27 17:39:19 +00:00
Michael Ayoubi
ca6b352f10 Add DCK eligibility property
Add ro.gms.dck.eligible_wcc system property to
P21 devices.

Usage of ro.gms.dck.eligible_wcc is as follows:
1: NFC only
2: NFC and Bluetooth LE (NFC + RKE Functions)
3: NFC, Bluetooth LE, and UWB (NFC + RKE Functions + Passive/Location-based
   Functions)

Bug: 186488185

Test: Build and flash on R4.
Confirm GMSCore can access the properties.

Signed-off-by: Michael Ayoubi <mayoubi@google.com>
Change-Id: I6641270ede1ac49b517775ce3444306c50bcd78a
2021-05-27 05:35:26 +00:00
Cyan_Hsieh
727d1a70c9 Change system property of Raven to add 11 dp side padding for keyboard am: 450675e713
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14715995

Change-Id: Iecb2bf0f6f560af2ad831bf02f2d8f667cfffa2a
2021-05-27 02:39:07 +00:00
Cyan_Hsieh
a327e42b54 Change system property of Raven to add 11 dp side padding for keyboard
Test: flash rom, start keyboard to check on the padding
Bug: 189265397
Change-Id: I63aba89350246864435dc10e4d198f0202375fb8
2021-05-27 02:11:23 +00:00
wenchangliu
2237e8ac07 media_profiles_raven.xml: Fix typo about front camera 1080p bitrate am: e72c504b9b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14731890

Change-Id: Ica5fbacd55e9de48c8e6a5b7afcc11f99c2cfda4
2021-05-26 12:03:32 +00:00
wenchangliu
b3ab5ce213 media_profiles_raven.xml: Fix typo about front camera 1080p bitrate
Bug: 187717263
Test: front camera recording
Change-Id: I93c7fdebcb932f0525fbe9fa4624dfca5f568c6d
2021-05-26 11:43:12 +00:00
George Chang
8416c0020b Update NFC Settings am: 3add6d4eda
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14715211

Change-Id: I3a8587965cd904e2b6e124278882a55124573421
2021-05-25 15:29:56 +00:00
George Chang
af48a48907 Update NFC Settings
Enable HCE Type B support

Bug: 189189874
Test: manual
Change-Id: I031b1da0f95ba442cd54796cfc91f3e43ac39998
2021-05-25 18:12:26 +08:00
Gil
b21e1846e8 [Display] Modify the AOD Brightness am: ff731b500e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14515926

Change-Id: Iadab5993fd86d217b236493b0ecaf3c8acf40606
2021-05-25 06:42:24 +00:00
Gil
d9ff8cb3c5 [Display] Modify the AOD Brightness
Set night/low as 2 nits, sun/high as 50 nits

Bug: 184728677
Test: Boot test and check AOD brightness
Change-Id: I0e6f5fda297f3e57f21a1d45e2f70b0dcccf04d1
2021-05-25 06:16:20 +00:00
Bob Badour
185f6155d1 [LSC] Add LOCAL_LICENSE_KINDS to device/google/raviole am: 11d76a07e9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14650810

Change-Id: I37905f6f55feaab63c4645c6a3a104de5be22b27
2021-05-24 19:30:49 +00:00
Bob Badour
b1ce532c3d [LSC] Add LOCAL_LICENSE_KINDS to device/google/raviole
Added SPDX-license-identifier-Apache-2.0 to:
  self-extractors_oriole/google_devices/staging/Android.mk

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: If3a7caf60368f498c08b7950353aa86ae75bc2f9
2021-05-24 19:16:08 +00:00