Commit graph

490 commits

Author SHA1 Message Date
Jasmine Cha
e695af2ae0 audio: update FM table (20210805_v540) am: 0dcaf6c812
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15471514

Change-Id: I7f337e73f9a5c4839e495075e031acf05cd729f5
2021-08-06 04:52:11 +00:00
Jasmine Cha
454ac5e61e audio: update FM table (20210805_v540)
///R4
1. HHSWB BVE fine tuning ( by new FM lib fixed - b/194775936)

///O6
1. HHSWB BVE fine tuning ( by new FM lib fixed - b/194775936)

Bug: 194775936
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I25a740c49ed85c0ac07dce6475af95453c126bad
2021-08-06 04:38:01 +00:00
George Chang
5081888475 Enable STNFC_ACTIVERW_TIMER am: a06ca3f11b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15471510

Change-Id: I11f1756d80f86fad788eee4cd65c1f7f6b5a3bed
2021-08-05 15:43:44 +00:00
George Chang
d1095a4888 Enable STNFC_ACTIVERW_TIMER
Bug: 194675064
Bug: 189064168
Test: stress tests
Change-Id: If03c0764eaff69d509002c240a8fb888ca3d66b9
2021-08-05 15:42:10 +08:00
Ted Wang
9fcf235125 Bluetooth: Oriole BT SAR tables for RoW and JP(sub 6) am: d2645502cd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15463401

Change-Id: Idbc44d2370fda50416af8b35ce6f3e6de13d87b2
2021-08-05 06:53:29 +00:00
Ted Wang
6918ecc91a Bluetooth: Oriole BT SAR tables for RoW and JP(sub 6)
Bug: 195584756
Bug: 195584422
Test: make
Change-Id: I2d01ebfe92681c593c092aa4e19aaf9a502e2a5f
2021-08-05 11:34:57 +08:00
YiHo Cheng
d9724e6601 thermal: Update thermal table am: c09518a465
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15443294

Change-Id: Id5e6f5cf35a22ba6f76d76322aee3c2b22ac6479
2021-08-04 16:18:09 +00:00
YiHo Cheng
2e843cadf8 thermal: Update thermal table
Add hysteresis for bcl sensors to prevent genlink storm.

Bug: 191971470
Test: check trip_point_0_hyst is correct
Change-Id: I96cae3766544230d3926c2d306ec93dc355223ef
2021-08-04 16:00:21 +00:00
YiHo Cheng
92d53b424c thermal: Update thermal table am: ab8ea591fa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15234152

Change-Id: Ie22f4caa5cb7ef57626a797760554c08392270e3
2021-08-04 03:56:54 +00:00
YiHo Cheng
eab6d2496d thermal: Update thermal table
- Add TempPath field to support force update for on-board ntc
thermistors.

- Update hysteresis for trigger sensors to prevent genlink storm

Bug: 191971470
Test: check if thermhal polling can start in time by burn8
Change-Id: I855ccee34602268315d7cd16896cba19b954d115
2021-08-04 03:32:23 +00:00
Ted Wang
6b71d46dd0 Bluetooth: Oriole BT SAR tables for EU sub6 and mmwave am: 90c8e2cb71
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15436464

Change-Id: I58b95e87a5996a6aebceec0efcacbff1e4d415d1
2021-08-03 12:38:41 +00:00
Ted Wang
d0b3e376d5 Bluetooth: Raven BT SAR tables for EU sub6 and mmwave am: d1e61ffb10
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15436463

Change-Id: I492a6e147f1a73090490acbeb3cbc722f7489807
2021-08-03 12:38:37 +00:00
Ted Wang
3976daf428 Bluetooth: Oriole BT SAR tables for EU sub6 and mmwave
Bug: 194813540
Test: make
Change-Id: I51c5a1a18ea3d5dccf756089f2007427e07d4b72
2021-08-03 12:24:35 +00:00
Ted Wang
97d7a59eb7 Bluetooth: Raven BT SAR tables for EU sub6 and mmwave
Bug: 195263243
Test: make
Change-Id: I855ff39b18f0af58d6ac14b4384010d7b997b21e
2021-08-03 12:24:14 +00:00
Bill Lin
150340da29 Fix KeyguardStatusBar height not align StatusBar am: 3d20a7d96a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15421872

