Commit graph

130 commits

Author SHA1 Message Date
Yung Ti Su
6706afc0bc add the missing audio_policy_configuration_le_offload_disabled.xml back
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I28286331bcbff5cff2ecdd772eb564dfde554217
Merged-In: I04fc1306eb15ea2ae102f65b59c1b1cca2070dd1
2022-07-15 11:27:32 +08:00
Jason Chang
5a48a5bc85 Enable One-handed mode feature for L10
PRODUCT_PRODUCT_PROPERTIES += \
    ro.support_one_handed_mode=true

Bug: 238591567

Test: manually test.
Change-Id: I8dfdcdb20e9921822e3c3a7e552c766d7bc3b341
2022-07-12 06:18:05 +00:00
Mark Chang
517e7c4be2 L10: Start twoshay service on boot.
Bug: 214118928
Test: Verified twoshay successfully launched on boot.

Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: I946f89058aae8ea522a5ca7e228b9aaf76fd4708
2022-07-12 02:13:15 +00:00
leohsieh
089571c33f L10: Add config_dozeUdfpsLongPressSensorType
Bug: 229956146
Test: sysui has registered the udfps gesture after entering AOD.
Change-Id: I6e34d71c67fb7fa14a179158c2e7424637b9857b
2022-07-08 03:41:20 +00:00
gilliu
ec8bbdf165 display: Set ro.surface_flinger.ignore_hdr_camera_layers
Bug: 238262636
Test: check the getprop log
Change-Id: I3bad5d9400f1d2ca2c3efb1f2772f180cba1c069
2022-07-07 13:01:45 +00:00
gilliu
dfde08ee37 display: update display_colordata_dev_cal0.pb file
update LHBM compensation tuning for evt

Bug: 237727546
Test: measure brightness
Change-Id: Iefbee7f1a1e2ac6397a31ba7c6b1d889363db37f
2022-07-07 07:42:17 +00:00
Midas Chien
57d65c6440 display: override set_idle_timer_ms
bug: 224528264
test: check property
Change-Id: I75b729067fa10f90b4d233c36b0b2276bb67b72b
2022-07-06 11:02:25 +00:00
Wendly Li
65f8ae9d06 L10: support touch sensitivity mode switching
Write the sysfs node to set touch sensitivity mode when the property
changes.

Bug: 199104397
Test: toggle the touch sensitivity button in Settings and check log.
Change-Id: Ib64277c807e7c45f8542a6d6c355de4ec53c1a33
Signed-off-by: Wendly Li <wendlyli@google.com>
2022-07-06 03:09:43 +00:00
Tai Kuo
acdc4a4889 Set audio haptic channel amplitude limit
Bug: 236709186
Test: dumpsys vibrator_manager
Change-Id: I97d59a401f7fadd7d559bd06cb9cb1794ce3e26d
2022-07-05 18:52:09 +00:00
Gil
ea532a313f display: update default brightness
Bug: 224528056
Test: Check the frist brightness value
Change-Id: I31f9e975d7fc94b59b2ed94cbabbf992db809292
2022-07-01 09:44:36 +00:00
gilliu
e1f98a4f07 display: Sync AOD brightness setting
Bug: 224528299
Test: manual test and dump display log
Change-Id: I77047df4f36188440de7cdd5965d4753236cf86c
2022-07-01 09:30:43 +00:00
Patty Huang
872990b748 Enable LE Audio and A2DP offload by default
* Enable LE Audio Offload
* Enable A2DP offload
* Move the LE Audio setting to bluetooth/qti_default.mk

Bug: 235311609
Test: Manual, make sure the le audio and A2dp offload is enabled by default

Change-Id: I943837579331952ece3b860b08527d0e812766c5
2022-06-30 08:44:37 +00:00
Gil
5f7f498f44 display: enable L10 Lbe supported property
Bug: 224527958
Test: Boot pass and LBE self test
Change-Id: I1946d1e8da04b08733adc1c6a61fd5d84787e351
2022-06-30 05:31:48 +00:00
gilliu
e7ee3e9d18 display: Sync config settings
1. Update Auto brightness debounce.
2. Add ambient threshold settings.

