Commit Graph

256 Commits

Author SHA1 Message Date
Krzysztof Kosiński
fc3b4c7199 Set Lyric camera_hardware variable.
Bug: 240478511
Test: presubmit
Change-Id: I79a6c65e73a5813e3e10749564a1e8dae50c45a0
Merged-In: I79a6c65e73a5813e3e10749564a1e8dae50c45a0
2022-09-23 20:32:08 +00:00
Carter Hsu
8e8d9e5c7a audio: allow Fortemedia to notify setting to CCA
Bug: 237720492
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I9946644bbf213dc9dc7226cc684923ac7eb53351
2022-09-23 02:53:09 +00:00
Carter Hsu
32f4c7a96b audio: update CCA default setting
Bug: 248151108
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: If8e5b6be12a56db7177f3f784a0dcb1f8957e684
2022-09-23 00:49:19 +00:00
Yanting Yang
cca9b00609 Add initial MIC e-label for JP SKU of L10
Bug: 238038220
Test: visual
Change-Id: I880bb59217f59af352dfab25e5844e54b49bdf38
2022-09-22 09:41:05 +00:00
Shanmuga Pandi M
5b9468e287 Enable the flag to increase thread priority for nodes stop
Bug: 245652771
Test: GCA, CTS
Change-Id: If0d61dcc3c43f64070e4a967a6678dea652c489d
2022-09-22 04:28:14 +00:00
Cheney Ni
7daee8149e Bluetooth: Built-in SAR tool if supporting SAR HAL
Bug: 247430516
Test: Pass Android build
Change-Id: I8e5510dfee461904fa5438dfc6890fb1fe6b7a5f
2022-09-21 08:46:51 +00:00
vincenttew
afbec8c62b audio: extand the period number of hifi usecase
extend this to prevent alsa trigger stop playback
and causing pop

Bug: 238056484
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: If9866a5755178a7c76b22dcbd75b9b9e1dc87620
2022-09-20 15:20:09 +00:00
pointerkung
554e1ecc47 Change util threshold of camera streaming high
Fine-tune the util threshold to "1100 1078 1024"

Bug: 243729855
Test: Build pass, GCA, 60fps recording power and performance test
Change-Id: I4a348127b913aa4783f69ba468be1fd77f784def
2022-09-20 03:22:36 +00:00
Ilya Matyukhin
1f23bcddd1 L10: Disable support for fingerprint gestures
Bug: 239640928
Test: on device
Change-Id: I63b81380eef73718c25e49423674f071176e101c
2022-09-20 01:09:15 +00:00
shihchienc
cfad191e5a Add by project le audio offload capabilities config file
We create by project offload capabilities config file to make each
project have its own customized default device offload capabilities.

Bug: 238983662
Test: make sure file added in config folder can be copied into devices
Change-Id: I517ad3db7d60e1fd8647561387cebd9524fe4f2f
2022-09-19 14:40:49 +00:00
Richard Chang
8c5b4c367a powerhint: clean up unused hints in L10
INTERACTION is removed but some actions still use it.

Bug: 246738037
Test: pts-tradefed run commandAndExit pts -m PtsPerformanceTestCases -t
com.google.android.perf.pts.PowerHintJsonVerifyTest

Change-Id: Id7028106ac7ff1d41dc7d325aad5fa4d69bc2a54
2022-09-19 05:12:55 +00:00
Hsiu-Chang Chen
ae199e3755 wlan: Disable 6GHz for softap
Bug: 246872050
Test: softap doesn't enable on 6GHz channel
Change-Id: Ic313d6b0da7ba6a43771ea0493c468475250f819
2022-09-17 04:47:08 +00:00
Chase Wu
cbc9240330 vibrator: enable f0 and disable redc compensation
Bug: 241353178
Test: check the value after device boot up
Test: update PtsHapticsTestCases and run it
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: Iab9f64d19bd1be6a162aef008c6f77bb48dd64ae
Merged-In: Iab9f64d19bd1be6a162aef008c6f77bb48dd64ae
2022-09-16 19:07:20 +00:00
TeYuan Wang
564f900b35 Remove frequency boost of big cores for FACE_UNLOCK
Bug: 245619770
Test: build
Change-Id: I46d29985e3ae859e61d9757d5451bd8509d31797
2022-09-16 09:01:53 +00:00
Gary Jian
22d2490363 Add MMS UA, UAProf for L10
Bug: 239520846
Test: make
Change-Id: Iebee36c80d3fa4e529218b6563333f4339750b9f
2022-09-16 06:45:02 +00:00
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