Commit graph

2486 commits

Author SHA1 Message Date
Yen-Chao Chen
ea1ccbcc64 Merge "Add config_dozeUdfpsLongPressSensorType" 2023-01-09 08:57:51 +00:00
yixuanjiang
87dfa6319a The 2nd table release for Shiba
The change item is recording.gatf which could be found in the ZIP file.
for recording.gatf

change parameter for MBDRC in all scenarios
Mackup_gain_dB 24 -> 27.0
Min_Gain_dB -25 -> -29.0
Threadhold_dB[1] -44 -> -38
CompressRatio [1]0.8 -> 1.0
CompressRatio [2]0.2 -> 0.0
KneeWidth[2] 0 -> 6
Limiter_gain_dB -0.2 -> -2
Change IIR2 8kHz to 2dB

Test: verified by HW wjacky@
Bug: 264746360
Change-Id: Icb53d0429fe8adab43a1743bedb71ee81eafd947
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-01-09 08:52:17 +00:00
Wendly Li
e685133bcc Merge "shiba: support touch sensitivity mode switching" 2023-01-09 06:48:11 +00:00
davidycchen
7273ccd6e8 Add config_dozeUdfpsLongPressSensorType
Bug: 243078049
Bug: 243079260
Test: long press gesture is registered when UDFPS is enabled.

Change-Id: Iaf5553978cdb79a92a24b674f837ae694e187d48
Signed-off-by: davidycchen <davidycchen@google.com>
2023-01-09 11:50:28 +08:00
TreeHugger Robot
e8b36af8e3 Merge "audio: 2nd table release for Husky" 2023-01-07 15:26:20 +00:00
Wendly Li
67b055337b Merge "init: start twoshay on boot." 2023-01-07 12:34:07 +00:00
samou
2a6fc6389c power_profile: initialize shusky power_profile.xml
Bug: 263339765
Change-Id: Id546ed812b2c5b09d614838ab5935942f81a84f2
Signed-off-by: samou <samou@google.com>
2023-01-07 09:42:58 +00:00
TreeHugger Robot
36460c90e4 Merge "audio: First FM table check in (2023/01/05) for telephony." 2023-01-07 08:06:15 +00:00
TreeHugger Robot
b2cbba2262 Merge "audio: First FM table check in (2023/01/05) for telephony." 2023-01-07 08:06:09 +00:00
Ken Yang
97d1dc3596 WLC: Remove wireless_charger service
Bug: 264624634
Bug: 263830018
Change-Id: I91c7cbde057fd3c445fdffbcafc5b39f29ca7680
Signed-off-by: Ken Yang <yangken@google.com>
2023-01-07 07:34:08 +00:00
yixuanjiang
c146e333d7 audio: 2nd table release for Husky
There's only recording.gatf in the ZIP file.

for recording.gatf
change parameter for MBDRC in all scenarios.

Mackup_gain_dB
24 -> 27.0
Min_Gain_dB
-25 -> -29.0
2nd_threadhold_dB
-44 -> -38
compressRatio
2.0 -> 2.0
0.8 -> 1.0
0.2 -> 0.0
3rd_kneeWidth
0 -> 6
limiter_gain_dB
-0.2 -> -2

Files from the latest attachment on b/264731513

Test: local
Bug: 264731513
Change-Id: If2b47715286bad673d4a9a7f1c1f86d29d032ac7
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-01-07 15:33:49 +08:00
Wendly Li
e459970564 shiba: support touch sensitivity mode switching
Bug: 243078968
Bug: 243079504
Test: toggle the touch sensitivity button in Settings and check log.
Change-Id: I30e8343a1e5bba91665b5b290b5cfcfbbcc0cf47
Signed-off-by: Wendly Li <wendlyli@google.com>
2023-01-06 16:22:29 +00:00
Robert Lee
a95c6b5ee3 Merge "audio: update tuning bin file and table for 48K playback" 2023-01-06 10:47:56 +00:00
George Lee
cd7bac87ba thermal: Add BCL thermal zones
No cooling device is added yet.  The limits will be determined and added
once validation completes.

Bug: 244348786
Test: Confirm boot and IRQ triggered mitigation logger
Change-Id: I46c86d09d5b69620bc6c2f25bd6820507b168ca3
Signed-off-by: George Lee <geolee@google.com>
2023-01-05 13:34:36 -08:00
Shiyong Li
dddc66f845 device-husky.mk: set display LHBM peak brightness delay as 2 frames
Bug: 263775681
Change-Id: I0d00eb55293002e17839bdc71d9159bd4094ac9a
Signed-off-by: Shiyong Li <shiyongli@google.com>
2023-01-05 18:41:06 +00:00
David Li
a1a6b76c99 audio: First FM table check in (2023/01/05) for telephony.
//SB3
Handset: Duncan
1: Modify NB/WB/SWB gain setting and IIR setting to meet 3GPP requirements

