Commit graph

326 commits

Author SHA1 Message Date
millerliang
e1f212e478 audio: adjust the latency for USB Headphone am: 62a108d71a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15284570

Change-Id: I26a4ce5c3fc2ea94fb01c6260286ca8be4b305df
2021-07-15 09:02:58 +00:00
millerliang
eff4e0db3d audio: adjust the latency for USB Headphone
Adjust the latency for OUT_USB_HEADSET_BE_CFG

Bug: 174992590
Test: Test av sync for video playback
Change-Id: Idc1dedbbc21290106d417905832810b1ebd1c576
2021-07-14 21:27:00 +08:00
Jia-yi Chen
ae40fec5af thermal: Update thermal table am: d5763a2aea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15275827

Change-Id: I34136d378a7170b8a4ee7e1736861652cb603ec5
2021-07-14 01:12:10 +00:00
Jia-yi Chen
78fd4977a9 thermal: Update thermal table
Change CdevFloorWithPowerLink for fcc at MODERATE from 1 to 0 to avoid
unwanted throttling from fcc when wlc_fcc is set to 0 with ODPM-lo.

Bug: 192281595
Test: Boot & check log
Change-Id: I718eeb1c3c325a34345a24de90669f349addc972
2021-07-14 00:56:00 +00:00
Jasmine Cha
c3ff3a1eba audio: waves: update O6/R4 MPS (20210713) am: 8d9dbf24d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15258649

Change-Id: Ie2362d04432c8a8bebe3e8fcfc9c8bc46e21387f
2021-07-13 10:26:40 +00:00
Jasmine Cha
1c4b6056e4 audio: waves: update O6/R4 MPS (20210713)
O6:
  1. significantly reduces distortion artefacts at high volumes
  2. introduces bass management to balance low frequency response
     across the volume curve
  3. improved tonal balance at nominal volumes
  4. improved landscape stereo image across the volume curve

R4:
  1. This tuning improves the stereo balance between left and right
     in landscape orientation, and removes the pop artefact when
     rotating between portrait and landscape.

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

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I732742524ddbdd787ae86520141fb464ab01ca5a
2021-07-13 14:42:12 +08:00
Carter Hsu
a2a91a4fb1 audio: add BT path back to the haptic output am: 3ac8d273a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15217891

Change-Id: Iff6b879f8c76a969a9f266e1ccc2a4d73aecf038
2021-07-13 04:29:04 +00:00
Carter Hsu
f8a04fb6d9 audio: add BT path back to the haptic output
Bug: 192910606
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Iccfb65d568a640c01177d81f8c96d2103b9fda49
2021-07-13 04:11:46 +00:00
YiHo Cheng
ae528bdb2a thermal: Update thermal table am: 37b5f4e926
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15259270

Change-Id: If2d8333659019130a635602921b8e5b85669f68d
2021-07-12 15:33:22 +00:00
Long Ling
693cbce8f2 display: update O6 display color data am: 283d5d714a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15236590

Change-Id: I9ed48500e71c7a205573f3f2d31c9096a7887a18
2021-07-12 15:33:05 +00:00
YiHo Cheng
1a261f8b30 thermal: Update thermal table
Update power link settings for o6 proto to resolve thermalhal crash.

Bug: 193373779
Test: use emul_temp to check cpu throttling work
Change-Id: Iff6b16458c717c6a8aba0b82ecb7f78535ffe5e8
2021-07-12 15:25:37 +00:00
Long Ling
3d09e38a82 display: update O6 display color data
Bug: 187763532
Change-Id: If2dbb6c4ffb55d7408212280839e89af8d9996f4
2021-07-12 15:14:59 +00:00
millerliang
1c029db50f audio: apply RAW path for raw playback am: efaee79585
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15165944

Change-Id: I935b1c06376698be41c3b1e6cca987d443c8b199
2021-07-12 13:35:35 +00:00
millerliang
d2db8a5541 audio: apply RAW path for raw playback
Apply the entry point of raw path which writes data through
pcm mmap from user space to DRAM ring buffer.

Bug: 190775545
Test: OboeTester
Change-Id: I3f61126f323fcebc0a2b53c06d564b9e9e64f823
2021-07-12 13:22:54 +00:00
YiHo Cheng
b5164d972c thermal: Remove PPVAR_VSYS_PWR_DISP power rail am: 0948df7f80
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15256516

