Commit graph

327 commits

Author SHA1 Message Date
Ted Wang
186f81bb16 Bluetooth: Raven BT SAR tables for JP (mmwave) and ROW am: 1bc1e0511d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640405

Change-Id: Idb882e3a370dcfdb6c8bd6bfc50c7ab8bf3e7a2b
2021-08-23 14:48:12 +00:00
Ted Wang
e540f7b737 Bluetooth: Raven BT SAR tables for JP (mmwave) and ROW
Rename raven BT SAR tables for US and EU

Bug: 197368550
Test: make
Change-Id: I1a69308be75ffe8c40232cebfc428392075e988e
2021-08-23 14:33:49 +00:00
Yanting Yang
6da40a602b Update regulation e-label for Oriole am: b7ec16d6ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640410

Change-Id: I72653540b87f6319dadf0e580fe98cdd07509f51
2021-08-23 11:47:33 +00:00
Yanting Yang
20e3e82792 Update regulation e-label for Raven am: f9ead5e36e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640412

Change-Id: If80d81769b6f6480debdb7c8b279090b1c39a65e
2021-08-23 11:47:30 +00:00
Yanting Yang
7a754f9f30 Update regulation e-label for Oriole
Update the e-label of GR1YH and add the e-labels for GB7N6 and G9S9B.

Fixes: 187845531
Test: visual
Change-Id: I82bc0468167f9734442e90790ffe1b78d5e5979e
2021-08-23 11:29:54 +00:00
Yanting Yang
c1583a90f6 Update regulation e-label for Raven
Update the e-label of GF5KQ and add the e-labels for GLU0G and G8V0U.

Fixes: 187846268
Test: visual
Change-Id: I76bf53297abf4d00051beda670d847477444f7b6
2021-08-23 13:34:59 +08:00
Bill Lin
72d9258aa8 Adjust 0.5dp padding for KeyguardStatusBarView am: 86fc105032
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15582267

Change-Id: Ifb7a11479bf225d63fec74f8fe2f2f49ebea009d
2021-08-23 00:50:32 +00:00
Bill Lin
9b61605560 Adjust 0.5dp padding for KeyguardStatusBarView
There's still 2px offset when transitioning from
KeyguardStatusBarView to PhoneStatusBarView.
To make the visual perfect, we can adjust more 0.5dp.

Test: Visual
Test: atest SystemUITests
Bug: 195670442
Change-Id: I84d10f2dad665fcbdb01665f5056d08b3c20e0d7
2021-08-23 00:37:20 +00:00
Robert Lee
79e3cc1904 init.raviole.rc: chmod for speaker.cal am: ba0d4bea8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15634498

Change-Id: I8f8f1c5b5af747bfde5d4d686d4822b938b77717
2021-08-20 12:33:27 +00:00
Robert Lee
bedf39fb89 init.raviole.rc: chmod for speaker.cal
The speaker calibration step is changed in factory and the speaker
calibration file's permission is incorrect. Then audio hal cannot read
speaker.cal file to apply it and only apply default cal value.

Correct the file mode when init.

Bug: 197039088
Test: push the script into device and check file mode after rebooting device

Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: I1339f006f4477288cb41d07cb32caba0921b6e09
2021-08-20 04:17:17 +00:00
wenchangliu
2dcf4d2b03 oriole: enable media performance class 12 am: cc31b7ab5a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15597929

Change-Id: I7828a1e8c5d04b6165a9fea3733ba89c8a16f086
2021-08-18 08:00:53 +00:00
wenchangliu
0e8a67f822 oriole: enable media performance class 12
Bug: 196768374
Test: atest CtsMediaPerformanceClassTestCases
Test: atest android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest
Test: atest android.filesystem.cts.RandomRWTest
Test: atest android.filesystem.cts.SequentialRWTest
Test: atest CtsVideoQualityFloorHostTestCases
Change-Id: I9eaa78c23b6e9645ea5a344b9da0de3cacf21e17
2021-08-18 11:02:49 +08:00
George Lee
0b436334f8 bcl: Put OCP_WARN back to original level am: 32487364ec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15584250

Change-Id: I4ff768e82286106188897dbc368d2821968d6692
2021-08-17 16:38:07 +00:00
George Lee
d337a06e1b bcl: Put OCP_WARN back to original level
Bug: 196833426
Test: Boot and confirm proper level set
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iff9e77c39de546c53fd2404d3a0e15408b0e856d
2021-08-17 16:21:12 +00:00
Beverly
b03fc73cf1 Add config for brightness sensor using prox
Binned brightness sensor on R4O6 don't use the
prox sensor.

