Commit graph

631 commits

Author SHA1 Message Date
TeYuan Wang
bf198b780e thermal: optimize trigger sensor settings
1. Reduce the polling time to 60s to reduce the lantancy when ThermalHAL
miss the trigger sensor's notification.
2. Adjust the trigger sensor's threshold to lower temperature.

Bug: 191971470
Bug: 191795038
Test: adb shell lshal debug android.hardware.thermal@2.0::IThermal/default

Change-Id: I2559944dfdef684ee93867a15dea257ee5f435b9
2021-06-24 23:52:31 +00:00
Chris Kuiper
af0ee59a04 auto-brightness: Change light debounce for R4/O6 am: 1510fb15df am: 18f6f06729
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15089874

Change-Id: I3dd4e1aed9c9507c3e244a87b9050ab793760901
2021-06-24 16:22:45 +00:00
Chris Kuiper
ed6785712f auto-brightness: Change light debounce for R4/O6 am: 1510fb15df am: 5fcc863c4c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15089874

Change-Id: I64caf6b664218d2e01a11a9580152679de5bacaf
2021-06-24 16:22:19 +00:00
Chris Kuiper
68ad838775 auto-brightness: Change light debounce for R4/O6 am: 1510fb15df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15089874

Change-Id: If4b8a1a83ca5a455d5a0e0f94de4e25265fd4eab
2021-06-24 16:10:18 +00:00
Chris Kuiper
68dfcac413 auto-brightness: Change light debounce for R4/O6 am: 1510fb15df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15089874

Change-Id: Iecfa7294ee11e12b521fa89122adad42962c87cd
2021-06-24 16:09:24 +00:00
Chris Kuiper
dab5283046 auto-brightness: Change light debounce for R4/O6
This reduces the brightening and darkening light debounce
configuration to match R3 and earlier Pixel devices.

Bug: 185770517
Test: Verified "dumpsys display" shows correct config values.
      Verified brightness transitions are similar to R3 now.

Change-Id: I6bd47cb52c28c63ece6b5247344a6cf062eb31ea
2021-06-23 22:52:45 -07:00
TeYuan Wang
8b6e81ddff thermal: update thermal table am: a01dfbc327 am: 5976b27129
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911642

Change-Id: Ibb09fcaebb057bf2daf43c5602c312fc31744a20
2021-06-23 23:38:55 +00:00
TeYuan Wang
229b5f76ef thermal: update thermal table am: a01dfbc327 am: 2e16f97844
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911642

Change-Id: I33351ebeff8a96ac5f6db2c4fbfcc4002ffb8184
2021-06-23 23:38:37 +00:00
TeYuan Wang
948d4f3bfa thermal: update thermal table am: a01dfbc327
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911642

Change-Id: Ia8eb63ff94208c5ecb6971ebb188b30c343ddbfe
2021-06-23 23:25:27 +00:00
TeYuan Wang
f8612524f0 thermal: update thermal table am: a01dfbc327
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911642

Change-Id: I1dc29c1fb06cf5ca118277d1cb31cdcae909ace0
2021-06-23 23:24:37 +00:00
TeYuan Wang
be012113bb thermal: update thermal table
1. Update charging throttling policy according to the new kernel change
2. Adjust the virtual sensor formula for 5G cases.

Bug: 182970733
Bug: 183559513
Bug: 190449889
Bug: 190450703
Test: Verified by emul temp
      adb shell lshal debug android.hardware.thermal@2.0::IThermal/default
Change-Id: Ieb859c93cdfa7486ad199af21b57db0732c24006
2021-06-23 23:09:44 +00:00
Gil
4efa168bf2 [Display] Re-mapping the Default Brightness am: c1dae64908 am: d02bf1de78
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14516641

Change-Id: I9b2e6d1ed00ba3dc5934e9dfb1d9be64edf97410
2021-06-23 08:13:08 +00:00
Gil
87dac08f6f [Display] Re-mapping the Default Brightness am: c1dae64908 am: 6c8e95f9ed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14516641

Change-Id: I819aee8d42ff0ba7a3b38c214187c1322d993a54
2021-06-23 08:12:41 +00:00
Gil
e76e1b571f [Display] Re-mapping the Default Brightness am: c1dae64908
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14516641

Change-Id: Ie00b3b7f66f2005577d9c6766ba8adee82c2b491
2021-06-23 07:58:05 +00:00
Gil
ca302b1f5f [Display] Re-mapping the Default Brightness am: c1dae64908
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14516641

Change-Id: I6292942c093c566302bc94965ba99e5d5d7c4d74
2021-06-23 07:55:21 +00:00
Gil
9dd59a9dda [Display] Re-mapping the Default Brightness
Update the Default brightenss to 0.17429718 for mapping to 140 nits

