Commit graph

166 commits

Author SHA1 Message Date
Jinting Lin
baf653b810 Update MIPI / DBR clock rate from latest desense tests / SW updates
source: https://docs.google.com/spreadsheets/d/11oBBmPFZ_2iRVjB1F3X8h2FB1jK-w7OakwsPK4DPB4c/edit#gid=0

Bug: 235041253
Change-Id: I2079dd03e7c8de62f1dc88db2468a37857965812
2022-08-23 04:32:06 +00:00
David Chao
02bc91305c thermal: seperate thermal config for charging
- Separate thermal config for charger mode and remove the unused thermal
throttling.

Bug: 240897207
Test: usbc overheating protection and charging throttling worked
properly in charger.

Change-Id: Ib970c16c0ed08b52fb2c9387b71cb2211f4bc1f3
2022-08-22 19:54:12 +00:00
Yung Ti Su
b85cfe1614 audio: Phase in fortemedia tuning tables and platform configuration file
Change List :

Fortemedia:
Handset :
Optimal performance to meet 3GPP requirement for NB/WB/SWB/Reserve2 SWB (RLR/SLR)
CCA light FNS to generic/TMOUS  NB/WB
Sync generic setting to TMOUS
Sync TX setting to HAC / TMO-HAC /  HAC Reserve 2 SWB

Handheld :
Optimal performance to meet 3GPP requirement for NB/WB/SWB/Reserve2 SWB (RFR/RLR/ECDT)
CCA light FNS to NB/WB
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
SS to Reserve2 SWB (FFP off, stereo on, RX setting to RX2)

Headset :
sync P10 20220818 version

Bluetooth :
sync P10 20220818 version

Platform configuration :
Add for CCA
<intf id="BE_VIRTUAL_CRYSTAL_CLEAR_AUDIO_TUNING" block_id="138"/>
<module libname="audio_cca_aoc.so"/>
Modify for SS
<module libname="audio_fortemedia_aoc.so" argu="DL_CH=y VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000"/>

Files from the latest attachment on b/243344253

Bug: 243344253
Test: verified by hardware engineers
Change-id: I57e897a1ee9c8dab2ace0051d148c36639911bd6
2022-08-22 08:41:07 +00:00
David Chao
af60880652 thermal: enable VIRTUAL-CHARGE sensor for thermal_recorder
Remove "Hidden" to enable VIRTUAL-CHARGE sensor for thermalservice,
So that thermal_recorder can record the temperature and seveirty for
tuning.

Bug: 242944140
Test: thermalservice can read VIRTUAL CHARGE sensors.
Temperature{mValue=26.606302, mType=3, mName=VIRTUAL-SKIN, mStatus=0}
Temperature{mValue=26.577953, mType=-1, mName=VIRTUAL-SKIN-CHARGE, mStatus=0}
Temperature{mValue=26.92495, mType=-1, mName=VIRTUAL-SKIN-CHARGE-WLC, mStatus=0}

Change-Id: Icc38895d19ff7d89e307e96c2b35e26d43c1a753
2022-08-19 08:48:20 +00:00
Wendly Li
e61c8498e6 touch: change touch sysfs node ownership for dumpstate
Bug: 214118904
Test: adb bugreport
Change-Id: Ia0e133e86b11421e7b97aaea4e551f8a2fd6933f
Signed-off-by: Wendly Li <wendlyli@google.com>
2022-08-19 08:23:35 +00:00
David Chao
5caf26d1e6 thermal: enable fcc & dc_icl PID charging throttling
- Enable fcc & dc_icl SKIN PID charging throttling with state2power table
- Switch on temp 35C, target temp 39C

Bug: 239507440
Test: Charging throttling worked as expected.
Change-Id: I172b71e64f6dc03627c4c33be556080a1a29d777
2022-08-18 01:48:16 +00:00
David Chao
20ef1286dc thermal: update thermal config
1) Based on Proto1.0 and 1.1 thermal result to modify VIRTUAL-SKIN formula v0.4.
2) Add WLAN and DISPLAY odpm power rail in PARTIAL_SYSTEM_POWER
3) Enable USB overheat protection polling log 3 degC earlier.
4) Set the cdev_ceiling for CPU/GPU to avoid the abnormal throttling request when ODPM has issue.
5) Move target temperature from 45 degC to 41 degC.

Bug: 236562040
Test: ThermalHAL throttling worked properly
Change-Id: I78ec8c1fe44f3674d4f578c8e48a50f004c406f3
2022-08-18 01:48:16 +00:00
David Li
1db103ba10 audio: Phase in Waves mps file and volume curve audio_policy.xml file
I put L10 EVT tuning files in the attached file.

L10 EVT HW modify Proto speaker.
I need to re-tune mps file.
I base on EVT speaker make this mps file tuning.


And slightly lower volume step 21th to let volume curve smoothly.
So, I modify audio_policy.xml file.

Files from the latest attachment on b/242521368

Bug: 242153654
Bug: 242521368
Test: verified by hardware engineers
Change-id: Ide63f88ee7aa55f4b79c53de2d70314bc20ab285
2022-08-16 10:05:27 +00:00
achigoliu
4403bc43db Bundle handheld_core_hardware.xml
Bug: 237110906
Test: Manual, verify build artifacts
Signed-off-by: achigoliu <achigoliu@google.com>
Change-Id: I5865b21a4ab2bd31e5a69d497422117fafbd1414
Merged-In: I92137b615c7bce28026f858c201d8bd530754b5b
2022-08-10 02:47:02 +00:00
Junkyu Kang
47e5d68e3c gps: Enable SI SUPL over Wifi
Test: -
- SI SUPL Wifi on + mobile network off
- SI SUPL Wifi on + mobile network on
- SI SUPL Wifi off + mobile network on
- SI SUPL Wifi on + airplane mode on
Bug: 239671126

Change-Id: I308f7501085be765c3cdcc9858b93e98554b2bc3
2022-08-09 05:11:28 +00:00
Yung Ti Su
5c1334c7d6 audio: [L10] Recording tuning table update 8/5 - EVT Ver. For 1st assessment
Change list :
1. adjust IIR1 as main filter for flat FR in camcorder path.
2. for camcorder path, implement all 6 scenarios with same parameters except linear gain module, and use linear gain to swap channels.
3. fine tune and swap the channels in mic path.

Files from the latest attachment on b/241720915

Bug: 241498250
Bug: 241720915
Test: verified by hardware engineers
Change-id: Iea93f2d118c30bcd83c44c2227ce68a3bfa8074d
2022-08-08 06:28:07 +00:00
Junkyu Kang
c1404ba0a8 gps : enable runtime LTE filter control feature
Bug: 241213788
Test: Sanity test
Change-Id: I1d4f255fb974ce33685d2f049e2df23112209f39
2022-08-06 05:46:31 +00:00
Yung Ti Su
fb9da3e3b5 add support for BLE Broadcast output
Bug: 210987580
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I544636e4fac94142b06aa38d4c0957de36f0ebea
2022-08-04 03:38:21 +00:00
Gary Jian
1cca3358b4 Handle the network selection restoring in modem side
Bug: 240654108
Test: manual
Change-Id: I1fdd7250d162ba4a4a1fa386561649e5b4adc9e3
2022-08-04 03:17:55 +00:00
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