Test: manual
Bug: 194151347
Change-Id: I339a4a4612c7eb5f90196835ef9121b114cdece3
2021-08-17 13:53:56 +00:00
TeYuan Wang
db159344f0 thermal: optimize CPU thermal throttling am: 6c1703e4bd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15580671

Change-Id: Ic8d97afc292e19a10daf0f9fc785846a439f65c4
2021-08-17 01:32:01 +00:00
TeYuan Wang
b7b48bb1e9 thermal: optimize CPU thermal throttling
1. Avoid integral and derivative computation when thermal > MODERATE
2. Adjust cdev weight to make LC throttling become more aggressive

Bug: 195459720
Test: test burn8

Change-Id: I2d40e8cd95f6c67ff48574b2b8405c9545a67611
2021-08-17 01:18:38 +00:00
Robert Lee
55b0e74e55 audio: update audio_policy_volumes.xml am: 81c8066e4b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15582262

Change-Id: I0dfe622a295abf4631671d2c5d01fea7d1805fcd
2021-08-16 14:21:37 +00:00
Robert Lee
09c3fd343f audio: update audio_policy_volumes.xml
Update below stream's volume curves to refine system sound output
from speaker too loud in the lowest volume.

  <volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
  <volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
  <volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
  <volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
  <volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">

Refine audio-tables.mk location to make sure the xml is updated.

Bug: 195387287
Test: QMC verified
Test: Local built and verified vendor/etc/audio_policy_volumes.xml is correct one

Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: I13188d7470092448a2660f89d43cf13a56c22edc
2021-08-16 11:27:19 +00:00
wenchangliu
5624d9686f raven: enable media performance class 12 am: 94ac6e31e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15552527

Change-Id: I6d20bd67172e76f14597592b415c6fdcdaebf201
2021-08-16 04:06:36 +00:00
wenchangliu
a768e6f4ae raven: enable media performance class 12
Bug: 187191316
Test: atest CtsMediaPerformanceClassTestCases
Test: atest android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest
Test: atest android.filesystem.cts.RandomRWTest
Test: atest android.filesystem.cts.SequentialRWTest
Test: atest CtsVideoQualityFloorHostTestCases
Change-Id: Ia6f335e81f6157a5abde7d33a5576762303b2379
2021-08-16 03:52:17 +00:00
Beverly
85e704d9d1 Don't have an alpha-in fade for the auth ripple am: 166e72e1e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15546909

Change-Id: I2538a7418bfdad37ed9d14db9b51828bb5439c27
2021-08-13 20:54:45 +00:00
Beverly
a7db0950b2 Don't have an alpha-in fade for the auth ripple
Since R4O6 ripple comes from UDFPS, we don't need
to fade it in.

Test: manual
Bug: 196006323
Change-Id: If7e41bfe87823a763a8247a9125f8cc54ba769a6
2021-08-13 20:41:18 +00:00
TeYuan Wang
6d836b0d82 thermal: optimize CPU/GPU throttling am: be20378239
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15516273

Change-Id: Ib61fc40e7aec5d606534350db9aab9f25eabce7f
2021-08-13 20:18:37 +00:00
TeYuan Wang
7a9216673c thermal: optimize CPU/GPU throttling
Bug: 195459720
Test: test burn8 and manhattan
Change-Id: Icb65cda2f9370069ac701cc1d15c6cc8661af0ba
2021-08-13 20:00:42 +00:00
linpeter
d96305faa3 display: disable hbm dimming am: 85227c2576
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15557087

Change-Id: I9d2b3b6e653b215f93c385d8b553ddaf57a339a9
2021-08-13 14:17:59 +00:00
linpeter
2d18527195 display: disable hbm dimming
Bug: 194656170
test: no panel dimming
Change-Id: I5907697c546bd11d6e8ca67b4fde2a67b3ab8764
2021-08-13 14:04:28 +00:00
Daniel Solomon
ffa26ddb17 display: override Oriole set_idle_timer_ms am: 16dc7e0226
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15484344

Change-Id: Iac7f44570e5c51545c6ebae7ea745f6e8feffc15
2021-08-13 05:42:10 +00:00
Daniel Solomon
7494ecc094 display: override Oriole set_idle_timer_ms
Bug: 195699802
Change-Id: I6d707b1630d26e0c2018c12566f2a294c4dadd10
2021-08-13 05:26:26 +00:00
samou
13b25f6e5d powerstats: correct display odpm rail name am: 3bf4ba165b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15416441