HAC: Owen/Duncan
1. Modify NB/WB/SWB DL FDEQ slightly to meet Y-axis magnetic FR reqs of HAC v2019
2. Copy DL settings above to Handset_HAC TMOUS / RESERVE2

Handsfree: Ricky
1. All band first tuning release for Proto stage

BT:  Gene
1. Fine tune BT EL for NB WB SLR
2. BT HE table version from 1.3.1 to 1.3.3
3. Make HK BT LE EASSA to be same with SB (SB is correct originally)

Files from the latest attachment on b/264499596

Bug: 264499596
Test: verified by rickycheng@
Change-Id: I09730d343f27cec4ae4a285373f2b05daa6b2423
2023-01-05 16:19:47 +08:00
David Li
b4c69615bf audio: First FM table check in (2023/01/05) for telephony.
//HK3
Handset: Owen
1. Modify NB/WB/SWB DL FDEQ, TDDRC Gain, and SPK_Vol Gain(NB only) for 3GPP regs.
2. Modify NB/WB/SWB UL PreEQ MIC1 based on HK3 MIC Acoustic performance to match MIC0 FR
3. Modify MIC distance DIST2REF1 to 166mm based on HK3 MIC placement
4. Set NB/WB/SWB UL PGA_0/_1 gain as 20dB(from 6dB) to cover codec gain issue as a short term
5. Copy the settings above to Handset TMOUS / RESERVE2
6. Modify NB/WB/SWB Tx NS para from FM simulation to improve S-MOS(Handset Generic only)

HAC: Owen
1. Modify NB/WB/SWB DL FDEQ slightly to meet Y-axis magnetic FR reqs of HAC v2019
2. Copy DL settings above to Handset_HAC TMOUS / RESERVE2

Handsfree: Ricky
1. All band first tuning release for Proto stage

BT:  Gene
1. Fine tune BT EL for NB WB SLR
2. BT HE table version from 1.3.1 to 1.3.3
3. Make HK BT LE EASSA to be same with SB (SB is correct originally)

Files from the latest attachment on b/264499619

Bug: 264499619
Test: verified by rickycheng@
Change-Id: I709998c8aa108ef21211176b6e8c50b983b2e5a0
2023-01-05 16:17:10 +08:00
juyuchen
0bf430b32a audio: enable gapless offload
Bug: 264321094
Test: manual audio tests
Change-Id: Iddaa9a026e9fafea8d65a495e9bcd1ff716a55e9
Signed-off-by: juyuchen <juyuchen@google.com>
2023-01-05 15:21:00 +08:00
Kai Shi
9d1bd1a4e0 Enable DTIM multiplier config
Enable DTIM multiplier configuration in Pixel 23.

Bug: 259554744
Test: manual
Change-Id: I00567f0cf6f09495cffda8c86d1ec7907a6ab82c
2023-01-04 09:20:48 -08:00
Jay
9b2aeca4f0 powerhint: restrict Camera Daemon to small and mid cores
For all the use-cases, restrict camera daemon to use
4 small and 4 mid cores by default.

Bug: 261760700
Test: GCA video recording
Change-Id: Idf373a98f13e066361cc5144a14cbfefa27e7ca1
2023-01-03 17:49:37 +00:00
Edwin Tung
db55408f89 gps: Enable Vzw SUPL OTDOA
Bug: 263852801
Test: OTDOA pass
Change-Id: I132d615b84a7c728bc80463bb668372b2172bc6a
2022-12-29 14:51:18 +08:00
Cyril Lee
844976e05b Enable quick start for pixel device
Bug: 246218540
Test: build pass with `m -j` command
Change-Id: I4710b25e186452c357344931043b72e6cc86acc7
2022-12-28 01:16:55 +00:00
davidycchen
61dbdcfc42 Add GTI touch dump script
Bug: 243077990
Test: adb bugreport

Change-Id: I34fa88409e610622da0401f1f3f745fe308f316e
Signed-off-by: davidycchen <davidycchen@google.com>
2022-12-26 16:28:05 +08:00
TreeHugger Robot
258077f1d1 Merge "add support for BLE offload case in audio policy" 2022-12-26 05:13:00 +00:00
TreeHugger Robot
f72338e7bd Merge "Enable LE Audio unicast offload" 2022-12-26 05:12:52 +00:00
TreeHugger Robot
e34bd0f799 Merge "audio: 1st table release for Husky" 2022-12-23 09:16:12 +00:00
TreeHugger Robot
75a34e9c1b Merge "audio: 1st table release for Shiba" 2022-12-23 07:50:25 +00:00
TreeHugger Robot
e1d188ae49 Merge "powerstats: update state residency and energy consumer for Display" 2022-12-23 03:20:22 +00:00
David Li
3bdfceaadb audio: 1st table release for Shiba
There are recording.gatf and template.xml in the ZIP file.
for recording.gatf
Camcorder path : IIR1(high pass), SUR(calibrated filter), IIR2(high pass), AGC (-24 ideal RMS), MBDRC ( -44 threshold)
MIC path: correct MBDRC
for template.xml
correct SUR module ID

