Commit graph

290 commits

Author SHA1 Message Date
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
millerliang
0d481528c0 audio: adjust the latency for output and input
Change the period size to 20 for audio record.
Otherwise it will apply fast capture.
Fast capture timestamps are not supported yet.

Bug: 190453606
Bug: 189793417
Test: Test av sync for camera recording
Test: Test av sync for video playback
Change-Id: Ic7225979a411f6fdef1e5869df7f816bd49003b1
2021-06-25 13:44:27 +00:00
Peter_Liang
365955ed05 Update the latest voice packs of Text-To-Speech and configs for am: 4c6efd8d74
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15045651

Change-Id: Iad7c669576d99dda7b16f4e46747fb5f6fbf10c5
2021-06-25 08:37:37 +00:00
Peter_Liang
55f8b7c6de Update the latest voice packs of Text-To-Speech and configs for
Oriole and Raven.

Bug: 177494787
Test: manual test
Change-Id: Ic764e003ddeddb10a9f807be04ed8a3761b6eef9
2021-06-25 08:26:35 +00:00
Robert Lee
3728ba74f0 audio: update audio table am: e24784948a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15090022

Change-Id: I11e9b8e790e7afad9e128a52b258f5c9b15ce559
2021-06-25 08:05:24 +00:00
Robert Lee
12a5e8f467 audio: update audio table
<Change List>
For audio_platform_configuration.xml to both O6 & R4,
1. Add below devices for input_backend_cfg_mic_mapping to fix b/188696633.
     - <backend_cfg in_cfg="IN_CAMCORDER_INVERT_LANDSCAPE_BE_CFG">
     - <backend_cfg in_cfg="IN_CAMCORDER_PORTRAIT_BE_CFG">
     - <backend_cfg in_cfg="IN_CAMCORDER_SELFIE_LANDSCAPE_BE_CFG">
     - <backend_cfg in_cfg="IN_CAMCORDER_SELFIE_INVERT_LANDSCAPE_BE_CFG">
     - <backend_cfg in_cfg="IN_CAMCORDER_SELFIE_PORTRAIT_BE_CFG">
     - <backend_cfg in_cfg="IN_VOICE_RECOGN_MIC_BE_CFG">
     - <backend_cfg in_cfg="IN_UNPROCESSED_MIC_BE_CFG">
     - <backend_cfg in_cfg="IN_UNPROCESSED_DUAL_MIC_BE_CFG">
     - <backend_cfg in_cfg="IN_UNPROCESSED_TRIPLE_MIC_BE_CFG">

<Validation Results>
All the regression are positive, which is validated based on SD1A.210614.001 build.
1. Fix freeze issue when running Diagnostic Tool for microphone test.
2. Built-in mic capturing with expected gain setup and active mic numbers in different mic source(mic/VR/unprocessed/camcorder).
3. Built-in speaker playout with expected gain setup in speaker & speaker-safe mode.
4. Both uplink & downlink for telephony works in HA/HH mode.

Bug: 174448901
Test: Builds pass and verified by hardware
Change-Id: Ifb14911eb25ef2b0f42d29b609ae6f9b74ddaa44
Signed-off-by: Robert Lee <lerobert@google.com>
2021-06-25 07:41:20 +00:00
Jasmine Cha
ffb673aabc audio: update FM tuning tables (20210624_v540) am: d5d3cf2269
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15093751

Change-Id: I01049f1361ab88b672c917ab643f63177b62114e
2021-06-25 06:32:09 +00:00
Jasmine Cha
fbdf38a954 audio: update FM tuning tables (20210624_v540)
Changlist:
R4
1. Handset NB/WB/SWB/FB EVT tuning
2. Add HA ECNS_off-FB / EC_off-FB / NS_off-FB
3. Add HH ECNS_off-FB / EC_off-FB / NS_off-FB
4. Handsfree NB/WB/SWB/FB EVT tuning
5. TTY VCO: sync the latest of HH TX
6. TTY HCO: sync the latest of HH RX
7. Headphone : sync the latest of HH TX
8. USB_BlackBird: fine tuned
9. Google_Condor: sync tuning

O6
1. Handset NS optimization: NB/WB/SWB
2. Add HA ECNS_off-FB / EC_off-FB / NS_off-FB
3. Add HH ECNS_off-FB / EC_off-FB / NS_off-FB
4. Handsfree NS optimization: NB/SWB
5. TTY VCO: sync the latest of HH TX
6. Headphone : sync the latest of HH TX
7. USB_BlackBird: fine tuned

Bug:174635995
Test: voice /voip call

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I5cc0bec1131e5cf3c921a832e9a9211af9704fda
2021-06-25 06:18:17 +00:00
Calvin Pan
6c91fce2a5 Update ./DevInfo/Mod model name am: b91f772947
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15093752

Change-Id: I040f2133b6fd0dbbf5697ca6c880b325f447a4a7
2021-06-25 02:28:07 +00:00
Calvin Pan
0baeebd8f5 Update ./DevInfo/Mod model name
Bug: 191961582
Test: Build pass
Change-Id: I60fb9d0d4487a3b7ccfc2152cb90cc9df808a4a9
2021-06-25 02:12:11 +00:00
Ilya Matyukhin
d8b0f0a402 Remove access to the LHBM node from SystemUI am: 6f19a948e7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15088718

Change-Id: Idcc4628c80f54b73a62cc740ed684f846564a72f
2021-06-25 01:27:58 +00:00
Ilya Matyukhin
a8f6e24b37 Remove access to the LHBM node from SystemUI
Bug: 183223359
Test: on device
Change-Id: I56cdc5ab4654ac523b4a80f270d5567aac16cdc7
2021-06-25 01:12:52 +00:00
TeYuan Wang
337cb4f3b0 thermal: optimize trigger sensor settings am: b0f3bc8d09
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15094633

Change-Id: Ib54bb866c89c13217fd28e50d2d7658d1d5f2b2b
2021-06-25 00:04:24 +00:00
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
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
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
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
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
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
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
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
aaf6f6360a display: add O6 golden calibration profile
Bug: 189988531
Change-Id: I9e502c3927cd3f686e3ca8e4b52f867cef900b2e
2021-06-23 02:18:35 +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
354c1e7fad Set audio haptic channel amplitude limit
Bug: 188025353
Test: manual
Change-Id: I9609d812c11f08990c68d73cff20bc1a738f4174
2021-06-22 17:02:18 +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
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
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
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
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
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
de356bd0af raven, oriole: overlay UDFPS illumination transition time
Bug: 189130534
Test: perfetto
Change-Id: Iec7fe726197a2b23547739a8e96824362aa76fc4
2021-06-18 19:52:48 +00:00
Carter Hsu
d0d8064dfe audio: update R4 camcorder tuning 06/17 am: 38b7d5d03b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15013232

Change-Id: I3bafa4955197fec86ef274c05aaec97cafd34525
2021-06-18 08:05:50 +00:00
Carter Hsu
d138225fcf audio: update R4 camcorder tuning 06/17
Change list:
Tuning parameters for surround module were updated in gatf file

Bug: 186721091
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I2e86c2e95d603fa3adcf500423734fc7f8f5837f
2021-06-18 07:48:23 +00:00
Robert Lee
88b55d8468 audio: update speaker protection bins am: a1c318718b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15005620

Change-Id: I01c1e10dbcfba5f8b6a30e37c118ba4661234621
2021-06-18 05:53:46 +00:00