Change-Id: Idb1d0ee0248e37454270b328ef7b4fa8ed30839f
2021-08-13 00:46:31 +00:00
samou
f1820dbcbd powerstats: correct display odpm rail name
Bug: 194651088
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I40b1ab79c64a26008746933fd293064ff69eeebd
2021-08-13 00:33:00 +00:00
George Lee
8dd835a0c2 bcl: change tpu_cooling state from 3 to 2 ocp_tpu am: 27f5393c07
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15543821

Change-Id: Ia15538fd1fd9ed3ba4c8a79072ad36610ceaca98
2021-08-13 00:16:34 +00:00
George Lee
4a6d0b7b8e bcl: change tpu_cooling state from 3 to 2 ocp_tpu
Per quality testing of Face Auth, noticed 2 failures out of 30 tries of
Face Auth.  Per thermal log, tpu_cooling state changed 2 times.  Over
throttling on TPU by setting tpu_cooling state to 3 may cause Face Auth
to fail.  Changing it to 3.

Bug: 181348043
Bug: 196315467
Test: Local test and verify Face Auth
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I535f0734c247b2041af0f7cc69ef8e6706c9a909
2021-08-12 20:30:53 +00:00
Yanting Yang
bebf28c317 Update MIC e-label for JP SKU of Raven am: ee93d2b63f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15538955

Change-Id: I02939a6a0bdcc00ff6522eb4370e03ac5c9b3b58
2021-08-12 13:32:12 +00:00
Yanting Yang
157a9cb111 Update MIC e-label for JP SKU of Raven
Bug: 195376206
Test: visual
Change-Id: I112fe850da9e4765c251866a98d69f3f6d8f60b9
2021-08-12 13:17:20 +00:00
George Lee
73505f2607 bcl: lower ocp_warn for tpu and gpu am: fd838b05ce
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15523661

Change-Id: I66190dca5b070559cfa2e9bfdf520aa125ccb62f
2021-08-11 01:48:41 +00:00
George Lee
8fadec702c bcl: lower ocp_warn for tpu and gpu
Bug: 181348043
Test: Local test and verify trip point
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ifea3ea71e658b1ca0d9d87c2ca1cdb16b290a6b9
2021-08-11 01:32:04 +00:00
George Lee
50955b2b74 bcl: Update soft_ocp cooling device am: 7eadb11846
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15484343

Change-Id: Ice7ff5274d9c76b1179fba236ba48f9a9422b832
2021-08-10 23:34:35 +00:00
TeYuan Wang
cabaf44c82 thermal: add TPU throttling for SKIN thermal optimization am: bffd5fe31a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15472709

Change-Id: Ib215d533f040bf501608e5245d14dd2330868d14
2021-08-10 23:34:31 +00:00
George Lee
f7e42d69e0 bcl: Update soft_ocp cooling device
Add cooling device for soft_ocp_warn.

Bug: 188701596
Test: Local test and check trip point
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ife680d79467d9a07e14cc890d60f35aba02c0b65
2021-08-10 23:27:13 +00:00
TeYuan Wang
3f4c1166f6 thermal: add TPU throttling for SKIN thermal optimization
Bug: 188701596
Test: Verified by emul temp
Change-Id: I37300afd1aa9678b22e7108c918b515f83347f37
2021-08-10 23:18:01 +00:00
YiHo Cheng
849bf9c745 thermal: Update thermal table am: 0f5f85413d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15472392

Change-Id: Ib1610bb1f3612417d0151a55a17e2442efbf482f
2021-08-10 02:09:51 +00:00
YiHo Cheng
773ca4e2ae thermal: Update thermal table
Update pid related settings to get thermal pid control work for o6
proto.

Bug: 195617178
Test: run burn8 and emul_temp to check if pid thermal control work
Change-Id: I82e1a9271cef480b7a4cf33fe0d827316521e93c
2021-08-10 01:59:26 +00:00
YiHo Cheng
ff3df4c5d0 thermal: Update thermal table am: c86dcb9f96
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15471526

Change-Id: I52c9e91c5284f981fb417ad5a6d8e574bf32975f
2021-08-09 18:24:25 +00:00
YiHo Cheng
6f960da38c thermal: Update thermal table
There are two addtional OPPs for MID cpu so update power table to keep
align with dvt power table dump data to kick off MID cpu throttling in
time for thermal protection.

Bug: 195617178
Test: use emul_temp and burn8 to check throttling worked as expected
Change-Id: I2b9b3549ab97409920acdd7d0e9f1946bcf0678b
2021-08-09 18:03:09 +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
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
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