Change-Id: I9fe5c3106c64df76555ce61a3dcfb4305cec0ad9
2021-07-12 11:31:01 +00:00
YiHo Cheng
f7427b0974 thermal: Remove PPVAR_VSYS_PWR_DISP power rail
PPVAR_VSYS_PWR_DISP only exists for those devices before evt1.0. Remove
them to avoid thermalhal crash.

Bug: 193373779
Test: boot
Change-Id: I2c6ba85e9d80d851bfa45430d65fd3361e655e53
2021-07-12 11:27:07 +00:00
Carter Hsu
cbb437375e audio: update Camcorder tuning am: 50ae6d5270
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15256512

Change-Id: I4300fa20338674eda1afa7470aef95f7540478c5
2021-07-12 11:25:39 +00:00
Carter Hsu
63defab2f3 audio: update Camcorder tuning
IIR Tuning parameters for surround module were
updated in gatf file

Bug: 186721091
Bug: 181869495
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I323cfc4ca3c6e73cf621aadd3ff7e9b99482353a
2021-07-12 11:10:38 +00:00
Joey Poomarin Phloyphisut
5358b60438 USB Audio: Add USB HiFi routing am: 099c49e768
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15222049

Change-Id: Id1bd4348f35b6f4c8d360d1ccd21e95f8b085a15
2021-07-12 10:22:53 +00:00
Joey Poomarin Phloyphisut
6def5fe520 USB Audio: Add USB HiFi routing
Let USB HiFi BE as a standalone bind/src command to AoC.
And fix that USB HiFi Rx no audio after the other touch
sound's UC and BE is closed.

On top of the change of pa/1959717
(pa/Ib82ff06986ebe97d472f4518aa136f32da30da66)

Test: Local test
Bug: 191222376
Change-Id: I1017aab232bd2e929dc4caa9939f0613ba937f86
2021-07-12 10:10:40 +00:00
Jasmine Cha
54d53e08fb audio: update FM table (20210708_v540) am: cdb285ac6c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15234153

Change-Id: I27e0f6a2fff7dbfcf302c948cc55b5ff9fbd2836
2021-07-12 09:10:33 +00:00
Jasmine Cha
09e81d3bfd audio: update FM table (20210708_v540)
//R4
1. HH FB EPD offset set to 0x0000
2. HH SWB TX fine tuning (FdEQ only)
3. HA TMUS settings NB/WB/SWB (RX+TX)
4. mute time from 200ms -> 10ms (all modes)
5. HA BVE NB/WB (Generic)
6. HA NB/WB/SWB/FB FFP on
7. HE TTY VCO: sync the latest of HH TX
8. HE TTY HCO: sync the latest of HH RX
9. HE Headphone : sync the latest of HH TX
10. BT HAC : sync the latest of HH TX
11. HA NB/WB/FB BVE off
12  Headset-USB_Blackbrid-Voice_Generic
    - FB TX EQ
    - FB RX EQ
13. Set //RX_FENS_RESRV_0 to be 0x000A for all scenarios on Bluetooth and Headset

//O6
1. HH FB EPD offset set to 0x0000
2. HH EVT1.1 Tuning
=> Mic design change: PreEQ NB/WB/SWB , FdEQ SWB
=> RX FR fine tuning: FdEQ NB/WB/SWB
=> Volume curve fine tuning : SPK_VOL WB (vol3 only)
3. HA EVT 1.1 Tuning
=> NB/WB/SWB/FB (Pre-EQ / TX_FDEQ / RX_TDDRC / VOL / RX_FDEQ)
4. mute time from 200ms -> 10ms (all modes)
5. HA BVE NB/WB (Generic)
6. HA NB/WB/SWB/FB FFP on
7. HE TTY VCO: sync the latest of HH TX
8. HE TTY HCO: sync the latest of HH RX
9. HE Headphone : sync the latest of HH TX
10. BT HAC : sync the latest of HH TX
11. HA NB/WB/FB BVE off
12  Headset-USB_Blackbrid-Voice_Generic
    - FB TX EQ
    - FB RX EQ
13. Set //RX_FENS_RESRV_0 to be 0x000A for all scenarios on Bluetooth and Headset

Bug: 174635995
Test: manual test by acoustic team

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ic76c1c9c7e9255565f5ee75e92f604723fd4c943
2021-07-12 08:56:04 +00:00
TeYuan Wang
34e118afe9 thermal: thermal table update am: ce3560ffc9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14945101

Change-Id: Iaa11a67ce22ec7146c47832b649bcc80d0e75b81
2021-07-10 02:36:36 +00:00
TeYuan Wang
fef56f3d2d thermal: thermal table update
1. Update raven virtual sensor formula
2. Add power link settings for charging throttling reference
3. Support cdev_ceiling and cdev_weight for each severity

