Commit Graph

152 Commits

Author SHA1 Message Date
Adam Shih
efa52cece3 Remove AIDL support on IBluetoothCcc
Bug: 239658601
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: Ib0634920e60e58db5e0fc70a4d16afef5ba80a0f
2022-08-03 09:21:49 +00:00
Yung Ti Su
684e46c4cf audio: update speaker bins
Change list:
1. Bot spekaer model for EVT version

Bug: 223513454
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I9b0e79d296328e790b01e33f84d86aa18b572d8f
2022-08-03 04:36:51 +00:00
Yung Ti Su
a8d6785778 audio: update speaker bins
Change list
1. modify Rtrace in cali/diag.bin

Bug: 223513454
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ia6f0c6346b58f6e149a7fbe41f360d4ac92d99f9
2022-08-03 04:36:51 +00:00
Yung Ti Su
cd8e8f7a36 update fortemedia tuning table
Change List :

Handset :
Sync P10 20220712 TX setting
Optimal performance to meet 3GPP requirement for EVT NB/WB/SWB
Sync generic setting to TMOUS
Sync TX setting to HAC / TMO-HAC /  HAC Reserve 2 SWB

Handheld :
Sync P10 20220712 TX setting
Optimal performance to meet 3GPP requirement for EVT NB/WB/SWB
Sync TX setting to
- BT-HAC / Condor-Headphone / TTY-VCO (NB/WB)
- BT-HAC SWB / BT-HAC Reserve2 SWB / Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB
Sync RX setting to
- TTY-HCO (NB/WB)
- TTY-HCO SWB / TTY-HCO Reserve2 SWB / Reserve2 SWB

Headset :
Sync P10 20220712 setting

Bluetooth :
Sync P10 20220712 RX setting

Bug: 230558942
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Id9bfb7e7d47840e7cf06ad7d98aecf9750ec1685
2022-08-01 11:03:49 +08:00
Junkyu Kang
0fbee81ccf gps: Set RTO/SUPL download interval to 20 min
Bug: 240360367
Test: TTFF and RTO download

Change-Id: I9938548539734fad1b5037cbcc463e970b50113e
2022-07-29 11:13:04 +00:00
Stephane Lee
4f5438d52c Remove device-specific support for GoogleBattery HAL
This is covered by parent projects.

Bug: 232461104
Test: Ensure Adaptive Charging/Battery health flags works as expected
Change-Id: I4f8bf22fc2cbde580d1fa4058210b357f24c2bb5
Merged-In: If97f5a5f3f082e2066f1d512f449fcbb295b50f2
2022-07-28 20:01:51 +00:00
George Chang
97f89f5da3 Remove NFC uicc card emulation mode support
Correct the nfc feature flag declaration.

Bug: 240225338
Bug: 222030531
Test: manual
Change-Id: I946f53a4a1b951168314e59bd3e521800626defe
2022-07-28 14:36:36 +08:00
Darren Hsu
5345021276 powerstats: remove support of bluetooth data provider
This device uses QC solution on Bluetooth Remove support of
Bluetooth state residency data provider from PowerStatsHAL
on this device.

Bug: 231395549
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I1248e2cd74cbeac4f0f9cf727e8bdee9a925fa05
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-07-27 07:56:02 +00:00
Cheney Ni
4cf2cbd78f Bluetooth: Fix broken builds by no such file
Using full path name instead of $(LOCAL_PATH)

Bug: 240249614
Test: Build Pass
Change-Id: I83c9ceb2c628b9f7a28315c7c2af3a1e26232565
2022-07-26 20:50:12 +08:00
Cheney Ni
ec385d24c9 Bluetooth: Preliminary BT SAR table for dogfood
Bug: 239899228
Test: Pass SAR manually tests
Change-Id: Id75818fc7ed844c837e5be2cf4e0ee4b8eabd087
2022-07-26 08:57:31 +00:00
Bill Yi
cdfc6970cc Add AOSP support for Lynx
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project name is
platform/vendor/aosp/google_devices/lynx