Change-Id: I53fa4d595556921d3924073e0aef5c327c53a919
2021-08-03 07:24:04 +00:00
Bill Lin
e5402a7297 Fix KeyguardStatusBar height not align StatusBar
Update customization for O6/R4
1. Put status_bar_header_height_kegyuard in correct folder
2. Refine system_icons_super_container_avatarless_margin_end
3. Refine the config_mainBuiltInDisplayCutoutRectApproximation xPos
4. Remove unused system_icons_keyguard_padding_end
5. Adjust window rounded corner radius to match H/W corners

Test: manual build and check visual
Test: In keyguard, launch camera and exit, check provacy dot position
Test: In Keyguard, check keyguard status bar height algin home statusbar
Test: atest SystemUITests
Bug: 194324044
Change-Id: I8856b0ae9d5124b44a3aab89b0de8d8ddbe5a4c8
2021-08-03 07:07:29 +00:00
Charles Chiu
569cb4593b Change vendor key to PRODUCT_VENDOR_PROPERTIES am: 6362644db7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15402047

Change-Id: Ib05edec32c52602305a69e8ca043b3cf7b119188
2021-08-03 06:09:38 +00:00
Charles Chiu
57fc7065b6 Change vendor key to PRODUCT_VENDOR_PROPERTIES
Test: Camera CTS
Bug: 194656156

Change-Id: Ifa3f1188ae8134e6ff3e948c6ebd2d200db8181b
2021-08-03 05:52:48 +00:00
George Lee
8fc5d6ec17 bcl: enable batoilo thermal zone am: 2a401fb351
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15350497

Change-Id: Icda9e62dd916d6feec6db1460aa0f4a3523d6fb9
2021-07-30 21:04:31 +00:00
George Lee
090b93c8f9 bcl: enable batoilo thermal zone
Enable batoilo thermal zone for further bcl policy definition.
Also fix the multiplier for ocp_warn tzone.

Bug: 194240210
Test: batoilo trigger under stress test.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Idfd3efc72efaa8813a2b6c62271ce4e6fec3bca7
2021-07-30 20:49:41 +00:00
Beverly
96e8f2161b Unregister for prox when display isn't OFF/DOZE am: 377acd6187
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15432553

Change-Id: I0b83c23d71810f970427ad3b751d036d45aa33c7
2021-07-30 18:50:56 +00:00
Beverly
4ac85f0083 Unregister for prox when display isn't OFF/DOZE
Test: manual
Bug: 192699858
Change-Id: Ibd44e372e0171f2eb6129df448e6b66c5b923d02
2021-07-30 12:44:43 -04:00
linpeter
9c3e465e5b raven: add blocking zone for low light am: fe87676280
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15369074

Change-Id: I65de76ce452de44519abaf3b8b812e49127c92f1
2021-07-30 06:26:53 +00:00
linpeter
ce87e291e8 raven: add blocking zone for low light
zone condition(15% brightness, 5 Lux) for 120Hz

Bug: 193087466
Test: no refresh rate change in the blocking zone
Change-Id: I4e5918ff5d829a6ad656db1c7f4993e1e8e9c23d
2021-07-30 06:14:41 +00:00
Robert Lee
f3ebb6a876 audio: add Built-In Back Mic device am: e7d438fd77
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15416437

Change-Id: If9fedc5818f7d84a514ee4914be43f610c6dad62
2021-07-30 05:39:29 +00:00
Robert Lee
755a0887fa audio: add Built-In Back Mic device
Bug: 194169487
Test: Test Diagnostic Tools microphone test

Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: Ice468e91591f5e552e733d187ade86e76896c5b5
2021-07-30 05:26:47 +00:00
Robert Lee
2f8a04ffa7 audio: update speaker protection bins am: 9a82f230f8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15424993

