1. Update raven virtual sensor formula
2. Add power link settings for charging throttling reference
3. Support cdev_ceiling and cdev_weight for each severity
Bug: 192281595
Bug: 182970733
Bug: 183559513
Bug: 190809187
Bug: 184582287
Test: verified by emul temp
Change-Id: I4d51f60cb970e0f9d82273243cbd3aed16f8997b
This config indicate whether to allow the device to suspend
when the screen is off due to the proximity sensor. This
resource should only be set to true if the sensor HAL correctly
handles the proximity sensor as a wake-up source. Otherwise,
the device may fail to wake out of suspend reliably.
Bug: 192324731
Test: 1. Unplug USB. 2. make a phone call.
Test: 3. Cover p-sensor, the screen turns off for 10 seconds
Test: 4. Uncover p-sensor. 5. Plug USB.
Test: 6. 'adb shell dmesg | grep suspend' to check if AP ever suspend in calls.
Change-Id: I90c0ef56211908b5a211d9f887bbfc6693a3be40
+ 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
AAC VBR is more preferred than CBR for A2DP playback.
Bug: 192203000
Test: dumpsys bluetooth_manager
Change-Id: I8f758c102164da9936de7ddc0bb46e0a99279359
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
<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>
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
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
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
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
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
<Change List>
For mixer_paths.xml to both O6 & R4,
1. Add default value for "MIC Record Soft Gain (dB)" control to accommodate with b/189498328.
2. Update below path name to move compensation gain from "MIC HW Gain At High Power Mode (cB)" to "MIC Record Soft Gain (dB)" to fix recording concurrency issue(b/189294476).
- <path name="handset-mic">
- <path name="speaker-mic">
- <path name="camcorder-mic">
- <path name="voice-recog-mic">
- <path name="unprocessed-mic">
- <path name="unprocessed-dual-mic">
- <path name="unprocessed-triple-mic">
<Validation Results>
All the regression are positive, which is validated based on SD1A.210614.001 build.
1. Built-in mic capturing with expected gain setup and active mic numbers in different mic source(mic/VR/unprocessed/camcorder).
2. Built-in speaker playout with expected gain setup in speaker & speaker-safe mode.
3. Both uplink & downlink for telephony works in HA/HH mode.
Bug: 174448901
Test: basic record pass
Change-Id: I3f7759e6998f419a3d7d87b032d8088f5bc7dac0
Previously, we defined a list of kernel modules that should be
excluded from the vendor_boot image. (Those modules are loaded
from the vendor_dlkm partition during second stage init.)
Going forward, we import a list distributed by the kernel build that
explicitly defines the kernel modules to included in the vendor_boot
image.
Bug: 190652328
Change-Id: I8d67bfdaa121ddd82dc9e493c9b18cebdc05233c
1. Support more camcorder tuning with different channels
2. Update the latest params on WNR, SUR, Linear gain, MBDRC module.
Bug: 181869495
Bug: 186721091
Bug: 174448901
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I969b9bbb6a3fd74206dfc0bf385d9ebc1fddf194
Oriole WHI A updated.
Bug: 188365095
Test: Confirm throttling based on criteria matched
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic3dcb7ed7af8aa40f56087fa72603e21c5c6b1ec
Set Zone 2: < 30 Lux and UI brightness 45%. Lock 90Hz
Set Zone 3: > 50,000 Lux and UI normal brightness 100%. Lock 60Hz
Bug: 187929149
Bug: 190018500
Test: no refresh rate chagne in the blocking zone
Change-Id: Iffe10c76cfff1c8eac9361e68a10377d26b48d10
//O6
1. HA NB/WB/SWB/FB : Mic blocked paramter temp disable
2. HH NB/WB/SWB/FB: Mic blocked parameter temp disable
3. HA FB EVT modification
4. HH FB EVT modification
=> Mic design change : FB TX pre-FdEQ
=> RX Distortion : FB RX TdDRC, FdEQ
=> Volume curve : FB SPK_VOL
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 HAC TX: sync the latest of HA TX
9. HE blackbird: Modify TX operation mode, low-delay and Handfree
10. HE Condor: Modify TX operation mode, low-delay and Handfree
11. HE Condor-Certification1: Modify TX operation mode, low-delay and Handfree
//R4
1. HA NB/WB/SWB/FB : Mic blocked paramter temp disable
2. HH NB/WB/SWB/FB: Mic blocked parameter temp disable
3. HE TTY VCO: sync the latest of HH TX
4. HE Headphone : sync the latest of HH TX
5. HAC TX: sync the latest of HA TX
6. HE blackbird: Modify TX operation mode, low-delay and Handfree
7. HE Condor: Modify TX operation mode, low-delay and Handfree
8. HE Condor-Certification1: Modify TX operation mode, low-delay and Handfree
Bug: 174635995
Test: manual test
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I55824022f4e15c9f62b8624d390febf1195499da
Add prorperty so thermal-hal can sent powerhint.
Bug: 188579571
Test: thermal-hal can sent powerhint.
Change-Id: Ia38d7c56638d4ed88eedde1ed94ad8ac1e64e351
Signed-off-by: David Chao <davidchao@google.com>
O6:
+ improves loudness
+ improves clarity
+ incorporates landscape tuning with good left-right balance
Tuning work will continue to improve transient performance at max volume,
and incorporate feedback from UTD and PAE tests.
Bug:17908976
Test: playback/mute on,off/bypass/lr swap, mixed
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib038235997abe417449dc9db96fe42a2700307fc
Bug: 187912470
Test: make -j128
Test: deep buffer and compress offload via speaker, USB headset, BT
earphone
Test: phone call via handset
Test: hotword detection
Change-Id: I80ec553797ff7955de0464b98046f879424d0fc5