Bug: 224528343
Test: dump display log for check value.
Change-Id: Iea5de532174e263b0f717f11237b3a8b943beaac
2022-06-30 05:31:26 +00:00
sashwinbalaji
52219877d1 thermal: update control temp in powerhint
1) Change the default trip_point_1_temp and trip_point_2_temp in accordance to new config provided by hardware.
2) Removing AUR nodes

Bug: 233329602
Test: Used local build to verify the trip_point_1_temp & trip_point_2_temp when VIRTUAL_SKIN
severity is changed on updating quiet_therm temp.

Change-Id: I267032c23c22952e5eea106ca3b84a8cd74729a0
2022-06-29 12:48:36 +00:00
Jason Chang
57f8a7bfb6 Bring up the hole punch for GCA on L10
Cherry-pick the overlay resource to L10.

Bug: 230552025

Test: local build passed.
Change-Id: Idc0983536646928bc6d88a9f8f0d4db14b288b29
(cherry picked from commit b01989f3d7)
2022-06-28 12:56:21 +00:00
Yung Ti Su
e4dd1d78a2 Recording tuning table update 6/22 - Initial Ver.
Change list :
  1. adjust IIR for flat FR in camcorder and mic path.
  2. check in the latest parameters from C10/P10

Bug: 236802184
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I1038eae584efa9209f6ba28d4783457e35aa7757
2022-06-28 09:03:09 +00:00
Yung Ti Su
390a3384e6 update fortemedia tuning table
Change List :

Handset :
Sync TX setting to HAC / TMO-HAC / SWB Reserve 2 HAC

Handheld :
Optimal performance to meet 3GPP requirement for NB/WB/SWB
Sync HH TX setting to
- Condor-Headphone / TTY-VCO / BT-HAC
- SWB Reserve 2 / Condor-Headphone Reserve 2 / TTY-VCO Reserve 2 / BT-HAC Reserve 2
Sync HH RX setting to
- TTY-HCO
- SWB Reserve 2 / TTY-HCO Reserve 2

Bug: 230558942
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I9c0fd7c2cf633062216be82a138b26efa07c8907
2022-06-27 20:15:29 +08:00
zhangtim
aa5ed9c319 [Camera 3A] Update L10 soong_config
Update L10 soong_config target  device.

Bug: 235071287
Test: build pass.
Change-Id: I7307bd9e3f85dee2aa68ddf1aab1d8772bb21083
2022-06-27 05:58:35 +00:00
Hsiu-Chang Chen
07405732df wifi: Add cnss_diag for factory build
cnss_diag is the tool to collect wifi firmware/driver logs

Bug: 237040904
Test: collect fw/driver logs correctly
Change-Id: I6f476eb7d90cbd194ee96f0862c8c695e0258462
2022-06-24 11:23:03 +00:00
chungkai
c083bfcf65 powerhal: update powerhint
Test: Build pass
Bug: 236819367
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I407d64f6e0a1dad86db08b70059faae3eb78b5e8
2022-06-23 01:42:11 +00:00
Andy Hsu
429da86fff Sync GPU Powerhint settings.
Test: CTS.
Change-Id: Ie72bad0141c1e3b345e6809d2c87fe63a1f8f6f5
2022-06-23 01:04:40 +08:00
Cheney Ni
d116a1212c Bluetooth: Enable AAC VBR by default
AAC VBR is more preferred than CBR for A2DP playback. This also moves
those A2DP system properties into the product partition.

Bug: 112325138
Test: dumpsys bluetooth_manager
Change-Id: I4496d44309faa805059147166c681777c59c4566
2022-06-22 08:57:48 +00:00
Yung Ti Su
fd83fe7c6d correct mic id capture list
Bug: 236579372
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ia6f2a1e3ffefb5d69fb791a4b8612ba741965346
2022-06-22 06:49:06 +00:00
pointerkung
67854a9479 Camera: Update target load for high streaming case
Update target load due to Pro mid CPU
this hint impact the high streaming use case like 60fps / 120fps and
240fps.