Change-Id: I75821a92680f7da4ffa4fadfb6cf0194bfc3f9b5
2021-07-30 02:33:26 +00:00
Robert Lee
073ec26f19 audio: update speaker protection bins
Release notes below:

===

O6 Top:
File: "o6Top_protect_20210727_120hpf_pb6.47.0_17.5dB_120Tmax_300mRTrace_regionIII160C_ALPHA.bin"
    Phone file: /vendor/firmware/cs35l41-dsp1-spk-prot.bin
    Sha1sum: EFCB81AF9E84439BA181EB88687B922107FEAB08
    Changes: Decreased TMAX for 10C margin at peak, increased “thermal region III”
    Tests - Protection: Passed XMAX/TMAX testing
    Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
    Tests - Listening: Coupled w/ bottom speaker - In progress, non-blocker

===

O6 Bottom:
File: "o6Bottom_protect_20210726_120hpf_pb6.47.0_17.5dB_110Tmax_300mRTrace_regionIII150C_ALPHA.bin"
    Phone file: /vendor/firmware/R-cs35l41-dsp1-spk-prot.bin
    Sha1sum: FDF4F9F5DEB065DD4C34B14418B6207CE609F80C
    Changes: Decreased TMAX for 10C margin at peak, increased “thermal region III”
    Tests - Protection: Passed XMAX/TMAX testing
    Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
    Tests - Listening: Coupled w/ bottom speaker - In progress, non-blocker

===

R4 Top:
File: "R4Top_protect_20210727_120hpf_pb6.47.0_17.5dB_120Tmax_300mRTrace_regionIII160C_ALPHA.bin"
    Phone file: /vendor/firmware/cs35l41-dsp1-spk-prot.bin
    Sha1sum: 32F10EB7128C80C9E64FD34EAFB7FC247057FFDD
    Changes: Decreased TMAX for 10C margin at peak, increased “thermal region III”
    Tests - Protection: Passed XMAX/TMAX testing
    Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
    Tests - Listening: Coupled w/ bottom speaker - In progress, non-blocker

===

R4 Bottom:
File: "R4Bottom_protect_20210727_100hpf_pb6.47.0_17.5dB_100Tmax_300mRTrace_regionIII140C_ALPHA.bin"
    Phone file: /vendor/firmware/R-cs35l41-dsp1-spk-prot.bin
    Sha1sum: CF3B5900B1AC095A5546499C6EFFAF0C074A79A4
    Changes: Decreased TMAX for 10C margin at peak, increased “thermal region III”
    Tests - Protection: Passed XMAX/TMAX testing
    Tests - Acoustic: Passed acoustic impact testing (no much change from POR tuning in FR, reduced distortion)
    Tests - Listening: Coupled w/ bottom speaker - In progress, non-blocker

===
sha1sum
efcb81af9e84439ba181eb88687b922107feab08  oriole/cs35l41/fw/cs35l41-dsp1-spk-prot.bin
fdf4f9f5deb065dd4c34b14418b6207ce609f80c  oriole/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin
32f10eb7128c80c9e64fd34eafb7fc247057ffdd  raven/cs35l41/fw/cs35l41-dsp1-spk-prot.bin
cf3b5900b1ac095a5546499c6effaf0c074a79a4  raven/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin

Bug: 193902089
Test: Hardware verified

Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: I39e5988914927820b90a4c1cf2dcf709c1aac653
2021-07-30 01:21:59 +00:00
millerliang
35193de783 audio: refine the period size for raw playback am: ad2a5c0202
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15390929

Change-Id: Id8c7cb2927ecd7d6d73f1a9120e3f0b7efc6437b
2021-07-29 16:27:51 +00:00
millerliang
225b713e1e audio: refine the period size for raw playback
For raw playback, the buffer size needs to equal to the
ring buffer size. AoC changes the buffer size to 16384 bytes,
but it cannot be divisible by 48(1ms frames with 48000 sample rate).
Use the period size(frame couts) from configuration file.

