Commit graph

829 commits

Author SHA1 Message Date
Bill Lin
3d0c592847 Fix system icons container x-axis shift between Keyguard/Home StatusBar am: 95721dbff1 am: 698f40c395
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15481536

Change-Id: I6df7642778e187658c0c5a4e02c53fcfbca57326
2021-08-07 09:59:19 +00:00
Bill Lin
5078110ce2 Fix system icons container x-axis shift between Keyguard/Home StatusBar am: 95721dbff1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15481536

Change-Id: If8eaf8aabe1cf5d4feb6355923e26bbe9fa34bbe
2021-08-07 09:44:46 +00:00
Bill Lin
73e2784392 Fix system icons container x-axis shift between Keyguard/Home StatusBar
Adjust the system_icons_keyguard_padding_end for O6/R4

Consider below scenario:
1. Enable/Disable multi-user: This case must have x-asix shift due to
   home StatusBar did not designed to show avator icon
2. Keyguard/Home StatusBar alignment
3. w/ & w/o privacy dot
4. w/ & w/o plug-in USB cable
5. w/ & w/o show battery percentage

Test: build and check the visual
Bug: 195670442
Change-Id: I783c026e46d7cc01839a4e56fed9fdb89ca6b194
2021-08-07 09:26:58 +00:00
Android Build Coastguard Worker
cb2cada7d3 Snap for 7618979 from e2034bc89e29c89119c2428697176456ec9a8a11 to sc-v2-release
Change-Id: I61a25e2572a9f26b740c5b83fcf7e64fd830066f
2021-08-07 03:02:16 +00:00
jonerlin
8aa15a653b power_profile: add bluetooth power data am: 01cc7a7a03 am: 44765ae0ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15472708

Change-Id: I54229d32ab431eb46eaebbdc3a51483afc3c6090
2021-08-07 02:26:54 +00:00
jonerlin
0e30a8b585 power_profile: add bluetooth power data am: 01cc7a7a03
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15472708

Change-Id: Id1381156d7194956897bd05cbb3355c51782d661
2021-08-07 02:11:50 +00:00
jonerlin
c2e47893cb power_profile: add bluetooth power data
Bug: 195157251
Test: manual
Change-Id: I2de092b8a244d2b6e4debe4ab5590c4a6f7bf930
2021-08-07 01:58:57 +00:00
Carter Hsu
781d87acea audio: dynamic/runtime audio capture switch am: 88b204ca20
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15402040

Change-Id: Ibced27d80d86987ba650416ac5497754f2944e2a
2021-08-06 21:13:47 +00:00
Carter Hsu
7ca7fc2c5c audio: dynamic/runtime audio capture switch
Bug: 193042612
Test: build pass and audio capture
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ief7d8137a6c636d0c71c7c7ab732dc38d4601a45
2021-08-06 20:54:48 +00:00
Roger Fang
725c67a759 audio: Add command to set PCM steam wait time for voice and audio. am: 09eb370a2a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15409314

Change-Id: I8d4253f724ee01921530d39a5efd46052baa4edf
2021-08-06 17:39:20 +00:00
Roger Fang
cfaa3174c3 audio: Add command to set PCM steam wait time for voice and audio.
This control is from this patch: https://partner-android-review.googlesource.com/c/kernel/private/google-modules/aoc/+/1962616/

Bug: 194454077
Test: Playing a music then removing the USB headset
Change-Id: Ie9dbf9df13ffaee80c61e2d5da529878fde0b740
Signed-off-by: Roger Fang <rogerfang@google.com>
2021-08-06 17:14:07 +00:00
Beverly
309b644b97 Update lock icon padding am: 4228ff72d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15445897

Change-Id: I6568f536fcc7a8059cecc8a8eeb4b31eafb239a1
2021-08-06 15:15:44 +00:00
Beverly
faf942fb1d Update lock icon padding
This should not scale with density size increases b/c the
sensor size is fixed.

Test: manual
Change-Id: I84cd73992b657ee292873fd7ba4bf6e73fc6b349
Fixes: 195564809
2021-08-06 15:04:46 +00:00
David Li
7455f27d1c audio: update Media Record Tuning Files am: a8fa079719
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15472707

Change-Id: I13896e487e5dda13e069fd113bda86c9efb9f59d
2021-08-06 10:32:03 +00:00
David Li
3b05ee5233 audio: update Media Record Tuning Files
R4
Change list:
Update IIR2, spatial audio parameters

O6
Change list:
Update IIR2, spatial audio parameters

Bug: 195707259
Test: make -j128
Change-Id: I13e8b81faf18247266525728563adfd614a866a1
2021-08-06 10:16:30 +00:00
millerliang
f09281f933 audio: adjust the latency for bluetooth output am: f4539d6f90
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15443293