Bug: 192281595
Bug: 182970733
Bug: 183559513
Bug: 190809187
Bug: 184582287

Test: verified by emul temp
Change-Id: I4d51f60cb970e0f9d82273243cbd3aed16f8997b
2021-07-10 02:19:34 +00:00
Zhijun He
cfdfbeb990 Enable camera exif model/make reporting am: dfdb4e0d26
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15245404

Change-Id: Ia49c853842179d235d32fa97cbc94c602708831f
2021-07-10 00:30:47 +00:00
Zhijun He
59a3061df5 Enable camera exif model/make reporting
Test: Camera CTS
Bug: 183506665
Change-Id: I5c42891d8b6e925a4ee6f410ad8814f4cf127372
2021-07-09 11:33:45 -07:00
Beverly
bbe629ca3a By default, set raven face-auth to non-bypass am: 329cbef7e7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15178548

Change-Id: I99e904b4b58c769d5412122cffa8ff999932bcc7
2021-07-08 23:36:33 +00:00
Beverly
ed682fcdcd By default, set raven face-auth to non-bypass
Test: manual
Fixes: 192406240
Change-Id: I49e918a0de60062b331ace502390541992492e7d
2021-07-08 21:33:49 +00:00
Brian Carlstrom
b48341916a Remove parenthesis from PRODUCT_MODEL which breaks some User-Agent parsing am: da0e2b186f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15190186

Change-Id: Icdd83e04cd6f7acde86dd1c18c3e33f33fa362d8
2021-07-02 23:00:04 +00:00
Brian Carlstrom
a9519d276f Remove parenthesis from PRODUCT_MODEL which breaks some User-Agent parsing
Bug: 192583022
Test: Confirm passwords.google.com does not think browser is unsupported
Change-Id: I8db55ab873ee6e4f66058ddf33edb79d964ccda9
2021-07-02 11:48:55 -07:00
lbill
f78eca6aa4 [automerger skipped] Adjust status bar rounded corner and display cutout region am: 144cb613af -s ours
am skip reason: Merged-In If98f721f3e20270c5edfdc3b2f34ff8b8af41de4 with SHA-1 19593b4b96 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15186283

Change-Id: Ie17fe71d69f4d9739a8d1846eadedf87cf93bf35
2021-07-02 17:47:24 +00:00
lbill
84fd199468 Adjust status bar rounded corner and display cutout region
- Customize status_bar_height_portrait/landscape/keyguard
- Adjust punch hole display cutout region
- Adjust rounded radius for window corner

Test: atest SystemUITests
Test: atest android.systemui.cts.WindowInsetsBehaviorTests
Test: manual check visual
Bug: 190381022
Change-Id: If98f721f3e20270c5edfdc3b2f34ff8b8af41de4
Merged-In: If98f721f3e20270c5edfdc3b2f34ff8b8af41de4
2021-07-02 17:30:42 +00:00
Frank Luo
b40bad2d3a Set config_suspendWhenScreenOffDueToProximity true am: 9b66e0f8e3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15152141

Change-Id: I6059483978c393bac1f4f8197ccc98bf4208ffef
2021-07-02 15:43:44 +00:00
Frank Luo
b0c9a1ae1b Set config_suspendWhenScreenOffDueToProximity true
This config indicate whether to allow the device to suspend
when the screen is off due to the proximity sensor.  This
resource should only be set to true if the sensor HAL correctly
handles the proximity sensor as a wake-up source. Otherwise,
the device may fail to wake out of suspend reliably.

Bug: 192324731
Test: 1. Unplug USB. 2. make a phone call.
Test: 3. Cover p-sensor, the screen turns off for 10 seconds
Test: 4. Uncover p-sensor. 5. Plug USB.
Test: 6. 'adb shell dmesg | grep suspend' to check if AP ever suspend in calls.
Change-Id: I90c0ef56211908b5a211d9f887bbfc6693a3be40
2021-07-02 15:40:40 +00:00
Lais Andrade
ab00a09510 resolve merge conflicts of 5e6c470008055c8415eaff5816a8c18bff207c3c to sc-v2-dev
Fix: 192648440
Test: manual
Change-Id: Iae021732381c658f3ec9d8b3c9069810f7263f40
2021-07-02 13:43:22 +00:00
Lais Andrade
3dbd9530be Set vibrator ramp down duration
Bug: 188431691
Test: manual
Change-Id: Id029afe5c0d6fa59425c4407da56fed69f083bc1
2021-07-02 13:08:39 +00:00
lbill
a17c45af94 Adjust status bar rounded corner and display cutout region
- Customize status_bar_height_portrait/landscape/keyguard
- Adjust punch hole display cutout region
- Adjust rounded radius for window corner

