Commit graph

773 commits

Author SHA1 Message Date
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
Joey Poomarin Phloyphisut
68f602729f USB Audio: Enable HIFI Playback on the audio HAL part on Raviole. am: 8b1b884d50
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14692504

Change-Id: Ia154066fb57321546c82591399339728ba35cb1c
2021-05-24 10:21:43 +00:00
Joey Poomarin Phloyphisut
3375ea9045 USB Audio: Enable HIFI Playback on the audio HAL part on Raviole.
Test: Test: local build test. If use highspeed usb + capture. AOC crash. otherwise, everything is normal
Bug: 182996456
Change-Id: I48958acf8dfc77fa90096fc72cd6912c460e1db2
2021-05-24 08:53:27 +00:00
TeYuan Wang
b032142035 thermal: Update raviole thermal config am: df6670a5ac
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14186136

Change-Id: I1a41a9f47b7f17d9d79a4e0676b6e47c667a3c64
2021-05-21 17:51:43 +00:00
TeYuan Wang
dc760c40dd thermal: Update raviole thermal config
1. Update virtual skin sensor formula based on PD's proposal.
2. Adjust cellular throttling threshold
3. Add CPU thermal sensor - BIG

Bug: 184592229
Bug: 186585171
Test: 1. check thermalhal logging for virtual sensor temperature reading
      2. boot with maxcpus=4
      3. adb shell lshal debug android.hardware.thermal@2.0::IThermal/default
Change-Id: I01b74169afda56ae59f318d9ad23ccc222192550
2021-05-21 17:30:52 +00:00
Ted Wang
21f71ff420 Change Timesync nodes owner to be Bluetooth am: 7dc55b6a93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14185024

Change-Id: Ic98433234a9389fa1207f3498d33172a87c42c4f
2021-05-21 06:57:16 +00:00
Ted Wang
866b981755 Change Timesync nodes owner to be Bluetooth
This patch change owner of Bluetooth Timesync node to be Bluetooth to
allow Bluetooth HAL to read controller timestamp data via this node.
And also enable timesync for raven.

Bug: 172616898
Test: ccc_test
Change-Id: Id3663f058415cc3f5b50d88b7c70844a53bc9f0f
2021-05-21 06:41:18 +00:00
Ilya Matyukhin
c6d3dc94f3 raven: include factory/shipping UDFPS based on target am: 203d7c0b61
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14618977

Change-Id: I0809747470a3924a6f63ed7c9999b79ce0985afc
2021-05-19 17:30:50 +00:00
Ilya Matyukhin
d545009a93 oriole: include factory/shipping UDFPS based on target am: a2a205ae94
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14618976

Change-Id: I5732b8de1758533b99e023b99b6717f58a738722
2021-05-19 17:30:49 +00:00
Ilya Matyukhin
1d5482518b raven: include factory/shipping UDFPS based on target
This CL transitions the regular build to the AIDL fingerprint HAL, while
keeping the factory build on HIDL.

AuthService reports "Registering HIDL ID: 0 Modality: 2 Strength: 15"
only for the factory build.

Bug: 188193467
Test: build raven-userdebug
Test: build factory_raven-userdebug
Test: adb logcat | grep AuthService
Change-Id: I3d02e560e5e624aa85f1c3d14d52d7bb5070ee4d
2021-05-19 17:11:58 +00:00
Ilya Matyukhin
99725eb3ea oriole: include factory/shipping UDFPS based on target
This CL transitions the regular build to the AIDL fingerprint HAL, while
keeping the factory build on HIDL.

AuthService reports "Registering HIDL ID: 0 Modality: 2 Strength: 15"
only for the factory build.

Bug: 188193467
Test: build oriole-userdebug
Test: build factory_oriole-userdebug
Test: adb logcat | grep AuthService
Change-Id: I2c10239b93f9c8025607643385304b16f24f5dc6
2021-05-19 17:11:58 +00:00
Ilya Matyukhin
9fab6fd728 slider, whitefin: add fingerprint HIDL HAL config am: 2d747c3d4e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14631304

Change-Id: I2a7d31bd4fcb37ab1d12432b552708da66fc1694
2021-05-19 04:44:01 +00:00
Ilya Matyukhin
399d2cca1f slider, whitefin: add fingerprint HIDL HAL config
Bug: 188588725
Test: build
Change-Id: I7c59b4cbbe1cc3d0bb101c86bd793be46ad21293
2021-05-18 17:40:37 -07:00
Vince Leung
d5306d8864 Revert "Remove audio-coupled-haptics support" am: d1e7669bbb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14541258

Change-Id: I5604d08a545a80f360180d320bc30cbe64ba16b3
2021-05-17 18:59:36 +00:00
Vince Leung
2e35879eea audio: route haptic EP to haptic backend am: 9492abc5f2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14536533

Change-Id: I99f215ebb4f8e094d59a1cd86eea6bc48fa7d6e5
2021-05-17 18:59:35 +00:00
Kris Chen
b12112b233 Disable ASP only on PROTO1.0 devices am: cfbcfee88b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14515933

Change-Id: Iaceadd5a4ae76703526c6e6710f435fa93d19050
2021-05-17 18:59:27 +00:00
Vince Leung
0a6e699f51 Revert "Remove audio-coupled-haptics support"
This reverts commit fd3f417352.

Reason for revert: functional implementation of audio coupled haptics feature working again

Bug: 178431048
Test: manually verify audio-coupled-haptics is working for Pixel
ringtones on P21 devices

Change-Id: Ibda582e6b4f95dcf9bd5497dbc3580eb1569f9a2
2021-05-17 18:42:34 +00:00
Vince Leung
bbc1857804 audio: route haptic EP to haptic backend
Bug: 178431048
Test: manually verify audio-coupled-haptics is working for Pixel
ringtones on P21 devices

Change-Id: I54a7dbe713e03af031036534f2dba388903ea81e
2021-05-17 18:42:34 +00:00