Bug: 187917731
Test: Dump the display log and check mScreenBrightness
Change-Id: I9836a2dd0127c881b0eceb4d2c908bb52ea709e7
2021-06-23 07:41:19 +00:00
Long Ling
d52b1af8bf display: add O6 golden calibration profile am: f40c2c4641 am: 0bef0ef6fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15054748

Change-Id: I01b34702511927714d74c4f7bf8bdb294e2c201b
2021-06-23 02:52:39 +00:00
Long Ling
27f1872f31 display: add O6 golden calibration profile am: f40c2c4641 am: 3878b725bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15054748

Change-Id: I6d235cdf001e1fcee3e1ef331a7f2845105ce1f7
2021-06-23 02:52:34 +00:00
Long Ling
3457a0b9cc display: add O6 golden calibration profile am: f40c2c4641
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15054748

Change-Id: I4cde0ce50f76517692162c868e429a6b2680c77b
2021-06-23 02:38:03 +00:00
Long Ling
c9f0d64e02 display: add O6 golden calibration profile am: f40c2c4641
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15054748

Change-Id: Iacc1e4e57747f5061ae4da00211335195068733c
2021-06-23 02:37:24 +00:00
Long Ling
aaf6f6360a display: add O6 golden calibration profile
Bug: 189988531
Change-Id: I9e502c3927cd3f686e3ca8e4b52f867cef900b2e
2021-06-23 02:18:35 +00:00
Lais Andrade
e2f746fa79 Set audio haptic channel amplitude limit am: 3b45692265 am: 90a915f79f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15063343

Change-Id: I6cbcd826ca4a088bbf0685501b03035b59dd111a
2021-06-22 17:45:30 +00:00
Lais Andrade
19b2b4bf23 Set audio haptic channel amplitude limit am: 3b45692265 am: e8431e6a54
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15063343

Change-Id: I7fb888901bdf3124195ddb9e27efa7bcf50309bc
2021-06-22 17:44:44 +00:00
Lais Andrade
9bdc487b12 Set audio haptic channel amplitude limit am: 3b45692265
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15063343

Change-Id: I7922fe1e09de9e180a9ad61738f42d35c5c21605
2021-06-22 17:28:53 +00:00
Lais Andrade
bd2f4e47fd Set audio haptic channel amplitude limit am: 3b45692265
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15063343

Change-Id: Id058479d5858292f907a0e9909a9f5ca5826ac6c
2021-06-22 17:27:45 +00:00
Lais Andrade
354c1e7fad Set audio haptic channel amplitude limit
Bug: 188025353
Test: manual
Change-Id: I9609d812c11f08990c68d73cff20bc1a738f4174
2021-06-22 17:02:18 +00:00
Carter Hsu
db56b6b68f audio: add echo reference input am: 564914bd1b am: f02ed226fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14526743

Change-Id: If67d7b4df6f6bd35fd3545d094f90369b6abe66f
2021-06-22 12:45:29 +00:00
Carter Hsu
8ac5a5baad audio: add echo reference input am: 0020451548 am: f9261eae67
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14840192

Change-Id: Ifd2a5ef275a66dfd366b0d9acc3ee423f79ef7c9
2021-06-22 12:45:28 +00:00
Carter Hsu
1a6ce0d188 audio: add echo reference input am: 564914bd1b am: 05f46ca6bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14526743

Change-Id: I8fb2a82970d31d21684a98b86aba6828152a2fe5
2021-06-22 12:45:06 +00:00
Carter Hsu
e610e6db8d audio: add echo reference input am: 0020451548 am: 6f4147e958
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14840192

Change-Id: Ib3c453bfe1f19308a632b86181dbf6ead8557f1f
2021-06-22 12:45:05 +00:00
Carter Hsu
9623890081 audio: add echo reference input am: 564914bd1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14526743

Change-Id: I44e2067ab95fcf640adf922bd0c0da98bcf0b028
2021-06-22 12:32:42 +00:00
Carter Hsu
3f93716b7c audio: add echo reference input am: 0020451548
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14840192

Change-Id: I5cab2e165565bfe2075aea17bd3c6550246e38a9
2021-06-22 12:32:41 +00:00
Carter Hsu
b9fecd5107 audio: add echo reference input am: 564914bd1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14526743

Change-Id: Ib341441491ce85f4da5f51e86d46ee220a47d12a
2021-06-22 12:30:10 +00:00
Carter Hsu
f574eba70f audio: add echo reference input am: 0020451548
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14840192