Bug: 236682655
Test: GCA
Change-Id: I0f486e44267d30efa12b6c30ebf1d7aea8989892
2022-06-21 20:03:54 +08:00
Yung Ti Su
59db776134 add EP ID settings for mfg
ag/18185767 corresponding to the change in mixer command

Bug: 235866657
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I4417096aa337f07d5bd526c51db6b2da7d2068db
2022-06-17 06:18:57 +00:00
timothywang
5460d349fc Update 1080p 60fps binning mode settings
Keep rear main camera as full video mode.

Bug: 234324271
Test: GCA
Change-Id: I233dd7e7f3a0c0708784b996f5e16817a3fb2a57
2022-06-16 16:29:51 +08:00
timothywang
75d21eca51 Add system property for 1080p 60fps binning mode
Bug: 234324271
Test: GCA
Change-Id: I4ac2614ac5ef781f3d413c070503c6d28631415c
2022-06-16 16:29:20 +08:00
Junkyu Kang
a163f6db9f gps: enable SUPL OTDOA capable for VZW
Bug: 233849643
Test: confirm config is correct
Change-Id: I72a8c709b1dbfae5697cf14dc5e96585893c5d62
2022-06-16 05:32:34 +00:00
Patty Huang
48138638a6 Enable broadcast and unicast profile by default
Bug: 234337037
Test: Make sure le audio broadcast and unicast profiles are default enabled
Change-Id: Ib8beccc1d742c90ba6fd510ae23d5e0221fdddd5
2022-06-15 15:46:41 +00:00
Cheney Ni
31019e12e1 BluetoothSar: Support SAR version 1.1
Add build flag: TARGET_USE_QTI_BT_SAR_V1_1 to control IBluetoothSar @1.1

Bug: 203055537
Test: bluetooth_sar_test
Change-Id: I81f79d08ad92d2b393d438739640f051e94d0426
2022-06-15 07:34:47 +00:00
Cheney Ni
7a468b2970 Bluetooth: Refine Bluetooth HAL manifest
Remove duplicated manifests which are included at bluetooth/manifest_bluetooth.xml.

Bug: 203055537
Test: lshal to see Bluetooth HAL services
Change-Id: Ib39f208245c9ef476285898606289d29717ed8ca
Merged-In: Ib39f208245c9ef476285898606289d29717ed8ca
2022-06-15 07:34:47 +00:00
Lily Lin
97ef10a1aa Enable read/write access to st33spi_state for euiccpixel_app
Bug: 231522746
Test: Confirm L10 can read/write st33spi_state
Change-Id: Ib3cd744dd9c829ea8113e52b0befee77eed8567c
2022-06-15 03:44:36 +00:00
Gil
20afe0d66d display: update the indoor auto-brightness curve
Sync the indoor range mapping in
the indoor auto-brightness curve.

Bug: 234416291
Test: Check the default curve value
Change-Id: Ia0e3bdf2bd19533f31f0a97a7c80ec13d7cbd0a7
2022-06-14 15:11:15 +00:00
Alice Kuo
458a0c81b7 Add support LE audio switcher in the developer option for P23a
Bug: 233005340
Test: switch LE audio feature, and check LE audio functionality status
Change-Id: Ib63af53973aa71560ba3e601c4bee0174b77e16f
2022-06-13 13:15:37 +08:00
Shanmuga Pandi M
0049c388b8 [L10] Camera: Enable the product properties.
1. Raise buffer allocation priority
2. Extended cpu boost

Bug: 235442093
Test: GCA
Change-Id: I5bb05e32f0cd79e9fd91a9ae2998cf29da65a7b0
2022-06-09 10:41:42 +00:00
Yung Ti Su
8a2868771d audio: update speaker fw and bins
Change list:
L10 proto 1.1 tuning with 0520 FIR filter

Test: manual
Bug: 223513454

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Iad5c01a9e2593abe764e9e996073783127b60a8a
2022-06-09 08:48:31 +00:00
David Chao
c3ea2b16cf thermal: update thermal config
1) add usbc overheat mitigation v0.1.
2) add VIRTUAL-SKIN formula v0.1.
3) enable thermal throttling as P10 device.

