Commit Graph

262 Commits

Author SHA1 Message Date
Yanting Yang
110d6bb043 Update MIC e-label for JP SKU of L10
Bug: 259926917
Test: visual
Change-Id: I0d6a5cb5423e94379afd177872cce738df1789fd
2022-11-29 14:30:55 +00:00
David Chao
5fb6fed0a1 thermal: update thermal config for FCC
- Change charging throttling switch-on temp from 25C to 35C

Bug: 260522422
Test: ThermalHAL throttling worked properly
Change-Id: Ifbf27e56203db712fa4b5e29f1e4a91671ca852c
2022-11-29 16:13:23 +08:00
timothywang
465e6e27f8 Remove the useless property
persist.vendor.camera.1080P_60fps_binning_except_rear_main is not used
anymore.

Test: GCA
Bug: 257859918
Change-Id: I0fbb2fb2ed9950bb684596166393774fe5319f81
Merged-In: I0fbb2fb2ed9950bb684596166393774fe5319f81
(cherry picked from commit 518a1291d6)
2022-11-29 06:34:53 +00:00
Jinyoung Jeong
97f951425c Add system property for transfer in non-QS flow
For Lynx/L10 (Pixel 7a)

Bug: 245814974
Bug: 260297446
Test: manual
Change-Id: I43cfb4b249f9e9e026ce5855b48b525c9f7d2450
2022-11-29 04:02:06 +00:00
Yung Ti Su
a0634db44d audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handheld :
Optimize TX SWB/VOIP performance for kid's voice

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/260539954

Bug: 260539954
Test: verified by ntkuo@
Change-Id: If25c0bbb1c202d70d2ebabd0093ce1468dedbc86
2022-11-28 15:09:17 +08:00
TeYuan Wang
e8816c6b58 thermal: increase GPU thermal power budget
Bug: 260311882
Test: Test Burn8, MH_OFF, Genshin
Change-Id: I7e0de89275e386446e01233619b54ebc071895ea
2022-11-25 10:09:09 +00:00
Robert Lee
bc0b6a7c01 audio: add new path for diag tools
amp1 = Top speaker
amp2 = Bottom speaker

Bug: 215307768
Test: Builds
Change-Id: Id285b89ac10d5e453b27a9bb1fa9fe8ef0a14fc6
Signed-off-by: Robert Lee <lerobert@google.com>
2022-11-24 10:08:24 +00:00
Rick Yiu
e57a5f03b5 Change the default cpuset of camera daemon
Changing cpuset itself takes time, so we should reduce the cpuset
change as possible. Since all camera streaming mode change to the
same cpuset value, we could make it default setting.

Bug: 240889279
Test: build pass
Change-Id: I11a865fa2eeeb67225d4b129497b1cd85237644f
2022-11-21 10:17:59 +00:00
Yung Ti Su
cc64b02213 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handset :
Optimize AMS performance Generic/TMO
Optimize TX/RX performance for Orange

Sync TX setting to HAC / TMO-HAC / SWB Reserve 2 HAC

Handheld :
Optimize AMS performance
Optimize TX/RX performance for Orange

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

Sync RX setting to
- TTY-HCO (NB/WB)
- TTY-HCO SWB / TTY-HCO Reserve2 SWB / Reserve2 SWB

Files from the latest attachment on b/259870425

Bug: 259870425
Test: verified by ntkuo@
Change-Id: Ib7a145ce75aa10699e96457a3c345e18d1bff103
2022-11-21 12:03:18 +08:00
Yung Ti Su
20a9437771 audio: enable gapless offload flag
Enable gapless support on compressed_offload w/o trimming delay and padding.

Bug: 259490645
Test: manual

Change-Id: I8b1a9281d2de9c46322cbe12f9e51b9f70adecae
Signed-off-by: Yung Ti Su <andysu@google.com>
2022-11-18 01:53:53 +00:00
David Chao
e21617d617 thermal: update thermal config
Based on EVT1.0 and SpeedTest results to update thermal formula v0.7-1117,
Also add:
- CPU/GPU power budget = CPU/GPU default power budget - MODEM power * 0.3
- Start throttle charging at 25C.

Bug: 257243663
Test: ThermalHAL throttling worked properly
Change-Id: I7c887fd27b776a0be36cddd7f84dcc5b4a736e57
2022-11-17 07:28:19 +00:00
Chris Paulo
0db068b63c device/vibrator: Add contextual haptics feature
Add capability for vibrator HAL to detect whether the device is face-up
and adjust/scale haptic alerts to avoid loud and startling buzzing when
there is no case on the device. Added global compile-time disable that
can be set in the environment.

Bug: 198239103
Test: Verified tests and functionality
Change-Id: I6b2355acb7fa5e0323b8eca6327bb19ac42a2c56
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-16 20:19:54 +00:00
Chris Paulo
24789fe332 device/vibrator: Move vibrator HAL into device folder for l26
Moved L26 portion of vibrator hal from hardware/google/pixel to
device/google.

Bug: 198239103
Test: None
Change-Id: I4dc77f5770929337905878c7ee6acbbfa489bc57
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-16 20:19:54 +00:00
Yung Ti Su
7ccd8f7716 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handset :
Optimize RX performance for TMOUS SWB

Files from the latest attachment on b/259193926

Bug: 259193926
Test: verified by ntkuo@
Change-Id: Id0cadbf645e3346e634f91df1e1258b631104b44
2022-11-16 10:12:10 +08:00
Sayanna Chandula
a426bad653 thermal: update shutdown thresholds for Tj zones
Bug: 256193172
Test: Build and boot on device
Change-Id: I96ea572c63595cd2396dc64a3045cca8a63f44fe
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-11-15 03:25:01 +00:00
Kyle Lin
c821db2c4c powerhint: relax the cap when camera exit
Camera hints was canceled at activityStop and applied the rule for
a while after LAUNCH hint, exten the LAUNCH HINT to fix it.

Bug: 255927500
Test: build and launch/exit camera
Change-Id: I86b19467f6038a7fde0935bf79f0a0e6bc76523b
2022-11-11 17:45:52 +08:00
Carter Hsu
41c1bcb989 audio: update hidl to 4.0
Bug: 252877772
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Iac5181267e99a88f4c955250a78f85ac5fccaf5e
2022-11-11 01:50:19 +00:00
Yung Ti Su
5243d9ff7d audio: [L10] Recording tuning table update 11/09 - DVT Ver. For Final setting
update IIR1 parameters on both camcorder(6 scenarios) and mic path(mono, stereo) for DVT stage devices on L10

Files from the latest attachment on b/258390574

Bug: 258390574
Test: verified by darrenyen@
Change-Id: I2d006076c63f4e7c62cc93d47f515e037d03fb92
2022-11-09 18:27:22 +08:00
Jasmine Cha
0dd39b7952 audio: waves: Playback thermal throttle
- introduce 2nd LL in presets.

Bug: 256506814
Test: manual test

Change-Id: Id5d2635ac45c51ad5d65ac517830fb692831ca2b
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-09 01:24:27 +00:00
Beverly
c457b30aa3 Update lock-icon longpress time to 100ms
Test: manual
Fixes: 257589825
Change-Id: Id85e129b583df074308b86ec89ef4383e9cb1d93
2022-11-07 13:39:02 +00:00
Kyle Lin
d181c82406 set dalvik.vm.dexopt.thermal-cutoff to 1
Bug: 256753117
Test: build and getprop
Change-Id: I61a25a103a9d7b8bb4f8a310d1802920ea1234c8
2022-11-07 12:52:53 +00:00
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