Commit Graph

229 Commits

Author SHA1 Message Date
Cyan Hsieh
2abdd7f706 Revert "Revert "Enable radio on aosp_lynx""
This reverts commit ef4447e281.

Reason for revert: change only affects aosp_lynx-userdebug, test pass with the broken test: FrameworksServicesTests:com.android.server.pm.PackageManagerTests#testSigSameAfterUpgrade

Bug: 253288064
Change-Id: I7285439a6138723bdda037ae5238105c2dd7a1a3
2022-10-19 05:48:10 +00:00
Elie Kheirallah
ef4447e281 Revert "Enable radio on aosp_lynx"
DroidMonitor: Potential culprit for Bug 254323087 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

This reverts commit b9cb6d340b.

Reason for revert: Multiple test failures on multiple targets.

Change-Id: Icf83fcb9a56349adf78638509ac755db7440c660
2022-10-18 23:01:10 +00:00
David Chao
396f97cf15 thermal: increase charging current on WLC charging throttling
Increase cdev_ceiling on WLC:
- MODERATE: from 10 (100mA) to 8 (250mA)

Bug: 250938144
Test: boot to home and thermal throttling worked properly
Change-Id: I978efc8e922e7c7100a3bd557f7d935174d632fd
2022-10-17 09:05:21 +00:00
millerliang
f5650be347 audio: ajdust the latency for av sync
Bug: 239764985
Test: Verify the AV sync result

Signed-off-by: millerliang <millerliang@google.com>
Change-Id: I3cc8087f6e81a0cb7368fc2df23d7e3aee6851f5
2022-10-17 02:00:34 +00:00
Yung Ti Su
2633aca8d2 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handheld:
light NS for VOIP CUSTOM 2 (NR off EC on)
Optimize AMS performance for NB/WB/SWB
Optimize NS performance for NB/WB/SWB
Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (NB/WB)
- Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB / BT-HAC SWB / BT-HAC Reserve2 SWB

Files from the latest attachment on b/253536042

Bug: 253536042
Test: verified by hardware engineers

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ib028180d58ae0a863193d391c64f5fc12401ec70
2022-10-14 11:19:55 +00:00
Kyle Lin
9a32da8563 init: relax background cpuset to all LC
Bug: 253522264
Test: build, boot and check cpuset
Change-Id: I9a397628769a039e111e7ed1b1063f9b9bfaae2c
2022-10-14 15:49:18 +08:00
Yung Ti Su
5dd9b6051f audio: 1. Fallback value modification
1. change fallback value to top:5.66ohm  bot:6.75ohm

Files from the latest attachment on b/251333325

Bug: 251333325
Test: verified by hardware engineers
Change-id: If0915ca2eec6158a27ea8aeac223c0eaba7229fa
2022-10-13 08:15:05 +00:00
Cyan_Hsieh
b9cb6d340b Enable radio on aosp_lynx
Bug: 253288064
Change-Id: I75d7a2e770209359a3ad76107a81035f6821a052
2022-10-13 10:44:04 +08:00
Gil
506f36f4cd display: add blocking zone
zone1 condition(10 nits) in 90Hz
zone2 condition(15 nits, 5 Lux) in 90Hz
fix hbm hdr at 60 hz

Bug: 243757430
Bug: 246905529
Test: Check the refresh rata at zone
Change-Id: Iee9bd842571165785c03ae761780371798fbb758
2022-10-12 13:03:27 +00:00
shihchienc
c738410d1b Change config path for LE Audio Capabilities file
Since there is no different setting for sub project under same prohject,
we will change the setting file from `bluetooth/project/` to
`bluetooth/` to simplify the file structure.

Bug: 238983662
Test: make sure file added in config folder can be copied into devices
Change-Id: Icf39d92526713df717c73acffbaee541058a3fd2
2022-10-11 09:00:59 +00:00
Amy Hsu
9503739f72 display : update display_colordata_dev_cal0.pb file
For LHBM compensation on EVT1.1

Bug: 242503248
Test: HW to check the compensation
Signed-off-by: Amy Hsu <amyhsu@google.com>
Change-Id: I3e407984e1c4adb5d8fa6d087fa4c1c0485a7e85
2022-10-07 14:19:36 +00:00
Beverly
40311cd796 Add config for the quick pickup gesture
Test: manually check that quick pickup gesture is
registered on device and triggers when AoD is not enabled
and when udfps is enrolled
Fixes: 239514824