and the path is
vendor/google_devices/lynx

TEST:make

BUG: 240203789
Change-Id: I33af4dce2b60f5de21d8998e445d2f8abd2b7e01
2022-07-26 06:07:09 +00:00
Jasmine Cha
6f3b7806be audio: enable BAACL (amp only)
Bug: 227715448
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I4f86f3744a7aeaaf67764d8db7f9c2641ca62a83
2022-07-26 02:09:52 +00:00
jimmyshiu
6817895610 Remove universal touch boost
Bug: 236781877
Test: PtsUiBench
Change-Id: Icae3f31286dafcd7ca0df8fad07916d5a76f7929
Merged-In: Icae3f31286dafcd7ca0df8fad07916d5a76f7929
2022-07-25 18:36:45 +00:00
George Chang
3e25f104db Add sku info for enable nfc secure
Bug: 239668161
Test: check settings page
Change-Id: I43d4c4f4f29c6746cdaff90361c04b6720f5ff3e
2022-07-22 06:42:58 +00:00
Junkyu Kang
f1d730fe31 gps: extend min GPS week number
Bug: 238931611
Test: Basic Gnss Test
Change-Id: If31aa3aea9311ffcade50c7e0d87e6e59692b912
2022-07-22 01:38:39 +00:00
Yung Ti Su
068108f9ee Recording tuning table update
Change list:

 1)2048 FFT size WNR
      mid(17) pid(31) param(COHERENCE_END_BIN)
      5 ==> 10

      mid(17) pid(37) param(SP_GAIN_MAX_BIN)
      8 ==> 18

      mid(17) pid(46) param(GMIN_LINEAR_SPLIT_MID_POINT_BINR)
      27 ==> 55
 2)AGC pumping
      rmsTav
      200 ==> 1000

Bug: 236802184
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I2c1a373d38dc0f63dc015f050af589378a1dc367
2022-07-21 11:40:18 +00:00
Alex Hong
0eb17533ff [DO NOT MERGE] Use GmsCorePrebuilt y2022w28 for lynx devices
Bug: 239681407
Change-Id: I198654fa109cc0674344b565fe7409f2d9bae7ca
2022-07-21 09:05:52 +00:00
George Chang
ffc1fc5c5b Enable eSE2 and ctsmode settings
turn on st33spi when persist.vendor.se.ese2.mode is set to ctsmode

Bug: 239657021
Bug: 239655807
Test: VtsHalSecureElementV1_2TargetTest,
      VtsHalSecureElementV1_1TargetTest,
      VtsHalSecureElementV1_0TargetTest,
      CtsOmapiTestCases
Change-Id: Ifd96d96068f49d85879efdd3d11a7067f71ee907
2022-07-21 06:07:00 +00:00
pointerkung
bedc610607 MIF frequency optimization for 60fps video recording use-case
This CL sets the MIF min clock frequency to 1539MHz, which based on
initial ODPM and MIPS measurements shows benefit both in terms of power
consumption and cycles-per-instructions (CPI), reducing the gap with R4
device.

L10 power and performance impact tests will update on the bug.

Bug: 239651545
Test: Build pass, GCA
Change-Id: I1b057f187e45bad46f4661bd5673f0f88aab3a93
2022-07-20 11:50:32 +00:00
Robin Peng
2d51ed1ffd init: remove twoshay HAL init trigger condition 'on late-init'
Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I60ce38f2b4ae4e27c14a9fe8ede5f762c06fa22f
2022-07-20 12:48:36 +08:00
Sam Ou
4b3c259498 add power_profile
Bug: 235224245
Signed-off-by: Sam Ou <samou@google.com>
Change-Id: Iadfe19bda2eab70b2af7b929c065cc61afd4b991
2022-07-18 03:58:38 +00:00
Robin Peng
1cbb9b31e4 init: set vendor.all.modules.ready and vendor.all.devices.ready
migrated from init.gs201.rc

Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: If9f775dffeab9669310ae02e6f2b82f15f6eb1f2
2022-07-15 14:43:48 +00:00
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