Files from the latest attachment on b/263448513

Bug: 263448513
Test: verified by wjacky@
Change-Id: I7d7dc2496ee3cf37b35b30f34b9f72febc512189
2022-12-23 10:00:30 +08:00
David Li
ca98913a34 audio: 1st table release for Husky
There are recording.gatf and template.xml in the ZIP file.

for recording.gatf
Camcorder path : IIR1(high pass), SUR(calibrated filter), IIR2(high pass), AGC (-24 ideal RMS), MBDRC ( -44 threshold)
MIC path: correct MBDRC

for template.xml
correct SUR module ID with AZ1.0 parameters

Files from the latest attachment on b/263449687

Bug: 263449687
Test: verified by darrenyen@
Change-Id: I5a31582ecf6b8f8b81be7e61079e172bddb09ba0
2022-12-23 09:41:06 +08:00
Robert Lee
a11f088032 audio: update tuning bin file and table for 48K playback
Bug: 261807510
Bug: 243626704
Bug: 243497194
Test: Builds
Change-Id: Idd50d9b5de0f183e9373e888cca3f93af03c428d
Signed-off-by: Robert Lee <lerobert@google.com>
2022-12-22 20:25:50 +08:00
Shawn Lin
b9ede6869b Merge "Update rounded corner, cutout and display shape configs" 2022-12-22 06:17:54 +00:00
Wendly Li
d5bcab2e05 init: start twoshay on boot.
Bug: 243079722
Test: Check if twoshay start successfully.
Change-Id: Iebcc9d87709277d26c95fb518d9b0075630bffff
Signed-off-by: Wendly Li <wendlyli@google.com>
2022-12-22 04:13:31 +00:00
Yen-Chao Chen
96e5e575c3 Merge "init: start twoshay on boot." 2022-12-22 02:09:38 +00:00
Sayanna Chandula
fbfe97b636 Merge changes from topic "hk3-vs-v2"
* changes:
  thermal: enable charging throttling
  thermal: update thermal config with v2 coefficients
2022-12-22 00:00:03 +00:00
Shawn Lin
2c7b9074f4 Update rounded corner, cutout and display shape configs
Bug: 243688044
Test: make
Change-Id: Ica71daf88ac7a115a84f8e603fbb49210d757b2c
2022-12-21 10:35:40 +00:00
Ken Yang
95db2df53b Merge "WLC: Include the wireless_charger from gs-common" 2022-12-21 08:36:15 +00:00
Cheng Chang
f1ff704845 gps: enable coex function
Bug: 257093529
Test: Verify at b/257093529
Change-Id: I5c7417368d1c754aa492db9304b7790049f68501
2022-12-21 07:12:46 +00:00
Darren Hsu
220f84cf79 powerstats: update state residency and energy consumer for Display
Bug: 262488285
Bug: 262492074
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ib000455c8f68789090bb37c8bc4117502fa65fa9
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-12-21 13:32:05 +08:00
Sayanna Chandula
53ea1cd963 thermal: enable charging throttling
Bug: 259450323
Test: Build and boot on device. Check charging throttling

Change-Id: I5bc80faf9a04b499af59d069b7ed21a7fef75d64
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-12-20 13:12:46 -08:00
Sayanna Chandula
b92b81e178 thermal: update thermal config with v2 coefficients
Update with v2 virtual coefficients
Update trigger sensors
Align hot thresholds with P22
Use VIRTUAL-SKIN as combination where applicable

Bug: 259450323
Test: Build and boot on device. Check thermal service
adb shell dumpsys thermalservice

Change-Id: I5f738a1cc1fe3735f5fae41dd42d27e6bd305e05
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-12-20 13:11:59 -08:00
TreeHugger Robot
7a1a4b67f7 Merge "Remove UClampThreshold hint" 2022-12-20 06:38:58 +00:00
Linyu He
0753e2318f Merge "[Zuma 8k] Add 8k encoder profiles for P23 devices (3rd attempt)" 2022-12-19 19:35:15 +00:00
TreeHugger Robot
d37ec46ab6 Merge "powerstats: update state residency and energy consumer for Display" 2022-12-19 03:23:57 +00:00
Sayanna Chandula
a22891c9e1 thermal: update thermal powerhints thresholds
Align control temperature and switch on temperature thresholds
with current kernel configuration

