Commit graph

317 commits

Author SHA1 Message Date
Jason Chiu
780799eaae Revert "wifi: Move driver initialization to an eariler time" am: e3b75f29cd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19799726

Change-Id: I857e94867c965f9662bb5a486a0683d16f14de4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-31 10:21:01 +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
a5d60504b9 Config dex2oat according to thermal status am: d6b9941038
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19784423

Change-Id: Idff3c4b3c3517a7372f377610426c35a107daeb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-31 09:41:03 +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
a732a3a939 mm: sync max_cached_processes settings in ActivityManager am: 82f3bbe15f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19784235

Change-Id: I22db019172d0b2e9110a85b21af11bf0ea42aa33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-31 01:14:00 +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
76e6021424 Enable ADPF CPU hints for SF am: b031889746
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19772297

Change-Id: Ie862945e97932ea1d60bfbfa68d989f281747e4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-29 20:05:52 +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
2f610f30ce Update MIFTargetLoad default values am: b06ff4dd49
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19532877

Change-Id: Id716f726ff8abb1d6a51e1465b81e8c6af50982c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-26 08:14:46 +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
bc75be2d88 Bluetooth: OOBS enabling am: 738f85f5b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19578675

Change-Id: I09329e3ef43cd27119b9f3357ebf90e9863ee21a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-25 10:46:23 +00: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
ee758a59a3 Add system property for camera OIS with system imu am: b74e2b582b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19599358

Change-Id: I215d7d2ccfbe1c8d6f8008fda7c45cb5251c559e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-25 08:56:52 +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
0eb376b235 wifi: Move driver initialization to an eariler time am: a011c11f37
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19332366

Change-Id: I4b0040838b426b0980ccfec0b909d94972be87aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 09:17:36 +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
aa766172b6 Fix L10 has success haptics of face unlock for non-bypass. am: 7f6ad012b5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19633722

Change-Id: Ic7101511abd297ba3d7a6cb8c38af9750e175e8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 03:51:01 +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
e48812d9ee audio: 1. Re0 range modification am: 4a05db1b89
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19697778

Change-Id: I3d0bc548a6aa76af6c006dd194a50c44b6c64964
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 10:16:47 +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
ec533cd3cd Update device name to avoid aosp build break am: 2784a6ba9d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19707118

Change-Id: I7df5abe8010ffec1b2316917580434c681b93b82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 08:19:49 +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
142b1faa6e Remove FPS boost am: 38d324f8d0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19706791

Change-Id: I3a0fa218f3b89fc999bde1e51a5dbaf370856ad4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 07:16:40 +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
07bea4a85c Update MIPI / DBR clock rate from latest desense tests / SW updates am: baf653b810
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19535909

Change-Id: If4c0d642f806a4b029809ee786820c72221fe7fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 04:52:38 +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
e05cf1ee95 thermal: seperate thermal config for charging am: 02bc91305c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19674445

Change-Id: I1efc524984f5ea0990f78a1efc35ea1dab6ba0d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 20:11:23 +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
731bf307cc audio: Phase in fortemedia tuning tables and platform configuration file am: b85cfe1614
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19673383

Change-Id: I5a47e68c2ef225e489d258a46930ded2cac984f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 14:09:11 +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
f7bfcbf25b thermal: enable VIRTUAL-CHARGE sensor for thermal_recorder am: af60880652
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19675118

Change-Id: I3acd6ff5c01d2e161bee8940f91a6e2d94fee8f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 08:56:51 +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
4644d5b063 touch: change touch sysfs node ownership for dumpstate am: e61c8498e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19465014

Change-Id: I655811d259c382815035a1a511f066b7b6fcdbee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 08:46:51 +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
47584cc928 thermal: enable fcc & dc_icl PID charging throttling am: 5caf26d1e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19493171

Change-Id: I778134f580026d4add8bec6c75084c4c118ea003
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 02:05:40 +00:00
David Chao
c1e1871347 thermal: update thermal config am: 20ef1286dc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19320915

Change-Id: I6679252cd29fda9f8b91b3730b34cf1822b3a615
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 02:05:39 +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
044db175b9 audio: Phase in Waves mps file and volume curve audio_policy.xml file am: 1db103ba10
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19633809

Change-Id: I9a0e6a2b2a5293e58402257bfb27d3afd0c9104b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 11:48:21 +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
b3de0ea96f Bundle handheld_core_hardware.xml am: 4403bc43db
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19528389

Change-Id: Ice350556ee0517e0c4b82baf8b60d40e4d715392
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-10 03:10:18 +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
d321a50fbe gps: Enable SI SUPL over Wifi am: 47e5d68e3c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19340120

Change-Id: I2a94852230ac962dc028684d550b30e7f6f81039
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 05:34:14 +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
3c05497cf4 audio: [L10] Recording tuning table update 8/5 - EVT Ver. For 1st assessment am: 5c1334c7d6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19532876

Change-Id: Ib12390eee858b4489418fec62674a8afc9c110e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-08 10:13:26 +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
ba6af7922d gps : enable runtime LTE filter control feature am: c1404ba0a8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19500854

Change-Id: I4e990b19f8029d6bd5dcd01916510d6b5f5c7267
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-06 06:01:36 +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
868e9691b4 add support for BLE Broadcast output am: fb9da3e3b5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/18841365

Change-Id: Ic3ce8f33372d0728d03544ec0983e55c8eaf98f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-05 16:23:41 +00:00
Gary Jian
fb5eb16aea Handle the network selection restoring in modem side am: 1cca3358b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19500853

Change-Id: Ie272e162ce6ac59acbf12a686ed2a095b3aa871b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-04 03:43:48 +00:00