Commit Graph

291 Commits

Author SHA1 Message Date
gilliu
db08ec379b display: set config of frames to reach LHBM peak brightness
Bug: 243975487
Test: adb shell getprop and dump trace to check latency
Change-Id: I5aa70bf3a900ee2cb70bcb162758de77efb33a6f
2022-09-16 05:31:10 +00:00
Victor Hsu
cd57763357 wifi: Write fs_ready at eariler time
wifi framework try to enable wifi before sys.boot_completed
after factory reset. It causes fs_ready never to be written.
Move the timing of fs_ready to be written when all modules ready.

Bug: 244411535
Bug: 243876449
Test: reboot stress and factory reset stress test are passed.
Change-Id: I1cac269ec6ed6eee5f34e72186c566c8cddd4925
2022-09-14 13:19:40 +00:00
David Chao
bd7e8ead24 thermal: update thermal config
Based on EVT1.0 thermal results to adjust virtual sensor formula and
WLC charging throttling.
- Virtual-skin version v0.5
- Switch on temp 35C, target temp 39C, spower 2000

Bug: 236562040
Test: ThermalHAL throttling worked properly
Change-Id: I4fb4a5da702a9b904a7377df55f0bb362c74199d
2022-09-14 10:26:40 +00:00
amyhsu
7ae9da19b0 display: update display_colordata_dev_cal0.pb file
Update smooth display compensation tuning for EVT1.1

Bug: 224528266
Test: measure by HW
Change-Id: I2a7314c83b7beafdb9b2d1e49247a219518a19c6
2022-09-14 07:15:42 +00:00
leohsieh
3d70f91d8a L10: Enable LHBM control from UDFPS HAL and ALS feed forward
Bug: 246302409
Test: build and test fingerprint on device.
Change-Id: Ie21192605a7c91ddd9f139096c0f6cd03bf4fc0b
2022-09-14 02:14:31 +00:00
Carter Hsu
04d3f9c903 audio: enable USB clock boost on SWB voice-call
Bug: 245421488
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I57f4b31c4afdbeede7556abc1a65adab66a7541a
2022-09-14 01:05:30 +00:00
Yung Ti Su
7d3ceaef31 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handset :
Optimal performance for Generic/TMOUS Handset NB/WB/SWB (TMO tuning / AMS tuning)
Sync TX setting to HAC / TMO-HAC / HAC Reserve 2 SWB

Files from the latest attachment on b/246260083

Bug: 246260083
Test: verified by hardware engineers
Change-id: I8ea1537737620b8b2de9921b804c16abc226c027
2022-09-12 09:45:16 +00:00
Siddharth Kapoor
a4a301a5fd Replace GPUMinFreq 151000 with 202000
Bug: 240479599
Change-Id: If7a5970b4f6d6049fc0aee4fc7caeb99ccbbdf21
2022-09-03 07:25:51 +00:00
Ken Tsou
4c821c04fc battery: disable wireless for pts battery test
Disable wireless charging during drain, usb charging,
and charger stress test
  - vendor.disable.wlc 1
If device is placed onto dreamliner and shutdwon(drain out),
it would boot up by DC_CHG and keep shutdown(0%)-boot up
(by DC_CHG) continuously. To avoid this symptom, limit wireless
current_max as 75000 after device boot up
  - persist.vendor.limit.wlc.current=1

How to verify:
  adb shell setprop vendor.disable.wlc 1
  adb shell cat /sys/class/power_supply/wireless/online >>>> 0

  adb shell setprop persist.vendor.limit.wlc.current 1
  adb shell cat /sys/class/power_supply/dc/current_max >>>> 75000

Bug: 230436380
Test: set the property manually and query the result from file node.
Change-Id: I5bcf9baeb2818b439520167b518b2e5c5224d7e2
Signed-off-by: Ken Tsou <kentsou@google.com>
(synced from commit 27b511c30292214dbb07f3009cbca8dee941f7f2)
2022-09-02 07:15:47 +00:00
Rick Yiu
28970d2643 Remove RestrictedCpuset hint
With systemui now changed its cpuset in early stage, we no longer
need RestrictedCpuset hint as workaround.

Bug: 242775562
Test: build pass
Change-Id: I8075188e82295f45fb7df1a88769eef37e7aec81
2022-09-02 04:59:41 +00:00
Yung Ti Su
df7373e194 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handset HAC:
Update EVT tuning for HAC mode T-coil signal testing FR failure


Handheld mode:
Sync Reserve 2 SWB setting to custom 1 (VoIP-EC-off) / custom 2 (VoIP-NR-off) / reserve 1 (VoIP-NREC-off) and disable NREC for related setting.

Files from the latest attachment on b/244539071

Bug: 244539071
Test: verified by hardware engineers
Change-id: I0b131b7e2afe69ff24bb30dfbf18812d4329d32e
2022-09-01 12:00:17 +00:00
wenchangliu
37b6bb8982 L10: Enable media performance class 13
Bug: 242961388
Test: atest CtsMediaPerformanceClassTestCases
Test: atest android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest#testCameraPerfClassCharacteristics
Test: atest CtsFileSystemTestCases
Change-Id: I6aa073ec0d6efc3fd1e7d3b47c2c401e9f48dac5
2022-09-01 09:27:40 +00:00
Wayne Lin
7ea4e30af0 Move lhd.conf, scd.conf to device folder
Move lhd.conf, scd.conf to device folder and maintain them separately by project requirement

