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
Bug: 196833426
Test: Boot and confirm proper level set
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iff9e77c39de546c53fd2404d3a0e15408b0e856d
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
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
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
Bug: 181348043
Test: Local test and verify trip point
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ifea3ea71e658b1ca0d9d87c2ca1cdb16b290a6b9
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
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
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
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
This should not scale with density size increases b/c the
sensor size is fixed.
Test: manual
Change-Id: I84cd73992b657ee292873fd7ba4bf6e73fc6b349
Fixes: 195564809
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
///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
- 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
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
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
zone condition(15% brightness, 5 Lux) for 120Hz
Bug: 193087466
Test: no refresh rate change in the blocking zone
Change-Id: I4e5918ff5d829a6ad656db1c7f4993e1e8e9c23d
Bug: 194169487
Test: Test Diagnostic Tools microphone test
Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: Ice468e91591f5e552e733d187ade86e76896c5b5
For raw playback, the buffer size needs to equal to the
ring buffer size. AoC changes the buffer size to 16384 bytes,
but it cannot be divisible by 48(1ms frames with 48000 sample rate).
Use the period size(frame couts) from configuration file.
Bug: 194398677
Test: OboeTester->TEST OUTPUT
Change-Id: I07f0cb7d5904e4e3ef78b9a15d31590fdd5a9087
///R4
1. Headset fine tuning for QoE issue (b/194852269)
2. HHSWB fine tune for echo
///O6
1. Headset fine tuning for QoE issue (b/194852269)
2. HHSWB fine tune for echo
Bug: 194852269
Test: manual test
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I59ae8ea5ef7b4d6d25c9b684c422ee5dd28fcb30
VDROOP2 had the same threshold as VDROOP1. It should be lower.
Bug: 194239833
Test: VDROOP2 doesn't always trigger.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic6a28707eb69309291132a3ca9838c42d5be6c8d
//R4
1. HH WB mic blocked enable
2. HH SWB BVE disable
3. HA WB mic blocked enable
4. HE TTY VCO: sync the latest of HH TX
5. HE TTY HCO: sync the latest of HH RX
6. HE Headphone : sync the latest of HH TX
7. BT HAC : sync the latest of HH TX
8. HA BVE turn on in Generic settings: NB/WB/SWB
9. HA BVE turn on in TMUS settings: NB/WB/SWB
10 HE by Gene
For both R4 and O6
BB
- General
- EnableBBLowLatencyMode
- NB
- TX EQ, NS improve
- RX volume, DRC
- WB
- TX EQ, NS improve
- RX EQ
- RX volume, DRC
- SWB
- RX EQ, NS improve
- RX TDDRC change from 5 to 7.01dB
- RX volume, DRC
- FB
- TX EQ for NS
- RX volume, DRC
Google Condor
- Enable LowLatencyMode
- NB TX EQ depress low freq, increase high freq
- WB TX EQ depress low freq
Condor reservation
- same to Google Condor
Condor for sertification
- Enable LowLatencyMode
//O6
1. HH WB EVT1.1/DVT fine tuning
=> FdEQ for more headroom
2. HH WB mic blocked enable
3. HH SWB BVE disable
4. HA WB mic blocked enable
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. BT HAC : sync the latest of HH TX
9. HA NB/WB/SWB/FB Generic tuning based on acoustic structure change
10. HA NB/WB/SWB/FB TMUS tuning based on acoustic structure change
11. HA BVE turn on in TMUS settings: NB/WB/SWB
12 HE by Gene
For both R4 and O6
BB
- General
- EnableBBLowLatencyMode
- NB
- TX EQ, NS improve
- RX volume, DRC
- WB
- TX EQ, NS improve
- RX EQ
- RX volume, DRC
- SWB
- RX EQ, NS improve
- RX TDDRC change from 5 to 7.01dB
- RX volume, DRC
- FB
- TX EQ for NS
- RX volume, DRC
Google Condor
- Enable LowLatencyMode
- NB TX EQ depress low freq, increase high freq
- WB TX EQ depress low freq
Condor reservation
- same to Google Condor
Condor for sertification
- Enable LowLatencyMode
Bug: 194273785
Test: manual test (b/194273785/comment#7)
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ifb00378b6b5a9df95af82b7a1ff6256e91bd0ca3