Commit Graph

291 Commits

Author SHA1 Message Date
Yung Ti Su
d0037da39b audio: Phase in audio_policy_volumes.xml in L10
I put refine volume curve file in the attached file.
This new tuning slightly increase 10th~20th volume step loudness.
It fixes user's bug  "16th volume step loudness is quiet compared to B3".

Files from the latest attachment on b/257197305

Bug: 254569854
Bug: 257197305
Test: verified by supery@
Change-Id: I2f0d887da27b898259209afe33d578471b308589
2022-11-03 15:51:55 +08:00
Vincent Wang
9e112e676d Move fingerprint and face haptic form server to sysui(3/3)
BUG: 237621645
Test: Check the vibrator work normally when using biometric unlock
Change-Id: I3f97a94e4df9d089ffb62cb9ad44bff41927b17e
Merged-In: I3f97a94e4df9d089ffb62cb9ad44bff41927b17e
(cherry picked from commit 0873961b4b)
2022-11-03 06:19:52 +00:00
Bonnie Tu
1f65f248f3 Update ./DevInfo/Mod model name
Need to set model name to G0DZQ
Bug: 254423479
Test: XXX

Change-Id: I211d15a969e921fe82a277eec94b62d48fa7e12f
2022-11-02 13:12:14 +00:00
pointerkung
ea20ad99c3 Camera: Enable optimized TNR frequency and create TNR low power hint.
Bug: 243729855
Test: Build pass, GCA, check 4K60 and 240fps TNR clock frequency
Change-Id: I7cede8b8518abb2b16628b6ac5964b8a0c1693d7
2022-11-01 11:33:43 +00:00
Rick Yiu
b05312f680 Limit camera daemon cpuset to little cores when app launch
When exiting camera app, camera daemon is still busy in background,
which may affect the launch animation of launcher. So, limit the cpuset
of camera daemon to little cores for 1 second when there is app launch
hint to improve it. This only happens when camera is running. Also bypass this behavior when video recording is active.

Bug: 240889279
Test: camera daemon cpuset changed as expected
Change-Id: I130b1e4718f8e5ef47ad761a2a73d86697d0f8bc
2022-11-01 07:27:31 +00:00
Jasmine Cha
a487474608 audio: enable BAACL
Bug: 256749917
Test: emul_temp
 adb shell "echo 10000 > /dev/thermal/tz-by-name/battery/emul_temp" && adb shell "echo 80 > /dev/thermal/tz-by-name/soc/emul_temp"
 adb shell "echo 10000 > /dev/thermal/tz-by-name/battery/emul_temp" && adb shell "echo 70 > /dev/thermal/tz-by-name/soc/emul_temp"

Change-Id: I5cc3e42d4715ee6c5b9b5d453a74425b3cb85f57
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-01 07:23:29 +00:00
pointerkung
d71041d54d Increase MIF frequency for 30fps
This CL increases min MIF frequency to 1352000 in 30fps mode.
Although the MIF power consumption increases due to this
change, but the reduction in CPU cycles results in over-all SoC
power saving. This change also doesn't negatively impact framedrop
rate.

P22 change is ag/19820773.

Bug: 256564865
Test: Build pass, GCA, Camera power and performance evaluation
Change-Id: Iacf9172f0ce9edeecb14d38edc3c1466e7e4c7fe
2022-10-31 09:10:08 +00:00
Yung Ti Su
d07d56e222 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handset :
Optimize RX performance for DVT
Optimize AMS performance
Sync AMS setting to TMO / Reserve 2 SWB/ HAC / TMO-HAC /  HAC Reserve 2 SWB

Handheld :
Sync VOIP RX/RX2 setting
Optimize AMS performance
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/256090548

Bug: 256090548
Test: verified by ntkuo@
Change-Id: I42a92558b89285a49d6688166149813ac4e962cc
2022-10-28 15:49:01 +08:00
David Chao
96ab71498c thermal: update thermal config for EVT1.0
Based on Safety results to modify thermal formula V0.6 for EVT1.0.

Bug: 253992204
Test: boot to home and thermal throttling worked properly.
Change-Id: I545fd4d0fce8dadbf82c45f4f867eb06e811719b
2022-10-21 19:39:17 +00:00
Shanmuga Pandi M
b4fdef36a5 Don't set the min CPU frequency to max frequency for CAMERA_SHOT
Bug: 254797125
Test: 3rd party APP snapshot, GCA live video shot

Change-Id: I7b1012dec9764ebed7744ffa4216028f2948eb9d
2022-10-21 09:58:06 +00:00
Yung Ti Su
d6450a63a9 audio: Phase in Waves mps file in L10
I put L10 EVT tuning files in the attached file.

1. Refine tuning to fix AQTI and dogfood issue.
2. Modify below 20th volume step timbre. Let it clear.
3. Portrait mode and Landscape mode volume curve the same. Use Waves Linklaw to modify Landscape volume curve.
4. Include 1.8A BAACL tuning in this mps

Files from the latest attachment on b/254376925

Bug: 244273219
Bug: 244273447
Bug: 244509076
Bug: 254376925
Test: verified by supery@
Change-Id: I3cfca6cb8e2d2b963347c4832674f438a929f268
2022-10-19 13:01:14 +00:00
Darren Hsu
b36ec31c04 powerstats: update specific data provider configurations
Bug: 253951732
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I25002aa32cca636f12615c67555c957036ab2d24
Merged-In: Ie81082c4c2df6620f361a9ad6d2bc725749e0e00
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-19 06:38:54 +00:00
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