Bug: 244258007
Test: confirm the configurations are correct
Change-Id: Ic7693f87df73e01d8dcfbda1ff224eb47e7df87a
2022-09-01 08:27:37 +00:00
Jason Chiu
e3b75f29cd Revert "wifi: Move driver initialization to an eariler time"
This reverts commit a011c11f37.

Reason for revert: it introduces b/243876449

Bug: 243876449
Change-Id: Ifc798f4bc237dd51921b22eb59b706f38d9edcea
2022-08-31 09:50:39 +00:00
Rick Yiu
d6b9941038 Config dex2oat according to thermal status
Config dex2oat cpuset and thread count according to thermal status.

LIGHT cpuset = 0,1,2,3,4,5 thread = 6
MODERATE cpuset = 0,1,2,3 thread = 4
SEVERE cpuset = 0,1,2,3 thread = 4
CRITICAL cpuset = 0,1,2,3 thread = 2
EMERGENCY cpuset = 0,1,2,3 thread = 1

Bug: 242948832
Test: build pass
Change-Id: I04adb1aeb343b71a2741aaef1ad776398a3be1b7
2022-08-31 07:52:02 +00:00
Richard Chang
82f3bbe15f mm: sync max_cached_processes settings in ActivityManager
Bug: 237364731
Test: pts-tradefed run commandAndExit pts -m PtsPerfWbsTestCases -t
com.google.android.perfwbs.pts.MemoryTest#testMaxCachedProcesses

Change-Id: I47cb03f2053287fc4b7c2249c885b7b7de4fd3a8
2022-08-30 10:52:33 +00:00
jimmyshiu
b031889746 Enable ADPF CPU hints for SF
Allow these devices to send CPU hints to PowerHAL from SF to reduce
drops and save power.

Bug: b/241152899
Bug: b/195990840

Test: https://android-build.googleplex.com/builds/abtd/run/L70800000956157278
Change-Id: I81df99f4ec01f417d1589e2323de599819993590
(Port from commit 8a419466b86ab07a25fc18d7d6a2a9ee154f6839)
2022-08-29 12:23:04 +00:00
Kyle Lin
b06ff4dd49 Update MIFTargetLoad default values
Bug: 237365265
Test: build, boot and check the values
Change-Id: Ibdafe72dc7200c11f3aa84e49e49e6ed0d359b42
2022-08-26 10:28:46 +08:00
Cheney Ni
738f85f5b0 Bluetooth: OOBS enabling
Bug: 203079726
Test: Pass Bluetooth ON / OFF and manual tests
Change-Id: I02d2240148b52d71ff2026e247d2803f32b5b344
2022-08-25 10:27:57 +00:00
horngchuang
b74e2b582b Add system property for camera OIS with system imu
Bug: 240851527
Test: in-rom GCA
Change-Id: Ifd3e4254973e66215d31004a1f8ca28ccc7c35ce
Merged-In: I80d33ab2ef9e7e2fc3acf33580f8e333988b62f2
2022-08-25 05:50:09 +00:00
Hsiu-Chang Chen
a011c11f37 wifi: Move driver initialization to an eariler time
sys.boot_completed may take more time to be set in the first
boot after factory reset. It will cause wifi framework try
to enable wifi before driver ready. Move the timing of driver
initialization forward to all modules ready.

Bug: 242681939
Bug: 240889310
Test: wifi enables after booting
Change-Id: I97d742ffe9723d2fc09f370f3d98dfdc4413af61
2022-08-24 08:56:30 +00:00
Vincent Wang
7f6ad012b5 Fix L10 has success haptics of face unlock for non-bypass.
C10/P10 move the haptic from system_ser to sysui. Align this behavior on
L10

BUG: 242661137
Test: Check the face unlock haptic of L10 is the same with C10/P10
Change-Id: If1501ede19bff1a821c9d12d5c305085b618b4c3
2022-08-24 03:18:39 +00:00
Yung Ti Su
4a05db1b89 audio: 1. Re0 range modification
1. change Re0 range from Typical+/- 15% to +/-10% for factory build

Files from the latest attachment on b/243387067

Bug: 243387067
Test: verified by hardware engineers
Change-id: Ife86a6093d6e87224f432cb9b89c8f0c593cfe37
2022-08-23 09:36:02 +00:00
Jinting Lin
2784a6ba9d Update device name to avoid aosp build break
Bug: 235041253
Change-Id: I0489e2a2218e96cd9dd3c88c5bbb07f772e3ebad
2022-08-23 07:56:20 +00:00
jimmyshiu
38d324f8d0 Remove FPS boost
Bug: 241312961
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I8e15a1b750e45e89fc12d2c021e9e0a756a1d394
2022-08-23 05:22:05 +00:00
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