Change-Id: I38d01f6818d0698e3b24d8cc23ab396a8486df99
2021-06-22 12:30:08 +00:00
Carter Hsu
12f1ede6b1 audio: add echo reference input
Bug: 188005303
Test: capture the echo reference
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I28c6ceb2e3f719bbd7d24e4301704742933042a4
2021-06-22 12:13:19 +00:00
Carter Hsu
fb03700852 audio: add echo reference input
Bug: 188005303
Test: capture the echo reference
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ie7e69b7c56801395e03280dd2415842b7f22f898
2021-06-22 12:13:19 +00:00
YB Chiu
293eadb030 FBF:mixer_table: mic soft gain config for O6/R4/W3/Slider am: c7aa583d5e am: 659671cf87
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14981558

Change-Id: I966ea7930f55e96a911f4eb675eb688dead9c219
2021-06-22 09:06:33 +00:00
YB Chiu
ee534cf7f2 FBF:mixer_table: mic soft gain config for O6/R4/W3/Slider am: c7aa583d5e am: 86ef88bbcd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14981558

Change-Id: I4cf2195586b045953ca5e6df7c1517bd38acb043
2021-06-22 09:06:11 +00:00
YB Chiu
a1e4f7bb71 FBF:mixer_table: mic soft gain config for O6/R4/W3/Slider am: c7aa583d5e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14981558

Change-Id: Id31165351a470510c2043d1539b326026d3a35e1
2021-06-22 08:44:45 +00:00
YB Chiu
09bb6c428c FBF:mixer_table: mic soft gain config for O6/R4/W3/Slider am: c7aa583d5e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14981558

Change-Id: I8feab16654da27cc6d2f802a1774af978db8b3d9
2021-06-22 08:43:50 +00:00
YB Chiu
8ae9e16235 FBF:mixer_table: mic soft gain config for O6/R4/W3/Slider
Add mic1 ~ mic4 soft gain configuration

    <path name="mic1-sw-gain">
        <ctl name="MIC Record Soft Gain (dB)" />
    </path>
            :
            :
    <path name="mic4-sw-gain">
        <ctl name="MIC Record Soft Gain (dB)" />
    </path>

Bug: 190822301

Test: build pass

Change-Id: Ia5f35fff6cea22d6dfafa8c76e50d3e16cacbbcf
2021-06-22 08:29:42 +00:00
Jimmy Shiu
68d16ea61f adpf: set adpf.rate to device max refresh rate am: f7e9d79f53 am: 6ee7b9995d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15019755

Change-Id: If9a843d570e2af314f6f0ce2a80744079f74e1ed
2021-06-21 16:19:28 +00:00
Ilya Matyukhin
c2b192e10a raven, oriole: overlay UDFPS illumination transition time am: 141922bebe am: 566a2f68ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15023487

Change-Id: Ie1894e87ab5ba7c608a559f44fa1eae5c82104a3
2021-06-21 15:43:43 +00:00
Jimmy Shiu
e0f2935e2b adpf: set adpf.rate to device max refresh rate am: f7e9d79f53 am: 506c755067
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15019755

Change-Id: I90cc18fa50fa5ae9c3f8474474deea5da9436358
2021-06-21 12:10:39 +00:00
Ilya Matyukhin
f80e488f65 raven, oriole: overlay UDFPS illumination transition time am: 141922bebe am: d3fe0ce6b7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15023487

Change-Id: Ic552ffa179dcc48bd6eaa945e1d805a5f86ea14d
2021-06-21 12:00:35 +00:00
Jimmy Shiu
60c116b7be adpf: set adpf.rate to device max refresh rate am: f7e9d79f53
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15019755

Change-Id: Ib3cbb7d4062006bf379b9567fb09ba13f88582b6
2021-06-21 11:56:03 +00:00
Ilya Matyukhin
c9c0946e9a raven, oriole: overlay UDFPS illumination transition time am: 141922bebe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15023487

Change-Id: I3588fbbf9409af3b2cb8fb90afd6ebd2cb8f530b
2021-06-21 11:51:52 +00:00
Jimmy Shiu
76899534de adpf: set adpf.rate to device max refresh rate am: f7e9d79f53
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15019755

Change-Id: I384e78f24bfebd5d8b5f33060a37ef7280ec070b
2021-06-19 04:17:38 +00:00
Jimmy Shiu
7700cf01b9 adpf: set adpf.rate to device max refresh rate
For raven, set the set vendor.powerhal.adpf.rate to 8.3ms
For oriole, set the set vendor.powerhal.adpf.rate to 11.1ms

Bug: 177493042
Test: build
Change-Id: I1f535105f66d6bf34025f3c11d94c83d69c730da
2021-06-19 04:00:51 +00:00
Ilya Matyukhin
06fd6068b0 raven, oriole: overlay UDFPS illumination transition time am: 141922bebe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15023487

Change-Id: I866f383fd83490cc6207f5ca477b0a92f329faa7
2021-06-18 20:09:45 +00:00