Bug: 194398677
Test: OboeTester->TEST OUTPUT
Change-Id: I07f0cb7d5904e4e3ef78b9a15d31590fdd5a9087
2021-07-29 16:10:07 +00:00
Jasmine Cha
c69e8f5a9c audio: update FM table (20210729_v540) am: a8fbd2d71a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15416446

Change-Id: Ia36552a0d29af85772fa0d31515ae9c86f1760f3
2021-07-29 13:39:42 +00:00
Jasmine Cha
80f37d804a audio: update FM table (20210729_v540)
///R4
1. Headset fine tuning for QoE issue (b/194852269)
2. HHSWB fine tune for echo

///O6
1. Headset fine tuning for QoE issue (b/194852269)
2. HHSWB fine tune for echo

Bug: 194852269
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I59ae8ea5ef7b4d6d25c9b684c422ee5dd28fcb30
2021-07-29 13:15:31 +00:00
mandyshen
534b5a964b thermal: Update cpu pid control loop parameters am: 65cb952d67
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15409323

Change-Id: I2649f4aaaf54c979fd9b862dab2ce65a20427700
2021-07-29 05:12:33 +00:00
mandyshen
6bcf4724be thermal: Update cpu pid control loop parameters
Bug: 189487625
Test: run burn8 to make sure hard_limit_request=0 by thermal SEVERE

Change-Id: I610b25a0250e2b3cbe8bef41e04d0248aaf33b00
2021-07-28 16:56:35 +00:00
Andrew LeCain
6de2de8521 Revert "raviole: allow UDFPS to read mfg_data blk device" am: 3eabec9671
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15389339

Change-Id: I88e586076db1578abc330657f71431ed2dcaa462
2021-07-27 21:49:23 +00:00
Andrew LeCain
8340b00c0e Revert "raviole: allow UDFPS to read mfg_data blk device"
This reverts commit 2d2e597690f3e2fc06ffeb3749599fe5b8521959.

Bug: 193549276
Test: FP app doesn't report permissions error reading cal partition.
Change-Id: I8b982dec8bd5920eac69b48d6bd1de8cfc989003
2021-07-27 21:32:11 +00:00
Yanting Yang
b69749fa7b Update MIC e-label for JP SKU of Oriole am: b13ba60a1c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15390920

Change-Id: Iebdf8723793842ea129149332ce81a7b7bb97c7b
2021-07-27 17:06:09 +00:00
Yanting Yang
b043fc0a41 Update MIC e-label for JP SKU of Oriole
Bug: 194450210
Test: visual
Change-Id: I7e732dad9028629bb3a22b1f2f5749449ac41266
2021-07-27 16:52:01 +00:00
Ted Wang
b03cc9f845 Bluetooth: Raven BT SAR tables for US sub6 and mmwave am: 09f919c640
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15390921

Change-Id: I00b9e7cb8ebbcb00dec7b7a411496069b6ed53d9
2021-07-27 15:20:02 +00:00
Ted Wang
d92243beae Bluetooth: Raven BT SAR tables for US sub6 and mmwave
Bug: 194717982
Test: make
Change-Id: I1fe2c5752ffea01cc78550e0433f3ac3904484ee
2021-07-27 12:02:55 +08:00
samou
90eb72f5be power_profile: add battery capacity am: d9ab742bd7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15270344

Change-Id: I34197181fa9a39738ce444867f75021df92efa8d
2021-07-27 02:49:44 +00:00
samou
2c99b67e63 power_profile: add battery capacity
Bug: 185956384
Test: Manually verified
Change-Id: Ida34a4415662bd4e24ef9d2ea64520d1070d436d
2021-07-27 02:37:03 +00:00
George Lee
fb40315e3b bcl: Lower VDROOP2 threshold am: 2ab64f29bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15350353

Change-Id: Ic588ca12ceca3cc2824647d2e651b2553fddbcc8
2021-07-27 01:00:00 +00:00
George Lee
a73cca8ccc bcl: Lower VDROOP2 threshold
VDROOP2 had the same threshold as VDROOP1.  It should be lower.