Test: atest SystemUITests
Test: atest android.systemui.cts.WindowInsetsBehaviorTests
Test: manual check visual
Bug: 190381022
Change-Id: If98f721f3e20270c5edfdc3b2f34ff8b8af41de4
2021-07-02 12:53:53 +00:00
Jasmine Cha
4534c41eb8 audio: waves: update R4 tuning table (20210701) am: 9adbc744fe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15165936

Change-Id: I6dd1ee9ba4783065f8ebd9117ca3aa43d629ea74
2021-07-02 09:26:24 +00:00
Jasmine Cha
7d716fef59 audio: waves: update R4 tuning table (20210701)
+ Bass management improves the frequency response at
  volume steps 23 and below.
+ Improved gain staging for clarity, dynamics and removal
  of distortion artefacts
+ Improved stereo balance and bass in landscape
+ Removes tuning bug that applied too much gain correction
  on quiet audio.

The portrait and landscape stereo tunings are retuned, but there
is no change to the speaker-safe tuning for notifications and
ringtones which are performing well.

Bug: 179089856
Test: playback mute on/off, bypass on/off, lr swap/mixed.

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I85c9347435a5baa43c20b4eb5dbd630efb502a4c
2021-07-02 09:10:44 +00:00
George Chang
f2379449e1 Update NFC Settings am: 04141e06a7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15065931

Change-Id: I25298d0d98e27bf58d58d168cc7a6c64da768b17
2021-07-01 11:51:56 +00:00
George Chang
8af3cb55f4 Update NFC Settings
Enable HAL clock control

Bug: 187007386
Test: manual
Change-Id: Idb89c72a41e9f56ea7952e6a28048510df6d4ae3
2021-07-01 11:37:06 +00:00
Cheney Ni
6f001229a9 Bluetooth: Enable AAC VBR by default am: 13d597d9fd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15124041

Change-Id: Ib8acf49b9753b7daaf81c434ab1232328f720009
2021-06-30 04:42:24 +00:00
Cheney Ni
ab9201613b Bluetooth: Enable AAC VBR by default
AAC VBR is more preferred than CBR for A2DP playback.

Bug: 192203000
Test: dumpsys bluetooth_manager
Change-Id: I8f758c102164da9936de7ddc0bb46e0a99279359
2021-06-30 04:24:42 +00:00
Michael Ayoubi
98b9687e0b Update ro.gms.dck.eligible_wcc Property for R4. am: 22df92cd86
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15149865

Change-Id: Ie005c380ef8d767120e59e24bfe3750235ccceb3
2021-06-30 03:08:19 +00:00
Michael Ayoubi
ea3372d22e Update ro.gms.dck.eligible_wcc Property for R4.
Bug: 191415586
Test: Build

Signed-off-by: Michael Ayoubi <mayoubi@google.com>
Change-Id: Iaa7e6fa3ff96bcb794afd7ee908e40f559614aa5
2021-06-30 02:54:06 +00:00
Long Ling
d9788153a3 display: update device color data am: 6cfa17d4a7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15131727

Change-Id: Id43f015d15174e9a2ada96079a5ebfef6611eb34
2021-06-30 00:30:17 +00:00
Long Ling
5f50ac9ca0 display: update device color data
Bug: 191467644
Change-Id: I6d1aea14b458c4dfedade2949d765e0e79faf339
2021-06-30 00:18:55 +00:00
Ken Huang
ae524ccf1e raven: control panel_idle via kernel idle property am: 91c66b18f7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14973990

Change-Id: I432edcdc6bfd92980139dab13eb73b4428d8ad3d
2021-06-28 06:19:15 +00:00
Ken Huang
876864edfe raven: control panel_idle via kernel idle property
Bug: 190572787
Test: force refresh rate to peak or 60Hz
Change-Id: I5f25e2e8a79420bbcc74d047aa9234ad21911255
2021-06-28 06:04:49 +00:00
millerliang
7c99f6f5e8 audio: adjust the latency for output and input am: a133d285b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15106512

Change-Id: I8379ef049b292a8800eca9a8c5d56f670a47a1e3
2021-06-25 14:02:06 +00:00