Change-Id: I1071898296d959b46ae4269715e6a1b36cc95cc3
2022-10-06 17:19:13 +00:00
Junkyu Kang
f6d4e039c9 Revert "Remove carrier location permission backdoor"
Revert submission 18558007

Bug: 246686326
Reason for revert: TMOUS AGPS test issue
Reverted Changes:
I70a7439ac:Remove carrier location permission backdoor
I6c038cb0f:Remove carrier location permission backdoor

Change-Id: I80366cbd04b4845456d1ed8987bfc6bbfc678be1
2022-10-06 05:08:08 +00:00
Yung Ti Su
7aa4e0816f audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handset:
Optimize AMS threshold and performacne
Sync AMS setting to TMO / Reserve 2 SWB/ HAC / TMO-HAC /  HAC Reserve 2 SWB

Handheld:
Optimize NS performance / FFP performance / AMS threshold
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 on, stereo on, RX setting to RX2)

Files from the latest attachment on b/249219200

Bug: 249219200
Test: verified by hardware engineers
Change-id: I490303b60ce6b67a1ad930e5739af98898401bbe
2022-10-05 06:00:14 +00:00
Ching-Sung Li
3d90324dfd Build L10 default CMF color wallpaper
Bug: 239505528
Test: Build pass; manual
Change-Id: I698d54e6fec71c09c726c4f72917db247448c64d
2022-10-04 11:03:13 +00:00
David Chao
9660347745 thermal: modify GPU thermal throttling policy
- Change GPU CdevCeiling because GPU available_frequencies has been
  increased 2 states from 10 to 12.

Bug: 250502714
Test: boot to home and thermal throttling worked properly
Change-Id: I65751bd91c2767389732e5ca0160afb8b3ef42ad
2022-10-04 17:28:53 +08:00
David Chao
f8ee975465 thermal: more aggressive CPU/GPU thermal throttling policy
- Spower change from 1100 to 800

Bug: 248392264
Test: boot to home and thermal throttling worked properly
Change-Id: I760072cdec8523deb6075280912b0c264db2e36a
2022-10-04 17:28:03 +08:00
Cyan_Hsieh
d6f8a94b6d Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option
Bug: 247935640
Change-Id: I08f6e9c187a47be289ef8a5e24b6724c353a680d
2022-10-03 03:11:08 +00:00
Shanmuga Pandi M
9342bb887b [L10] Relax CPU minimum frequency boost for LAUNCH_CAMERA
Bug: 248960565
Test: CTS testCameraLaunch, GCA
Change-Id: I075b7f4447327be4ef601c531b43473f79dbc74a
2022-09-30 06:28:38 +00:00
Patty Huang
48a8251b5a Apply the workaround for the CIS->SCO handover
Set the system property persist.bluetooth.leaudio.notify.idle.during.call
to true to receive the notification when LeAudio group turned idle

Bug: 244524929
Bug: 244391698
Test: Switch LE Audio device to HFP device during phone call, and make sure the HFP device can hear sound.
Change-Id: I0a0ad4ef97e61deb528c6f8180317bda8b2512be
2022-09-30 03:59:58 +00:00
David Chao
3e50915d85 thermal: more aggressive thermal throttling policy
- Lower Spower from 1500 to 1200 for Wired charging

Bug: 249464740
Test: boot to home and thermal throttling worked properly
Change-Id: Ibfebb23b74fcd6d8670e05c0b023157f4fd34141
2022-09-28 19:02:40 +08:00
David Chao
9f17360f7b thermal: more aggressive thermal throttling policy
- CPU/GPU more aggressive throttling

Bug: 248392264
Test: boot to home and thermal throttling worked properly
Change-Id: Idfa7ec21877a11000d2c6d17e4bbcabc9606f58c
2022-09-28 19:01:48 +08:00
Taeju Park
b2ea83dee1 Add Ownership to powerhint files
Bug: 248115959
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I3a921c6d09bbf116df0674da1f83efa8a9d90a22
2022-09-24 01:16:29 +00:00
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