Bug: 194239833
Test: VDROOP2 doesn't always trigger.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic6a28707eb69309291132a3ca9838c42d5be6c8d
2021-07-27 00:43:10 +00:00
Ted Wang
1da34150f1 Bluetooth: BT SAR tables for US sub6 and mmwave am: fba560e2d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15327153

Change-Id: I70e6a106c64ad2b5e63595396a526da621cff4d4
2021-07-26 08:51:29 +00:00
Ted Wang
e241d59858 Bluetooth: BT SAR tables for US sub6 and mmwave
Bug: 193752643
Test: make
Change-Id: Iac21fc563b0d4ad494b29d584ed4a19073118b61
2021-07-26 08:39:24 +00:00
Jasmine Cha
a086cee164 audio: update fm tables (20210722_v540) am: 202899e304
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15343069

Change-Id: I58072248f1479fd15a4ed8ea753698e02cabb11e
2021-07-23 10:47:30 +00:00
Jasmine Cha
9609aa66fb audio: update fm tables (20210722_v540)
//R4
1. HH WB mic blocked enable
2. HH SWB BVE disable
3. HA WB mic blocked enable
4. HE TTY VCO: sync the latest of HH TX
5. HE TTY HCO: sync the latest of HH RX
6. HE Headphone : sync the latest of HH TX
7. BT HAC : sync the latest of HH TX
8. HA BVE turn on in Generic settings: NB/WB/SWB
9. HA BVE turn on in TMUS settings: NB/WB/SWB
10 HE by Gene
For both R4 and O6
 BB
  - General
     -  EnableBBLowLatencyMode
  - NB
      - TX EQ, NS improve
      - RX volume, DRC
 - WB
      - TX EQ, NS improve
      - RX EQ
      - RX volume, DRC
 - SWB
      - RX EQ, NS improve
      - RX TDDRC change from 5 to 7.01dB
      - RX volume, DRC
- FB
     - TX EQ for NS
     - RX volume, DRC

Google Condor
 - Enable LowLatencyMode
 - NB TX EQ depress low freq, increase high freq
 - WB TX EQ depress low freq

Condor reservation
 - same to Google Condor

Condor for sertification
 - Enable LowLatencyMode

//O6
1. HH WB EVT1.1/DVT fine tuning
=> FdEQ for more headroom
2. HH WB mic blocked enable
3. HH SWB BVE disable
4. HA WB mic blocked enable
5. HE TTY VCO: sync the latest of HH TX
6. HE TTY HCO: sync the latest of HH RX
7. HE Headphone : sync the latest of HH TX
8. BT HAC : sync the latest of HH TX
9. HA NB/WB/SWB/FB Generic tuning based on acoustic structure change
10. HA NB/WB/SWB/FB TMUS tuning based on acoustic structure change
11. HA BVE turn on in TMUS settings: NB/WB/SWB
12 HE by Gene
For both R4 and O6
 BB
  - General
     -  EnableBBLowLatencyMode
  - NB
      - TX EQ, NS improve
      - RX volume, DRC
 - WB
      - TX EQ, NS improve
      - RX EQ
      - RX volume, DRC
 - SWB
      - RX EQ, NS improve
      - RX TDDRC change from 5 to 7.01dB
      - RX volume, DRC
- FB
     - TX EQ for NS
     - RX volume, DRC

Google Condor
 - Enable LowLatencyMode
 - NB TX EQ depress low freq, increase high freq
 - WB TX EQ depress low freq

Condor reservation
 - same to Google Condor

Condor for sertification
 - Enable LowLatencyMode

Bug: 194273785
Test: manual test (b/194273785/comment#7)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ifb00378b6b5a9df95af82b7a1ff6256e91bd0ca3
2021-07-23 10:32:02 +00:00
linpeter
a556043b29 display: enable hbm dimming am: f44935bf00
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15172891

Change-Id: I20af973bf500ca07997042cfcf0817017108a238
2021-07-23 06:41:11 +00:00
linpeter
a6263cc521 display: enable hbm dimming
Bug: 190806064
test: hbm dimming
Change-Id: I7897110c87b6b47df48ef7ad14f8ee330fab0fd2
2021-07-23 06:22:11 +00:00