Bug: 231404311
Bug: 229581307
Test: Build and boot on device.
Change-Id: I6d2f3c4860112df43aef9eedaef121a1f47365d4
Signed-off-by: David Chao <davidchao@google.com>
2022-06-09 03:17:57 +00:00
David Chao
828c32a88d Revert "thermal: disable SKIN thermal throttling"
This reverts commit bf8693dd6d.

Reason for revert: re-enable thermal throttling protection with the
virtual sensor formula.

Bug: 231404311
Test: thermal throttling worked properly.
Change-Id: I99020b5b30a6a9ada0f51974161d262b9d37667c
2022-06-09 03:17:57 +00:00
Yung Ti Su
a14291738e sync the audio_policy_configuration with P10
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I6120c69a27611c62000f6921bcb08e3a70860152
2022-06-07 12:30:44 +00:00
Hsiu-Chang Chen
e35f0305ea Wifi: Put myftm in userdebug builds
Bug: 235164681
Test: Build pass
Change-Id: I12f1a9b47850250903720e8032f80880937a0014
2022-06-07 03:01:40 +00:00
Shawn Lin
28dd1cbe29 Enable hide cutout emulations
Bug: 234107076
Test: make
Change-Id: I5b28c20b8ac99f400c5d8a085225349c5ac383a4
2022-06-01 07:46:51 +00:00
Gil
d4aff776ac display: add display_colordata_dev_cal0.pb file
add LHBM compensation tuning

Bug: 224528172
Test: Check displaycolor log and LHBM function.
Change-Id: I9e8f3e0cd413bc58b22e5290c157bdf27d7b9427
2022-06-01 07:31:30 +00:00
George Chang
9d87df0bb3 Switch NFC from HIDL to AIDL am: 9782bbc0ca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/18219340

Change-Id: I33c79aa8953445213d0b3a92dfbd3833ab9d4a4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 06:40:52 +00:00
George Chang
e355efbc63 Remove Nfc hidl settings am: b1a045dcf3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/18611812

Change-Id: I9e781eba7c103d93bcd9bb4f27406223535e617d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 06:40:50 +00:00
George Chang
9782bbc0ca Switch NFC from HIDL to AIDL
Bug: 216290344
Test: atest NfcNciInstrumentationTests
Test: atest VtsAidlHalNfcTargetTest
Merged-In: Id3f65723c6240bbae6f6cc92e7ee57e07e1f0974
Change-Id: Id3f65723c6240bbae6f6cc92e7ee57e07e1f0974
2022-06-01 06:19:26 +00:00
Junkyu Kang
024a5166f3 Remove carrier location permission backdoor
- Affected device: M23

Test: Check Carrier Location App is not installed
Bug: 230813132
Change-Id: I70a7439ac3caa01aab810a80d557151b4e986023
2022-06-01 03:16:42 +00:00
Gil
ed76440182 L10 : Create initial config.xml
Create config.xml to support device suspend when screen off due to
p-sensor and enable adapative brightness. Modify auto brightness
table to support 1000 nits in HBM mode.

Bug: 224527764
Test: brightness and adaptive brightness manual test
Change-Id: I2d3bbd19fa33ca4713127b0b0f4ad39dc39c1175
2022-05-31 08:58:15 +00:00
Yung Ti Su
f97834d593 L10 initial tuning for Waves
Change list:
For waves_preset.mps
It increases top speaker excursion and reduce temperature to get better performance.

For audio_policy_volumes.xml
It changes volume curve to accompany with waves_preset.mps, which helps to get linear volume curve.
I also change DTMF, Ringtone, System sound volume curve to satisfy user expectation.

Bug: 234094724
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I085089de96d366480c70da6d86e6d7983033a631
2022-05-30 13:30:19 +08:00
Lucas Wei
4edfad5109 Lynx: add requirement for vendor_kernel_boot partition
Bug: 214409109
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: If5b544370992f8d872a128177358fc6dfa3e928d
2022-05-26 15:19:45 +00:00