Bug: 259450323
Test: Build and boot on device. Quick thermal check

Change-Id: I423a68762ae5b4df5b09b058322f40888aae8fce
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-12-17 00:22:13 +00:00
Sayanna Chandula
2e4641fbbd Merge changes from topic "shusky-vs-v1"
* changes:
  thermal: enable PI loop for tskin mitigation
  thermal: update thermal configs with v1 virtual coefficients
2022-12-16 18:28:36 +00:00
Patty Huang
c0b6391624 Enable LE Audio unicast offload
1. Set the LE Audio unicast offload property
2. Add the offload capability file for unicast

Bug: 257377483
Test: Manual
Change-Id: If6233bfcefa8894f52d0a8c7799ffa5b6b786f53
2022-12-16 08:16:55 +00:00
Yung Ti Su
81f4134629 add support for BLE offload case in audio policy
Bug: 257377746
Test: manual

Change-Id: Id9a2c528fd51898d59c3234b05cd606d7ebd9dc2
Signed-off-by: Yung Ti Su <andysu@google.com>
2022-12-16 16:09:58 +08:00
Jasmine Cha
9b66a4e09d audio: update waves tuning
- Full tuning includes volume curve to match previous pixel
  at volume 18 to 1 perceived loudness.
- Passes all power targets
- Pass top speaker heat budget for 40C skin
- Fails bottom speaker heat budget for 40, 41, 42C skin.  Passes 43C skin.
- Test acoustics shows superior performance to past premium.

Bug: 262787252
Test: manual test

Change-Id: Iec4664f0f1ad7499caf5e3cde2158151ca849111
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-16 09:00:20 +08:00
Linyu He
4cdc9d3fa2 [Zuma 8k] Add 8k encoder profiles for P23 devices (3rd attempt)
The 2nd attempt (ag/20294157) was reverted due to b/259732944. To avoid
the bug, we explicitly define the "high" quality encoder as a 4k
encoder. Note (1) below explains the reasons.

8k encoder specs:
  Codec: h264
  bitRate: 80000000 (80M); source: b/241178681#comment3
  Size: 7680x4320 (8K UHD)
  Frame rate: 30fps

Notes:

(1) Regarding b/259732944 (the bug caused by the 2nd attempt):

If CamcorderProfile.QUALITY_HIGH isn't explicitly specified, the highest
resolution available will be used.

Therefore, when the 8k profile was added, apps requesting QUALITY_HIGH
would ask HAL to perform 8k recording.

This created the following issues:
(a) As 8k support in HAL isn't ready, existing tests using QUALITY_HIGH
will fail (such as CTS, PTS, FATP, etc.).
(b) 3rd-party apps currently using QUALITY_HIGH will get 8k, which might
not be their intention.

So we chose to keep QUALITY_HIGH at 4k, which was the highest resolution
on P22 devices.

Detailed discussions are in b/259599407.

----------------

(2) Regarding the "quality" attribute in EncoderProfile:

It must match what's defined in MediaProfiles::sCamcorderQualityNameMap
(see frameworks/av/media/libmedia/MediaProfiles.cpp).

----------------

(3) Regarding the camera IDs:

The camera IDs in media_profiles_{device_name}.xml correspond to the
IDs inside vector ModelSpecificDataControllerBase::visible_camera_ids_.
The vector is populated in
lyric/silo/hardware/devices/{device_name}/data/model_specific_data_controller.cc

According to the documentation of "visible_camera_ids_", "the first ID
for each facing will be used as the default camera ID". As
visible_camera_ids_[0] is always the first (default) ID for the rear
camera, and only the rear camera supports 8k, we add 8k encoder
profiles for camera 0 in media_profiles.

The explanation above isn't obvious. You'll need to read
model_specific_data_controller.cc to understand it.

----------------

(4) Regarding tests:

We can't test the 8k encoder since we haven't brought up the 8k support
in ISP.

We can use CTS, PTS, and EECoexer to test this CL for existing use cases.

Note that RecordingTest#testBasicRecording currently fails at TOT due to
a different reason. For this CL, we only need to make sure no 8k stream
is requested by observing logs with the "GCH_HalUtils" tag.

Bug: 232811715
Bug: 262423942
Test: build & boot Android
Test: atest RecordingTest#testBasicRecording
Test: adb shell /data/sysval/scripts/eecoexer/eecoex.sh -s CAM,22,0,5,true,HIGH
Test: manually testing GCA video recording
Change-Id: Ie6c054e641810da9c231f3839961cbe8fcc16fdc
2022-12-15 22:50:37 +00:00