Change-Id: Ia605e92674342d0ca3a71a13534d494ad90981da
2021-08-06 06:44:23 +00:00
millerliang
f4cd1362d0 audio: adjust the latency for bluetooth output
HAL can get the device latency from bluetooth headset.
We just to set the latency of the device side.

Bug: 195166550
Test: av sync
Change-Id: Id64b7ea796ddc4de996817d0553f1855b4d9485a
2021-08-06 06:30:03 +00:00
Jasmine Cha
4b489afd21 audio: update FM table (20210805_v540) am: 0dcaf6c812
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15471514

Change-Id: If0f1ee46f52c54e8437f033594b4f112310c636a
2021-08-06 04:53: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
YiHo Cheng
8968475ceb thermal: Update thermal table
Update pid related settings to get thermal pid control work for o6
proto.

Bug: 195619657
Test: run burn8 and emul_temp to check if pid thermal control work
Change-Id: I82e1a9271cef480b7a4cf33fe0d827316521e93c
2021-08-06 02:17:51 +00:00
Android Build Coastguard Worker
80f5f260f5 Snap for 7615608 from 5560def3f1938025ff01d0f27e48185c0137641e to sc-v2-release
Change-Id: I649ac3f1eaa1397aa397d1028f5f328a94081347
2021-08-06 01:02:25 +00:00
George Chang
9148279d58 Enable STNFC_ACTIVERW_TIMER am: a06ca3f11b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15471510

Change-Id: I0717060b19f78350f2836af320f8ee429a451e02
2021-08-05 15:44:37 +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
20174754ff 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: Ib04fc23a1d7b3c9f3943f22c1ddef9e1a90ab619
2021-08-05 06:53:49 +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
Android Build Coastguard Worker
52c48a4485 Snap for 7611421 from 093fb64418d3bed475b28894cd884d891a5ba19b to sc-v2-release
Change-Id: Ifa7d6643d0f32916810db93f3317f07971f6afa4
2021-08-05 01:06:14 +00:00
YiHo Cheng
ac00ba417a thermal: Update thermal table am: c09518a465
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15443294

Change-Id: I57a6652bedeb39ec9ea9aa0b5655cdbc5a581454
2021-08-04 16:19:39 +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
c71e0978df thermal: Update thermal table am: ab8ea591fa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15234152

Change-Id: I546a0a2dffd74a3bfdd2aee3bc80dd8179359bcf
2021-08-04 03:57:44 +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
Android Build Coastguard Worker
967de3177c Snap for 7607904 from fb6966ba38db0ae4f1eb7b3785c7fa8f595b0e14 to sc-v2-release
Change-Id: Idf552e815f09689cac3b8fb4a21d4afbcbab7f20
2021-08-04 01:02:15 +00:00
Ted Wang
c29249db5a 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: Ie26fad8660ed8fba7f20e0571fc292493897716b
2021-08-03 12:40:37 +00:00
Ted Wang
553f9df4f8 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: Ibb27e042c11e44d5a9f09b9fdba801b6b8fb07d0
2021-08-03 12:40:34 +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
b6269d893f Fix KeyguardStatusBar height not align StatusBar am: 3d20a7d96a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15421872

Change-Id: I9d9c40ae85b7b4205f93982abe2ddbfe47b6764f
2021-08-03 07:24:52 +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
e3d75f2775 Change vendor key to PRODUCT_VENDOR_PROPERTIES am: 6362644db7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15402047

Change-Id: I546357568bce18008be2dae684dcc3b0c911c54f
2021-08-03 06:10:21 +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
Android Build Coastguard Worker
ad39f8da6d Snap for 7599929 from 43d854aa330175063719cde1b8ee2a560bab8f59 to sc-v2-release
Change-Id: I27703548fb578eca79099a0f3976f83c91e614c1
2021-07-31 03:02:02 +00:00
George Lee
bd6fdeb1e5 bcl: enable batoilo thermal zone am: 2a401fb351
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15350497

Change-Id: I263136093fea86f16ca018eec8895926e27394d9
2021-07-30 21:05:20 +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
e32da2b929 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: Iedf403f60cc6ae259ff72db60e2a894b1c458c12
2021-07-30 18:51:47 +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
06cb02d05e raven: add blocking zone for low light am: fe87676280
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15369074

Change-Id: I30c95e4cc78e3fd384ac1cf4b22d8d99d3962bb9
2021-07-30 06:27:42 +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
f9ab15d3c3 audio: add Built-In Back Mic device am: e7d438fd77
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15416437

Change-Id: I3c8d6ee7e6fc6148583316024f4c9ca8affa0b4b
2021-07-30 05:40:20 +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
a3e30f1569 audio: update speaker protection bins am: 9a82f230f8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15424993

Change-Id: Ie059fa99556978d2ea3686d29c0fcb271d0c8f50
2021-07-30 02:35:24 +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